Go Back   Cloud Computing > Support > Tutorials and Documentation
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 10-31-11, 02:30
BOD Member
 
Join Date: Dec 2010
Posts: 170
Default Runtime error in pmmcli:

I am getting following error.
Quote:
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/pmmcli.py", 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/pmmcli.py", line 1338, in make_dump
return ActionRunner(MakeDumpAction, backup_task_description, None).doActivity()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 67, in doActivity
result = self.processor.doActivity()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 821, in doActivity
session_path = self.generateSessionPath()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 665, in generateSessionPath
os.mkdir(session_path)
OSError: [Errno 17] File exists: '/usr/local/psa/PMM/sessions/2009-05-17-000202.964'
Reply With Quote
  #2 (permalink)  
Old 10-31-11, 03:55
Moderator
 
Join Date: Nov 2010
Posts: 476
Default

Have you set the backup properly and the parameters are properly set for the backups scheduled in plesk panel ?
Reply With Quote
  #3 (permalink)  
Old 10-31-11, 04:33
BOD Member
 
Join Date: Dec 2010
Posts: 170
Default

scheduled backup is created successfully and properly in the*Plesk panel.
How can I stop such*backup notifications?
Reply With Quote
  #4 (permalink)  
Old 10-31-11, 05:05
Moderator
 
Join Date: Nov 2010
Posts: 476
Default

That problem with backup notifications generally occurs when the python version on the server is too old. The problem can be solved by upgrading python version on the server.
Reply With Quote
  #5 (permalink)  
Old 10-31-11, 05:30
BOD Member
 
Join Date: Dec 2010
Posts: 170
Default

Thank you, I have tried the solution of upgrading python version in the server, but still getting the *backup notifications.
Reply With Quote
  #6 (permalink)  
Old 10-31-11, 05:55
Moderator
 
Join Date: Nov 2010
Posts: 476
Default

May I know the Linux flavor you have in server “RedHat4, CentOS4, SuSE ES9”?
Reply With Quote
  #7 (permalink)  
Old 10-31-11, 06:08
BOD Member
 
Join Date: Dec 2010
Posts: 170
Default

CentOS4 with Plesk Panel version 9.0.
Reply With Quote
  #8 (permalink)  
Old 10-31-11, 06:22
Moderator
 
Join Date: Nov 2010
Posts: 476
Default

Python 2.4 is not provided is not provided for CentOS4, The hotfix is Replace existed file /usr/local/psa/admin/share/pmmcli/pmmcli.py with new one available in :

correct permissions with commands chown and chmod:

Quote:
~# chown root:root /usr/local/psa/admin/share/pmmcli/pmmcli.py
~# chmod 644 /usr/local/psa/admin/share/pmmcli/pmmcli.py
Check md5 sum with command md5sum:
Quote:
~# md5sum pmmcli.py
e554d590a62cc991a66f1d6cc470242e pmmcli.py
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 00:15.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.