Article ID: 121319, created on Apr 25, 2014, last review on May 9, 2014

  • Applies to:
  • Plesk 11.5 for Linux

Symptoms

An attempt to create backup fails with the following error:

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

The following error can be observed in the /usr/local/psa/PMM/logs/pmmcli.log

[2014-04-25 10:25:12.995|2095] INFO: Subprocess raised ExecuteException: Subprocess <subprocess[2096] '/usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager domains-id --get-size -c --session-path=/usr/local/psa/PMM/sessions/2014-04-25-102512.178 60'> was finished with exit code 1
== STDOUT ====================

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

[2014-04-25 10:25:12.997|2095] CRITICAL: PMMUtility exception:
Subprocess <subprocess[2096] '/usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager domains-id --get-size -c --session-path=/usr/local/psa/PMM/sessions/2014-04-25-102512.178 60'> 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

Cause

Plesk Panel version file is missing:

# ls -l /usr/local/psa/version
ls: cannot access /usr/local/psa/version: No such file or directory

Resolution

Create Plesk Panel version file:

  1. Copy content from the /usr/local/psa/core.version if core.version exists:

    #cat /usr/local/psa/core.version > /usr/local/psa/version
    
  2. Run the following command to create version file:

CentOS:

    # echo "11.5.30" > /usr/local/psa/version
    # lsb_release -a | grep Description | awk '{print $2}' >> /usr/local/psa/version
    # lsb_release -a | grep Release| awk '{print $2}' | awk -F '.' '{print $1}' >> /usr/local/psa/version
    # rpm -qi pp11.5.30-bootstrapper | grep Release | awk '{print $3}' | awk -F 'build' '{print $2}' >> /usr/local/psa/version
    # perl -p -i -e 's/\R/ /g;' /usr/local/psa/version

Debian:

    # echo "11.5.30" > /usr/local/psa/version
    # lsb_release -a | grep Description | awk '{print $2}' >> /usr/local/psa/version
    # lsb_release -a | grep Release| awk '{print $2}' >> /usr/local/psa/version
    # dpkg -l pp11.5.30-bootstrapper | grep build | awk '{print $3}' | awk -F 'build' '{print $2}' >> /usr/local/psa/version
    # perl -p -i -e 's/\R/ /g;' /usr/local/psa/version

Ubuntu:

    # echo "11.5.30" > /usr/local/psa/version
    # lsb_release -a | grep Description | awk '{print $2}' >> /usr/local/psa/version
    # lsb_release -a | grep Release| awk '{print $2}' >> /usr/local/psa/version
    # dpkg -l pp11.5.30-bootstrapper | grep build | awk '{print $3}' | awk -F 'build' '{print $2}' >> /usr/local/psa/version
    # perl -p -i -e 's/\R/ /g;' /usr/local/psa/version

The core.version should look like

# cat /usr/local/psa/version
11.5.30 CentOS 6 115140407.17
# ls -l /usr/local/psa/version_x
-rw-r--r-- 1 root root 30 Apr 25 10:53 /usr/local/psa/version

Note: do not pay attention on the possible waniing like: "No LSB modules are available."

Search Words

pmm-ras error (Error code = 1)

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

Runtime error: File does not exist: at /opt/psa/PMM/agents/PleskX/PleskStructure.pm line 650 at /usr/share/perl5/XML/Simple.pm line 940 XML::Simple::find_xml_file('XML::Simple=HASH(0x9451510)', '') called at /usr/share/perl5/XML/Simple.pm line 215 XML::Simple::parse_file('XML::Simple=HASH(0x9451510)', '', 'KeyAttr', 'ARRAY(0x9451560)') called at /usr/share/perl5/XML/Simple.pm line 195 XML::Simple::XMLin('XML::Simple=HASH(0x9451510)', '', 'KeyAttr', 'ARRAY(0x9451560)') called at /opt/psa/PMM/agents/PleskX/PleskStructure.pm line 650 PleskStructure::__populateServiceNodes() called at /opt/psa/PMM/agents/PleskX/PleskStructure.pm line 381 PleskStructure::__init111() called at /opt/psa/PMM/agents/PleskX/PleskStructure.pm line 44 PleskStructure::init('Db::Connection=HASH(0x9402300)') called at /opt/psa/PMM/agents/PleskX/PleskX.pm line 170 PleskX::_init('PleskX=HASH(0x9422d10)', 'Storage::FileStorage=HASH(0x9422ca0)', 'MigrationDumpStatus=HASH(0x9402de0)', '/opt/psa/PMM/agents/shared'

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF