Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Mar 2002
    Posts
    29

    Default apache crashing!!

    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

  2. #2
    Member
    Join Date
    Mar 2002
    Posts
    29

    Default

    Please!! any help???

  3. #3
    Member
    Join Date
    Aug 2001
    Location
    California
    Posts
    109

    Default

    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

  4. #4
    Member
    Join Date
    Mar 2002
    Posts
    29

    Default

    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

  5. #5
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

    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.
    ..............................


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

  6. #6
    Member
    Join Date
    Mar 2002
    Posts
    29

    Default

    heard mod_perl can cause that..how to remove it?

  7. #7
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

    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.
    ..............................


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

  8. #8
    Member
    Join Date
    Mar 2002
    Posts
    29

    Default

    how to rebuild it?

  9. #9
    Member
    Join Date
    Aug 2001
    Location
    California
    Posts
    109

    Default

    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.

Similar Threads & Tags
Similar threads

  1. Apache Crashing
    By Nico in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 10-21-2007, 06:33 AM
  2. Apache Crashing
    By Nico in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-11-2005, 08:46 AM
  3. Apache keeps crashing..
    By ChemicalWH in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-27-2005, 04:32 PM
  4. Apache Keeps Crashing!!!
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 04-15-2003, 12:27 AM
  5. Apache crashing
    By creed in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-04-2002, 03:03 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube