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.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF