Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Mar 08, 2012 8:03 pm 
Offline
Newbie

Joined: Thu Mar 08, 2012 1:58 pm
Posts: 2
I keep getting the message when issuing a restart on apache2:

Restarting web server apache2
no listening sockets available, shutting down
Unable to open logs

I'm at a loss of what's going on. I've scoured the internet and the best I can seem to find is this:

it means that there is another server already running on port 80 (the default port used for HTTP connections). Only one application can listen for connections in a given port at the same time, so if you have active another server, Apache can't use that port.

The solution for this is as simple as close or disable the other program when you need to use Apache. If you don't know what program is using that port, you can use an utility like Active Ports or TCPView for getting the list of programs associated to any active port in the system.

CAN ANYONE ADVISE OR EVEN TELL ME HOW TO USE THE UTILITIES MENTIONED ABOVE TO FIND OUT WHAT OTHER SERVICE IS USING THE PORT?

Thank you

Stephen


Top
   
 Post subject:
PostPosted: Thu Mar 08, 2012 8:47 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
Run as root

Code:
netstat -lnptu

or
Code:
netstat -lnptu | grep 80


The utilities you listed are Window apps, not much help on a LINUX box.


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


Who is online

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