[nzlug] Apache Restarting Problems

Greg Fawcett greg at vig.co.nz
Wed Mar 19 13:01:18 NZST 2008


The error shows it can't stop httpd (apache), so when it tries to restart
it, it finds it can't use that port - the previous instance is still using
it.

Check the error logs (/var/log - it might be httpd or apache) to see if
there is any reason given for failing to stop. From memory (I'm rusty with
Redhat) you can use "service httpd stop" and "service httpd start" instead
of referencing the init.d script.

Cheers!
Greg.


On 19/03/2008, Rob <bubaphex at gmail.com> wrote:
>
> Hi all,
>
> 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 ?
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>



-- 
Phone: +64 3 409 8165
Mobile: +64 21 333 291
Fax: +64 3 974 6810
Web: www.vig.co.nz


More information about the NZLUG mailing list