• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Error in last update + backup not work

Status
Not open for further replies.

gastonwagner

New Pleskian
Version:
psa-11.5.30-cos6.build115130819.13.x86_64

Error after last update.

When try to create backup on server in CP say this:

Error: pmm utility 'PMMCli' raised an exception. Error code is: 1
See pmmcli.log to find out detailed information on this

===================================

cat /usr/local/psa/PMM/logs/backup-2013-08-23-04-32-01-987/pmmcli.log

[2013-08-23 04:32:01.587|9721] DEBUG: LOG: custom log /usr/local/psa/PMM/logs/backup-2013-08-23-04-32-01-987/backup.log
[2013-08-23 04:32:01.589|9721] INFO: Executing <subprocess[9722] '/usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager domains-id --get-size --session-path=/usr/local/psa/PMM/sessions/2013-08-23-043201.357 84'>
[2013-08-23 04:32:02.196|9721] INFO: Subprocess raised ExecuteException: Subprocess <subprocess[9722] '/usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager domains-id --get-size --session-path=/usr/local/psa/PMM/sessions/2013-08-23-043201.357 84'> was finished with exit code 1
== STDOUT ====================

== STDERR ====================

[2013-08-23 04:32:02.197|9721] CRITICAL: PMMUtility exception:
Subprocess <subprocess[9722] '/usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager domains-id --get-size --session-path=/usr/local/psa/PMM/sessions/2013-08-23-043201.357 84'> was finished with exit code 1
== STDOUT ====================

== STDERR ====================

Traceback (most recent call last):
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2491, 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 2354, in make_dump
return ActionRunner(MakeDumpAction, backup_task_description, None).doActivity()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 164, in doActivity
result = self.processor.doActivity()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 1349, in doActivity
raise PMMUtilityException('PMMCli', x)
PMMUtilityException: PMMCli was finished with exit code 1

[2013-08-23 04:32:02.197|9721] INFO: Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<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>
 
The error does not give sufficient information. However can I suggest you try running directly from shell:

Code:
/usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager domains-id --get-size --session-path=/usr/local/psa/PMM/sessions/2013-08-23-043201.357 84

From shell you should see what errors are being produced ..

You could also add -W flag for warnings to display, ie /usr/bin/perl -W ....
 
Thanks Abdi.

/usr/bin/perl -w /usr/local/psa/admin/bin/plesk_agent_manager domains-id --get-size --session-path=/usr/local/psa/PMM/sessions/2013-08-23-043201.357 84
"my" variable $undef masks earlier declaration in same statement at /usr/local/psa/PMM/agents/shared/HelpFuncs.pm line 478.
"my" variable $undef masks earlier declaration in same statement at /usr/local/psa/PMM/agents/shared/HelpFuncs.pm line 522.
"my" variable $undef masks earlier declaration in same statement at /usr/local/psa/PMM/agents/shared/HelpFuncs.pm line 522.
Scalar value @version[0] better written as $version[0] at /usr/local/psa/PMM/agents/shared/Db/MysqlShellBackend.pm line 35.
Scalar value @version[1] better written as $version[1] at /usr/local/psa/PMM/agents/shared/Db/MysqlShellBackend.pm line 36.
Scalar value @version[2] better written as $version[2] at /usr/local/psa/PMM/agents/shared/Db/MysqlShellBackend.pm line 37.
Scalar value @tokens[0] better written as $tokens[0] at /usr/local/psa/PMM/agents/PleskX/CapabilityInfoDumper.pm line 440.
Scalar value @tokens[1] better written as $tokens[1] at /usr/local/psa/PMM/agents/PleskX/CapabilityInfoDumper.pm line 440.
Subroutine _decryptDump redefined at /usr/local/psa/PMM/agents/PleskX/Packer.pm line 358.
"my" variable $sql masks earlier declaration in same scope at /usr/local/psa/PMM/agents/PleskX/PleskX.pm line 3483.
Reference found where even-sized list expected at /usr/local/psa/PMM/agents/PleskX/PleskX.pm line 4122.
Subroutine main::tmpnam redefined at /usr/local/psa/admin/bin/plesk_agent_manager line 61
Subroutine main::tmpfile redefined at /usr/local/psa/admin/bin/plesk_agent_manager line 61
Subroutine PmmCli::tmpnam redefined at /usr/local/psa/PMM/agents/PleskX/PmmCli.pm line 11
Subroutine PmmCli::tmpfile redefined at /usr/local/psa/PMM/agents/PleskX/PmmCli.pm line 11
Name "SpecificConfig::VESRION" used only once: possible typo at /usr/local/psa/PMM/agents/PleskX/SpecificConfig.pm line 53.
binmode() on closed filehandle VERSION at /usr/local/psa/PMM/agents/PleskX/SpecificConfig.pm line 50.
readline() on closed filehandle VERSION at /usr/local/psa/PMM/agents/PleskX/SpecificConfig.pm line 51.
Use of uninitialized value $out in scalar chomp at /usr/local/psa/PMM/agents/PleskX/SpecificConfig.pm line 52.
Use of uninitialized value $out in pattern match (m//) at /usr/local/psa/PMM/agents/PleskX/SpecificConfig.pm line 55.
[1764]: 17:37:51 DEBUG ------------------------------------------------------------
[1764]: 17:37:51 DEBUG Migration status reporting initialized.
[1764]: 17:37:51 DEBUG Status file: /usr/local/psa/PMM/sessions/2013-08-23-043201.357/dump-status.xml
[1764]: 17:37:51 DEBUG ------------------------------------------------------------
binmode() on closed filehandle VERSION at /usr/local/psa/PMM/agents/PleskX/SpecificConfig.pm line 50.
readline() on closed filehandle VERSION at /usr/local/psa/PMM/agents/PleskX/SpecificConfig.pm line 51.
Use of uninitialized value $out in scalar chomp at /usr/local/psa/PMM/agents/PleskX/SpecificConfig.pm line 52.
Use of uninitialized value $out in pattern match (m//) at /usr/local/psa/PMM/agents/PleskX/SpecificConfig.pm line 55.
Argument "/" isn't numeric in multiplication (*) at /usr/local/psa/PMM/agents/shared/HelpFuncs.pm line 217.
1+0 records in
1+0 records out
31457280 bytes (31 MB) copied, 0,195155 s, 161 MB/s
binmode() on closed filehandle VERSION at /usr/local/psa/PMM/agents/PleskX/SpecificConfig.pm line 50.
readline() on closed filehandle VERSION at /usr/local/psa/PMM/agents/PleskX/SpecificConfig.pm line 51.
Use of uninitialized value $out in scalar chomp at /usr/local/psa/PMM/agents/PleskX/SpecificConfig.pm line 52.
Use of uninitialized value $out in pattern match (m//) at /usr/local/psa/PMM/agents/PleskX/SpecificConfig.pm line 55.
Runtime error: Unable to find Plesk versionfile: /usr/local/psa/version at /usr/local/psa/PMM/agents/PleskX/PleskVersion.pm line 18.
at /usr/local/psa/PMM/agents/PleskX/PleskVersion.pm line 18
PleskVersion::init('/usr/local/psa') called at /usr/local/psa/PMM/agents/PleskX/PleskX.pm line 148
PleskX::_init('PleskX=HASH(0x2be0668)', 'Storage::FileStorage=HASH(0x2be05d8)', 'MigrationDumpStatus=HASH(0x2bdd138)', '/usr/local/psa/PMM/agents/shared', undef) called at /usr/local/psa/PMM/agents/PleskX/PleskX.pm line 66
PleskX::new('PleskX', 'Storage::FileStorage=HASH(0x2be05d8)', 'MigrationDumpStatus=HASH(0x2bdd138)', '/usr/local/psa/PMM/agents/shared', undef) called at /usr/local/psa/admin/bin/plesk_agent_manager line 549
main::perform('verbose', 0, 'get-size', 1, 'split-size', undef, 'domains-id', 'ARRAY(0x14aaf48)', 'session-path', ...) called at /usr/local/psa/admin/bin/plesk_agent_manager line 1311
main::__ANON__() called at /usr/share/perl5/Error.pm line 415
eval {...} called at /usr/share/perl5/Error.pm line 407
Error::subs::try('CODE(0x14ab290)', 'HASH(0x2bd3380)') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1319
main::main() called at /usr/local/psa/admin/bin/plesk_agent_manager line 1323.
 
the same error here

Code:
/usr/bin/perl -w /usr/local/psa/admin/bin/plesk_agent_manager domains-id --get-size --session-path=/usr/local/psa/PMM/sessions/2013-08-28-094809.1000 84
"my" variable $undef masks earlier declaration in same statement at /usr/local/psa/PMM/agents/shared/HelpFuncs.pm line 478.
"my" variable $undef masks earlier declaration in same statement at /usr/local/psa/PMM/agents/shared/HelpFuncs.pm line 522.
"my" variable $undef masks earlier declaration in same statement at /usr/local/psa/PMM/agents/shared/HelpFuncs.pm line 522.
Scalar value @version[0] better written as $version[0] at /usr/local/psa/PMM/agents/shared/Db/MysqlShellBackend.pm line 35.
Scalar value @version[1] better written as $version[1] at /usr/local/psa/PMM/agents/shared/Db/MysqlShellBackend.pm line 36.
Scalar value @version[2] better written as $version[2] at /usr/local/psa/PMM/agents/shared/Db/MysqlShellBackend.pm line 37.
Scalar value @tokens[0] better written as $tokens[0] at CapabilityInfoDumper.pm line 440.
Scalar value @tokens[1] better written as $tokens[1] at CapabilityInfoDumper.pm line 440.
Subroutine _decryptDump redefined at Packer.pm line 358.
"my" variable $sql masks earlier declaration in same scope at PleskX.pm line 3483.
Reference found where even-sized list expected at PleskX.pm line 4122.
Subroutine main::tmpfile redefined at /usr/lib/perl5/5.8.8/Exporter.pm line 65.
 at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/POSIX.pm line 19
Subroutine main::tmpnam redefined at /usr/lib/perl5/5.8.8/Exporter.pm line 65.
 at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/POSIX.pm line 19
Subroutine PmmCli::tmpfile redefined at /usr/lib/perl5/5.8.8/Exporter.pm line 65.
 at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/POSIX.pm line 19
Subroutine PmmCli::tmpnam redefined at /usr/lib/perl5/5.8.8/Exporter.pm line 65.
 at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/POSIX.pm line 19
Name "SpecificConfig::VESRION" used only once: possible typo at EXPORT_OK line 53.
binmode() on closed filehandle VERSION at SpecificConfig.pm line 50.
readline() on closed filehandle VERSION at SpecificConfig.pm line 51.
Use of uninitialized value in scalar chomp at SpecificConfig.pm line 52.
Use of uninitialized value in pattern match (m//) at SpecificConfig.pm line 55.
[17006]: 07:52:48 DEBUG ------------------------------------------------------------
[17006]: 07:52:48 DEBUG Migration status reporting initialized.
[17006]: 07:52:48 DEBUG Status file: /usr/local/psa/PMM/sessions/2013-08-28-094809.1000/dump-status.xml
[17006]: 07:52:48 DEBUG ------------------------------------------------------------
binmode() on closed filehandle VERSION at SpecificConfig.pm line 50.
readline() on closed filehandle VERSION at SpecificConfig.pm line 51.
Use of uninitialized value in scalar chomp at SpecificConfig.pm line 52.
Use of uninitialized value in pattern match (m//) at SpecificConfig.pm line 55.
Argument "/var" isn't numeric in multiplication (*) at /usr/local/psa/PMM/agents/shared/HelpFuncs.pm line 217.
1+0 registres llegits
1+0 registres escrits
31457280 octets (31 MB) copiats, 0.356556 segons, 88.2 MB/s
binmode() on closed filehandle VERSION at SpecificConfig.pm line 50.
readline() on closed filehandle VERSION at SpecificConfig.pm line 51.
Use of uninitialized value in scalar chomp at SpecificConfig.pm line 52.
Use of uninitialized value in pattern match (m//) at SpecificConfig.pm line 55.
Runtime error: Unable to find Plesk versionfile: /usr/local/psa/version at PleskVersion.pm line 18.
 at PleskVersion.pm line 18
	PleskVersion::init('/usr/local/psa') called at PleskX.pm line 148
	PleskX::_init('PleskX=HASH(0x30cfc90)', 'Storage::FileStorage=HASH(0x30cfb30)', 'MigrationDumpStatus=HASH(0x30bb400)', '/usr/local/psa/PMM/agents/shared', 'undef') called at PleskX.pm line 66
	PleskX::new('PleskX', 'Storage::FileStorage=HASH(0x30cfb30)', 'MigrationDumpStatus=HASH(0x30bb400)', '/usr/local/psa/PMM/agents/shared', 'undef') called at /usr/local/psa/admin/bin/plesk_agent_manager line 549
	main::perform('verbose', 0, 'get-size', 1, 'split-size', 'undef', 'domains-id', 'ARRAY(0x187aca0)', 'session-path', ...) called at /usr/local/psa/admin/bin/plesk_agent_manager line 1311
	main::__ANON__() called at /usr/local/psa/PMM/agents/shared/Error.pm line 406
	eval {...} called at /usr/local/psa/PMM/agents/shared/Error.pm line 398
	Error::subs::try('CODE(0x30bb0e0)', 'HASH(0x30bb3b0)') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1319
	main::main() called at /usr/local/psa/admin/bin/plesk_agent_manager line 1323.

Plesk version: plesk-11.5.30-cos5-x86_64 MU13
 
Sorry, I can say nothing about this error. I suggest you contact Support Team. They will check and fix it directly on your server.
 
Did a more general solution emerge after this?
I upgraded a 10.5 Plesk to 11.5 last month and just noticed it hasn't been doing backups since.

I would like to have this solved...
Do I need to call in support?

Sorry Frater, but I can't help you. Finaly I use plesk backup manager to only backup the server configuration. I do backups of my data (www, mail and DB) using my own script.
 
Hi Igor,

I think I fixed it.
Things were taking very long with support and with their feedback I suspected an error with one of the perl modules.

I checked if XML::Simple was working and it wasn't.
I desperately tried to install XML::Simple with cpan, but this wasn't possible

I googled some more and one solution said me to try and install expat-devel.
So I did a "yum install expat-devel" (expat was already installed)

https://discussions.apple.com/thread/3737095
http://stackoverflow.com/questions/13986282/xmlparser-refusing-to-install

After this I used cpan again to install XML::Simple and this time I succeeded.
Before it would go wrong with "XML::parser::Expat"

I now have to inform Parallels Support
 
Last edited:
Status
Not open for further replies.
Back
Top