Running CentOS6.6 Linux with Webmin 1.760 and Virtualmin 4.18.gpl. System has 4GB ram
I had this happen about 18 months ago and it went away, but seems to have returned. Virtualmin states that apache has stopped. I should mention that the server is still serving http sites - so apache is running.
# /etc/init.d/httpd status
httpd is stopped
If I try to restart I get the following error:
# /etc/init.d/httpd start
Starting httpd: [Mon Aug 10 16:04:16 2015] [warn] NameVirtualHost 2607:f208:50e:3150::2:80 has no VirtualHosts
[Mon Aug 10 16:04:16 2015] [warn] NameVirtualHost 2607:f208:50e:3150::5:80 has no VirtualHosts
[Mon Aug 10 16:04:16 2015] [warn] NameVirtualHost 2607:f208:50e:3150:80 has no VirtualHosts
[Mon Aug 10 16:04:16 2015] [warn] NameVirtualHost 2607:f208:50e:3150::c:80 has no VirtualHosts
[Mon Aug 10 16:04:16 2015] [warn] NameVirtualHost 2607:f208:50e:3150::f:80 has no VirtualHosts
[Mon Aug 10 16:04:16 2015] [warn] NameVirtualHost 2607:f208:50e:3150::f:443 has no VirtualHosts
[Mon Aug 10 16:04:16 2015] [warn] NameVirtualHost 2607:f208:050e:3150:0000:0000:0000:20:80 has no VirtualHosts
[Mon Aug 10 16:04:16 2015] [warn] NameVirtualHost 2607:f208:050e:3150:0000:0000:0000:20:443 has no VirtualHosts
[Mon Aug 10 16:04:16 2015] [warn] NameVirtualHost 2607:f208:050e:3150:0000:0000:0000:21:80 has no VirtualHosts
[Mon Aug 10 16:04:16 2015] [warn] NameVirtualHost 2607:f208:050e:3150:0000:0000:0000:22:80 has no VirtualHosts
[Mon Aug 10 16:04:16 2015] [warn] NameVirtualHost 2607:f208:050e:3150:0000:0000:0000:23:80 has no VirtualHosts
[Mon Aug 10 16:04:16 2015] [warn] NameVirtualHost *:0 has no VirtualHosts
(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]
I do see errors related to IP6, but can’t trace source.
If I run the following - confirms apache is running, even though previous command says not running:
# ps aux | grep apache
apache 9622 0.0 2.0 532528 86304 ? S 14:40 0:01 /usr/sbin/httpd
apache 9626 0.0 2.0 532528 86344 ? S 14:40 0:01 /usr/sbin/httpd
apache 9627 0.0 2.0 532528 86104 ? S 14:40 0:01 /usr/sbin/httpd
apache 9711 0.0 2.0 532528 86352 ? S 14:40 0:01 /usr/sbin/httpd
apache 9772 0.0 2.0 532528 86484 ? S 14:41 0:01 /usr/sbin/httpd
apache 9778 0.0 2.0 532528 86308 ? S 14:41 0:01 /usr/sbin/httpd
apache 9779 0.0 2.0 532528 86356 ? S 14:41 0:01 /usr/sbin/httpd
apache 9785 0.0 2.0 533552 86780 ? S 14:41 0:01 /usr/sbin/httpd
apache 9835 0.0 2.0 532528 86328 ? S 14:41 0:01 /usr/sbin/httpd
apache 9893 0.0 2.0 533552 86596 ? S 14:41 0:02 /usr/sbin/httpd
apache 9894 0.0 2.0 532528 86116 ? S 14:41 0:01 /usr/sbin/httpd
apache 9898 0.0 2.0 532528 86348 ? S 14:41 0:01 /usr/sbin/httpd
apache 9899 0.0 2.0 537664 87920 ? S 14:41 0:01 /usr/sbin/httpd
apache 9901 0.0 2.0 533552 86752 ? S 14:41 0:01 /usr/sbin/httpd
apache 9908 0.0 2.0 532528 86428 ? S 14:41 0:02 /usr/sbin/httpd
apache 9909 0.0 2.0 533552 86772 ? S 14:41 0:02 /usr/sbin/httpd
apache 9911 0.0 2.0 537664 88028 ? S 14:41 0:01 /usr/sbin/httpd
apache 9912 0.0 2.0 532528 86304 ? S 14:41 0:01 /usr/sbin/httpd
apache 9913 0.0 2.0 532528 86160 ? S 14:41 0:01 /usr/sbin/httpd
apache 9943 0.0 2.0 532528 86432 ? S 14:41 0:01 /usr/sbin/httpd
apache 9976 0.0 2.0 532528 86020 ? S 14:41 0:01 /usr/sbin/httpd
apache 9980 0.0 2.0 533552 86664 ? S 14:41 0:01 /usr/sbin/httpd
apache 9981 0.0 2.0 532528 86148 ? S 14:41 0:01 /usr/sbin/httpd
apache 9982 0.0 2.0 532528 86444 ? S 14:41 0:01 /usr/sbin/httpd
This is the beancounter - I see two failcnt messages, but not sure what they mean.
[root@ip-68-178-130-21 ~]# cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
10086860: kmemsize 68677473 72485905 9223372036854775807 9223372036854775807 0
lockedpages 0 0 9223372036854775807 9223372036854775807 0
privvmpages 751444 823217 2097152 2097152 5295
shmpages 1206 1206 9223372036854775807 9223372036854775807 0
dummy 0 0 9223372036854775807 9223372036854775807 0
numproc 154 170 32567 32567 0
physpages 427829 482494 9223372036854775807 9223372036854775807 0
vmguarpages 0 0 1048576 9223372036854775807 0
oomguarpages 427830 482495 9223372036854775807 9223372036854775807 0
numtcpsock 66 84 9223372036854775807 9223372036854775807 0
numflock 317 319 9223372036854775807 9223372036854775807 0
numpty 1 1 255 255 0
numsiginfo 0 2 1024 1024 196
tcpsndbuf 6540160 8870944 9223372036854775807 9223372036854775807 0
tcprcvbuf 1094496 1389408 9223372036854775807 9223372036854775807 0
othersockbuf 323840 1570016 9223372036854775807 9223372036854775807 0
dgramrcvbuf 0 30496 9223372036854775807 9223372036854775807 0
numothersock 190 209 9223372036854775807 9223372036854775807 0
dcachesize 3353309 3461294 9223372036854775807 9223372036854775807 0
numfile 22797 23692 9223372036854775807 9223372036854775807 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 43 43 9223372036854775807 9223372036854775807 0
Finally, I do the following and all goes back to normal:
# killall -9 httpd
httpd: no process killed
/etc/init.d/httpd status
httpd is stopped
/etc/init.d/httpd start
Starting httpd: [Mon Aug 10 16:08:05 2015] [warn] NameVirtualHost 2607:f208:50e:3150::2:80 has no VirtualHosts
[Mon Aug 10 16:08:05 2015] [warn] NameVirtualHost 2607:f208:50e:3150::5:80 has no VirtualHosts
[Mon Aug 10 16:08:05 2015] [warn] NameVirtualHost 2607:f208:50e:3150:80 has no VirtualHosts
[Mon Aug 10 16:08:05 2015] [warn] NameVirtualHost 2607:f208:50e:3150::c:80 has no VirtualHosts
[Mon Aug 10 16:08:05 2015] [warn] NameVirtualHost 2607:f208:50e:3150::f:80 has no VirtualHosts
[Mon Aug 10 16:08:05 2015] [warn] NameVirtualHost 2607:f208:50e:3150::f:443 has no VirtualHosts
[Mon Aug 10 16:08:05 2015] [warn] NameVirtualHost 2607:f208:050e:3150:0000:0000:0000:20:80 has no VirtualHosts
[Mon Aug 10 16:08:05 2015] [warn] NameVirtualHost 2607:f208:050e:3150:0000:0000:0000:20:443 has no VirtualHosts
[Mon Aug 10 16:08:05 2015] [warn] NameVirtualHost 2607:f208:050e:3150:0000:0000:0000:21:80 has no VirtualHosts
[Mon Aug 10 16:08:05 2015] [warn] NameVirtualHost 2607:f208:050e:3150:0000:0000:0000:22:80 has no VirtualHosts
[Mon Aug 10 16:08:05 2015] [warn] NameVirtualHost 2607:f208:050e:3150:0000:0000:0000:23:80 has no VirtualHosts
[Mon Aug 10 16:08:05 2015] [warn] NameVirtualHost *:0 has no VirtualHosts
[ OK ]
/etc/init.d/httpd status
httpd (pid 28197) is running…
Beancounters still showing the same. Stumped.