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.

httpd failed

Discussion in 'General Discussion' started by foussa, Jan 6, 2007.

  1. foussa

    foussa Member

    Joined:
    Jun 1, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    hello,

    all settings in server are normal but the apache give failed error usually.I recieved "httpd failed" mails 61 times in a day.

    Cpanel,whm panel and mail system works but all sites in server don't work.

    What should I do? Give info please,thanks.

    my server informatin: amd 3800 3 gb Ram

    help me please
     
  2. Messiah

    Messiah Member
    PartnerNOC

    Joined:
    Jul 5, 2006
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Take a look at /usr/local/apache/logs/error_log for more details on why it's failing. Also, try this command to see if httpd.conf is messed up: "/etc/init.d/httpd configtest"
     
  3. foussa

    foussa Member

    Joined:
    Jun 1, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    very thank my friend

    I made what you told me. I input "/usr/local/apache/logs/error_log" and the reason is following:


    [Sat Nov 18 17:12:30 2006] [warn] NameVirtualHost myip:80 has no VirtualHosts
    [Sat Nov 18 17:12:30 2006] [notice] Apache/1.3.36 (Unix) PHP/4.4.4 FrontPage/5.0.2.2635.SR1.2 configured -- resuming normal $
    [Sat Nov 18 17:12:30 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Sat Nov 18 17:12:30 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Sat Nov 18 17:13:02 2006] [notice] SIGUSR1 received. Doing graceful restart
    [Sat Nov 18 17:13:02 2006] [notice] Apache/1.3.36 (Unix) PHP/4.4.4 FrontPage/5.0.2.2635.SR1.2 configured -- resuming normal $
    [Sat Nov 18 17:13:02 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Sat Nov 18 17:13:02 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Sat Nov 18 17:13:03 2006] [notice] SIGUSR1 received. Doing graceful restart
    [Sat Nov 18 17:13:03 2006] [notice] Apache/1.3.36 (Unix) PHP/4.4.4 FrontPage/5.0.2.2635.SR1.2 configured -- resuming normal $
    [Sat Nov 18 17:13:03 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Sat Nov 18 17:13:03 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Sat Nov 18 17:13:23 2006] [notice] SIGUSR1 received. Doing graceful restart
    [Sat Nov 18 17:13:23 2006] [notice] Apache/1.3.36 (Unix) PHP/4.4.4 FrontPage/5.0.2.2635.SR1.2 configured -- resuming normal $
    [Sat Nov 18 17:13:23 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Sat Nov 18 17:13:23 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Sat Nov 18 17:13:46 2006] [notice] SIGHUP received. Attempting to restart
    [Sat Nov 18 17:13:46 2006] [notice] Apache/1.3.36 (Unix) PHP/4.4.4 FrontPage/5.0.2.2635.SR1.2 configured -- resuming normal $
    [Sat Nov 18 17:13:46 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Sat Nov 18 17:13:46 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Sat Nov 18 17:20:01 2006] [error] [client 127.0.0.1] File does not exist: /usr/local/apache/htdocs/whm-server-status

    [Sat Nov 18 17:07:38 2006] [error] (2)No such file or directory: Can't clean stale key files from directory "/usr/local/fron$
    [Sat Nov 18 17:07:38 2006] [error] (2)No such file or directory: Incorrect permissions on key directory "/usr/local/frontpag$
    [Sat Nov 18 17:07:38 2006] [notice] Apache/1.3.36 (Unix) mod_ssl/2.8.27 OpenSSL/0.9.8a configured -- resuming normal operati$
    [Sat Nov 18 17:07:38 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Sat Nov 18 17:07:38 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Sat Nov 18 17:10:56 2006] [notice] caught SIGTERM, shutting down
    [Sat Nov 18 17:11:06 2006] [notice] Apache/1.3.36 (Unix) PHP/4.4.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.27 OpenSSL/0.9.8a $
    [Sat Nov 18 17:11:06 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Sat Nov 18 17:11:06 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Sat Nov 18 17:12:01 2006] [notice] SIGUSR1 received. Doing graceful restart
    [Sat Nov 18 17:12:01 2006] [notice] Apache/1.3.36 (Unix) PHP/4.4.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.27 OpenSSL/0.9.8a $
    [Sat Nov 18 17:12:01 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Sat Nov 18 17:12:01 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Sat Nov 18 17:12:11 2006] [notice] caught SIGTERM, shutting down
    [Sat Nov 18 17:12:12 2006] [notice] Apache/1.3.36 (Unix) PHP/4.4.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.27 OpenSSL/0.9.8a $



    Also I input "/etc/init.d/httpd configtest" and it gives me as following:

    [Sat Jan 6 11:27:23 2007] [warn] NameVirtualHost myip:80 has no Virtua lHosts
    Syntax OK


    What should I do now? Thanks
     
  4. foussa

    foussa Member

    Joined:
    Jun 1, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    hello

    help me please


    Apache Status message:

    Unable to retrieve apache status [a fatal error or timeout occurred while processing this directive]
     
  5. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Go to WHM and run the apache upgrade. If it still doesn't work choose the option to set it to defaults.
     
  6. foussa

    foussa Member

    Joined:
    Jun 1, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    apache
    i made upgrade apache, but it didn't become


    I'm looking error_log

    What must I do ? The logs are under ;

    [Sat Jan 6 19:26:31 2007] [notice] caught SIGTERM, shutting down
    [Sat Jan 6 19:29:31 2007] [warn] NameVirtualHost ip.iip.ip.ip:80 has no Virtua
    lHosts
    [Sat Jan 6 19:29:32 2007] [notice] Apache/1.3.37 (Unix) mod_auth_passthrough/1.
    8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.4 mod_ssl/2.8.28 OpenSSL/0.9.8a co
    nfigured -- resuming normal operations
    [Sat Jan 6 19:29:32 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/loca
    l/apache/bin/suexec)
    [Sat Jan 6 19:29:32 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Sat Jan 6 19:29:42 2007] [error] server reached MaxClients setting, consider r
    aising the MaxClients setting


    help me please
     
Loading...

Share This Page