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 |
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? |
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 |
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). |
thank you, now it back to work normal
|
All times are GMT -5. The time now is 05:54 AM. |