Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu May 24, 2012 1:11 am 
Offline
Senior Member
User avatar

Joined: Tue Apr 26, 2011 7:43 am
Posts: 59
Hi,

I noticed the below error trying to start the httpd service after rebooting my linode.

service httpd start
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

I resolved this issue by killing the httpd process and re-starting the httpd service.

Why does this happen and how do I ensure this doesn't happen when the server is rebooted next time.


Thanks,
Avinash


Top
   
 Post subject:
PostPosted: Thu May 24, 2012 1:15 am 
Offline
Senior Member
User avatar

Joined: Sat Apr 07, 2012 3:40 am
Posts: 56
Website: http://for-no-reason.net
Location: Australia
Sounds like you have set up the httpd to start automatically on boot. If that's the case, there is no need to manually start it after a reboot.


Top
   
 Post subject:
PostPosted: Thu May 24, 2012 1:21 am 
Offline
Senior Member
User avatar

Joined: Tue Apr 26, 2011 7:43 am
Posts: 59
Yes, but my web server didn't work until I did what I have mentioned. The website was inaccessible.



XReaper wrote:
Sounds like you have set up the httpd to start automatically on boot. If that's the case, there is no need to manually start it after a reboot.


Top
   
 Post subject:
PostPosted: Thu May 24, 2012 1:39 am 
Offline
Senior Member
User avatar

Joined: Thu Nov 24, 2011 12:46 pm
Posts: 139
Location: Mesa AZ
Then you have another web server starting up that is not configured to serve your files. Multiple setups?

_________________
Kevin a.k.a. Dweeber


Top
   
 Post subject:
PostPosted: Thu May 24, 2012 1:50 am 
Offline
Senior Member
User avatar

Joined: Tue Apr 26, 2011 7:43 am
Posts: 59
No, just one apache server.

The error seems to be a common one. http://www.directadmin.com/forum/showth ... 412&page=1

In my case i found only httpd and no perl file.

netstat -lnp | grep :80
tcp 0 0 :::80 :::* LISTEN 4658/httpd

Dweeber wrote:
Then you have another web server starting up that is not configured to serve your files. Multiple setups?


Top
   
 Post subject:
PostPosted: Thu May 24, 2012 2:10 am 
Offline
Senior Member
User avatar

Joined: Thu Nov 24, 2011 12:46 pm
Posts: 139
Location: Mesa AZ
That post is a directadmin related issues forum and may not have anything to do with your problem other than something already has httpd running.

Really hard to give any real input without details from the box.

_________________
Kevin a.k.a. Dweeber


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


Who is online

Users browsing this forum: No registered users and 3 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