tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: John Deacon <jrd () star ! ucl ! ac ! uk>
To: tru64-unix-managers
Subject: SUMMARY (partly...): Port 80 busy
Date: Tue, 19 Jun 2001 11:44:23 +0000	[thread overview]
Message-ID: <102653649621924.tru64-unix-managers.marc@archive.invalid> (raw)


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@star.ucl.ac.uk 
University College London          | Tel: 020 7679 7147            
Gower Street London WC1E 6BT       | Fax: 020 7679 7145            
----------------------------------------------------------------------------


                 reply	other threads:[~2001-06-19 11:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox