[CentOS]Apache error: could not bind to address

Up 0 Down

I get below error for my server (CentOS 5.7),I have no idea how to fix it,please help.

 

(98)Address already in use: make_sock: could not bind to address

Dkxuu's picture
10111
1 answer
Up 0 Down

 

run

 

# netstat -lnp|grep 80

 

You will see something like that

 

Tcp        0      0 192.163.180.68:61027        0.0.0.0:*                   LISTEN      6289/oproxyd      
tcp        0      0 :::80                       :::*                        LISTEN      846/httpd         
tcp        0      0 ::ffff:192.163.180.68:7001  :::*                        LISTEN      32015/java

 

find out the httpd process id and kill it,run

 

# kill -9 846

 

# service httpd restart

 

 

 

 
Colm's picture
171113
Post your answer (Sign in)
(If you're a human, don't change the following field)
Your first name.
The content of this field is kept private and will not be shown publicly.
Cancel