• 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

Error on /plesk/server/backup

M

mezzomix

Guest
I wanted to start a backup and ended up with this error:
ERROR: PleskPMMResponseException

Up Level
Failed to exec pmm cli. proc_open failed: date_default_timezone_get() [<a href='function.date-default-timezone-get'>function.date-default-timezone-get</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead

0: PMMConnector.php:506
PMMConnector->exec(string 'get-dumps-list', boolean true)
1: PMMConnector.php:57
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:595
UIPointer->access(string 'GET')
8: plesk.php:45


Now when I navigate to the backup page /plesk/server/backup, I end up with this error and get redirected to the settings page:


Error: Runtime error in pmmcli:
<type 'exceptions.OSError'> [Errno 12] Cannot allocate memory
Traceback (most recent call last):
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 2039, in main
data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 1857, in get_dumps_list
return ActionRunner(GetDumpsListAction, dump_list_query, None).doActivity()
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 150, in doActivity
result = self.processor.doActivity()
File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 222, in doActivity
result_dump_list, errcode, message = access_service(dumps_storage_credentials).getDumpList(object_specification)
File "/opt/psa/admin/share/pmmcli/pmm_repository_access_service.py", line 193, in getDumpList
dump_list, errcode, message = self._pmmras_get_dump_list(object_specification.get_type(),object_specification.get_guid(),object_specification.get_id(),object_specification.get_name())
File "/opt/psa/admin/share/pmmcli/pmm_repository_access_service.py", line 76, in _pmmras_get_dump_list
proc = cmd.spawn()
File "/opt/psa/admin/lib/python/subproc.py", line 236, in spawn
keepStderr = keepStderr)
File "/opt/psa/admin/lib/python/subproc.py", line 73, in __init__
self.__forkexec()
File "/opt/psa/admin/lib/python/subproc.py", line 127, in __forkexec
self.__process = subprocess.Popen(self.__get_cmd(), stdin = _stdin , stdout = self.__stdout, stderr = self.__stderr, env = self.__env)
File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
errread, errwrite)
File "/usr/lib/python2.5/subprocess.py", line 1069, in _execute_child
self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
 
It looks like Plesk was not successfully upgraded/installed.
Try to run bootstrapper repair as it is described in http://kb.odin.com/en/9266
Contact support team if you can't fix it by yourself.
"Cannot allocate memory" error means lack of resources if it is Virtuozzo VPS. Did you checked it?
 
Back
Top