LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-22-2006, 04:42 AM   #1
namit
Member
 
Registered: Aug 2005
Distribution: Debian
Posts: 355

Rep: Reputation: 30
Aoache just stops


Every so often say 1 time a week apache crashes on me i can not seam to restart it or get any responce of viewing websites.

When i try to restart it i get is

Reloading web server config...httpd not running, trying to start
(98)Address already in use: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs

This just means i have to reboot the server and it works again but bit of pain when i have no access to computer and it goes down.

Can anyone help me?
 
Old 01-22-2006, 05:24 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
If you can't bind to the socket there is something else listening on port 80. Use lsof and/or netstat to find out what.


Håkan
 
Old 01-29-2006, 10:51 AM   #3
namit
Member
 
Registered: Aug 2005
Distribution: Debian
Posts: 355

Original Poster
Rep: Reputation: 30
this is output of netstat when it happens

tcp 0 0 192.168.1.4:www 222.87.157.77:61811 SYN_RECV
tcp 0 0 192.168.1.4:www 200-225-250-143.dy:2436 SYN_RECV
tcp 0 0 192.168.1.4:www wlstsched01-pool0-:2077 SYN_RECV
tcp 0 0 192.168.1.4:www i220-220-16-184.s0:2006 SYN_RECV
tcp 0 0 192.168.1.4:www modemcable034.127-:2002 SYN_RECV
tcp 0 0 192.168.1.4:www 83-70-226-220.b-r:56804 SYN_RECV
tcp 0 0 192.168.1.4:www c-68-42-108-50.hsd:1183 SYN_RECV
tcp 252 0 192.168.1.4:webcache crawl-66-249-65-5:54823 CLOSE_WAIT
tcp 50 0 192.168.1.4:webcache dyn-86.106.34.39.t:1068 CLOSE_WAIT
tcp 46 0 192.168.1.4:webcache dyn-86.106.34.39.t:1067 CLOSE_WAIT
tcp 0 0 192.168.1.4:imap2 83-70-226-220.b-r:56761 ESTABLISHED
tcp 587 0 192.168.1.4:34350 unknown.easynews.c:ircd CLOSE_WAIT
tcp6 0 132 ::ffff:192.168.1.4:ssh 83-70-226-220.b-r:56772 ESTABLISHED
udp 0 0 192.168.1.4:32896 ns2.ns.esat.net:domain ESTABLISHED
udp 0 0 192.168.1.4:32895 ns1.ns.esat.net:domain ESTABLISHED
 
Old 01-29-2006, 05:35 PM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Use lsof to get the process id: sudo lsof -i4. Then you can find out which process/program is using the port.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
aoache and php help kwickcut Mandriva 6 02-02-2005 11:25 PM
wine stops wprauchholz Linux - Newbie 1 10-27-2004 06:59 AM
X stops abruptly pafrica Linux - Software 5 09-05-2004 01:00 PM
VNC Works then stops! Reboot fixes but then it stops again! Leethal Linux - Software 1 02-26-2004 07:57 AM
keyboard stops iwasinnamuknow Linux - Software 6 08-02-2003 12:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration