LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-06-2006, 10:04 PM   #1
sandeshshrestha
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
httpd restart error


when i restart httpd remotely from ssh it gives following error can some body help me
[root@sandesh ]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
[FAILED]
can someone help me
 
Old 03-06-2006, 10:37 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Usually those errors are associated with already having an instance of the service (or some other daemon) running on that port. Check the output of netstat -pantu and see if anything is already listening on port 80 or 443.

Also does 'apachectl startssl' work?
 
Old 03-26-2006, 08:35 PM   #3
alejandroye
Member
 
Registered: May 2004
Location: SOUTH FLORIDA USA
Distribution: MANDRIVA / CENTOS
Posts: 146

Rep: Reputation: 15
hi

I am having the same error,

Starting httpd2: (98)Address already in use: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]

and I got from
# netstat -pantu

this

tcp 0 0 :::80 :::* LISTEN 8378/httpd2
tcp 0 0 :::6000 :::* LISTEN 4221/X
tcp 0 0 :::22 :::* LISTEN 4251/sshd
tcp 0 0 :::443 :::* LISTEN 8378/httpd2

so, what this mean?, and what I have to do now?

any help about this


thanks in advantage
 
Old 03-26-2006, 11:50 PM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
You already have an instance of the http daemon listening on that port:

tcp 0 0 :::80 :::* LISTEN 8378/httpd2<---
tcp 0 0 :::6000 :::* LISTEN 4221/X
tcp 0 0 :::22 :::* LISTEN 4251/sshd
tcp 0 0 :::443 :::* LISTEN 8378/httpd2<---

You can either kill the httpd2 process (killall httpd2) or "restart" the service using: service http restart (may not work on mandrake though).
 
Old 03-27-2006, 07:09 AM   #5
alejandroye
Member
 
Registered: May 2004
Location: SOUTH FLORIDA USA
Distribution: MANDRIVA / CENTOS
Posts: 146

Rep: Reputation: 15
Thumbs up

thank you, now it back to work normal
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Httpd restart-error_log report marius_vl Fedora 1 03-02-2006 03:23 AM
httpd restart headache; netstat Swakoo Linux - Networking 1 10-25-2005 08:08 AM
Failed Httpd restart namboi Linux - Newbie 5 05-07-2005 07:23 PM
deleted httpd.conf - apache still finds it after restart jordanthompson Linux - Software 1 10-16-2004 02:08 PM
Command to restart httpd service deWin Linux - Software 2 07-13-2004 06:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:23 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