Bug in handling of "Include" statement in zabbix_server.conf

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Blocker
    • 1.8.1, 1.9.0 (alpha)
    • Affects Version/s: 1.6.8, 1.8, 1.9.0 (alpha)
    • Component/s: Server (S)
    • None
    • Environment:
      Linux RedHat 5

      If I use the statement "Include=/usr/local/zabbix/etc/zabbix_server_nodeid.conf" in the
      server configuration file, it seems that the rest of the configuration file is not read.
      This file just contains "NodeID=2".
      Error message during start of the ZABBIX server:

      Starting Zabbix Server: /usr/local/zabbix/sbin/zabbix_server [24797]: Missing mandatory parameter [DBName].
      [FAILED]

      Access rights of the file:
      rw-rw-r- 1 zabbix zabbix 9 Dec 10 12:19 /usr/local/zabbix/etc/zabbix_server_nodeid.conf

      Workaround:
      If the "Include" statement is replaced by the contents of the file, i.e. "NodeID=2" it works.
      Yes,

            Assignee:
            Alexander Vladishev
            Reporter:
            Norbert Bladt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: