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.

Problems when restoring accounts

Discussion in 'General Discussion' started by DBJoshua, Sep 27, 2007.

  1. DBJoshua

    DBJoshua Active Member

    Joined:
    Jun 7, 2007
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    I am currently getting this error everytime I'm trying to restore backups :


    Copying skel files from /root/cpanel3-skel/ to /home/username......Done



    safe_userchgid: chown: /home/username/public_html: Permission denied at /usr/local/cpanel/Cpanel/SafetyBits.pm line 76. Cpanel::SafetyBits::safe_userchgid(32544, 99, '/home/username/public_html') called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 716 Whostmgr::Accounts::Create::_wwwacct('plan', 'moved', 'maxpark', 0, 'hasshell', 'n', 'maxlst', 0, ...) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1382 Whostmgr::Accounts::Create::_createaccount('plan', 'moved', 'maxpark', 0, 'password', 'HIDDEN', 'hasshell', 0, ...) called at whostmgr/bin/whostmgr2.pl line 1519 main::restorecpmove('user', 'username', 'file', 'username.tar.gz', 'extractname', 'username', 'dir', '/root/cprestore', ...) called at whostmgr/bin/whostmgr2.pl line 10932 main::quickrestore() called at whostmgr/bin/whostmgr2.pl line 182

    [an error occurred while processing this directive]

    Adding Entries to httpd.conf......Done




    Setting up Mail & Local Domains......Done



    --------------


    I am on CentOS 4.5 / Current. I've already tried upcp --force (and variations of the tree)
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Did it create /home/username/public_html or the /home/username directory?
     
  3. saqur

    saqur Member

    Joined:
    Oct 10, 2008
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Hi everybody,

    I have the same problem with some backups (not all) when I try to restore. at the same line, the same error!

    Account directory created and everythings looks OK but when I load File manager I see this error "No records Found"
     
  4. rachelm

    rachelm Well-Known Member

    Joined:
    Jan 26, 2005
    Messages:
    94
    Likes Received:
    1
    Trophy Points:
    8
    what is the result of

    perl -v

    if it's anything less than 5.8.8 then you need to update perl, that's usually the cause of that error
     
  5. saqur

    saqur Member

    Joined:
    Oct 10, 2008
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Thank you
    But the perl is updated and current version is 5.8.8

    "This is perl, v5.8.8 built for i686-linux

    Copyright 1987-2006, Larry Wall

    Perl may be copied only under the terms of either the Artistic License or the
    GNU General Public License, which may be found in the Perl 5 source kit.

    Complete documentation for Perl, including FAQ lists, should be found on
    this system using "man perl" or "perldoc perl". If you have access to the
    Internet, point your browser at http://www.perl.org/, the Perl Home Page."

    Any idea?!!
     
  6. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Did you check the permissions and ownership of /home/user and /home/user/public_html, including the files contained therein?
     
  7. saqur

    saqur Member

    Joined:
    Oct 10, 2008
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    yes, I checked the permissions but they are incorrect. I changed them az other accounts, but only the error changed at File manager: No file!!
     
Loading...

Share This Page