Elliott_Veares
New Pleskian
Hi all, I seem to have an error with backing up to my personal FTP repository. I have only just noticed the issue, but i believe it originated when I upgraded Plesk Panel 11 to Plesk Panel 12. I am currently running version 12.0.18 on Cent OS 6.5.
Note whether i check the "Use passive mode" option makes no difference to my problem.
Below is what I get from the panel.log under /usr/local/psa/admin/logs
Further more, this is what get from my backup manger's log.
Also running "curl --list-only --user USERNAMEASSWORD ftp://IPADDRESS/" works fine from the shell/bash and lists my ftp servers directories.
I don't know what is casing my issues, but i want to resolve it asap. I have tried opening all high ports along with opening ports 20 and 21 and disabling firewall's etc... but these things have not helped.
Any help much appreciated.
Regards: Elliott Veares
Edit: solved - see latest post.
Note whether i check the "Use passive mode" option makes no difference to my problem.
Below is what I get from the panel.log under /usr/local/psa/admin/logs
Code:
[2014-11-20 19:49:44] ERR [util_exec] proc_close() failed
[20-Nov-2014 19:49:44 UTC] PleskUtilException: '/usr/local/psa/admin/bin/pmm-ras' '--check-repository' '--dump-storage=ftp://USERNAME@IPADDRESS/MYFTPDIRECTORY/' '--use-ftp-passive-mode' failed with code 121.
stdout:
Transport error: unable to list directory: Curl error: Access denied to remote resource
stderr:
file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 57
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(60): Service_Agent_Transport_Local_Exec->process(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction))
#1 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(26): Service_Agent_Transport_Local->_command(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction))
#2 /usr/local/psa/admin/plib/Service/Agent.php(172): Service_Agent_Transport_Local->process('d212da78953cdf9...', Array)
#3 /usr/local/psa/admin/plib/backup/PmmRas/Connector.php(240): Service_Agent->commit()
#4 /usr/local/psa/admin/plib/backup/PmmRas/Connector.php(198): backup_PmmRas_Connector->_execNoThrow(Array, Array)
#5 /usr/local/psa/admin/plib/backup/BackupFTPRepositorySettings.php(237): backup_PmmRas_Connector->checkFtpRepository(Object(PMMDumpsStorageCredentials))
#6 /usr/local/psa/admin/plib/backup/BackupFTPRepositorySettings.php(211): BackupFTPRepositorySettings::testRepositoryConnection(Array)
#7 /usr/local/psa/admin/plib/backup/BackupFTPRepositorySettings.php(152): BackupFTPRepositorySettings::checkFtpConnectionParams(Array, true)
#8 /usr/local/psa/admin/plib/CommonPanel/Form/Backup/FtpSettings.php(133): BackupFTPRepositorySettings->check()
#9 /usr/local/psa/admin/plib/CommonPanel/Controller/Action/Backup/Trait.php(266): CommonPanel_Form_Backup_FtpSettings->isValid(Array)
#10 /usr/local/psa/admin/externals/Zend/Controller/Action.php(516): Admin_BackupController->ftpSettingsAction()
#11 /usr/local/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('ftpSettingsActi...')
#12 /usr/local/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#13 /usr/local/psa/admin/plib/Application/Web.php(38): Zend_Controller_Front->dispatch(NULL)
#14 /usr/local/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()
#15 {main}
Further more, this is what get from my backup manger's log.
Code:
Error: server "server"
Can't upload file 'backup_info_1411080213.xml' to ftp. Error code: 1
Warning: domain "mydomain.co.uk"
Domain mydomain.co.uk is skipped from backup due to error: Can't use string ("") as a HASH ref while "strict refs" in use at /usr/local/psa/PMM/agents/PleskX/DAL.pm line 924.
Also running "curl --list-only --user USERNAMEASSWORD ftp://IPADDRESS/" works fine from the shell/bash and lists my ftp servers directories.
I don't know what is casing my issues, but i want to resolve it asap. I have tried opening all high ports along with opening ports 20 and 21 and disabling firewall's etc... but these things have not helped.
Any help much appreciated.
Regards: Elliott Veares
Edit: solved - see latest post.
Last edited: