Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Feb 20, 2012 11:31 am 
Offline
Junior Member

Joined: Tue May 31, 2011 5:28 pm
Posts: 25
hello.
I just ran a
Code:
/etc/init.d/apache2 restart

and I'm getting this error
Code:
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 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
Code:
netstat -lnp | grep :80

and then this was the output
Code:
tcp6       0      0 :::80                   :::*                    LISTEN      2057/apache2 

I don't know what that means. Some help would be very much appreciated.

Thanks,
John


Last edited by itsjohn on Mon Feb 20, 2012 11:46 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Mon Feb 20, 2012 11:45 am 
Offline
Junior Member

Joined: Tue May 31, 2011 5:28 pm
Posts: 25
I don't know if I did this correctly, but I did
Code:
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 where its the case of the ssl certs.
Is there a way around this?

thanks,
John


Top
   
 Post subject:
PostPosted: Mon Feb 20, 2012 11:45 am 
Offline
Junior Member

Joined: Tue May 31, 2011 5:28 pm
Posts: 25
I don't know if I did this correctly, but I did
Code:
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 where its the case of the ssl certs.
Is there a way around this?

thanks,
John


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group