How to stop httpd from starting
by Anthony Gardner other posts by this author
Nov 28 2006 6:33AM messages near this date
Re: reposting form values
|
Re: How to stop httpd from starting
All,
I have a bash script that includes
/usr/sbin/httpd -f [some config stuff] > > logs/error_log 2>&1 &
I have a startup.pl script that dies and i exit ... but httpd continues trying to start.
How do I tell httpd to stop if I encounter an error during server startup time?
I've removed the nohup that was before the httpd command and I've tried exit 1 (and 0) in th
e startup.pl script. All to no avail.
This a snippit of my error log
[error] ModPerl::Util::exit: (120000) exit was called at /path/to/startup.pl line 26Compilat
ion failed in require at (eval 4) line 1.\n
[Tue Nov 28 15:30:14 2006] [error] Can't load Perl file: /path/to/startup.pl for server my.s
erver:0, exiting..
If you need more info, just ask.
Any pointers would be gr8ly appreciated.
-Ants
Send instant messages to your online friends http://uk.messenger.yahoo.com
Thread:
Anthony Gardner
Chris Hagglund
|