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

Zabbix server can't work without DBHost directive on PostgreSQL.

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0.0rc4
    • 1.8.10
    • Server (S)

      In zabbix_server.conf i see:

      1. Database host name
      2. Default is localhost
        #
      3. DBHost=localhost

      When i try to start daemon, i see error in log:

      1674:20120427:120043.412 [Z3001] connection to database 'mon3' failed: [0] could not connect to server: Permission denied
      Is the server running locally and accepting
      connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

      1674:20120427:120043.412 Database is down. Reconnecting in 10 seconds.

      When i uncomment DBHost=localhost it's work fine. But why zabbix developers write this "# Default is localhost" if it not true and server can't work with default value of directive?

            dimir dimir
            alp max
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: