Hello,
When I try to restart zabbix-server by using "/etc/init.d/zabbix-server restart" command, I have :
When I use start :
and stop :
When I run "ps fax | grep zabbix" I don't see the process running (only zabbix-agentd and not zabbix-server).
My config file (/etc/zabbix/zabbix_server.conf) has
Permissions are as follow :
but the directory /var/run/zabbix-server/ is empty !
I guess I miss the .pid file.
I tried restarting the machine, still the same thing.
Thank you in advance.
Edit : in my logfile (/var/log/zabbix-server/) I have :
But I think it was the result of when I tried to restart for the first time.
Now I don't have anything that writes in the log.
I resolved the problem. For those who could run into the same one, here is what I did : I simply deleted the extra setting I have added in /etc/zabbix/zabbix-server.conf. In my case, it was "CacheSize=16M" or something like that. I saw it was a "tune" but dunno what, it messed all up.
When I try to restart zabbix-server by using "/etc/init.d/zabbix-server restart" command, I have :
Code:
* Stopping Zabbix server zabbix_server
No /usr/sbin/zabbix_server found running; none killed.
[ OK ]
* Starting Zabbix server zabbix_server
Code:
* Starting Zabbix server zabbix_server
Code:
* Stopping Zabbix server zabbix_server
No /usr/sbin/zabbix_server found running; none killed.
[ OK ]
My config file (/etc/zabbix/zabbix_server.conf) has
Code:
PidFile=/var/run/zabbix-server/zabbix_server.pid
Code:
drwxr-xr-x 2 zabbix zabbix 40 2012-02-16 13:26 zabbix-server
I guess I miss the .pid file.
I tried restarting the machine, still the same thing.
Thank you in advance.
Edit : in my logfile (/var/log/zabbix-server/) I have :
Code:
21666:20120216:113547.121 One child process died (PID:21678). Exiting ... 21666:20120216:113549.122 Syncing history data... 21666:20120216:113549.130 Syncing history data...done. 21666:20120216:113549.130 Syncing trends data... 21666:20120216:113549.405 Syncing trends data...done. 21666:20120216:113549.405 Zabbix Server stopped. Zabbix 1.8.1 (revision 9702).
Now I don't have anything that writes in the log.
I resolved the problem. For those who could run into the same one, here is what I did : I simply deleted the extra setting I have added in /etc/zabbix/zabbix-server.conf. In my case, it was "CacheSize=16M" or something like that. I saw it was a "tune" but dunno what, it messed all up.