Hello,
I am attempting to develop a custom backup destination script and when I run a backup, I see the below output in cpbackup_transporter.log:
These errors are repeated for every call it makes. Lack of log output from my custom script indcates that the backup system has not even called the script. Please advise how I can correct this issue.
Ron
I am attempting to develop a custom backup destination script and when I run a backup, I see the below output in cpbackup_transporter.log:
Code:
[2014-08-21 04:21:54 +0000] warn [cpbackup_transporter] Path creation failed: Can't locate object method "OPEN" via package "STDERRCapture" at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/5.14.3/IPC/Open3.pm line 178.
at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 26
Cpanel::LoggerAdapter::warn(Cpanel::LoggerAdapter=HASH(0x10dbdd0), 'Path creation failed: Can\'t locate object method "OPEN" via package "STDERRCapture" at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/5.14.3/IPC/Open3.pm line 178.\x0A') called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 441
Cpanel::Backup::Queue::transport_backup::_validate_path(Cpanel::Backup::Queue::transport_backup=HASH(0x1a256a8), Cpanel::Transport::Files::Custom=HASH(0x1a3b4d0), 'cp02/2014-08-21/system_files.tar', Cpanel::LoggerAdapter=HASH(0x10dbdd0)) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 399
Cpanel::Backup::Queue::transport_backup::validate_path(Cpanel::Backup::Queue::transport_backup=HASH(0x1a256a8), Cpanel::Transport::Files::Custom=HASH(0x1a3b4d0), 'cp02/2014-08-21/system_files.tar', Cpanel::LoggerAdapter=HASH(0x10dbdd0)) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 168
Cpanel::Backup::Queue::transport_backup::process_task(Cpanel::Backup::Queue::transport_backup=HASH(0x1a256a8), cPanel::TaskQueue::Task=HASH(0xfa9170), Cpanel::LoggerAdapter=HASH(0x10dbdd0)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 580
eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 583
cPanel::TaskQueue::__ANON__() called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 247
eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 247
cPanel::StateFile::Guard::call_unlocked(cPanel::StateFile::Guard=HASH(0x1989a30), CODE(0x1acd758)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 588
cPanel::TaskQueue::process_next_task(cPanel::TaskQueue=HASH(0x1656f78)) called at /usr/local/cpanel/bin/cpbackup_transporter line 150
eval {...} called at /usr/local/cpanel/bin/cpbackup_transporter line 148
[2014-08-21 05:18:15 +0000] info [cpbackup_transporter] Error encountered
[2014-08-21 05:18:15 +0000] info [cpbackup_transporter] Error is not a reference Can't locate object method "OPEN" via package "STDERRCapture" at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/5.14.3/IPC/Open3.pm line 178.
These errors are repeated for every call it makes. Lack of log output from my custom script indcates that the backup system has not even called the script. Please advise how I can correct this issue.
Ron