Ad Widget

Collapse

Zabbix server is not running: the information displayed may not be current.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rterio
    Junior Member
    • Mar 2016
    • 7

    #1

    Zabbix server is not running: the information displayed may not be current.

    Hi,

    My zabbix server was working ok for months. I now have this wierd message: Zabbix server is not running: the information displayed may not be current.

    I can navigate the interface, everything is there, the updated hour is correct. I can add hosts, remove, no other error message. I searched google and no solution worked.

    Someone have hint for me ?

    Thanks!
    Last edited by rterio; 22-09-2016, 17:56.
  • guzzijason
    Senior Member
    • Dec 2015
    • 106

    #2
    On the main dashboard page at the top in the "Status of Zabbix" section, there is a line for "Zabbix server is running (yes or no)". In the details column, it will tell you the address and port tha the front end is trying to connect to to verify zabbix-server is up. Make sure that you can connect to that address : port from the webserver (which may be the same server as the zabbix-server).

    __Jason

    Comment

    • guzzijason
      Senior Member
      • Dec 2015
      • 106

      #3
      Also keep in mind that you can add hosts, etc OK because you are still connecting to the DB OK. You can have a good DB connection but still have a bad connection to the actual zabbix-server process.

      __Jason

      Comment

      • rterio
        Junior Member
        • Mar 2016
        • 7

        #4
        It say that the server is not running. When i try to start the service, i get: Start OK. When i do "service zabbix-server status" I get "zabbix_server is not running"

        So the server don't start, but I can't find any log that change...

        Comment

        • guzzijason
          Senior Member
          • Dec 2015
          • 106

          #5
          Do you have any LogFile specified in zabbix_server.conf? If not, add one.

          I'm puzzled why it seems like it was working before, but now isn't. If the process truly isn't running, perhaps you have a stale PID file that needs to be removed?

          __Jason

          Comment

          • rterio
            Junior Member
            • Mar 2016
            • 7

            #6
            Thanks for your help, I found the problem

            It worked after I created the "/var/run/zabbix/zabbix_server.pid" file and assigned it to the zabbix user. After that, an error appeared in the log file about not enough cache memory so I changed the 8M cache size in the conf file to 64M and the server started OK after.

            Do you know what could be the good way to calculate the amount of cache size?

            Thanks again!

            Comment

            • guzzijason
              Senior Member
              • Dec 2015
              • 106

              #7
              Glad you go it working!

              As for the cache size, I'm not sure. I just used trial-and-error and ended up at 32M for my config. If you look at your zabbix server in the dashboard under "Monitoring" -> "Graphs", there is a graph for "Zabbix cache usage". The configuration cache is the one you're interested in, and that will give you a good idea of if you're size right or not, I think.

              __Jason

              Comment

              Working...