Ad Widget

Collapse

Zabbix server is not running after package installations

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maddy_in65
    Junior Member
    • Feb 2018
    • 5

    #1

    Zabbix server is not running after package installations

    Zabbix server was running smoothly from quite long time. In last week, i have installed "Zabbix-get" package but after that server went down.
    I am getting error "Server is not running" and logs shows Database authentication error. It looks like logs also not get generated after server was down.

    Code:
    696:20180312:002856.517 database is down: reconnecting in 10 seconds
    696:20180312:002906.617 [Z3001] connection to database 'zabbix' failed: [0] FATAL:  password authentication failed for user "zabbix"
    FATAL:  password authentication failed for user "zabbix"
    I have checked sever config and matched with mysql password and looks good. I also changed DBuser in sever.conf to see any new log but i didnt see new error in log.
    server config:
    Code:
    DBName=zabbix
    DBUser=zabbix
    DBPassword=MyDBPassword
    DBSocket=/var/run/mysqld/mysqld.sock
    Code:
    zabbix-server.service - LSB: Start zabbix-server daemon
       Loaded: loaded (/etc/init.d/zabbix-server; generated; vendor preset: enabled)
       Active: active (exited) since Thu 2018-03-15 23:14:43 IST; 1 day 9h ago
         Docs: man:systemd-sysv-generator(8)
      Process: 907 ExecStart=/etc/init.d/zabbix-server start (code=exited, status=0/SUCCESS)
       CGroup: /system.slice/zabbix-server.service
    
    Mar 15 23:14:43  systemd[1]: Starting LSB: Start zabbix-server daemon...
    Mar 15 23:14:43 systemd[1]: Started LSB: Start zabbix-server daemon.
    I am able to login to Mysql DB with both root and zabbix user.
    Code:
    sudo mysql -u root -p
    Enter password:
    Welcome to the MariaDB monitor.  Commands end with ; or \g.
    Your MariaDB connection id is 634
    Server version: 10.1.23-MariaDB-9+deb9u1 Raspbian 9.0
    
    Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
    
    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    
    MariaDB [(none)]>
    
    mysql -u zabbix -p
    Enter password:
    Welcome to the MariaDB monitor.  Commands end with ; or \g.
    Your MariaDB connection id is 689
    Server version: 10.1.23-MariaDB-9+deb9u1 Raspbian 9.0
    
    Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
    
    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    
    MariaDB [(none)]>
    I did lot of googling, tried to fix the issue but still no luck. Appreciate if someone help me with this issue.
    Thank you in advance.
  • maddy_in65
    Junior Member
    • Feb 2018
    • 5

    #2
    Anyone, please help me with this issue.

    Comment

    • huangyingja
      Junior Member
      • Apr 2015
      • 27

      #3
      maybe just " 696:20180312:002856.517 database is down: reconnecting in 10 seconds "
      can you check DB logs ?

      Comment

      • maddy_in65
        Junior Member
        • Feb 2018
        • 5

        #4
        Originally posted by huangyingja
        maybe just " 696:20180312:002856.517 database is down: reconnecting in 10 seconds "
        can you check DB logs ?
        Yes I have checked, dont find any error there. The log generation stopped after zabbix server was down.

        Code:
        2018-03-10  9:44:53 1988460544 [Note] Server socket created on IP: '127.0.0.1'.
        2018-03-10  9:44:53 1988460544 [Note] /usr/sbin/mysqld: ready for connections.
        Version: '10.1.23-MariaDB-9+deb9u1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  Raspbian 9.0

        Comment


        • aigars.kadikis
          aigars.kadikis commented
          Editing a comment
          almost sound like an free disk space issue. Please check it with df -h
      Working...