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

Zabbix server always crash on start

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 3.2.2rc1
    • Fix Version/s: None
    • Component/s: Proxy (P), Server (S)
    • Labels:
      None

      Description

      It crashes in check_vcenter_hv_status function, debug log:

      7568:20161115:205534.517 In get_value_simple() key_orig:'vmware.hv.status[{$VSPHERE_URL},{$VSPHERE_UUID}]' addr:'172.16.11.20'
      7568:20161115:205534.517 In check_vcenter_hv_status()
      7568:20161115:205534.517 In get_vcenter_hvprop() propid:15
      7568:20161115:205534.517 In get_vmware_service() 'zabbix'@'https://v-center/sdk'
      7568:20161115:205534.517 In zbx_vmware_get_service() [email protected]https://v-center/sdk
      7568:20161115:205534.518 End of zbx_vmware_get_service():FAIL
      7568:20161115:205534.518 End of get_vmware_service():(nil)
      7568:20161115:205534.518 End of get_vcenter_hvprop():SYSINFO_SUCCEED
      7568:20161115:205534.518 Got signal [signal:11(SIGSEGV),reason:1,refaddr:(nil)]. Crashing ...

      I guess it's because
      in get_vcenter_hvprop

      int ret = SYSINFO_RET_FAIL;

      then it calls

      if (NULL == (service = get_vmware_service(url, username, password, result, &ret)))
      goto unlock;

      Note: &ret passed and get_vmware_service returns NULL and set ret to SYSINFO_RET_OK if service was added, but not yet processed by collector

      and then in the end of get_vcenter_hvprop:

      unlock:
      zbx_vmware_unlock();
      out:
      zabbix_log(LOG_LEVEL_DEBUG, "End of %s():%s", __function_name, sysinfo_ret_string(ret));

      return ret;

      Ie no service, no data, but it SYSINFO_RET_OK returned

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              olfway Pavel Volkovitskiy
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: