Ad Widget

Collapse

Zabbix server not running

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hoov
    Junior Member
    • Feb 2019
    • 15

    #1

    Zabbix server not running

    So i had to reboot my server for a different issue, but when it restarts the frontpage tells me that the server is not running. So I try to fix this myself. I have changed the IP address in the config file to the proper one, even though local host was working before. The next thing I tried is to check the log. But I am told I do not have permission. So I change the permission, yet I still do not have permission. I am not a Ubuntu expert, or even well versed in it. I can muddle my way thru it if someone can give me guidance. I have UNMS installed on the same server and it runs fine. Does anyone have a direction I should go in?
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    I don't know what's going on with the information you post. Check the contents output to the log file to see what is happening.
    If you check anything else, make sure that Zabbix server is set to start automatically. You need to make sure that your database server is started automatically as well. If you do not set it to start automatically, the Zabbix server will not start automatically when you restart the OS.

    Comment

    • daohai
      Junior Member
      • Oct 2019
      • 28

      #3
      check database information & i think your database info have some problem

      Comment

      • Hoov
        Junior Member
        • Feb 2019
        • 15

        #4
        I have been doing some more checking, it is only the frontend that thinks the server is not running. I go to the command line and do a server status check, and I get this,

        ● zabbix-server.service - Zabbix Server
        Loaded: loaded (/lib/systemd/system/zabbix-server.service; enabled; vendor pr
        Active: active (running) since Sun 2020-03-01 22:43:43 EST; 5h 16min ago
        Process: 1660 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, sta
        Main PID: 2126 (zabbix_server)
        Tasks: 1 (limit: 4915)
        CGroup: /system.slice/zabbix-server.service
        └─2126 /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf

        Mar 01 22:43:38 server systemd[1]: Starting Zabbix Server...
        Mar 01 22:43:43 server systemd[1]: Started Zabbix Server.


        I will check the Database and try to get into the logs, I may have to wait until I can get to it physically tomorrow. I am doing all this remotely.

        Comment

        • daohai
          Junior Member
          • Oct 2019
          • 28

          #5
          i Think this problem is about database or Permission . Please view :
          + https://www.zabbix.com/forum/zabbix-...is-not-running
          + https://www.zabbix.com/forum/zabbix-...-is-running-no

          Comment

          • Hoov
            Junior Member
            • Feb 2019
            • 15

            #6
            It is a database issue. I was able to get into the logs finally. Found this several hundred times.

            'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)

            Which does not make sense, because I am using a password, and it is in zabbix.conf.php, I checked.

            I am checking out the links you provided. Thanks.

            Comment

            • Atsushi
              Senior Member
              • Aug 2013
              • 2028

              #7
              The zabbix.conf.php file is a configuration file for the web frontend. Also check the settings in the zabbix_server.conf file.

              Comment

              • Hoov
                Junior Member
                • Feb 2019
                • 15

                #8
                Well I found the problem. During the reboot where the problem showed up, zabbix_server.conf was changed. There was a backup copy of the old version. I restored it and all was well. I did keep a copy of the new one. Now I need to figure out what happened. Do you have any idea why this would happen?

                By the way, thanks for your help thus far ! I would have not been able to get this far without your guidance.

                Comment

                Working...