[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to stop httpd from starting
- Subject: How to stop httpd from starting
- Date: Tue, 28 Nov 2006 14:32:42 +0000 (GMT)
- From: Anthony Gardner <suppressed>
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 the 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 26Compilation 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.server: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
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.