• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Problem Plesk 11.5.30 (#12) Rotate Backups FTP Remote in Debian

David Abuin Fontan

New Pleskian
Since the update panel version 11.5 does not rotate backups to a remote FTP on my servers

Code:
 Error:	

Unable to rotate dump: The dump rotation is failed with code '121' at /opt/psa/admin/bin/plesk_agent_manager line 1248.
 at /opt/psa/admin/bin/plesk_agent_manager line 1248
	main::rotateDump('ftp://[email protected]', '/home/user/Plesk/xxx/completo_1308170317.tar', 1, 'a318774a-3670-41f4-8860-ff2eefea186a', 0, '/opt/psa/PMM/sessions/2013-08-17-031702.221', 1) called at /opt/psa/admin/bin/plesk_agent_manager line 738
	main::__ANON__() called at /usr/share/perl5/Error.pm line 416
	eval {...} called at /usr/share/perl5/Error.pm line 408
	Error::subs::try('CODE(0x255e208)', 'HASH(0x25568a8)') called at /opt/psa/admin/bin/plesk_agent_manager line 745
	main::perform('verbose', 0, 'owner-type', 'server', 'split-size', undef, 'session-path', '/opt/psa/PMM/sessions/2013-08-17-031702.221', 'profile-name', ...) called at /opt/psa/admin/bin/plesk_agent_manager line 1311
	main::__ANON__() called at /usr/share/perl5/Error.pm line 416
	eval {...} called at /usr/share/perl5/Error.pm line 408
	Error::subs::try('CODE(0x1d0fbc0)', 'HASH(0x1d0fef0)') called at /opt/psa/admin/bin/plesk_agent_manager line 1319
	main::main() called at /opt/psa/admin/bin/plesk_agent_manager line 1323.


What I can do? Thanks!
 
According to the error log you've sent the rotation failed with error 121 that means "Remote I/O error":

# perror 121
OS error code 121: Remote I/O error

I suggest that you review settings of remote FTP server and increase FTP timeout there. Also I recommend that you increase max_execution_time in Plesk PHP configuration file:

grep execution /usr/local/psa/admin/conf/php.ini
max_execution_time = 600

Do not forget restart psa service after changing this value.
 
I changed the settings and the problem persists...

I use the same settings on all my servers (different paths)
plesk_error_rotate.jpg plesk_error_rotate_2.jpg plesk_error_rotate_3.jpg

Plesk 11.0.x works fine!
Plesk 11.5.x (#12) error all servers

I see that this error was in previous patches
Code:
11.5.30 Update #5     [12-Jul-2013]
Parallels Plesk Panel 11.5.30 Update #5

    [-] Panel failed to rotate backups on external FTP repository if FTP user was not chrooted.

is it possible that has not been applied to upgrade from plesk 11.0?


Thanks!
 

Attachments

  • plesk_error_rotate.jpg
    plesk_error_rotate.jpg
    3.1 KB · Views: 13
The problem is reproducible if no chrooted and you use absolute paths (/home/user/dir_backup/). If you use relative paths (dir_backup/) works fine!

PD: Update #13 does not solve the problem
 
Back
Top