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.

full backup wizard error in cpanel all user

Discussion in 'General Discussion' started by YasIT, May 8, 2014.

  1. YasIT

    YasIT Active Member

    Joined:
    Jan 3, 2014
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello.
    Show errors in create a full backup with "full backup wizard" all user in cpanel.

    check logs :

    Code:
    --------------------------------------------------------
    pkgacct started.
    pkgacct version 10 - user : user - tarball: 1 - target mysql : default - split: 0 - incremental: 0 - homedir: 1 - archive version: 3 - running with uid 0
    pkgacct using '/usr/bin/gzip -6' to compress archives
    pkgacct working dir : /home/backup-5.8.2014_22-36-09_user
    Copying Reseller Config...Done
    Copying Suspension Info (if needed)...Done
    Copying SSL certificates, CSRs, and keys...Privilege de-escalation before loading datastore either failed or was omitted. at /usr/local/cpanel/Cpanel/SSLStorage.pm line 1159
        Cpanel::SSLStorage::_load_datastore('Cpanel::SSLStorage::User=HASH(0x3587b00)', 'lock', 1) called at /usr/local/cpanel/Cpanel/SSLStorage.pm line 1244
        Cpanel::SSLStorage::_load_datastore_rw('Cpanel::SSLStorage::User=HASH(0x3587b00)') called at /usr/local/cpanel/Cpanel/SSLStorage.pm line 329
        Cpanel::SSLStorage::_rebuild_records('Cpanel::SSLStorage::User=HASH(0x3587b00)') called at /usr/local/cpanel/Cpanel/SSLStorage.pm line 308
        Cpanel::SSLStorage::__ANON__() called at /usr/local/cpanel/Cpanel/AccessIds/ReducedPrivileges.pm line 93
        eval {...} called at /usr/local/cpanel/Cpanel/AccessIds/ReducedPrivileges.pm line 93
        Cpanel::AccessIds::ReducedPrivileges::call_as_user('CODE(0x3cac860)', 'user', 'user') called at /usr/local/cpanel/Cpanel/SSLStorage/User.pm line 670
        Cpanel::SSLStorage::User::_execute_coderef('Cpanel::SSLStorage::User=HASH(0x3587b00)', 'CODE(0x3cac860)') called at /usr/local/cpanel/Cpanel/SSLStorage.pm line 310
        Cpanel::SSLStorage::rebuild_records('Cpanel::SSLStorage::User=HASH(0x3587b00)') called at /usr/local/cpanel/scripts/pkgacct line 2818
        Script::Pkgacct::__ANON__('Cpanel::SSLStorage::User=HASH(0x3587b00)') called at /usr/local/cpanel/scripts/pkgacct line 2831
        Script::Pkgacct::backup_ssl_for_user('user', '/home/backup-5.8.2014_22-36-09_user') called at /usr/local/cpanel/scripts/pkgacct line 536
        Script::Pkgacct::script('Script::Pkgacct', 'user', '/home', 'userbackup') called at /usr/local/cpanel/scripts/pkgacct line 114
    --------------------------------------------------------
    
    how to fix this problem?

    Thank you.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. YasIT

    YasIT Active Member

    Joined:
    Jan 3, 2014
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    how to fix this permssion for All Account?

    use scripts?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It's not the permissions, but rather the ownership of the files. There are no quick scripts to resolve the issue as for the most part you should not have files within the accounts that are owned by another user or an alternate UID. The best way to resolve it is to move the files or update ownership values with the "chown" command. Could you provide an example of such a file?

    Thank you.
     
  5. YasIT

    YasIT Active Member

    Joined:
    Jan 3, 2014
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    ownership all files accounts cluttered!!.
    change ownership to user:user by command chown and fix one account.

    how to fix ownership to user:user files all accounts for fix issue by scripts?

    Thanks you.

    - - - Updated - - -

    http://blog.shineservers.com/auto-fix-file-permissions-and-ownership-on-cpanel/

    this post help me?
    Thank you
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I don't recommend using any script that recursively changes ownership values. Instead, you should inspect the accounts to see which type of files are owned by a different user and correct it on a case-by-case basis.

    Thank you.
     
Loading...

Share This Page