LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   I cannot start httpd service (https://www.linuxquestions.org/questions/linux-server-73/i-cannot-start-httpd-service-603891/)

skyplus 12-02-2007 05:41 AM

I cannot start httpd service
 
It was good several days ago, but now i can't get it started.
Please help me figure out why. Thanks!

#service httpd statushttpd is stopped

#service httpd startedStarting httpd: [Sun Dec 02 19:34:56 2007] [warn] module python_module is already loaded, skipping
httpd: Could not determine the server's fully qualified domain name, using 192.168.1.201 for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]

#netstat -lnp |grep 80
tcp 0 0 0.0.0.0:5280 0.0.0.0:* LISTEN 6079/lmgrd
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN -
udp 0 0 0.0.0.0:10080 0.0.0.0:* 4964/xinetd

acid_kewpie 12-02-2007 06:00 AM

it says the address is already in use... apache is probably already running...

skyplus 12-02-2007 06:08 AM

Quote:

Originally Posted by acid_kewpie (Post 2977398)
it says the address is already in use... apache is probably already running...

Thanks for your help:)
But httpd is not running, right?
actually i just want to use svn&trac with httpd,
but now they cann't be browsed with webexplorer any more...
whth shall i do?

zhoun 12-02-2007 06:14 AM

Code:

# lsof -i
May be some process is already listening on the 80 port.
You can use this command to see which program. Then kill it and start apache.

mt83 12-04-2007 04:34 AM

Hi,

That what i faced before. hope you help. I got solution from one forum.
I can solve it with below steps.

error - make_sock: could not bind to address 0.0.0.0:443 or 80

the prblem is with the port conflict..how can u track it..

#lsof -i :80 - check

bash 19089 root 18u IPv4 127053 TCP *:http (LISTEN)

#kil -9 19089 - kill

#lsof -i :80 - recheck

#apachectl start - finish


All times are GMT -5. The time now is 04:31 AM.