Zabbix_server failes to initialise Oracle's OCI driver

XMLWordPrintable

    • Type: Incident report
    • Resolution: Cannot Reproduce
    • Priority: Major
    • None
    • Affects Version/s: 1.9.0 (alpha)
    • Component/s: None
    • None
    • Environment:
      Trunk version: Trunk version: 8318
      Oracle version 11.07
      Linux 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

      Zabbix_server is failing to initialise the OCI driver. At debug level 4, the error message is:

      21091:20091117:142624.396 Starting zabbix_server. ZABBIX 1.7.2 (revision

      {ZABBIX_REVISION}

      ).
      21091:20091117:142624.396 **** Enabled features ****
      21091:20091117:142624.396 SNMP monitoring: YES
      21091:20091117:142624.396 WEB monitoring: YES
      21091:20091117:142624.396 Jabber notifications: NO
      21091:20091117:142624.396 ODBC: NO
      21091:20091117:142624.396 IPv6 support: NO
      21091:20091117:142624.396 **************************
      21091:20091117:142624.401 [Z3001] Connection to database '//zabbixdb.cm.bskyb.com/zabbixdb' failed: [-1]

      I've use strace/tcpdump to check that no connection attempt is made. I added some debug information to pinpoint where things went wrong (as the debug information is ambiguous) and I found that it wasn't OCILogon2() as indicated, but the earlier OCIEnvCreate() that fails and returns '-1'.

      The only real variable that is passed to OCIEnvCreate() seems to be oracle.envhp:
      err = OCIEnvCreate((OCIEnv **) &oracle.envhp, (ub4) OCI_DEFAULT,
      (dvoid *) 0, (dvoid * (dvoid *,size_t)) 0,
      (dvoid * (dvoid *, dvoid *, size_t)) 0,
      (void (dvoid *, dvoid *)) 0, (size_t) 0, (dvoid **) 0);

      Regards,
      Dan

            Assignee:
            Unassigned
            Reporter:
            Daniel Petzen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: