Ad Widget

Collapse

Zabbix 6.2 server is not running

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • punch07
    Junior Member
    • Dec 2022
    • 3

    #1

    Zabbix 6.2 server is not running

    I have installed Zabbix on Ubuntu but getting error Server can't run. Please help me fix this
    Click image for larger version

Name:	image.png
Views:	650
Size:	193.9 KB
ID:	456095
  • Stewie
    Junior Member
    • Dec 2022
    • 3

    #2
    What does the logs say about not starting? Mostly the reason of not starting can be red there....

    Comment

    • Stewie
      Junior Member
      • Dec 2022
      • 3

      #3
      Do a
      tail -f /var/log/zabbix/zabbix_server.log
      In terminal, and have a look at the output.​

      Comment

      • punch07
        Junior Member
        • Dec 2022
        • 3

        #4
        Originally posted by Stewie
        Do a
        tail -f /var/log/zabbix/zabbix_server.log
        In terminal, and have a look at the output.​
        Last login: Thu Dec 15 08:47:28 2022 from 172.16.128.101
        huythai@huythai:~$ sudo tail -f /var/log/zabbix/zabbix_server.log
        [sudo] password for huythai:
        16978:20221216:005015.524 [Z3001] connection to database 'zabbix' failed: [1045 ] Access denied for user 'zabbix'@'localhost' (using password: NO)
        16978:20221216:005015.524 database is down: reconnecting in 10 seconds
        16978:20221216:005025.525 [Z3001] connection to database 'zabbix' failed: [1045 ] Access denied for user 'zabbix'@'localhost' (using password: NO)
        16978:20221216:005025.525 database is down: reconnecting in 10 seconds
        16978:20221216:005035.525 [Z3001] connection to database 'zabbix' failed: [1045 ] Access denied for user 'zabbix'@'localhost' (using password: NO)
        16978:20221216:005035.525 database is down: reconnecting in 10 seconds
        16978:20221216:005045.526 [Z3001] connection to database 'zabbix' failed: [1045 ] Access denied for user 'zabbix'@'localhost' (using password: NO)
        16978:20221216:005045.526 database is down: reconnecting in 10 seconds
        16978:20221216:005055.527 [Z3001] connection to database 'zabbix' failed: [1045 ] Access denied for user 'zabbix'@'localhost' (using password: NO)
        16978:20221216:005055.527 database is down: reconnecting in 10 seconds
        16978:20221216:005105.528 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
        16978:20221216:005105.528 database is down: reconnecting in 10 seconds
        16978:20221216:005115.528 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
        16978:20221216:005115.528 database is down: reconnecting in 10 seconds

        16978:20221216:005125.529 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
        16978:20221216:005125.529 database is down: reconnecting in 10 seconds

        Comment

        • waleedmortaja
          Junior Member
          • Dec 2022
          • 2

          #5
          Originally posted by punch07
          huythai@huythai:~$ sudo tail -f /var/log/zabbix/zabbix_server.log
          [sudo] password for huythai:
          16978:20221216:005015.524 [Z3001] connection to database 'zabbix' failed: [1045 ] Access denied for user 'zabbix'@'localhost' (using password: NO)
          16978:20221216:005015.524 database is down: reconnecting in 10 seconds
          Zabbix Server is not able to reach the database. Make sure the database services is running and make sure you have configured the database name, username and password in zabbix_server config file.
          If you have mariadb, you can run it (and enable it to run on every server boot) using
          Code:
          systemctl enable --now mariadb
          The default path for zabbix_server config is
          Code:
          /etc/zabbix/zabbix_server.conf
          In general, make sure that you did not miss any step in the installation instructions.

          Comment

          Working...