On 17/10/12 17:45, Ralph Corderoy wrote:
Hi Tim,

Sorry, been busy...

Have a look at the output of

      sudo lsof -ni4tcp:80
mit@vulcan ~ $ sudo lsof -ni4tcp:80
[sudo] password for mit:
COMMAND  PID USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
firefox 8342  mit   53u  IPv4 11765792      0t0  TCP 
192.168.0.55:33033->88.221.88.73:http (ESTABLISHED)
firefox 8342  mit   54u  IPv4 11763161      0t0  TCP 
192.168.0.55:33034->88.221.88.73:http (ESTABLISHED)
firefox 8342  mit   56u  IPv4 11763162      0t0  TCP 
192.168.0.55:33035->88.221.88.73:http (ESTABLISHED)
firefox 8342  mit   57u  IPv4 11763163      0t0  TCP 
192.168.0.55:33036->88.221.88.73:http (ESTABLISHED)
firefox 8342  mit   60u  IPv4 11763164      0t0  TCP 
192.168.0.55:33037->88.221.88.73:http (ESTABLISHED)
firefox 8342  mit   61u  IPv4 11763165      0t0  TCP 
192.168.0.55:33038->88.221.88.73:http (ESTABLISHED)
firefox 8342  mit   65u  IPv4 11760861      0t0  TCP 
192.168.0.55:37859->173.194.34.128:http (ESTABLISHED)

(and before anybody rushes to whois they are Akamai and Google IP)

No sign of Apache listening
Sorry, it seems the `4' for IPv4 stops it listing the listening sockets
because they're under IPv6.  Having tried it, I find

     sudo lsof -nitcp:80

works for me, e.g.

     httpd   5341 apache    4u  IPv6  470457523       TCP *:http (LISTEN)

Cheers, Ralph.

Hi Ralph

This is what I get

mit@vulcan ~ $ sudo lsof -nitcp:80
[sudo] password for mit:
COMMAND   PID     USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
apache2 10112     root    3u  IPv6 1435670      0t0  TCP *:http (LISTEN)
apache2 14700 www-data    3u  IPv6 1435670      0t0  TCP *:http (LISTEN)
apache2 14701 www-data    3u  IPv6 1435670      0t0  TCP *:http (LISTEN)
apache2 14702 www-data    3u  IPv6 1435670      0t0  TCP *:http (LISTEN)
apache2 14703 www-data    3u  IPv6 1435670      0t0  TCP *:http (LISTEN)
apache2 14704 www-data    3u  IPv6 1435670      0t0  TCP *:http (LISTEN)


Cant say I really understand what you mean, are you saying something is mis-configured (my previous post) which is blocking apache from listening correctly??

Cheer for the help to date

Tim

--
Next meeting:  ???, ???day, 2012-11-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:[email protected]
How to Report Bugs Effectively:  http://goo.gl/4Xue

Reply via email to