Article ID: 6379, created on May 28, 2009, last review on May 10, 2014

  • Applies to:
  • Plesk 9.0 for Linux/Unix


Parallels Plesk Panel is running on server based on operating system RedHat4, CentOS4 or SuSE ES9.

I receive the following error in scheduled backup notification:

Runtime error in pmmcli:
exceptions.OSError [Errno 17] File exists: '/usr/local/psa/PMM/sessions/2009-05-17-000202.964'
Traceback (most recent call last):
File "/usr/local/psa/admin/share/pmmcli/", line 1417, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "/usr/local/psa/admin/share/pmmcli/", line 1338, in make_dump
return ActionRunner(MakeDumpAction, backup_task_description, None).doActivity()
File "/usr/local/psa/admin/share/pmmcli/", line 67, in doActivity
result = self.processor.doActivity()
File "/usr/local/psa/admin/share/pmmcli/", line 821, in doActivity
session_path = self.generateSessionPath()
File "/usr/local/psa/admin/share/pmmcli/", line 665, in generateSessionPath
OSError: [Errno 17] File exists: '/usr/local/psa/PMM/sessions/2009-05-17-000202.964'

However scheduled backup is created successfully.

How to stop this error in scheduled backup notifications?


If python 2.3.4 was installed then the problem is caused by long time of generation of random numbers in python 2.3.4.
You may check python version with "rpm -q". For example:

~# rpm -q python

This causes several session directories got similar name and Plesk Backup Manager failed with the error.


The problem may be fixed if upgrade python to version 2.4 or above.
Python 2.4 is not provided with RedHat4, CentOS4, SuSE ES9 and upgrading is not recommended.

Hotfix for Parallels Plesk Panel version 9.0 is in the attachment.  Replace existed file /usr/local/psa/admin/share/pmmcli/ with attached one and correct permissions.
You may correct permissions with commands chown and chmod:

~# chown root:root /usr/local/psa/admin/share/pmmcli/
~# chmod 644 /usr/local/psa/admin/share/pmmcli/

Please remember to backup old file

NOTE: Do not modify the script. Modified script may cause problems in Plesk Backup Manager. After the script is installed verify it has correct md5 sum. Check md5 sum with command md5sum:

~# md5sum

In case md5 sum does not match download and install the script anew.

IMPORTANT: The hotfix is good for Parallels Plesk Panel 9.0 only. Plesk Backup Manager has changed since version 9.2 and the hotfix is invalid.


6ef0db7f1685482449634a455d77d3f4 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 4f57df935e9acf8d18830757d2346419 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF