[nzlug] Apache Restarting Problems

Hadley Rich hads at nice.net.nz
Wed Mar 19 12:54:05 NZST 2008


On Wednesday 19 March 2008 13:50:16 Rob wrote:
> I'm having having some issues with restarting apache. The server is
> currently using fedora 8.
>
> This is the error im getting:
>
> [root@<blank> ~]# /etc/rc.d/init.d/httpd restart
> Stopping httpd:                                            [FAILED]
> Starting httpd: (98)Address already in use: make_sock: could not bind to
> address [::]:80
>
> (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
> no listening sockets available, shutting down
> Unable to open logs
>                                                            [FAILED]
>
>
> I'm Quite new at this, could any one help ?

It looks like there is something already listening on port 80 (the default 
webserver port) and apache can't start because it can't use that port.

If you issue;

netstat -plnt | grep 80

from the command line then that should show you what is listening on port 80 
and you can continue debugging from there.

hads
-- 
http://nicegear.co.nz
VoIP, DVB and other Linux compatible hardware. Linux laptops.



More information about the NZLUG mailing list