[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] web server on raq 4 not responding
- Subject: RE: [cobalt-users] web server on raq 4 not responding
- From: "Kai" <go@xxxxxxxxxxxx>
- Date: Sun Mar 3 22:29:03 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
When I edit the httpd.conf, sometimes it doesn't respond. By this i mean i
type for example www.pseudo.com.au and the browser sits there and thinks...
What I do is type:
ps aux |grep httpd
Sometimes there is only one process. Other times there has been multiple
created. Like the sample below:
root 541 0.0 0.8 7324 2212 ? S Jan05 0:01
/usr/sbin/httpd.a
httpd 25894 0.0 0.0 88400 0 ? SW Feb28 0:00 [java]
httpd 19727 0.0 3.9 13852 10104 ? S Mar04 0:03
/usr/sbin/httpd -
httpd 25254 0.0 3.9 13936 10220 ? S Mar04 0:01
/usr/sbin/httpd -
httpd 25255 0.0 3.8 13800 10024 ? S Mar04 0:01
/usr/sbin/httpd -
root 852 0.0 0.2 1368 520 pts/0 S 00:04 0:00 grep httpd
There was actually 5 times as many but this email would be too long :).
Now.. For some reason it's not responding. So I kill them all. To do this:
kill -9 19727 ( or whatever pid it is )
So in my case above I would type:
kill -9 19727
kill -9 25254
kill -9 25255
Then do: ps aux |grep httpd
... just to make sure you got them all.
Now you need to start httpd back up again:
/etc/rc.d/init.d/./httpd start
And hopefully everything is okay. You said you rebooted and nothing. Sounds
weird.
What's in your boot logs and httpd error and access logs.
Access your main page and look at your access log. See if it responds there.
regardless, go into your error log and see if there is anything fishy there.
to view these logs:
tail -n 50 /var/log/httpd/access
tail -n 50 /var/log/httpd/error
I suggest you: man tail for more info.
I love to: tail -f -n 50 /var/log/httpd/error and just watch it :)
Regards,
Kai.
=============================================
Hi,
This is a new RaQ 4 (and i am a new user :-) )
The web server has stopped responding for the past 4 days
all updates have been applied
i.e
RaQ4-All-Security Release 0.0.1-8061
RaQ4-en-OSUpdateRelease 2.0
OpenSSH Release 3.0.2p1-1
PHP Release 4.1.2
rebooted serve still same problem?
can u help
thanks