I have CentOS 6 and with webmin/virtualmin panel, and each time that I reboot Apache can't 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 I do: netstat -tulpn| grep :80 tcp 0 0 :::80 :::* LISTEN 1584/httpd killall -9 httpd And then Apache can start. But do you why thos problem in each reboot? I like to fix this problem. Thansks you. Ernesto
----- Original Message -----
| I have CentOS 6 and with webmin/virtualmin panel, and each time that I
| reboot Apache can't 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
|
| I do:
|
| netstat -tulpn| grep :80
| tcp 0 0 :::80 :::* LISTEN 1584/httpd
|
|
| killall -9 httpd
|
|
| And then Apache can start. But do you why thos problem in each reboot?
| I like to fix this problem.
|
| Thansks you.
|
| Ernesto
Is there another web server starting before Apache? For example, nginx. You
could try and use lsof -p <PID> or lsof -i :80 to see what is holding the
port before Apache.
--
James A. Peltier
Manager, IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone : 778-782-6573
Fax : 778-782-3045
E-Mail : jpeltier at sfu.ca
Website : http://www.sfu.ca/itservices
http://blogs.sfu.ca/people/jpeltier
I will do the best I can with the talent I have
> I have CentOS 6 and with webmin/virtualmin panel, and each time that I > reboot Apache can't 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 > > I do: > > netstat -tulpn| grep :80 > tcp 0 0 :::80 :::* LISTEN 1584/httpd > > > killall -9 httpd > > > And then Apache can start. But do you why thos problem in each reboot? > I like to fix this problem. > > Thansks you. > > ErnestoPossibly Webmin and Apache are stepping on each other.... add a virt ip for webmin example Apache eth0 192.168.1.126:80 Webmin eth0:1 192.168.1.127:80 setup hosts webmin.host.com should be good to go
Telnet into port 80 and issue a get / and see what answers. Look for headers A -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. Weplica <info at weplica.com> wrote: I have CentOS 6 and with webmin/virtualmin panel, and each time that I reboot Apache can't 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 I do: netstat -tulpn| grep :80 tcp 0 0 :::80 :::* LISTEN 1584/httpd killall -9 httpd And then Apache can start. But do you why thos problem in each reboot? I like to fix this problem. Thansks you. Ernesto _____________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos