store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Tue May 21, 2013 9:02 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 7 posts ] 
Author Message
 Post subject: ERROR: PleskPMMResponseException on Backup Manager
Unread postPosted: Fri Apr 13, 2012 4:41 am 
Offline
Forum User
Forum User

Joined: Tue Jul 19, 2011 6:30 am
Posts: 69
Location: United Kingdom
All of our client accounts are showing the following error message:

ERROR: PleskPMMResponseException
Failed to parse response. Reason: Failed to read data from stream Process output:
0: PMMConnector.php:635
PMMConnector->getResponse(object of type StreamXMLReader)
1: PMMConnector.php:69
PMMConnector->getDumpList(object of type PMMDumpsStorageCredentials, object of type PMMObjectSpecification)
2: BackupLocalRepositoryList.php:17
BackupLocalRepositoryList->fetchBackupLocalRepositoryList()
3: cList.php:85
cList->fetchList()
4: cList.php:104
cList->init()
5: backup.abstract-repository.php:45
__backup__abstract_repository->accessItemsList(string 'GET', NULL null)
6: backup.abstract-repository.php:25
__backup__abstract_repository->accessItem(string 'GET', NULL null)
7: UIPointer.php:595
UIPointer->access(string 'GET')
8: plesk.php:45

Any advice on how to go about fixing it?
Centos 5.7 + Plesk 10.4.4

Searching on the net - seems like a lot of people have had that but no clear way of fixing it.


Top
 Profile  
 
 Post subject: Re: ERROR: PleskPMMResponseException on Backup Manager
Unread postPosted: Fri Apr 13, 2012 8:14 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7425
Location: earth
Do you happen to deal with any UTF-8 encodings in domain or usernames?


Top
 Profile  
 
 Post subject: Re: ERROR: PleskPMMResponseException on Backup Manager
Unread postPosted: Fri Apr 13, 2012 10:58 am 
Offline
Forum User
Forum User

Joined: Tue Jul 19, 2011 6:30 am
Posts: 69
Location: United Kingdom
Hi Scott,

No - not that we are aware of.


Top
 Profile  
 
 Post subject: Re: ERROR: PleskPMMResponseException on Backup Manager
Unread postPosted: Mon Apr 16, 2012 6:57 am 
Offline
Forum User
Forum User

Joined: Tue Jul 19, 2011 6:30 am
Posts: 69
Location: United Kingdom
Managed to go through the plesk log for more information:



Traceback (most recent call last):
File "/usr/local/psa/admin/sbin/pmmcli", line 6, in ?
pmmcli.main()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2176, in main
pmmcli_log_dir = pmm_config.pmm_logs_directory()
File "/usr/local/psa/admin/share/pmmcli/pmm_config.py", line 71, in pmm_logs_directory
return os.path.join(get("PRODUCT_ROOT_D"),"PMM","logs")
File "/usr/local/psa/admin/lib/python/plesk_config.py", line 19, in get
instance = PleskConfig()
File "/usr/local/psa/admin/lib/python/plesk_config.py", line 32, in __init__
self.__parse(configName)
File "/usr/local/psa/admin/lib/python/plesk_config.py", line 58, in __parse
raise ExInvalidConfigLine, line
plesk_config.ExInvalidConfigLine: Invalid config line:

2012-04-13 11:26:26: (mod_fastcgi.c.2588) FastCGI-stderr: PleskPMMResponseException: Failed to parse response. Reason: Failed to read data from stream Process output:
file: /usr/local/psa/admin/plib/backup/protocol/PMMConnector.php
line: 635
code: 0
trace: #0 /usr/local/psa/admin/plib/backup/protocol/PMMConnector.php(69): PMMConnector->getResponse(Object(StreamXMLReader))
#1 /usr/local/psa/admin/plib/backup/BackupLocalRepositoryList.php(17): PMMConnector->getDumpList(Object(PMMDumpsStorageCredentials), Object(PMMObjectSpecification))
#2 /usr/local/psa/admin/plib/cList.php(85): BackupLocalRepositoryList->fetchBackupLocalRepositoryList()
#3 /usr/local/psa/admin/plib/cList.php(104): cList->fetchList()
#4 /usr/local/psa/admin/plib/backup/ui/backup.abstract-repository.php(45): cList->init()
#5 /usr/local/psa/admin/plib/backup/ui/backup.abstract-repository.php(25): __backup__abstract_repository->accessItemsList('GET', NULL)
#6 /usr/local/psa/admin/plib/UIPointer.php(595): __backup__abstract_repository->accessItem('GET', NULL)
#7 /usr/local/psa/admin/htdocs/plesk.php(45): UIPointer->access('GET')
#8 {main}


Top
 Profile  
 
 Post subject: Re: ERROR: PleskPMMResponseException on Backup Manager
Unread postPosted: Mon Apr 16, 2012 7:17 am 
Offline
Forum User
Forum User

Joined: Tue Jul 19, 2011 6:30 am
Posts: 69
Location: United Kingdom
I have just tried reinstalling both python and libxml2 but unfortunately still no luck.


Top
 Profile  
 
 Post subject: Re: ERROR: PleskPMMResponseException on Backup Manager
Unread postPosted: Mon Apr 16, 2012 12:18 pm 
Offline
Forum User
Forum User

Joined: Tue Jul 19, 2011 6:30 am
Posts: 69
Location: United Kingdom
Found the issue.

The Plesk python script was parsing the plesk conf file, it recognized to skip "\n" but not "\n " resulting in the configuration settings not being parsed correctly. This was after parallels did some fixing on it. :l


Top
 Profile  
 
 Post subject: Re: ERROR: PleskPMMResponseException on Backup Manager
Unread postPosted: Mon Apr 16, 2012 5:19 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7425
Location: earth
The curse of the newline :P I just went through something equally insidious where the application would lose state of a variable in a shell script if you were going through the vmware console (If it happens to you... its UTF-8 shenanigans, set your LANG to C)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 7 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group