Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-21952

Oracle ODBC driver usage doc is not correct for single line syntax of "export" command

XMLWordPrintable

    • Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023)
    • 1

      https://www.zabbix.com/integrations/oracle#oracle_odbc

      If try to use how it's described on the page, i.e. specify as single line:

      export ORACLE_HOME=/usr/lib/oracle/19.6/client64
      

      then the env variable will not be propagated to a running processes, which you can see by:

      strings /proc/`cat /var/run/zabbix/zabbix_server.pid`/environ
      

      But if put that in a classic way with 2 lines:

      ORACLE_HOME=/usr/lib/oracle/19.6/client64
      export ORACLE_HOME
      

      it will work.

      Not sure why single line syntax was used. This issue should be checked and more robust approach selected for the doc.

      Tested on CentOS Stream release 8

            knaglis Kristaps Naglis
            zalex_ua Oleksii Zagorskyi
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: