strange namedvirtualhosts error when apache restarts

roly

Verified User
Joined
Nov 9, 2006
Messages
196
hi guys,

i am getting the following error if i restart apache however there are lots of sites on each of those ip's.

[Fri Feb 16 00:04:27 2007] [warn] NameVirtualHost 111.111.111.111:443 has no VirtualHosts
[Fri Feb 16 00:04:27 2007] [warn] NameVirtualHost 111.111.111.112:443 has no VirtualHosts
[Fri Feb 16 00:04:27 2007] [warn] NameVirtualHost 111.111.111.113:443 has no VirtualHosts
[Fri Feb 16 00:04:27 2007] [warn] NameVirtualHost 111.111.111.114:443 has no VirtualHosts
[Fri Feb 16 00:04:27 2007] [warn] NameVirtualHost 111.111.111.115:443 has no VirtualHosts

however all the sites seem to work ok as far as i can see. previously to the error i had installed mod_gzip and used yum to update the following:

Feb 15 22:35:41 Updated: openssl.i686 0.9.7a-43.14
Feb 15 22:35:41 Updated: info.i386 4.7-5.el4.2
Feb 15 22:35:41 Updated: bind-libs.i386 20:9.2.4-24.EL4
Feb 15 22:35:47 Updated: python.i386 2.3.4-14.3
Feb 15 22:35:48 Updated: dbus.i386 0.22-12.EL.8
Feb 15 22:35:48 Updated: bind-utils.i386 20:9.2.4-24.EL4
Feb 15 22:35:48 Updated: tar.i386 1.14-12.RHEL4
Feb 15 22:35:50 Updated: gnupg.i386 1.2.6-8
Feb 15 22:35:50 Updated: openssh.i386 3.9p1-8.RHEL4.17.1
Feb 15 22:35:50 Updated: dbus-glib.i386 0.22-12.EL.8
Feb 15 22:35:51 Updated: openssh-clients.i386 3.9p1-8.RHEL4.17.1
Feb 15 22:35:51 Updated: openssh-server.i386 3.9p1-8.RHEL4.17.1
Feb 15 22:35:52 Updated: up2date.i386 4.4.69-25.centos4.7
Feb 15 22:35:52 Updated: sysreport.noarch 1.3.15-8
Feb 15 22:35:53 Updated: bind.i386 20:9.2.4-24.EL4
Feb 15 22:35:53 Updated: dbus-devel.i386 0.22-12.EL.8
Feb 15 22:35:54 Updated: python-devel.i386 2.3.4-14.3
Feb 15 22:35:55 Updated: texinfo.i386 4.7-5.el4.2
Feb 15 22:35:56 Updated: gzip.i386 1.3.3-16.rhel4
Feb 15 22:35:57 Updated: openssl-devel.i586 0.9.7a-43.14
Feb 15 22:35:58 Updated: iproute.i386 2.6.9-3.EL4.3.centos4
Feb 15 22:35:58 Updated: hwdata.noarch 0.146.23.EL-1
Feb 15 22:35:59 Updated: nss_ldap.i386 226-17
Feb 15 22:36:01 Updated: tzdata.noarch 2006m-3.el4
Feb 15 22:36:02 Updated: xorg-x11-libs.i386 6.8.2-1.EL.13.37.5
Feb 15 22:36:03 Updated: xorg-x11-font-utils.i386 6.8.2-1.EL.13.37.5
Feb 15 22:36:03 Updated: xorg-x11-Mesa-libGL.i386 6.8.2-1.EL.13.37.5
Feb 15 22:36:03 Updated: qt.i386 1:3.3.3-10.RHEL4
Feb 15 22:36:05 Updated: gtk2.i386 2.4.13-22
Feb 15 22:36:05 Updated: gd.i386 2.0.28-4.4E.1
Feb 15 22:36:05 Updated: xorg-x11-xfs.i386 6.8.2-1.EL.13.37.5

has anyone got any ideas what the problem is? any help greatly appreciated.

roland
 
upon closer inspection it looks like it's port 443 which is ssl i think, so i'm guessing it must be something to do with that, and nothing to worry about. i'm just unsure why it has just started that error on this server and i did same updatesd on an almost identical server. if anyone disagrees please advise.

thanks in advance

roland
 
I get the same warning but in my case, apache does not restart and does not open logs so that you can see the error behind it.

apachectl start
(48)Address already in use: make_sock: could not bind to address
ip:80
no listening sockets available, shutting down
Unable to open logs

Upon seeing that, of course I did ps -aux |grep httpd and httpd was NOT running.

Prior to this, httpd was using 98% CPU and had locked up. I have noticed that apache shuts down at about 3:30 am EST each morning for which it does return but I am uncertain as of when. I only found this out today.

Has anyone else had a similar issue? If so, what was your fix for it if it is fixed?
 
I believe that httpd shuts down and restarts for everyone at some point nightly so it can rotate log files.

Jeff
 
Back
Top