Bobcares

Zabbix server is not running – Let’s Solve It Quickly!!

by | Dec 11, 2019

Oops!! Facing the “Zabbix server is not running” error? We can help you with it.

This error occurs due to various reasons like incorrect information in the Zabbix configuration file, resource allocation problems, etc.

At Bobcares, we get requests from our customers about Zabbix error, as a part of our Server Management Services.

Today, we’ll see how our Support Engineers fix this Zabbix server is not running error.

 

What are the causes for the Zabbix server is not running error?

Zabbix server is not running error occur due to various reasons. Some of them are:

  •  Incorrect data in the zabbix_server.conf configuration file.
  •  Problems in database creation and permissions.
  •  Problems with the firewall.
  •  Lack of sufficient resources to start the zabbix_server daemon.

Our Support Engineers traverse through all the possible scenarios in order to find a perfect fix.

Let’s see, how we find fix for each of these causes.

 

1. Incorrect Zabbix configuration results in the Zabbix server is not running error

Usually, incorrect data in the Zabbix configuration file and database results in the Zabbix server is not running error.

To clarify, if there is any difference in database parameters in /etc/zabbix/web/zabbix.conf.php and /etc/zabbix/zabbix_server.conf or change in any of the values in configuration result in this error.

Our  Engineers check for the precision of database parameters in /etc/zabbix/web/zabbix.conf.php and /etc/zabbix/zabbix_server.conf.

If there is any difference, we will correct that and fix the error.

Recently, one of our customers approached us with the same error. We found that in the configuration file, the Zabbix server IP was different, so we corrected that.

We corrected the IP in zabbix.conf.php. The location of the file is at /etc/zabbix/web

cd /etc/zabbix/web

Zabbix server is not running

vi zabbix.conf.php
ZBX_SERVER = '**your zabbix ip address or name**';
ZBX_SERVER_PORT = '10051';
ZBX_SERVER_NAME = '**your zabbix hostname**'; 

After that, we restarted the service.

service zabbix-server restart

Our Support Engineers fixed the error by correcting the IP in the configuration file.

 

2. Zabbix server error due to problems with the firewall.

This error can also occur because of firewall blockages. So, we need to check whether or not there are firewall rules preventing the use of the service.

As a root user, we check and confirm whether the firewall is allowing connection to Zabbix Server port which is 10051. If not, then we add the following rule in the configuration file /etc/sysconfig/iptables.  Finally, restart the service in order to fix the error.

-A INPUT -m state --state NEW -m tcp -p tcp --dport 10051 -j ACCEPT
service iptables restart

Hence, this fixes the Zabbix server is not running error.

 

3. Lack of sufficient resource

In order to start the zabbix_server daemon, it requires sufficient resources. So, we need to adjust the parameter “Cachesize” and increase in a way that the Zabbix Server application can make the most of the memory resource.

Our Support Engineers check for problems with the “CacheSize” parameter of the configuration file zabbix_server.conf. And then we increase the Cachesize value accordingly in order to fix the Zabbix server is not running error.

vi /etc/zabbix/zabbix-server.conf
Cachesize= [Increased value]

 

[Having trouble in fixing Zabbix errors? – Our Experts are available 24/7.]

 

Conclusion

In short, an error in any configuration file or database, problems with firewalls and, lack of sufficient resource, etc. results in the Zabbix server is not running error. Today, we discussed the possible reasons for this error. Also, we saw how our Support Engineers fixed this error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

12 Comments

  1. Muneeb

    Hi !
    i install zabbix 4.0 but its give a error on dashbord ” zabbix server is not runing : the information displayed may not be correct:
    i try all your command above :

    Reply
    • Arya MA

      Hi Muneeb,

      We are happy to help you. To contact our support team, please initiate a chat from the icon at right-bottom.

      Reply
      • praneeth

        Hello , Even I found the same issue ?

        Reply
        • Hiba Razak

          Hi Praneeth,
          Our experts can help you with the issue.we will be happy to talk to you through our live chat(click on the icon at right-bottom).

          Reply
    • Hiba Razak

      Hi,
      Please contact our support team via live chat(click on the icon at right-bottom)

      Reply
      • Nibedita Jena

        Hii, when i am inserting the data in the database in problem table,event table,trigger table,but why it not shwing in zabbix monitoring problem page.

        Reply
        • Hiba Razak

          Hi Nibedita,
          Our experts can help you with the issue.Please contact our support team via live chat(click on the icon at right-bottom).

          Reply
  2. Sanek

    Thanks a lot ! You helped resolve my problem with zabbix server !

    Reply
    • Hiba Razak

      Hi,
      Thanks for the feedback. We are glad to know that our article was helpful for you 🙂 .

      Reply
  3. Sadan

    HI,

    after upgrading Ubuntu 18 to 20 on the Zabbix server we are having similar kind of issue but we have verified and seems all above steps passed. can anyone please help us resolving the issue(below are the logs)..

    2138:20231122:042319.467 End of DBflush_trends()
    2138:20231122:042319.467 query [txnlev:1] [commit;]
    2138:20231122:042319.476 syncing trend data done
    2138:20231122:042319.476 End of DCsync_trends()
    2138:20231122:042319.476 End of DCsync_all()
    2138:20231122:042319.476 End of free_database_cache()
    2138:20231122:042319.476 In free_configuration_cache()
    2138:20231122:042319.476 End of free_configuration_cache()
    2138:20231122:042319.477 In zbx_vc_destroy()
    2138:20231122:042319.477 End of zbx_vc_destroy()
    2138:20231122:042319.477 In zbx_vmware_destroy()
    2138:20231122:042319.477 End of zbx_vmware_destroy()
    2138:20231122:042319.477 In free_selfmon_collector() collector:0x7f84fa8f6000
    2138:20231122:042319.477 End of free_selfmon_collector()
    2138:20231122:042319.477 In zbx_unload_modules()
    2138:20231122:042319.477 End of zbx_unload_modules()
    2138:20231122:042319.477 Zabbix Server stopped. Zabbix 5.0.37 (revision 3f4cd9bec9b).

    Reply
    • Hiba Razak

      Hi,
      Our experts can help you with the issue.we will be happy to talk to you through our live chat(click on the icon at right-bottom).

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.