0
votes
2answers
61 views

This script won't execute on startup, ideas?

The distribution is RHEL 5. The script has been added to chkconfig like so: # chkconfig --add script # chkconfig script on But it refuses to start when taking up the machine, what could be the ...
1
vote
1answer
194 views

Redhat 5 Upgrade / Sphinx Search Init Startup Hangs

I recently upgrade a VM to Redhat 5 and moved Sphinx Search to that server. For some reason when I try to start Sphinx, the startup script fails to push the searchd process to the background. I ...
2
votes
2answers
410 views

Monitor a custom Java HTTP server from a bash shell?

How could I monitor a service port from a bash shell? I want to monitor a Java service (once per minute on port 9090) and then call "/etc/init.d/myservice -restart" if the service isn't responding ...
0
votes
3answers
121 views

Task on server shutdown and up

Which is the best way to run a script upon server restart and when server is up again? e.g. When services will be unavailable: irc_notify "Server is going down" when all services are available: ...
0
votes
2answers
120 views

Using ex in init scripts

I'm using ex to modify configuration files from an /etc/init.d/CONFIG script. I'm using debian squeeze (updated yesterday) My problem is: It's impossible to start ex / vi in init scripts with the vi ...
2
votes
2answers
680 views

Explanation of the init.d/scripts Fedora

Below is a copy of vsftpd, i need some explanations of some of the scripts mentioned below in this script: #!/bin/bash # ### BEGIN INIT INFO # Provides: vsftpd # Required-Start: $local_fs $network ...