Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Aug 2007
    Posts
    65

    Default 500 error after apache update

    hello all.. hoping someone can tell me whats going on here. after I updated apache after yet another OS reinstall, I'm now getting the following errors.

    none of the sites will come up at all using the IP or the domain name. I can however access cpanel and whm using just the IP but not the domain name.

    also, can someone tell me what modules I should load with apache when updating in whm?

    I'm running CentOS 5 with the latest stable release of whm and cpanel. Also updated to PHP 5.23 and no PHPsuExec (second time around) did the same with it checked so I unchecked it and recompiled again.


    [Mon Sep 17 23:32:37 2007] [notice] Apache/1.3.39 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0$
    [Mon Sep 17 23:32:37 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Mon Sep 17 23:32:37 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Mon Sep 17 23:32:38 2007] [notice] caught SIGTERM, shutting down
    [Mon Sep 17 23:32:38 2007] [notice] mod_security/1.9.1 configured
    [Mon Sep 17 23:32:39 2007] [notice] Apache/1.3.39 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0$
    [Mon Sep 17 23:32:39 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Mon Sep 17 23:32:39 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Mon Sep 17 23:32:43 2007] [notice] SIGUSR1 received. Doing graceful restart
    [Mon Sep 17 23:32:43 2007] [notice] Apache/1.3.39 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0$
    [Mon Sep 17 23:32:43 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Mon Sep 17 23:32:43 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Mon Sep 17 23:55:27 2007] [error] [client xxxx] Premature end of script headers: /home/xxxx/public_html/index.php
    any help is much appreciated. thanks again.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by pacificw View Post
    I'm running CentOS 5 with the latest stable release of whm and cpanel. Also updated to PHP 5.23 and no PHPsuExec (second time around) did the same with it checked so I unchecked it and recompiled again.
    Are you sure Named is up and running?
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  3. #3
    Member
    Join Date
    Aug 2007
    Posts
    65

    Default

    Quote Originally Posted by ServerTune View Post
    Are you sure Named is up and running?
    yes, I'm sure bind is running as well as apache. I also checked the httpd.conf file
    and everything is okay in there.

    now I'm not getting the 500 error but page not found. i'm really at a loss.

    any ideas?
    Last edited by pacificw; 09-18-2007 at 06:43 AM.

  4. #4
    Member WebScHoLaR's Avatar
    Join Date
    Dec 2005
    Location
    Planet Earth
    Posts
    506

    Default

    Try checking the error_log while browsing any site to see that where the Apache is looking for that file.

    Regards,
    WebScHoLaR

    WebHosting Blog: http://WebScHoLaR.net

  5. #5
    Member
    Join Date
    Aug 2007
    Posts
    65

    Default

    i'm starting to believe it's an issue with my NOC and my IPs not resolving correctly. After I fight with them to believe theres something wrong, we'll see if this fixes it.

    fingers crossed & thanks

  6. #6
    Member
    Join Date
    Nov 2006
    Posts
    340

    Default

    Same problem here....out of the blue (and NO changes made to the server in a while, cpanel updates is off too)

    I'm using php 4.4.7 with phpsuexec enabled


    I've found error log and here is what it says Tue Sep 18 08:03:29 2007] [error] [client 212.1.104.41] Premature end of script headers: /home/user/public_html/modules/mylinks/index.php


    Code:
    root@server [/home/omahabri/public_html/modules]# ls -lh
    total 108K
    drwxr-xr-x  26 omahabri omahabri 4.0K Apr 25 19:06 ./
    drwxr-x---  21 omahabri nobody   4.0K Aug 27 07:28 ../
    drwxr-xr-x   9 omahabri omahabri 4.0K Mar 20 15:50 advertisers/
    drwxr-xr-x   9 omahabri omahabri 4.0K Mar 21 08:45 banners/
    drwxr-xr-x   9 omahabri omahabri 4.0K Mar 20 17:26 contact/
    drwxr-xr-x  10 omahabri omahabri 4.0K Apr 25 19:17 discount/
    drwxr-xr-x   9 omahabri omahabri 4.0K Apr 25 19:05 faq/
    drwxr-xr-x   8 omahabri omahabri 4.0K Apr 25 19:05 friendfinder/
    -rw-r--r--   1 omahabri omahabri   33 Apr 25 19:06 index.html
    drwxr-xr-x   7 omahabri omahabri 4.0K Mar 20 16:18 istats/
    drwxr-xr-x   6 omahabri omahabri 4.0K Mar 20 16:24 linktoomahabrides/
    drwxr-xr-x   7 omahabri omahabri 4.0K May 10  2006 members/
    drwxr-xr-x   9 omahabri omahabri 4.0K Nov 30  2006 mydonor/
    drwxr-xr-x   9 omahabri omahabri 4.0K Sep 18 07:21 mylinks/
    drwxr-xr-x   9 omahabri omahabri 4.0K Mar 21 00:31 myshow/
    drwxr-xr-x   9 omahabri omahabri 4.0K Apr 25 19:19 myweb/
    drwxr-xr-x  10 omahabri omahabri 4.0K Apr 25 19:16 newbb_plus/
    drwxr-xr-x  10 omahabri omahabri 4.0K Apr 25 19:06 news/
    drwxr-xr-x   9 omahabri omahabri 4.0K Mar 20 14:19 partners/
    drwxr-xr-x   9 omahabri omahabri 4.0K Apr 25 19:06 sections/
    drwxr-xr-x   9 omahabri omahabri 4.0K Nov 30  2006 showbr/
    drwxr-xr-x   7 omahabri omahabri 4.0K Mar 24 00:32 system/
    drwxr-xr-x   4 omahabri omahabri 4.0K Mar 26 14:37 total/
    drwxr-xr-x   9 omahabri omahabri 4.0K Apr 25 19:16 video/
    drwxr-xr-x   7 omahabri omahabri 4.0K May 10  2006 whosonline/
    drwxr-xr-x   4 omahabri omahabri 4.0K Mar 20 18:08 xoopsmembers/
    drwxr-xr-x   9 omahabri omahabri 4.0K Mar 24 14:52 xoopspoll/

    Code:
    root@server [/home/omahabri/public_html/modules/mylinks]# ls -lh
    total 116K
    drwxr-xr-x   9 omahabri omahabri 4.0K Sep 18 07:21 ./
    drwxr-xr-x  26 omahabri omahabri 4.0K Apr 25 19:06 ../
    drwxr-xr-x   2 omahabri omahabri 4.0K Mar 22 17:00 admin/
    drwxr-xr-x   2 omahabri omahabri 4.0K May 10  2006 blocks/
    -rw-r--r--   1 omahabri omahabri 2.6K Jun 21  2006 brokenlink.php
    drwxrwxrwx   4 omahabri omahabri 4.0K May 10  2006 cache/
    -rw-r--r--   1 omahabri omahabri  579 Apr 19  2005 footer.php
    -rw-r--r--   1 omahabri omahabri  777 Apr 19  2005 header.php
    drwxr-xr-x   2 omahabri omahabri 4.0K May 10  2006 images/
    drwxr-xr-x   2 omahabri omahabri 4.0K Aug  7 13:01 include/
    -rw-r--r--   1 omahabri omahabri 4.7K Sep 18 07:21 index.php
    drwxr-xr-x   3 omahabri omahabri 4.0K May 10  2006 language/
    -rw-r--r--   1 omahabri omahabri 4.6K Apr 19  2005 modlink.php
    -rw-r--r--   1 omahabri omahabri 6.7K Jun 21  2006 ratelink.php
    -rw-r--r--   1 omahabri omahabri 6.7K Aug  2 21:39 singlelink.php
    drwxr-xr-x   2 omahabri omahabri 4.0K May 10  2006 sql/
    -rw-r--r--   1 omahabri omahabri 7.3K Aug  8 20:20 submit2.php
    -rw-r--r--   1 omahabri omahabri 7.2K Aug  1 06:08 submit.php
    -rw-r--r--   1 omahabri omahabri 3.0K Apr 25 19:05 topten.php
    -rw-r--r--   1 omahabri omahabri 5.9K Apr 25 19:05 viewcat.php
    -rw-r--r--   1 omahabri omahabri 1.3K Apr 19  2005 visit.php
    -rw-r--r--   1 omahabri omahabri 3.4K Apr 19  2005 xoops_version.php

  7. #7
    big
    big is offline
    Member
    Join Date
    Aug 2001
    Location
    Earth
    Posts
    232

    Default

    same here

    anyone found any solution?

  8. #8
    Member
    Join Date
    Aug 2007
    Posts
    65

    Default

    Quote Originally Posted by big View Post
    same here

    anyone found any solution?
    all I ended up doing was running the /scripts/fixrdns (iirc)
    contacted my NOC and had them put in the reverse dns for
    my nameserver's IPs and all began working for me.

Similar Threads & Tags
Similar threads

  1. apache 2.2 frontpage 500 error
    By Zxin in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-15-2007, 10:19 AM
  2. ForceType producing 500 Error on Apache 1.3
    By awells in forum cPanel and WHM Discussions
    Replies: 18
    Last Post: 12-23-2006, 12:43 AM
  3. http 500 error after apache update
    By pnl in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-27-2006, 11:40 PM
  4. 500 error after ZendOpt update script run from shell
    By agentseven in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 05-30-2005, 11:05 PM
  5. After update - Bandwitch - 500 Internal Server Error
    By folk in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-09-2004, 07:41 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube