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.

500 error after apache update

Discussion in 'EasyApache' started by pacificw, Sep 17, 2007.

  1. pacificw

    pacificw Well-Known Member

    Joined:
    Aug 26, 2007
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    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.


    any help is much appreciated. thanks again.
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Are you sure Named is up and running?
     
  3. pacificw

    pacificw Well-Known Member

    Joined:
    Aug 26, 2007
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    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?
     
    #3 pacificw, Sep 18, 2007
    Last edited: Sep 18, 2007
  4. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth
    Try checking the error_log while browsing any site to see that where the Apache is looking for that file.
     
  5. pacificw

    pacificw Well-Known Member

    Joined:
    Aug 26, 2007
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    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. Zion Ahead

    Zion Ahead Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    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. big

    big Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    same here

    anyone found any solution?
     
  8. pacificw

    pacificw Well-Known Member

    Joined:
    Aug 26, 2007
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
Loading...

Share This Page