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 failing

Discussion in 'EasyApache' started by katz_global, Aug 15, 2004.

Thread Status:
Not open for further replies.
  1. katz_global

    katz_global Well-Known Member
    PartnerNOC

    Joined:
    Oct 18, 2003
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hosting from: Panama, Hong Kong, Singapore, Malays
    I have a server with httpd failing or failed and after some tweaking I could get it back up for a few minutes and then it just tanks again.

    I have never seen this type of problem before and have looked over everything from crons to httpd.conf errors to sys gen errors to configtest errors... yadda yadda... even went as far as re-installing apache and updating everything using upcp. I am in cgi-mode so its not the php version issue.

    tail - 200 error_log shows a strange recurring loop as follows:

    [Sun Aug 15 18:25:19 2004] [notice] caught SIGTERM, shutting down
    [Sun Aug 15 18:25:28 2004] [notice] Apache/1.3.31 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2634a mod_ssl/2.8.19 OpenSSL/0.9.7a PHP-CGI/0.1b configured -- resuming normal operations
    [Sun Aug 15 18:25:28 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Sun Aug 15 18:25:28 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)

    [Sun Aug 15 18:16:02 2004] [notice] SIGUSR1 received. Doing graceful restart
    [Sun Aug 15 18:16:02 2004] [notice] Apache/1.3.31 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2634a mod_ssl/2.8.19 OpenSSL/0.9.7a PHP-CGI/0.1b configured -- resuming normal operations
    [Sun Aug 15 18:16:02 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Sun Aug 15 18:16:02 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)

    [Sun Aug 15 18:26:20 2004] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    [Sun Aug 15 18:26:21 2004] [notice] Apache/1.3.31 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2634a mod_ssl/2.8.19 OpenSSL/0.9.7a PHP-CGI/0.1b configured -- resuming normal operations
    [Sun Aug 15 18:26:21 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Sun Aug 15 18:26:21 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)


    any other ideas?
     
  2. rmbnet

    rmbnet Well-Known Member

    Joined:
    Feb 22, 2004
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    I had the same error...

    I started httpd manually, and found this

    root@xxxxxx [/etc/httpd/conf]# /etc/rc.d/init.d/httpd start
    Syntax error on line 1299 of /usr/local/apache/conf/httpd.conf:
    Invalid command 'MonoApplications', perhaps mis-spelled or defined by a module not included in the server configuration

    That was causing the failure, I removed the lines from httpd.conf and started apache clean..

    I'd start apache manually, find out what the error starting is/was and go from there..

    hope this helps a little..

    Rob
     
  3. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    That's because you installed modmono and then uninstalled and uninstall operation didn't do the cleaning work properly.

    Anup
     
  4. rmbnet

    rmbnet Well-Known Member

    Joined:
    Feb 22, 2004
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    yep...

    I was just trying to point him in the right direction, cant tell too much w/ whm and unless you get into the logs and / or start the service manually, you'd not see the actual failure..

    Rob
     
  5. coolbluenet

    coolbluenet Active Member

    Joined:
    Apr 23, 2004
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Middlesbrough, UK
    I am trying to edit the httpd.conf file via SSH, but I keep getting "Permission denied". What can I do?
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Please don't dig up a year old thread an post a non-relevant item.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page