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

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

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 1.8.1, 1.9.0 (alpha)
    • 1.6.8, 1.8, 1.9.0 (alpha)
    • Server (S)
    • None
    • 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,

            sasha Alexander Vladishev
            nbladt Norbert Bladt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: