Ad Widget

Collapse

Cannot start zabbix-server after upgrade

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • powersoup
    Junior Member
    • Sep 2018
    • 4

    #1

    Cannot start zabbix-server after upgrade

    Hi!

    Today I upgraded my linux, after that zabbix server cannot start. The web front-end works, I have the datas from the past, I can access the database.

    I checked the logs, but I cannot recognize what is the main reason.

    Error in syslog:

    zabbix-server.service: Failed with result 'exit-code'.

    Last post in zabbix_server.log

    connection to database 'zabbix' failed: [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
    1655:20180925:103545.575 Cannot connect to the database. Exiting...

    If I want to run it from terminal I've got this:

    root@xxxx:~# /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
    zabbix_server [6704]: /etc/zabbix/zabbix_server.conf.d: [2] No such file or directory

    I think problem exist between the monitor and the chair, but thats why I wrote.

    Regards


  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    The problems don't appear to be related. It looks like your database didn't start after the upgrade. Verify that it is running and set to start at reboot.

    The command line problem looks like a missing config file, but that file probably had to exist to get to the point of the first error. What Linux distro? What zabbix version? Was the config file you created/edited to create this server in /etc/zabbix/ ?

    Comment

    • powersoup
      Junior Member
      • Sep 2018
      • 4

      #3
      Mysql running, and i can access tables with phpmyadmin with user 'zabbix' (what is in the config files)
      Config files in /etc/zabbix, it was not modified at upgrade
      Distro is Debian 9
      One more thing, after upgrade zabbix website redirected to the setup screen.
      Zabbix version was 3.0.7 now its 3.0.22
      Last edited by powersoup; 26-09-2018, 08:42.

      Comment

      Working...