Problems with Apache2

bill purvis bil at beeb.net
Sun Oct 28 19:16:49 UTC 2007


On Saturday 27 October 2007, Bill Moseley wrote:
> On Sat, Oct 27, 2007 at 04:41:04PM +0100, bill purvis wrote:
> > On Saturday 27 October 2007, Bill Moseley wrote:
> > $ netstat -ltp
> > Active Internet connections (only servers)
> > 4738/hpiod
> > tcp        0      0 *:www                   *:*                    
> > LISTEN 6786/apache2
>
> Well, then, clearly the solution is obvious.  We just haven't figured
> it out yet.
>
> It's listening on all interfaces on port 80.  That is good.
>
> My next attempts would be run Apache using strace and using apache's
> -X switch to place in single process mode (which has a problem with
> 2.2 that you have to kill -9 the process instead of just control-C)
> and then watch what happens when you make a request.
>
> Then I'd use wireshark.
>
> Then I'd realize that I'd missed something obvious.  At least that's
> how it normally goes for me.
>
Bill, thanks for the tip. I've tried running under strace and looked
through the output. It looks as if it gets as far as sitting on the
'accept()' call, waiting for someone to connect, but nothing happens.

The only bits in the log are the two ^C I typed, which just
restart the accept() call, then finally the kill 9 coming in.

I've decided to take drastic action - I'm going to archive off all
my personal stuff, plus the old Mandrake system to my server,
reinstall from scratch reformatting the disk. This should allow me to
get around any nasties that crept in when /var overflowed. I may be
off the air for 24 hours or so, but I'll be back!

Bill


-- 
+---------------------------------------+
| Bill Purvis, Amateur Mathematician    |
|  email: bil at beeb.net                  |
|  http://bil.members.beeb.net          |
+---------------------------------------+




More information about the ubuntu-users mailing list