SOVED apache already in use error
I just ran a````
/etc/init.d/apache2 restart
and I'm getting this error
Restarting web server: apache2(98)Address already in use: makesock: could not bind to address [::]:80
(98)Address already in use: makesock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
failed!
Then I ran````
netstat -lnp | grep :80
and then this was the output
tcp6 0 0 :::80 :::* LISTEN 2057/apache2
I don't know what that means. Some help would be very much appreciated.
Thanks,
John
2 Replies
killall -9 2057
then started apache2 back up, it worked. but just wondering if this is the proper way of doing it. I read an article, http://ubuntuforums.org/showthread.php?t=1636667
Is there a way around this?
thanks,
John
killall -9 2057
then started apache2 back up, it worked. but just wondering if this is the proper way of doing it. I read an article, http://ubuntuforums.org/showthread.php?t=1636667
Is there a way around this?
thanks,
John