[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache error



On Wed, Feb 18, 2009 at 16:29:14 -0500, Paul Cartwright wrote:
> On Wed February 18 2009, ss11223 wrote:
> > When I see socket already in use it usually means that apache is
> > already running.
> >
> > check with "ps -A | grep apache"
> >
> > and then
> >
> > "killal apache2" and try again

[...]

> # killall apache2
> apache2: no process killed
> 
> # /etc/init.d/apache2 restart
> Restarting web server: apache2(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 [::]: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!

Try these commands to see which process is bound to port 80:

lsof -i :80
netstat -plant | grep ':80 '

(Netstat will only show you the process name and ID if you run it as
 root.)

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


Reply to: