Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 19
  1. #1
    Member
    Join Date
    Jun 2011
    Location
    UK
    Posts
    99
    cPanel/Enkompass Access Level

    Root Administrator

    Default 500 Internal Server Error

    Hi,

    On a site of mine, I'm getting this, any ideas?

    Code:
    500 Internal Server Error
    The request was not completed. The server met an unexpected condition.
    
    IPADDRESS/~USER/FOLDER/FOLDER/ (port 80)
    Please forward this error screen to IP's WebMaster.
    Any ideas?

    Thanks.
    Best Regards,
    MustangV10.

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: 500 Internal Server Error

    Have you checked the error logs for Apache while trying to load the site in a browser?

    Code:
    tail -fn0 /usr/local/apache/logs/error_log
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Jun 2011
    Location
    UK
    Posts
    99
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: 500 Internal Server Error

    Quote Originally Posted by cPanelTristan View Post
    Have you checked the error logs for Apache while trying to load the site in a browser?

    Code:
    tail -fn0 /usr/local/apache/logs/error_log
    I haven't, no.

    [code]root@server [/]# tail -fn0 /usr/local/apache/logs/error_log
    [Wed Aug 31 19:58:55 2011] [error] [client 67.195.114.61] File does not exist: /home/site/public_html/site/robots.txt
    [Wed Aug 31 19:58:55 2011] [error] [client 67.195.114.61] File does not exist: /home/site/public_html/site/404.shtml
    [Wed Aug 31 19:59:37 2011] [error] [client 119.63.196.121] File does not exist: /home/site/public_html/site/showthread.php
    [Wed Aug 31 19:59:37 2011] [error] [client 119.63.196.121] File does not exist: /home/site/public_html/site/404.shtml[/code#
    Best Regards,
    MustangV10.

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: 500 Internal Server Error

    What is the exact url you are using in a browser? At that url, does the file actually exist?

    Code:
    ls -lah /home/site/public_html/folder/folder
    Please note that Linux is case sensitive. Uppercase and lowercase characters in file names matter. If you are using uppercase in a file or foldername but using lowercase in the url in a browser, the file or folder won't be found.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    Member
    Join Date
    Jun 2011
    Location
    UK
    Posts
    99
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: 500 Internal Server Error

    Quote Originally Posted by cPanelTristan View Post
    What is the exact url you are using in a browser? At that url, does the file actually exist?

    Code:
    ls -lah /home/site/public_html/folder/folder
    Please note that Linux is case sensitive. Uppercase and lowercase characters in file names matter. If you are using uppercase in a file or foldername but using lowercase in the url in a browser, the file or folder won't be found.
    PM'ed you the link.
    Best Regards,
    MustangV10.

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: 500 Internal Server Error

    Can you post the contents of the folder so we can see the permissions?

    Code:
    ls -lah /home/site/public_html/Flash
    Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  7. #7
    Member
    Join Date
    Jun 2011
    Location
    UK
    Posts
    99
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: 500 Internal Server Error

    Quote Originally Posted by cPanelTristan View Post
    Can you post the contents of the folder so we can see the permissions?

    Code:
    ls -lah /home/site/public_html/Flash
    Thanks!
    Code:
    root@server [/]# ls -lah /home/site/public_html/Flash
    total 19M
    drwxrwxrwx 4 site si 4.0K Aug 31 17:20 ./
    drwxr-x--- 4 site nobody   4.0K Aug 31 19:45 ../
    drwxrwxrwx 7 site site 4.0K Aug 31 17:20 Formgrab\ Access\ Panel/
    -rwxrwxrwx 1 site site 380K Aug 31 17:14 Formgrab\ Access\ Panel.zip*
    drwxrwxrwx 9 site site 4.0K Mar 16  2010 Main\ Access\ Panel/
    -rwxrwxrwx 1 site site  18M Aug 31 17:18 Main.zip*
    root@server [/]#
    Best Regards,
    MustangV10.

  8. #8
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: 500 Internal Server Error

    Are you using suPHP?

    If so, you will need to ensure the permissions on the directories meet the requirements for suPHP. A good post on this can be found at:

    suPHP Permissions/Ownership

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  9. #9
    Member
    Join Date
    Jun 2011
    Location
    UK
    Posts
    99
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: 500 Internal Server Error

    Quote Originally Posted by cPanelMichael View Post
    Are you using suPHP?

    If so, you will need to ensure the permissions on the directories meet the requirements for suPHP. A good post on this can be found at:

    suPHP Permissions/Ownership

    Thank you.
    I'm not sure about that one, Michael. How can I find out? I've got full root access.
    Best Regards,
    MustangV10.

  10. #10
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: 500 Internal Server Error

    WHM > Service Configuration > Configure PHP and SuExec, what does it say under the "Current Configuration" section?
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  11. #11
    Member
    Join Date
    Jun 2011
    Location
    UK
    Posts
    99
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: 500 Internal Server Error

    Quote Originally Posted by Infopro View Post
    WHM > Service Configuration > Configure PHP and SuExec, what does it say under the "Current Configuration" section?
    I've attached a screenshot so you can see more clearly.

    500 Internal Server Error-untitled.png
    Last edited by MustangV10; 09-01-2011 at 11:03 AM.
    Best Regards,
    MustangV10.

  12. #12
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: 500 Internal Server Error

    Your server uses SuPHP. All directories must be 755 and files 644 at most. The post cPanelMichael has linked to above should be helpful to handle updating all user files and directories. Just be sure to read all Info closely in that thread and links posted to educate yourself on what needs done first.
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  13. #13
    Member
    Join Date
    Jun 2011
    Location
    UK
    Posts
    99
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: 500 Internal Server Error

    Quote Originally Posted by Infopro View Post
    Your server uses SuPHP. All directories must be 755 and files 644 at most. The post cPanelMichael has linked to above should be helpful to handle updating all user files and directories. Just be sure to read all Info closely in that thread and links posted to educate yourself on what needs done first.
    Can cPanel do this for me if I open a ticket? I don't want to mess this up (I have over 50 clients hosted on my VPS).
    Best Regards,
    MustangV10.

  14. #14
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: 500 Internal Server Error

    These are the main commands you would need to run to change file and folder permissions:

    Code:
    find /home/*/public_html -type d -exec chmod 755 {} \;
    find /home/*/public_html -type f -exec chmod 644 {} \;
    System administration of this nature is the responsibility of the server owner or provider. We cannot perform these tasks each time widespread system changes need to be made. While we are happy to be around for questions you might have once you have run the commands or for any errors you have, we cannot change file permissions for you on this scale. This should be handled on your end.

    If you prefer to hire someone to handle these tasks, you might look into the following resource:

    Dev & Sys Admin Services « Application Catalog
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  15. #15
    Member
    Join Date
    Jun 2011
    Location
    UK
    Posts
    99
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: 500 Internal Server Error

    Quote Originally Posted by cPanelTristan View Post
    These are the main commands you would need to run to change file and folder permissions:

    Code:
    find /home/*/public_html -type d -exec chmod 755 {} \;
    find /home/*/public_html -type f -exec chmod 644 {} \;
    System administration of this nature is the responsibility of the server owner or provider. We cannot perform these tasks each time widespread system changes need to be made. While we are happy to be around for questions you might have once you have run the commands or for any errors you have, we cannot change file permissions for you on this scale. This should be handled on your end.

    If you prefer to hire someone to handle these tasks, you might look into the following resource:

    Dev & Sys Admin Services « Application Catalog
    Ok, thanks.

    Does * stand for every cpanel account (current and new accounts) or do I replace * with individual usernames?
    Best Regards,
    MustangV10.

Similar Threads & Tags
Similar threads

  1. 500 internal server error
    By prkl in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-08-2010, 04:09 AM
  2. 500 internal server error?
    By monckey100 in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 10-02-2009, 04:30 PM
  3. 500 Internal Server Error
    By Frimon86 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-05-2007, 12:16 AM
  4. Internal Server Error 500
    By ukpro in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-07-2004, 09:30 AM
  5. Internal server 500 error
    By GreatPanel in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-10-2003, 11:02 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube