From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079271218670.tru64-unix-managers.marc@archive.invalid> From: simon.millard () barclays ! co ! uk Date: Wed, 19 Jan 2000 15:48:18 +0000 To: tru64-unix-managers Subject: Summary (2): Port in Use X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079271218670 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--openmail-part-0702c8bb-00000001" --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--