tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: simon.millard () barclays ! co ! uk
To: tru64-unix-managers
Subject: Summary (2): Port in Use
Date: Wed, 19 Jan 2000 15:48:18 +0000	[thread overview]
Message-ID: <96079271218670.tru64-unix-managers.marc@archive.invalid> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="--openmail-part-0702c8bb-00000001", Size: 1624 bytes --]


--openmail-part-0702c8bb-00000001
Content-Type: text/plain; charset=US-ASCII; name="BDY.TXT"
Content-Disposition: inline; filename="BDY.TXT"
Content-Transfer-Encoding: 7bit

Many thanks to Frank who suggested using lsof to see who is using what 
port - works like a charm.

SImon



If you have the freeware "lsof" utility,  you can use it to see who has 
port
80 open:

    lsof -i :80

Isof is available from ftp://vic.cc.purdue.edu/pub/tools/unix/lsof.  I
strongly recommend obtaining it,  since it offers useful diagnostic
capabilities not easily obtainable from combinations of other programs.

If not,  then you'll have to do some deduction.  Look in /sbin/rc3.d to 
see
if any script there starts any program that could be another web server.
Check the output of "ps" to make sure that nothing unusual is running.

If you get the message when stopping and starting Apache,  try to make 
sure
that you are waiting long enough for a running Apache server to actually
halt before trying to start a new one.

Make sure that your configuration file (httpd.conf) makes sense.  Don't 
try
to bind multiple virtual hosts to exactly the same combination of IP 
address
and port.  For each virtual host,  one of IP address or port must 
differ.

Good luck!  I hope you find at least one of these hints useful.

Frank


Internet communications are not secure and therefore the Barclays Group does
not accept legal responsibility for the contents of this message. Any views
or opinions presented are solely those of the author and do not necessarily
represent those of the Barclays Group.



--openmail-part-0702c8bb-00000001--

                 reply	other threads:[~2000-01-19 15:48 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