[ZBX-37] CentOS 4.x / RH el4 init.d script Created: 2007 Sep 01  Updated: 2017 May 30  Resolved: 2009 Jun 29

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 1.4.3
Fix Version/s: 1.4.3

Type: Incident report Priority: Major
Reporter: Alexei Vladishev Assignee: Alexei Vladishev
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

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.

http://www.zabbix.com/forum/showthread.php?t=4948



 Comments   
Comment by Alexei Vladishev [ 2009 Jun 29 ]

I am removing feature requests. The project is for reporting bug only.

Alexei

Generated at Sat Apr 26 15:19:34 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.