• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Plesk BackUp Complete Failure (related to upgrade 9.2.3 - 9.3.0?)

S

StephanS

Guest
Dear All,

I did recently a clean install (OpenSuse 11.1, 64 bit) and the below error disappeared.
Now I see it back again for the server and all clients.

ERROR: PleskPMMResponseException

Failed to parse response. Reason: Failed to read data from stream Process output:

0: PMMConnector.php:537
PMMConnector->getResponse(object of type StreamXMLReader)
1: PMMConnector.php:63
PMMConnector->getDumpList(object of type PMMDumpsStorageCredentials, object of type PMMObjectSpecification)
2: BackupLocalRepositoryList.php:17
BackupLocalRepositoryList->fetchBackupLocalRepositoryList()
3: class.cList.php3:99
cList->fetchList()
4: class.cList.php3:118
cList->init()
5: backup.abstract-repository.php:46
__backup__abstract_repository->accessItemsList(string 'GET', NULL null)
6: backup.abstract-repository.php:26
__backup__abstract_repository->accessItem(string 'GET', NULL null)
7: UIPointer.php:596
UIPointer->access(string 'GET')
8: plesk.php:38

I also did an OpenSuse online update recently. Any suggestions?

Regards, Stephan
 
I can suggest you try to reinstall Plesk backup manager after Suse updating. I hope it will help.
 
Dear Igor, thanks for the hint.
I have removed and re-installed backup-manager but no change.
Kind Regards, Stephan
 
I have forwarded initial problem to developers for the further investigation. I will update this thread with results as soon as I receive it.
 
If you see in /var/log/sw-cp-server/error.log related errors like:

>>​ImportError: /usr/lib64/python2.6/site-packages/libxml2mod.so: undefined symbol: >>xmlSchemaValidCtxtGetParserCtxt

libxml2mod.so is from 'libxml2-python' and depends on 'libxml2' package.

Reinstall 'libxml2' package.

If you see errors like:

>>​ImportError: No module named encodings.idna

Reinstall 'python' package.
 
i have the same problem, but this fix isn't good for me

0: PMMConnector.php:537
PMMConnector->getResponse(object of type StreamXMLReader)
1: PMMConnector.php:63
PMMConnector->getDumpList(object of type PMMDumpsStorageCredentials, object of type PMMObjectSpecification)
2: BackupLocalRepositoryList.php:17
BackupLocalRepositoryList->fetchBackupLocalRepositoryList()
3: class.cList.php3:99
cList->fetchList()
4: class.cList.php3:118
cList->init()
5: backup.abstract-repository.php:46
__backup__abstract_repository->accessItemsList(string 'GET', NULL null)
6: backup.abstract-repository.php:26
__backup__abstract_repository->accessItem(string 'GET', NULL null)
7: UIPointer.php:596
UIPointer->access(string 'GET')
8: plesk.php:38


my error.log

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 1831, in main
pmmcli_log_dir = pmm_config.pmm_logs_directory()
File "/usr/local/psa/admin/share/pmmcli/pmm_config.py", line 65, 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: CGI_PHP_BIN /usr/bin/php-cgi
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 1831, in main
pmmcli_log_dir = pmm_config.pmm_logs_directory()
File "/usr/local/psa/admin/share/pmmcli/pmm_config.py", line 65, 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: CGI_PHP_BIN /usr/bin/php-cgi
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 1831, in main
pmmcli_log_dir = pmm_config.pmm_logs_directory()
File "/usr/local/psa/admin/share/pmmcli/pmm_config.py", line 65, 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: CGI_PHP_BIN /usr/bin/php-cgi
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 1831, in main
pmmcli_log_dir = pmm_config.pmm_logs_directory()
File "/usr/local/psa/admin/share/pmmcli/pmm_config.py", line 65, 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: CGI_PHP_BIN /usr/bin/php-cgi
 
Try to reinstall python and python-libxml packages. Contact support team if it not help.
 
i have reinstall python and libxml2 and it's the same problem

can i do a server reboot ?
 
Same Problem here with 9.2.3!

ERROR: PleskPMMResponseException

Failed to parse response. Reason: Failed to read data from stream Process output:
0: PMMConnector.php:537
PMMConnector->getResponse(object of type StreamXMLReader)
1: PMMConnector.php:63
PMMConnector->getDumpList(object of type PMMDumpsStorageCredentials, object of type PMMObjectSpecification)
2: BackupLocalRepositoryList.php:17
BackupLocalRepositoryList->fetchBackupLocalRepositoryList()
3: class.cList.php3:99
cList->fetchList()
4: class.cList.php3:118
cList->init()
5: backup.abstract-repository.php:46
__backup__abstract_repository->accessItemsList(string 'GET', NULL null)
6: backup.abstract-repository.php:26
__backup__abstract_repository->accessItem(string 'GET', NULL null)
7: UIPointer.php:596
UIPointer->access(string 'GET')
8: plesk.php:38

I've tried reinstalling some packets, which were proposed in some other threads, but it didn't help.
 
ERROR: PleskPMMResponseException

Failed to parse response. Reason: Failed to read data from stream Process output:
0: PMMConnector.php:537
PMMConnector->getResponse(object of type StreamXMLReader)
1: PMMConnector.php:63
PMMConnector->getDumpList(object of type PMMDumpsStorageCredentials, object of type PMMObjectSpecification)
2: BackupLocalRepositoryList.php:17
BackupLocalRepositoryList->fetchBackupLocalRepositoryList()
3: class.cList.php3:99
cList->fetchList()
4: class.cList.php3:118
cList->init()
5: backup.abstract-repository.php:46
__backup__abstract_repository->accessItemsList(string 'GET', NULL null)
6: backup.abstract-repository.php:26
__backup__abstract_repository->accessItem(string 'GET', NULL null)
7: UIPointer.php:596
UIPointer->access(string 'GET')
8: plesk.php:38

I've tried reinstalling some packets, which were proposed in some other threads, but it didn't help.

Check that there is not added incorrect declare of module CGI_PHP_BIN in /etc/psa/psa.conf file.
Also check that command
# /usr/local/psa/admin/sbin/pmmcli --get-dumps-list

works without any phyton errors.
 
Hi IgorG,

we have the same problem with our Suse 9.3 and Plesk Panel 9.5.2 server.
In the psa.conf is the entry
psa.conf said:
CGI_PHP_BIN /srv/www/cgi-bin/cgi_wrapper/cgi_wrapper

If i want to use the Backup Manager(ERROR: PleskPMMResponseException) and the Migration Manager(ERROR: Exception):
Error.log said:
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/usr/local/psa/admin/sbin/pmmcli", line 5, in ?
import pmmcli
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 1, in ?
import os
File "/usr/lib64/python2.4/os.py", line 397, in ?
import UserDict
File "/usr/lib64/python2.4/UserDict.py", line 8
exec env - PATH="/var/qmail/bin:$PATH" \
^
SyntaxError: invalid syntax

is a server restart necessary after your change in the last posting?
IgorG said:
Check that there is not added incorrect declare of module CGI_PHP_BIN in /etc/psa/psa.conf file.
Also check that command
Quote:
# /usr/local/psa/admin/sbin/pmmcli --get-dumps-list

My change would be: CGI_PHP_BIN /usr/local/psa/admin/sbin/pmmcli --get-dumps-list
Right?

Thank you and Greetings from germany,
Steffen
 
Last edited by a moderator:
Back
Top