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.