hi again -
OK, the concensus of opinion from too many people to mention individually
ws to use 'lsof' to see which process was listening on the port. So i've
grabbed lsof from 
ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/ and it
built and runs fine. BUT... it doesn't actually seem to help, or something
weird is going on:
# netstat -a | grep 80
tcp        0      0  *.80                      *.*             LISTEN
# lsof -i TCP:80
#
lsof doesn't show anything on port 80, but netstat does and httpd won't
start...
john
ORIGINAL QUESTION:
Hi All -
Yesterday I shut down our web server and when i tried to restart it I now
get the following:
# /sbin/init.d/httpd start
httpd server started.
# bind: Address already in use
httpd: could not bind to port 80
 
#
and 'netstat -a' shows something listening on port 80:
tcp        0      0  *.80                      *.*              LISTEN
So, how can I find out exactly what's sitting there hogging port 80 and
how do I kill it so I can restart httpd ?
This is Tru 64 v5.1, newly upgraded from 4.0G, no patch kits yet
installed.
thanks,
 john
----------------------------------------------------------------------------
John Deacon                        | UCL Starlink Site Manager
Dept Physics and Astronomy         | Email: jrd_at_star.ucl.ac.uk 
University College London          | Tel: 020 7679 7147            
Gower Street London WC1E 6BT       | Fax: 020 7679 7145            
----------------------------------------------------------------------------
Received on Tue Jun 19 2001 - 12:31:21 NZST