[nzlug] Apache Restarting Problems

Rob bubaphex at gmail.com
Wed Mar 19 13:24:02 NZST 2008


thanks for the reply's guys

netstat -plnt | grep 80 gave me this:

[root at me ~]# netstat -plnt |grep 80
tcp        0      0 0.0.0.0:5801                0.0.0.0:*
LISTEN      2070/Xvnc
tcp        0      0 0.0.0.0:5802                0.0.0.0:*
LISTEN      2101/Xvnc
tcp        0      0 :::80                       :::*
LISTEN      1945/httpd
[root at me ~]#

that random 0.0.0.0 thing

the log didn't have anything about the above issues, or any thing associated
with port 80

when trying to stop apache i get the follow error

[root at me ~]# /etc/rc.d/init.d/httpd stop
Stopping httpd:                                            [FAILED]
[root at me ~]#




On Wed, Mar 19, 2008 at 2:01 PM, Greg Fawcett <greg at vig.co.nz> wrote:

> 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
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>


More information about the NZLUG mailing list