Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Could not download backup file; security policy on the remote server forbids it.

Discussion in 'Data Protection' started by Costas Lazarou, Jul 19, 2018.

  1. Costas Lazarou

    Joined:
    Jul 16, 2017
    Messages:
    11
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Athens
    cPanel Access Level:
    Root Administrator
    Hello.
    I am trying to transfer accounts between VPS servers with Cpanel

    The error log is this:

    Trying to fetch cpmove file via cPanel API!
    Fetching current backups from remote server … 1 backup found.
    … done.
    Starting the backup …
    Done
    … done.
    Checking remote server for backups … 2 backups found.
    The remote server is creating the backup file “backup-7.19.2018_16-17-13_papastavroushops.tar.gz”.
    The backup file, backup-7.19.2018_16-17-13_papastavroushops.tar.gz, is still being generated on the remote server “173.249.30.153”.
    …15…
    Downloading “backup-7.19.2018_16-17-13_papastavroushops.tar.gz” …
    Could not download backup file; security policy on the remote server forbids it.
    Failed to fetch cpmove file via cPanel API.
    Failed: Error while executing “/usr/local/cpanel/scripts/getremotecpmove”. The “/usr/local/cpanel/scripts/getremotecpmove” command (process 15711) reported error number 1 when it ended.:
     
  2. Costas Lazarou

    Joined:
    Jul 16, 2017
    Messages:
    11
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Athens
    cPanel Access Level:
    Root Administrator
    Starting “RESTORE” for “Account” “mamalovegr”.
    Restore File: /home/cpmove-mamalovegr-1532020379.tar.gz
    Restore Reseller Privs: no
    Restricted mode: no
    Express mode: no
    Target “/home” on host “vmi160040.contaboserver.net” has 508.1 GB free and requires at least 259.59 MB free, which includes space for temporary files.
    The “Reseller” restore module has the following areas disabled by request: “all”
    ArchiveManager
    Preparing archive for restoration …
    Calculating disk space needed …
    Done.
    Target “/home/cpanelpkgrestore.TMP.work.43925f68/unsafe_to_read_archive” on host “vmi160040.contaboserver.net” has 508.1 GB free and requires at least 259.59 MB free, which includes space for temporary files.
    This archive’s payload appears to be in the archive’s “backup-7.19.2018_19-11-54_mamalovegr” directory.
    ArchiveManager
    The system successfully prepared the archive for restoration.
    PreRestoreActions

    PreRestoreActions

    Account
    Force Mode: no
    Dedicated IP Address: no
    Account
    Failed to create the account: Missing DEFMOD Config Line in /etc/wwwacct.conf, please reconfigure with Edit Setup. at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 534.
    Removing copied archive “/home/cpmove-mamalovegr-1532020379.tar.gz” from the local server …
    Failed: Account Restore Failed: “Account failure: Failed to create the account: Missing DEFMOD Config Line in /etc/wwwacct.conf, please reconfigure with Edit Setup. at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 534. ”
     
  3. Costas Lazarou

    Joined:
    Jul 16, 2017
    Messages:
    11
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Athens
    cPanel Access Level:
    Root Administrator
    Even manualy I cannot create account
     
  4. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,212
    Likes Received:
    159
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Costas Lazarou


    The key part of the error is the following:
    Code:
    Missing DEFMOD Config Line in /etc/wwwacct.conf
    The line should read as follows:

    Code:
    # grep DEFMOD /etc/wwwacct.conf
    DEFMOD paper_lantern
    Can you please add it to /etc/wwwacct.conf as shown and let me know if you continue to have issues?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice