jg@cyberstorm.demon.co.uk wrote:
Hi all,
Since I'm coding LNC every day it makes sense to get apache going on boot. However, trying to get this going through RH6.0's rc scripts is proving less than entertaining :-(
In /etc/rc.d/rc.local I have put the following in:
if [-f /etc/rc.d/init.d/apache ]; then /etc/rc.d/init.d/apache start fi
/etc/rc.d/init.d/apache appears to be the same as other init scripts but obviously catering for apache. The variable pointing at the executable is fine, but then I don't think this is the problem since I don't receive any messages whlie booting.
In fact if I didn't know better, I would think that the code above isn't being executed whatsoever.
Before you ask, ls -l /etc/rc.d/init.d/apache: -rwxr-xr-x 1 root root 504 Oct 8 23:46 apache
Can anyone make sense of this?
I know sod all about RH, and anyway others have addressed that part... However, look in /var/log/httpd.error_log and see why (if) apache isn't starting (this is for SuSE, at least).
Cheers, Laurie.
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]