So all of a sudden, after a week of using it, I get an error message on my zabbix server
gui (http://localhost/zabbix/.)
The error says: Zabbix server is not running: the information displayed may not be current.
Any idea why is this happening ll of a sudden and out of the blue? I restarted the machine - which should automatically restore the zabbix server
upon startup - but it's still not running.
I also researched for a startup or restart command but true to form with zabbix
helpful, clear documentation is non-existent.
EDIT:
Some more info:
MySQL
is running normally. I'm able to select
, insert into
, whatever I want.
Doing /etc/init.d/zabbix-server status
results in * zabbix_server is not running
The last entry in zabbix_server.log
is Zabbix Server stopped. Zabbix 2.2.9 (revision 52686).
Doing sudo /etc/init.d/zabbix-server start
results in * Starting Zabbix server zabbix_server
but the status is still not running
and the log file doesn't have any new entries.
To solve the problem zabbix server is not running you have to :
First - Check that all of the database parameters in zabbix.conf.php ( /etc/zabbix/web/zabbix.conf.php) and zabbix_server.conf ( /etc/zabbix/zabbix_server.conf) to be the same. Including:
• DBHost
• DBName
• DBUser
• DBPassword
Second- Change SElinux parameters:
After all, restart all services:
worth a try.
I was in the same trouble. For my case, that was a conflict between /etc/zabbix/zabbix_agentd.conf and zabbix_server.conf parameters. I adjusted
If you run the default installation, you should keep ListenPort=10051 for the server and 10050 for the agent.
Cheers!
Never had the problem until it suddenly appeared once, for me, the solution was to add (uncomment) the following line in
/etc/zabbix/zabbix_server.conf
I had the same issue.
I forgotten selinux conf, not all is ok:
In my case, this occurred because the password in the server config file was commented out.
Open the server config file: # sudo vim /etc/zabbix/zabbix-server.conf
Scroll down to db user and below there will be the password with a # commenting out. Remove the hash and insert your DB password.