ERROR: PleskPMMResponseException on Backup Manager

Community support for Plesk, CPanel, WebMin and others with insight from two of the founders of Plesk. Ask for help here! No question is too simple or complicated. :-)
douglaseggleton
Forum User
Forum User
Posts: 69
Joined: Tue Jul 19, 2011 6:30 am
Location: United Kingdom

ERROR: PleskPMMResponseException on Backup Manager

Unread post by douglaseggleton »

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.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: ERROR: PleskPMMResponseException on Backup Manager

Unread post by scott »

Do you happen to deal with any UTF-8 encodings in domain or usernames?
douglaseggleton
Forum User
Forum User
Posts: 69
Joined: Tue Jul 19, 2011 6:30 am
Location: United Kingdom

Re: ERROR: PleskPMMResponseException on Backup Manager

Unread post by douglaseggleton »

Hi Scott,

No - not that we are aware of.
douglaseggleton
Forum User
Forum User
Posts: 69
Joined: Tue Jul 19, 2011 6:30 am
Location: United Kingdom

Re: ERROR: PleskPMMResponseException on Backup Manager

Unread post by douglaseggleton »

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}
douglaseggleton
Forum User
Forum User
Posts: 69
Joined: Tue Jul 19, 2011 6:30 am
Location: United Kingdom

Re: ERROR: PleskPMMResponseException on Backup Manager

Unread post by douglaseggleton »

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

Re: ERROR: PleskPMMResponseException on Backup Manager

Unread post by douglaseggleton »

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
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: ERROR: PleskPMMResponseException on Backup Manager

Unread post by scott »

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)
Post Reply