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.

Restore Issues

Discussion in 'General Discussion' started by kris1351, May 21, 2004.

  1. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    We had to restore a server today and are having a few issues. When we do a restore of the account backups we get this:

    Security violation.... (homedir [/home/username] does not exist)Account Restore Failed


    Any ideas? Also, we are getting errors with Apache starting because it can't read ssl.crt which is there.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Kris,

    What are your permissions on /home/ ?

    I checked one of our servers and it is root:root 711

    Also, /usr/local/apache/conf/ssl.crt/ directory is root:root 755, unless you're referring to a different ssl.crt
     
  3. eglwolf

    eglwolf Well-Known Member

    Joined:
    Jan 1, 2004
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
    I have this problem, I restored 20+ accounts to a server, all were fine, however there are two that I get this error for. Any idea why??
     
  4. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    That was a year ago, but I believe the problem was in the Cpanel transfer scripts. They made a lot of changes around this time on those.
     
  5. eglwolf

    eglwolf Well-Known Member

    Joined:
    Jan 1, 2004
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
    I have the backup I created from one server. I moved it to the /home of the new server, and run the restore from WHM when I get those errors. I put in a ticket with cPanel two days ago and no reponse yet. I need to get these two accounts restored.
     
  6. jsbthree

    jsbthree Member

    Joined:
    Aug 11, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Tennessee
    there must be an answer to this

    I get the same thing when restoring form a cpmove backup that was done on an older cpanel verson about 8 months back.

    The WHM process is unable to create the direcory or something.
     
  7. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    What's the ticket number? I ask only because it is extremely abnormal for a ticket to go so long without a response.
     
  8. jsbthree

    jsbthree Member

    Joined:
    Aug 11, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Tennessee
    Check to see if the process didn't leave a file in home

    A file by the same name as the target username in the home dir will give this error. Te process is not refined enught to look for this and report the nature of the error so it seems like something else.
     
  9. jsbthree

    jsbthree Member

    Joined:
    Aug 11, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Tennessee
    I don't know the ticket but my suggestion above worked

    In my case I got that exact error. Its not very helpful in terms of backtracing so I think it is one of those error messages that if changed would avoid this problem in the future. If they know there is a problem creating the user home dir due to a file of the same name then its really easy to deal with. It doesnt matter what caused the problem .. well it does but in general the explicit error message will cover this no matter how the file got there to begin with.
     
Loading...

Share This Page