linux,ubuntu linux,ubuntu guide,linux technical documentation

Tag: httpd: (98)Address already in use

apache error – Starting httpd: (98)Address already in use

by admin on May.28, 2010, under RHEL5, Ubuntu, Ubuntu 9.10, Webserver, apache, ubuntu 10.04

My client doing some virtual hosting set-up that time that apache showing following error
[root@]# /etc/init.d/httpd start

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

For resolving this issue grep list of open files and kill that file


[root@]# lsof -i :80
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
perl 7448 apache 4u IPv6 33113387 TCP *:http (LISTEN)

[root@]# kill -9 7448

[root@]# /etc/init.d/httpd start
Starting httpd: [ OK ]


Leave a Comment :, , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Archives

All entries, chronologically...