Re: apache2: no listening sockets
- From: michael <linux@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 25 Apr 2007 22:32:23 +0100
On Mon, 2007-04-23 at 12:06 +0200, Jochen Schulz wrote:
michael:
michael@manchester-campaigns:~$ sudo /etc/init.d/apache2 restart
Forcing reload of web server (apache2)...apache2: Could not reliably
determine the server's fully qualified domain name, using 127.0.0.1 for
ServerName
You may want to set ServerName in your apache configuration to get rid
of this warning.
httpd (no pid file) not running
apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address
127.0.0.1:80
This means that some program is already listening on localhost:80. It
may be a stale apache process which you could just kill or it is another
webserver you have installed previously. In any case, you can set up
apache to listen on a port other than 80 to mitigate this problem.
J.
Jochen, thanks for that. Using port 81 and it works (still need to sort
out ServerName but not sure what the 'httpd not running relates to?)
Also I think I shouldn't have anything else (already) running on port
80... but 'nmap' gives
michael@manchester-campaigns:~$ nmap -sV localhost
Starting Nmap 4.20 ( http://insecure.org ) at 2007-04-25 22:25 BST
Stats: 0:01:04 elapsed; 0 hosts completed (1 up), 1 undergoing Service
Scan
Service scan Timing: About 95.00% done; ETC: 22:26 (0:00:03 remaining)
Interesting ports on manchester-campaigns (127.0.0.1):
Not shown: 1677 closed ports
PORT STATE SERVICE VERSION
9/tcp open discard?
13/tcp open daytime
21/tcp open ftp OpenBSD ftpd 6.4 (Linux port 6.4)
22/tcp open ssh OpenSSH 4.2p1 Debian 5 (protocol 2.0)
25/tcp open smtp Exim smtpd 3.36
37/tcp open time (32 bits)
79/tcp open finger Debian fingerd
80/tcp open tcpwrapped
81/tcp open http Apache httpd 2.2.3 ((Debian))
but I am unsure what 'tcpwrapped' is...
Thanks, Michael
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: apache2: no listening sockets
- From: Jochen Schulz
- Re: apache2: no listening sockets
- References:
- apache2: no listening sockets
- From: michael
- Re: apache2: no listening sockets
- From: Jochen Schulz
- apache2: no listening sockets
- Prev by Date: dvd problem
- Next by Date: Architecural modelling software
- Previous by thread: Re: apache2: no listening sockets
- Next by thread: Re: apache2: no listening sockets
- Index(es):
Relevant Pages
|
Loading