Article ID: 120808, created on May 28, 2015, last review on May 28, 2015

  • Applies to:
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux

Síntomas

Cuando se intenta exportar un backup de Plesk a un servidor FTP, se obtiene el siguiente mensaje de error:

The dump have been made successfully but can not be imported to FTP due to errors

El contenido de /usr/local/psa/PMM/sessions/2013-11-20-113722.40/psadump.log muestra lo siguiente:

[14105]: 10:37:27 ERROR e5e5cbb4-6424-4cb8-803c-53ed122eb067 FTP ERROR: Net::FTP: connect: Connection refused
[14105]: 10:37:27 DEBUG Unlink file '/usr/local/psa/PMM/tmp/backupJkI8Ug/parallels_res1_info_1311201137.xml.tar'
[14105]: 10:37:27 ERROR 64aec726-74f9-4f0c-8758-6cf978e0611a The dump have been made successfully but can not be imported to FTP due to errors.
The dump 'parallels_res1_info_1311201137.xml' have been leaved at repository '/usr/local/psa/PMM/tmp/backupJkI8Ug'. Please export it manually
[14105]: 10:37:27 DEBUG Runtime error: Export dump to FTP failed at /usr/local/psa/admin/bin/plesk_agent_manager line 724.
 at /usr/local/psa/admin/bin/plesk_agent_manager line 724
        main::perform('verbose', 4, 'owner-type', 'reseller', 'split-size', undef, 'session-path', '/usr/local/psa/PMM/sessions/2013-11-20-113722.40', 'description', ...) called at /usr/local/psa/admin/bin/plesk_agent_manager line 1279
        main::__ANON__() called at /usr/local/psa/PMM/agents/shared/Error.pm line 398
        eval {...} called at /usr/local/psa/PMM/agents/shared/Error.pm line 397
        Error::subs::try('CODE(0x374a500)', 'HASH(0x374a5d8)') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1288
        main::main() called at /usr/local/psa/admin/bin/plesk_agent_manager line 1290.

[14105]: 10:37:27 ERROR 38b6338c-c3db-4eab-8ead-8594072041b2 Runtime error:
 at /usr/local/psa/PMM/agents/shared/Logging.pm line 84
        Logging::error('Runtime error', 'fatal') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1285
        main::__ANON__('Error::Simple=HASH(0x3541d70)', 'SCALAR(0x33479c0)') called at /usr/local/psa/PMM/agents/shared/Error.pm line 326
        eval {...} called at /usr/local/psa/PMM/agents/shared/Error.pm line 320
        Error::subs::run_clauses('HASH(0x374a5d8)', 'Export dump to FTP failed at /usr/local/psa/admin/bin/plesk_a...', '', 'ARRAY(0x3351540)') called at /usr/local/psa/PMM/agents/shared/Error.pm line 416
        Error::subs::try('CODE(0x374a500)', 'HASH(0x374a5d8)') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1288
        main::main() called at /usr/local/psa/admin/bin/plesk_agent_manager line 1290


== STDERR ====================
1+0 records in
1+0 records out
31457280 bytes (31 MB) copied, 0.0431236 s, 729 MB/s
Runtime error: Export dump to FTP failed at /usr/local/psa/admin/bin/plesk_agent_manager line 724.
 at /usr/local/psa/admin/bin/plesk_agent_manager line 724
        main::perform('verbose', 4, 'owner-type', 'reseller', 'split-size', undef, 'session-path', '/usr/local/psa/PMM/sessions/2013-11-20-113722.40', 'description', ...) called at /usr/local/psa/admin/bin/plesk_agent_manager line 1279
        main::__ANON__() called at /usr/local/psa/PMM/agents/shared/Error.pm line 398
        eval {...} called at /usr/local/psa/PMM/agents/shared/Error.pm line 397
        Error::subs::try('CODE(0x374a500)', 'HASH(0x374a5d8)') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1288
        main::main() called at /usr/local/psa/admin/bin/plesk_agent_manager line 1290.


==============================

Error 2:

The dump have been made successfully but can not be imported to FTP due to errors.
The dump 'backup_info_<timestamp>.xml' have been leaved at repository. Please export it manually

Error 3:

Can't upload file '/usr/local/psa/PMM/tmp/backup7WwhZ3/backup_info_<timestamp>.xml.tar' to ftp. Error code: 1

Causa

El estado de la carga FTP puede verse en el mismo directorio donde se experimenta el problema, concretamente en el archivo migration.result. Por ejemplo:

grep 'FTP ERROR' /usr/local/psa/PMM/sessions/2013-11-20-113722.40/migration.result
      <description>FTP ERROR: Net::FTP: connect: Connection refused</description>

En el caso descrito anteriormente, el servidor FTP rechazó la conexión.

Resolución

  1. Compruebe que el servidor del repositorio FTP está operativo y en ejecución durante la creación del backup.
  2. Verifique que el firewall permite el puerto 21 (iptables -L -n).
  3. Compruebe que el archivo /etc/hosts.deny (TCPD wrappers) no bloquea el acceso al puerto 21 para su host FTP.
  4. Conéctese al servidor FTP desde el servidor Plesk usando sus credenciales de usuario FTP e intente cargar el backup de forma manual.

    # ftp user@ftp.example.com

    ftp> lpwd

    ftp> cd pub

    ftp> put backup.tgz

    ftp> bye

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f aea4cd7bfd353ad7a1341a257ad4724a

Email subscription for changes to this article
Save as PDF