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 internal server error

Discussion in 'General Discussion' started by prkl, Sep 7, 2010.

  1. prkl

    prkl Member

    Joined:
    Sep 7, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hello.

    I have dedicated server (centos 5, suphp, cpanel) and I was trying to install simple wordpress on it. Everytime it gives me 500 internal server error, except first time when I simply copied old files to this server and only index.php was working that time. Errorlog shows:
    Code:
    SoftException in Application.cpp:422: Mismatch between target UID (99) and UID (503) of file "/home/myuser/public_html/wp-admin/install.php"
    So I googled it a bit, and found some commands to try.. Tried /scripts/chownpublichtmls as root and user. That really didnt help. Also I tested custom htaccess with php.ini where i modify superglobals didnt work either.. So.. Am I doing something really wrong or am I missed something?
    Thanks in advance.
     
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    What is the URL being used to access the page when the error is triggered? I'm looking to see if it uses mod_userdir such as /~username/, and or if the access is via SSL on https:// or non-SSL on http://.
     
  3. prkl

    prkl Member

    Joined:
    Sep 7, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Code:
    http://filesfree.net
    filesfree.net non-ssl
     
  4. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    What method was used to copy older files into the account? Was this performed via SSH access, or via FTP, or a different method?

    Does the file ownership match the cPanel account username?
    Code:
    # stat /path/to/file
    Does the cPanel account username match the User specified in the Apache virtual host?
    Code:
    # less /usr/local/apache/conf/httpd.conf
    In the Apache/httpd configuration, look for the domain name's virtual host, and then look for an entry like the following, (where "$user" and "$group" should match the cPanel account username):
    Code:
    <IfModule mod_suphp.c>
        suPHP_UserGroup $user $group
    </IfModule>
     
  5. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Would you be able to elaborate on exactly what symptoms you are experiencing and any available log information? Knowing more about each unique instance of an issue will help us to diagnose the difficulty and suggest a path forward for troubleshooting.
     
  6. prkl

    prkl Member

    Joined:
    Sep 7, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Lovely, that solved my issue. Thanks.
     
Loading...

Share This Page