The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

apache crashing!!

Discussion in 'EasyApache' started by dominet, Jul 3, 2002.

  1. dominet

    dominet Active Member

    Joined:
    Mar 23, 2002
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    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. dominet

    dominet Active Member

    Joined:
    Mar 23, 2002
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Please!! any help???
     
  3. Elena

    Elena Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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
     
  4. dominet

    dominet Active Member

    Joined:
    Mar 23, 2002
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    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. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  6. dominet

    dominet Active Member

    Joined:
    Mar 23, 2002
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    heard mod_perl can cause that..how to remove it?
     
  7. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  8. dominet

    dominet Active Member

    Joined:
    Mar 23, 2002
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    how to rebuild it?
     
  9. Elena

    Elena Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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.
     
Loading...

Share This Page