-
Incident report
-
Resolution: Won't fix
-
Major
-
1.4.3
-
None
I had real trouble with the startup script included in for RedHat.
Some one provided a script in http://www.zabbix.com/forum/showthr...t=Centos+init.d , unfortunately, the link to the script is broken , so i could not try it.
So, i made my own "Universal" init.d script.
It can start, stop, restart, reload and condrestart. It handles the pid after crash problem. It's "Universal" because, it's easy to modify for other applications.
I am really new to Linux scripting, so check the script carefully for any eventual bug.
Any comments will be highly appreciated.
http://www.leetdreams.com/downloads/linux/init.d.zip
or
http://www.leetdreams.com/downloads/linux/init.d.tgz
Tested on Centos 4.4, x86_64, Zabbix 1.3.2, MySQL 5.0.22, PHP 5.1.6
Edit: changed zabbix_server startup priority to 130, that way it will start after mysqld, else it will fail.