dominet

Active Member
Mar 23, 2002
29
0
301
My apache crashes 3 or 4 times per day.

Im checking /etc/httpd/logs/error_log only thing suspic. is this:


[Tue Jul 2 13:31:23 2002] [warn] NameVirtualHost 64.246.28.115:80 has no VirtualHosts
[Tue Jul 2 13:31:23 2002] [warn] NameVirtualHost 64.246.28.115:80 has no VirtualHosts
[Tue Jul 2 13:31:23 2002] [warn] NameVirtualHost 64.246.28.115:80 has no VirtualHosts
[Tue Jul 2 13:31:23 2002] [warn] NameVirtualHost 64.246.28.115:80 has no VirtualHosts
[Tue Jul 2 13:31:23 2002] [warn] NameVirtualHost 64.246.28.115:80 has no VirtualHosts
[Tue Jul 2 13:31:23 2002] [warn] NameVirtualHost 64.246.28.115:80 has no VirtualHosts
[Tue Jul 2 13:31:23 2002] [warn] NameVirtualHost 64.246.28.115:80 has no VirtualHosts
[Tue Jul 2 13:31:23 2002] [warn] NameVirtualHost 64.246.28.115:80 has no VirtualHosts


is this normal?

i found this as well:

[Tue Jul 2 13:41:18 2002] [notice] SIGUSR1 received. Doing graceful restart
[Tue Jul 2 13:41:18 2002] [error] Cannot remove module mod_dav.c: not found in module list


i found this too:


[Tue Jul 2 13:41:18 2002] [warn] NameVirtualHost 64.246.28.115:80 has no VirtualHosts
[Tue Jul 2 13:41:18 2002] [warn] NameVirtualHost 64.246.28.115:80 has no VirtualHosts
Failed loading /usr/local/Zend/lib/ZendOptimizer.so: /usr/local/Zend/lib/ZendOptimizer.so: cannot open shared object file: N$
[Tue Jul 2 13:41:19 2002] [notice] Apache/1.3.23 (Unix) mod_bwlimited/1.0 PHP/4.1.2 mod_log_bytes/0.3 FrontPage/5.0.2.2510 m$
[Tue Jul 2 13:41:19 2002] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Tue Jul 2 13:41:19 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Tue Jul 2 13:41:29 2002] [notice] SIGUSR1 received. Doing graceful restart
[Tue Jul 2 13:41:29 2002] [error] Cannot remove module mod_dav.c: not found in module list
[Tue Jul 2 13:41:30 2002] [warn] NameVirtualHost 64.246.29.101:80 has no VirtualHosts
[Tue Jul 2 13:41:30 2002] [warn] NameVirtualHost 64.246.29.101:80 has no VirtualHosts
[Tue Jul 2 13:41:30 2002] [warn] NameVirtualHost 64.246.28.115:80 has no VirtualHosts
[Tue Jul 2 13:41:30 2002] [warn] NameVirtualHost 64.246.28.115:80 has no VirtualHosts
 

Elena

Well-Known Member
Aug 10, 2001
108
1
316
California
It looks like you are having the prob. described here:
http://forums.cpanel.net/read.php?TID=3546

You might try updating zend:
/scripts/installzendopt
 

dominet

Active Member
Mar 23, 2002
29
0
301
dont think so:

when i start apache i get this error:


root@host5 [/etc/httpd/logs]# /etc/rc.d/init.d/httpd start

[Wed Jul 3 10:36:15 2002] [warn] NameVirtualHost 64.246.43.151:80 has no Virtua
lHosts
[Wed Jul 3 10:36:15 2002] [warn] NameVirtualHost 64.246.43.151:80 has no Virtua
lHosts
[Wed Jul 3 10:36:15 2002] [warn] NameVirtualHost 64.246.42.104:80 has no Virtua
lHosts
[Wed Jul 3 10:36:15 2002] [warn] NameVirtualHost 64.246.42.104:80 has no Virtua
lHosts
[Wed Jul 3 10:36:15 2002] [warn] NameVirtualHost 64.246.42.104:80 has no Virtua


Help Please
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
That bunch of errors is not life threatening nor will that alone cause apache to refuse to start. Those are related to binding multiple domains on the same IP while you haven't yet specified a namevirtualhost directive for that particular IP, so Apache doesn't know that you are multi-hosting on that address and it gets ANGRY

;)

There has got to be another error that is causing apache not to start, like the zend issue or a module completely missing or not compiled correctly.
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
Rebuild apache without it , or,

open /etc/httpd/conf/httpd.conf in your favorite text editor and comment out the lines that include that module (and any other ones you find giving you problems)

that's sloppy though, you should rebuild the webserver so you don't have to deal with that in the future either.
 

Elena

Well-Known Member
Aug 10, 2001
108
1
316
California
wget http://layer1.cpanel.net/buildapache.sea
sh buildapache.sea

You'll have options on how to set things up.. if you aren't 100% sure about something you should contact your provider with any questions and they should be willing to help you out.