• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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