Ad Widget

Collapse

Centos 6.2 + Zabbix 2 won't run

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nickp
    Junior Member
    • May 2007
    • 28

    #1

    Centos 6.2 + Zabbix 2 won't run

    Hi

    I'm looking to replace our Opsview server with Zabbix. So i started with trying to install the latest version. I noticed there is not really a simple installation way ...

    So i made my own guide, got to the point that Zabbix should be running, but the dashboard shows this: Zabbix server is running No 127.0.0.1:1005

    [root@zabbix ubuntu]# ps -e | grep zabbix
    1449 ? 00:00:00 zabbix_agentd
    1450 ? 00:00:00 zabbix_agentd
    1451 ? 00:00:00 zabbix_agentd
    1452 ? 00:00:00 zabbix_agentd
    1453 ? 00:00:00 zabbix_agentd
    1454 ? 00:00:00 zabbix_agentd
    1457 ? 00:00:00 zabbix_server

    What could be the problem here?
    Thank you
  • nickp
    Junior Member
    • May 2007
    • 28

    #2
    Logs are showing this:
    ] Access denied for user 'root'@'localhost' (using password: NO)
    1488:20120707:002752.846 Database is down. Reconnecting in 10 seconds.
    1488:20120707:002802.847 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'root'@'localhost' (using password: NO)
    1488:20120707:002802.847 Database is down. Reconnecting in 10 seconds.
    1488:20120707:002812.847 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'root'@'localhost' (using password: NO)
    1488:20120707:002812.847 Database is down. Reconnecting in 10 seconds.
    1488:20120707:002822.848 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'root'@'localhost' (using password: NO)
    1488:20120707:002822.848 Database is down. Reconnecting in 10 seconds.
    1488:20120707:002832.849 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'root'@'localhost' (using password: NO)
    1488:20120707:002832.849 Database is down. Reconnecting in 10 seconds.

    But the config is not with root, but with user zabbix...

    Comment

    • nickp
      Junior Member
      • May 2007
      • 28

      #3
      After trying the whole night i found the culprit, that is not mentioned in the documentation.

      1.5 Changed default configuration directories

      configuration files location

      /etc/zabbix ? /usr/local/etc (depends on compile-time installation variable sysconfdir)

      external scripts

      Comment

      • RoSk0
        Junior Member
        • Jul 2012
        • 1

        #4
        Thansk!

        You saved hours by this tread!

        Comment

        Working...