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 - after restoring backup

Discussion in 'General Discussion' started by Pedja68, Dec 27, 2010.

  1. Pedja68

    Pedja68 Registered

    Joined:
    Dec 24, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I have reinstalled the OS on my VDS (Centos 5.5), and then I restored backups for several accounts (uploading it to /home directory and then using /scripts/restorepkg username). Here is the final message I'm getting:

    When I try to see restored websites from my browser I'm getting 500 Internal Server Error message. Do you have any idea what is going on? For at least one account I'm sure I'm using the same IP address I was using before.

    Any help would be appreciated. Thank you in advance.

    Cheers!
     
  2. wayne_mu

    wayne_mu Member

    Joined:
    Dec 12, 2009
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    You may need to check the file permissions or the ownership under the accounts.
    Mostly the accounts are resotred as it is with /scripts/restorepkg , but stil you check it ..

    :)
     
  3. Pedja68

    Pedja68 Registered

    Joined:
    Dec 24, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I have tried to change the ownership of /home/USERNAME/public_html to USERNAME:nobody, but the result is still the same. What exactly permissions should I set?
     
  4. wayne_mu

    wayne_mu Member

    Joined:
    Dec 12, 2009
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Check what you get in the logs , it will help to track the exact issue.

     
  5. Pedja68

    Pedja68 Registered

    Joined:
    Dec 24, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Here are the latest errors for the accounts I have restored this morning:

     
  6. Pedja68

    Pedja68 Registered

    Joined:
    Dec 24, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Here is the solution (in my case):

    1. logged in as root type
    2. stil as root type:
    3. Fix permissions for files you have to (config files, etc...)

    @wayne_mu: thank you for your help m8.

    Cheers!
     
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,471
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  8. wayne_mu

    wayne_mu Member

    Joined:
    Dec 12, 2009
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    @Pedja68 : You are most welcome !!

    :)

    Cheers !
     
Loading...

Share This Page