raytracy
Basic Pleskian
Both scheduled and manual backup job report the following error on panel whatever destinate to FTP or local:
pmm utility 'PMMCli' raised an exception. Error code is: 1 See pmmcli.log to find out detailed information on this
I got the following in /usr/local/psa/PMM/logs/backup-2017-08-04-02-50-58-370/pmmcli.log:
[2017-08-04 02:50:58.372|7888] DEBUG: LOG: custom log /var/log/plesk/PMM/backup-2017-08-04-02-50-58-370/backup.log
[2017-08-04 02:50:58.375|7888] INFO: Executing <subprocess[7889] '/usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager domains-id --get-size --ftp --output-file=ftp://[email protected]// --incremental --session-path=/usr/local/psa/PMM/sessions/2017-08-04-025058.372 --from-file=/usr/local/psa/PMM/sessions/2017-08-04-025058.372/from-file'>
[2017-08-04 02:51:09.067|7888] INFO: Subprocess raised ExecuteException: Subprocess <subprocess[7889]
'/usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager domains-id --get-size --ftp --output-file=ftp://[email protected]// --incremental --session-path=/usr/local/psa/PMM/sessions/2017-08-04-025058.372 --from-file=/usr/local/psa/PMM/sessions/2017-08-04-025058.372/from-file'> was finished with exit code 1
== STDOUT ====================
== STDERR ====================
[2017-08-04 02:51:09.068|7888] CRITICAL: PMMUtility exception:
Subprocess <subprocess[7889] '/usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager domains-id --get-size --ftp --output-file=ftp://[email protected]// --incremental --session-path=/usr/local/psa/PMM/sessions/2017-08-04-025058.372 --from-file=/usr/local/psa/PMM/sessions/2017-08-04-025058.
372/from-file'> was finished with exit code 1
== STDOUT ====================
== STDERR ====================
Traceback (most recent call last):
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2493, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2385, in make_dump
return ActionRunner(MakeDumpAction, backup_task_description, None).doActivity()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 186, in doActivity
result = self.processor.doActivity()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 1567, in doActivity
raise PMMUtilityException('PMMCli', x)
PMMUtilityException: PMMCli was finished with exit code 1
[2017-08-04 02:51:09.068|7888] DEBUG: send-error-report /usr/local/psa/admin/bin/send-error-report <?xml version="1.0" ?><error><module>pmmcli</module><operation><class 'pmmcli_exceptions.PMMUtilityException'></operation><message>PMMCli was finished with exit code 1 at File "/usr/local/psa/admin/sbin/pmmcli", line 6, in <module>
pmmcli.main()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2520, in main
logUnhandledError(response, e, 1)
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2427, in logUnhandledError
ErrorReporter.sendException(exception)
File "/usr/local/psa/admin/lib/python/error_reporter.py", line 19, in sendException
stack_trace = traceback.format_stack()
</message></error>
[2017-08-04 02:51:09.072|7888] INFO: Executing asynchronously <subprocess[7931] '/usr/local/psa/admin/bin/send-error-report send-error-report pmm'>
[2017-08-04 02:51:09.073|7888] INFO: Outgoing packet:
<?xml version="1.0" ?><response>
<errcode>1000</errcode>
<errmsg>pmm utility 'PMMCli' raised an exception. Error code is: 1
See pmmcli.log to find out detailed information on this</errmsg>
</response>
[2017-08-04 02:51:09.075|7888] DEBUG: send-error-report /usr/local/psa/admin/bin/send-error-report <?xml version="1.0" ?><error><module>pmmcli</module><operation>NonzeroExitError</operation><message>Command: /usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager domains-id --get-size --ftp --output-file=ftp://[email protected]// --incremental --session-path=/usr/local/psa/PMM/sessions/2017-08-04-025058.372 --from-file=/usr/local/psa/PMM/sessions/2017-08-04-025058.372/from-file
Code: 1
STDOUT:
STDERR:
Stacktrace: File "/usr/local/psa/admin/sbin/pmmcli", line 6, in <module>
pmmcli.main()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2493, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2385, in make_dump
return ActionRunner(MakeDumpAction, backup_task_description, None).doActivity()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 186, in doActivity
result = self.processor.doActivity()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 1549, in doActivity
proc = cmdGetSize.spawn()
File "/usr/local/psa/admin/lib/python/subproc.py", line 262, in spawn
self.proc.run()
File "/usr/local/psa/admin/lib/python/subproc.py", line 207, in run
BaseSubprocess.run(self)
File "/usr/local/psa/admin/lib/python/subproc.py", line 181, in run
self.wait()
File "/usr/local/psa/admin/lib/python/subproc.py", line 215, in wait
BaseSubprocess.wait(self)
File "/usr/local/psa/admin/lib/python/subproc.py", line 195, in wait
raise NonzeroExitException(self, self.__retcode)
File "/usr/local/psa/admin/lib/python/subproc.py", line 54, in __init__
self.stackTrace = stackTrace if stackTrace else traceback.format_stack()
</message></error>
[2017-08-04 02:51:09.077|7888] INFO: Executing asynchronously <subprocess[7932] '/usr/local/psa/admin/bin/send-error-report send-error-report pmm'>
And backup.log in below:
[7889]: 2017-08-04 02:51:09.056 ERROR 8356ea46-1d0b-4fa0-8624-8d9f47f1df17 Runtime error: XML/SAX/Base.pm did not return a true value at /usr/share/perl5/vendor_perl/XML/SAX/PurePerl.pm line 18.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/XML/SAX/PurePerl.pm line 18.
Compilation failed in require at (eval 30) line 1.
:
at /usr/local/psa/PMM/agents/shared/Logging.pm line 128.
Logging::error('Runtime error: XML/SAX/Base.pm did not return a true value at...', 'fatal') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1387
main::__ANON__('Error::Simple=HASH(0x2aa8438)', 'SCALAR(0x19fc9c8)') called at /usr/local/psa/PMM/agents/shared/Error.pm line 330
eval {...} called at /usr/local/psa/PMM/agents/shared/Error.pm line 321
Error::subs::run_clauses('HASH(0x2a1bec0)', 'XML/SAX/Base.pm did not return a true value at /usr/share/per...', undef, 'ARRAY(0x1a05738)') called at /usr/local/psa/PMM/agents/shared/Error.pm line 417
Error::subs::try('CODE(0x1318888)', 'HASH(0x2a1bec0)') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1389
main::main() called at /usr/local/psa/admin/bin/plesk_agent_manager line 1393
It just finished a complete scheduled backup yesterday, but report error today.
Any idea to fix it?
(CentOS 7.3+Onyx 17.5.3#MU16)
pmm utility 'PMMCli' raised an exception. Error code is: 1 See pmmcli.log to find out detailed information on this
I got the following in /usr/local/psa/PMM/logs/backup-2017-08-04-02-50-58-370/pmmcli.log:
[2017-08-04 02:50:58.372|7888] DEBUG: LOG: custom log /var/log/plesk/PMM/backup-2017-08-04-02-50-58-370/backup.log
[2017-08-04 02:50:58.375|7888] INFO: Executing <subprocess[7889] '/usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager domains-id --get-size --ftp --output-file=ftp://[email protected]// --incremental --session-path=/usr/local/psa/PMM/sessions/2017-08-04-025058.372 --from-file=/usr/local/psa/PMM/sessions/2017-08-04-025058.372/from-file'>
[2017-08-04 02:51:09.067|7888] INFO: Subprocess raised ExecuteException: Subprocess <subprocess[7889]
'/usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager domains-id --get-size --ftp --output-file=ftp://[email protected]// --incremental --session-path=/usr/local/psa/PMM/sessions/2017-08-04-025058.372 --from-file=/usr/local/psa/PMM/sessions/2017-08-04-025058.372/from-file'> was finished with exit code 1
== STDOUT ====================
== STDERR ====================
[2017-08-04 02:51:09.068|7888] CRITICAL: PMMUtility exception:
Subprocess <subprocess[7889] '/usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager domains-id --get-size --ftp --output-file=ftp://[email protected]// --incremental --session-path=/usr/local/psa/PMM/sessions/2017-08-04-025058.372 --from-file=/usr/local/psa/PMM/sessions/2017-08-04-025058.
372/from-file'> was finished with exit code 1
== STDOUT ====================
== STDERR ====================
Traceback (most recent call last):
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2493, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2385, in make_dump
return ActionRunner(MakeDumpAction, backup_task_description, None).doActivity()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 186, in doActivity
result = self.processor.doActivity()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 1567, in doActivity
raise PMMUtilityException('PMMCli', x)
PMMUtilityException: PMMCli was finished with exit code 1
[2017-08-04 02:51:09.068|7888] DEBUG: send-error-report /usr/local/psa/admin/bin/send-error-report <?xml version="1.0" ?><error><module>pmmcli</module><operation><class 'pmmcli_exceptions.PMMUtilityException'></operation><message>PMMCli was finished with exit code 1 at File "/usr/local/psa/admin/sbin/pmmcli", line 6, in <module>
pmmcli.main()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2520, in main
logUnhandledError(response, e, 1)
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2427, in logUnhandledError
ErrorReporter.sendException(exception)
File "/usr/local/psa/admin/lib/python/error_reporter.py", line 19, in sendException
stack_trace = traceback.format_stack()
</message></error>
[2017-08-04 02:51:09.072|7888] INFO: Executing asynchronously <subprocess[7931] '/usr/local/psa/admin/bin/send-error-report send-error-report pmm'>
[2017-08-04 02:51:09.073|7888] INFO: Outgoing packet:
<?xml version="1.0" ?><response>
<errcode>1000</errcode>
<errmsg>pmm utility 'PMMCli' raised an exception. Error code is: 1
See pmmcli.log to find out detailed information on this</errmsg>
</response>
[2017-08-04 02:51:09.075|7888] DEBUG: send-error-report /usr/local/psa/admin/bin/send-error-report <?xml version="1.0" ?><error><module>pmmcli</module><operation>NonzeroExitError</operation><message>Command: /usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager domains-id --get-size --ftp --output-file=ftp://[email protected]// --incremental --session-path=/usr/local/psa/PMM/sessions/2017-08-04-025058.372 --from-file=/usr/local/psa/PMM/sessions/2017-08-04-025058.372/from-file
Code: 1
STDOUT:
STDERR:
Stacktrace: File "/usr/local/psa/admin/sbin/pmmcli", line 6, in <module>
pmmcli.main()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2493, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2385, in make_dump
return ActionRunner(MakeDumpAction, backup_task_description, None).doActivity()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 186, in doActivity
result = self.processor.doActivity()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 1549, in doActivity
proc = cmdGetSize.spawn()
File "/usr/local/psa/admin/lib/python/subproc.py", line 262, in spawn
self.proc.run()
File "/usr/local/psa/admin/lib/python/subproc.py", line 207, in run
BaseSubprocess.run(self)
File "/usr/local/psa/admin/lib/python/subproc.py", line 181, in run
self.wait()
File "/usr/local/psa/admin/lib/python/subproc.py", line 215, in wait
BaseSubprocess.wait(self)
File "/usr/local/psa/admin/lib/python/subproc.py", line 195, in wait
raise NonzeroExitException(self, self.__retcode)
File "/usr/local/psa/admin/lib/python/subproc.py", line 54, in __init__
self.stackTrace = stackTrace if stackTrace else traceback.format_stack()
</message></error>
[2017-08-04 02:51:09.077|7888] INFO: Executing asynchronously <subprocess[7932] '/usr/local/psa/admin/bin/send-error-report send-error-report pmm'>
And backup.log in below:
[7889]: 2017-08-04 02:51:09.056 ERROR 8356ea46-1d0b-4fa0-8624-8d9f47f1df17 Runtime error: XML/SAX/Base.pm did not return a true value at /usr/share/perl5/vendor_perl/XML/SAX/PurePerl.pm line 18.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/XML/SAX/PurePerl.pm line 18.
Compilation failed in require at (eval 30) line 1.
:
at /usr/local/psa/PMM/agents/shared/Logging.pm line 128.
Logging::error('Runtime error: XML/SAX/Base.pm did not return a true value at...', 'fatal') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1387
main::__ANON__('Error::Simple=HASH(0x2aa8438)', 'SCALAR(0x19fc9c8)') called at /usr/local/psa/PMM/agents/shared/Error.pm line 330
eval {...} called at /usr/local/psa/PMM/agents/shared/Error.pm line 321
Error::subs::run_clauses('HASH(0x2a1bec0)', 'XML/SAX/Base.pm did not return a true value at /usr/share/per...', undef, 'ARRAY(0x1a05738)') called at /usr/local/psa/PMM/agents/shared/Error.pm line 417
Error::subs::try('CODE(0x1318888)', 'HASH(0x2a1bec0)') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1389
main::main() called at /usr/local/psa/admin/bin/plesk_agent_manager line 1393
It just finished a complete scheduled backup yesterday, but report error today.
Any idea to fix it?
(CentOS 7.3+Onyx 17.5.3#MU16)