Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Odd Apache 1.3 init script problem after kernel upgrade
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
whit
Tux's lil' helper
Tux's lil' helper


Joined: 26 Oct 2002
Posts: 121
Location: VT

PostPosted: Fri Dec 19, 2003 2:29 pm    Post subject: Odd Apache 1.3 init script problem after kernel upgrade Reply with quote

Rebooted a system with a 2.6.0-test11-gentoo-r2 kernel that had been running 2.4.23. Apache 1.3 didn't start normally from the /etc/init.d script in the default runlevel. Trying to run the init script manually gave an error that apache was already running. Running the init script with "zap" and then "start" again still failed to start it. Nothing notable was in the apache or system logs - just ended up with no apache daemon running.

Well, "apachectl start" worked fine. And after doing that the init script seems to be working okay again. Don't know what it could have been about a reboot for a kernel upgrade (after a normal shutdown) that would confuse Gentoo's apache init script. Just leaving this note here in case someone else runs into the same oddness.

Also, I've switched my monit config to use apachectl instead of the Gentoo apache init, since it's apparently more robust.
Back to top
View user's profile Send private message
ckdake
l33t
l33t


Joined: 10 Apr 2003
Posts: 889
Location: Atlanta, GA

PostPosted: Sat Dec 20, 2003 5:20 am    Post subject: Reply with quote

most likely it left a pid file in /var/run that got everyhing confused. Also, if i remember correctly there is an init.d/running/ folder somewhere. When I was getting bind working it would put an entry in that folder and if something bad happened to bind (which it did a lot :P), I would have to delete that file to get the init.d script to start it up again.
_________________
http://ckdake.com/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum