Ad Widget

Collapse

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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alp
    Member
    • Nov 2009
    • 90

    #1

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

    In zabbix_server.conf i see:

    # Database host name
    # Default is localhost
    #
    # 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?
  • alp
    Member
    • Nov 2009
    • 90

    #2
    I'm create bugreport

    Comment

    • alp
      Member
      • Nov 2009
      • 90

      #3
      They fix it. Everybody thanks.

      Comment

      Working...