• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Backup problem

B

Beermonster

Guest
I have a problem with the backup option in my domains, when I go to it I get the following error, I've tried looking for the fix but can't find it anywhere.

Code:
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
 
Check your /var/log/sw-cp-server/error_log log file. There are should be python errors. It looks like that you have broken python and libxml2 packages installation. Try to reinstall them. It should help.
 
What command do I use to reinstall? my logs show this

Code:
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 13, in ?
    import pmm_task
  File "/usr/local/psa/admin/share/pmmcli/pmm_task.py", line 18, in ?
    from pmm_api_xml_protocols import TaskStatus, Stopped, Finished, TaskLog, WorkingProgress, Working, S$
ImportError: cannot import name TaskStatusRestore
2011-06-19 11:39:22: (log.c.135) server stopped
2011-06-19 11:39:23: (log.c.75) server started
2011-06-19 11:39:23: (mod_fastcgi.c.1337) Dynamic spawning with max_procs > 1 is not supported; setting m$
2011-06-19 11:39:23: (mod_fastcgi.c.1337) Dynamic spawning with max_procs > 1 is not supported; setting m$
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 13, in ?
    import pmm_task
  File "/usr/local/psa/admin/share/pmmcli/pmm_task.py", line 18, in ?
    from pmm_api_xml_protocols import TaskStatus, Stopped, Finished, TaskLog, WorkingProgress, Working, S$
ImportError: cannot import name TaskStatusRestore
2011-06-19 11:43:08: (log.c.135) server stopped
2011-06-19 11:45:28: (log.c.75) server started
2011-06-19 11:45:28: (mod_fastcgi.c.1337) Dynamic spawning with max_procs > 1 is not supported; setting m$
2011-06-19 11:45:28: (mod_fastcgi.c.1337) Dynamic spawning with max_procs > 1 is not supported; setting m$
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 13, in ?
    import pmm_task
  File "/usr/local/psa/admin/share/pmmcli/pmm_task.py", line 18, in ?
    from pmm_api_xml_protocols import TaskStatus, Stopped, Finished, TaskLog, WorkingProgress, Working, S$
ImportError: cannot import name TaskStatusRestore
2011-06-20 02:12:52: (mod_fastcgi.c.2588) FastCGI-stderr: PHP Notice:  Undefined variable: local_auth in $
PHP Notice:  Undefined variable: force_auth in /usr/local/psa/admin/htdocs/login_up.php3 on line 145

2011-06-20 02:13:21: (mod_fastcgi.c.2588) FastCGI-stderr: PHP Notice:  Undefined variable: local_auth in $
PHP Notice:  Undefined variable: force_auth in /usr/local/psa/admin/htdocs/login_up.php3 on line 145
 
You should reinstall these packages with usual method of package manager for your OS - rpm or deb. Use official OS vendor repository. Contact Support Team if you can't do it by yourself.
 
Back
Top