Hi all,
today I sort of messed up my Plesk 11 on a Debian server.
I unfortunately installed it on a Debian 5 server although it only works on Debian 6.
Subsequently I installed Debian 6.
This somehow seems to have killed a lot of permissions and user rights for files.
After solving the following problems through the given Plesk fixes:
http://forum.parallels.com/showthread.php?t=112071
http://forum.parallels.com/showthread.php?t=208763&page=2
I still get a "ERROR: PleskPMMResponseException" when I try to enter the Backup Manager.
This was first accompanied by the following error message:
I then ran
Now the error_log reads the following:
What can I do to fix this problem?
Is there any way to re-install Plesk WITHOUT losing all the data and not being able to back it up beforehand?
I appreciate any help!
Yours, looser9
today I sort of messed up my Plesk 11 on a Debian server.
I unfortunately installed it on a Debian 5 server although it only works on Debian 6.
Subsequently I installed Debian 6.
This somehow seems to have killed a lot of permissions and user rights for files.
After solving the following problems through the given Plesk fixes:
http://forum.parallels.com/showthread.php?t=112071
http://forum.parallels.com/showthread.php?t=208763&page=2
I still get a "ERROR: PleskPMMResponseException" when I try to enter the Backup Manager.
This was first accompanied by the following error message:
ERROR: PleskPMMResponseException
Failed to parse response. Reason: Failed to read data from stream Process output:
0: PMMConnector.php:637
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:70
__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
I then ran
to get the user rights correct as the /var/log/sw-cp-server/error_log readchown -R psaadm.psaadm /opt/psa/PMM/logs/
IOError: [Errno 13] Permission denied: '/opt/psa/PMM/logs/pmmcli.log'
2012-07-18 01:58:08: (mod_fastcgi.c.2746) FastCGI-stderr: PleskPMMResponseException: Failed to parse response. Reason: Failed to read data from stream Process output:
file: /opt/psa/admin/plib/backup/protocol/PMMConnector.php
line: 637
code: 0
trace: #0 /opt/psa/admin/plib/backup/protocol/PMMConnector.php(69): PMMConnector->getResponse(Object(StreamXMLReader))
#1 /opt/psa/admin/plib/backup/BackupLocalRepositoryList.php(17): PMMConnector->getDumpList(Object(PMMDumpsStorageCredentials), Object(PMMObjectSpecification))
#2 /opt/psa/admin/plib/cList.php(85): BackupLocalRepositoryList->fetchBackupLocalRepositoryList()
#3 /opt/psa/admin/plib/cList.php(104): cList->fetchList()
#4 /opt/psa/admin/plib/backup/ui/backup.abstract-repository.php(70): cList->init()
#5 /opt/psa/admin/plib/backup/ui/backup.abstract-repository.php(25): __backup__abstract_repository->accessItemsList('GET', NULL)
#6 /opt/psa/admin/plib/UIPointer.php(595): __backup__abstract_repository->accessItem('GET', NULL)
#7 /opt/psa/admin/htdocs/plesk.php(45): UIPointer->access('GET')
#8 {main}
Now the error_log reads the following:
2012-07-18 02:03:23: (server.c.1543) server stopped by UID = 0 PID = 26598
2012-07-18 02:03:29: (log.c.166) server started
PHP Warning: file_get_contents(/root/.autoinstaller/microupdates.xml): failed to open stream: Permission denied in /opt/psa/admin/sbin/logmng on line 49
2012-07-18 02:03:35: (mod_fastcgi.c.2746) FastCGI-stderr: PleskUtilException: /opt/psa/admin/bin/logmng '/root/.autoinstaller/microupdates.xml' failed with message: Invalid log file /root/.autoinstaller/microupdates.xml requested
file: /opt/psa/admin/plib/common_func.php3
line: 1071
code: 0
trace: #0 /opt/psa/admin/plib/common_func.php3(989): util_exec('logmng', Array, Array, 'lst', NULL)
#1 /opt/psa/admin/plib/Os.php(17): smart_exec('logmng', Array, Array, 'lst')
#2 /opt/psa/admin/plib/CommonPanel/Update/Patch.php(15): Os::exec('logmng', Array, 'lst')
#3 /opt/psa/admin/plib/CommonPanel/Controller/Helper/Update.php(30): CommonPanel_Update_Patch::getVersion()
#4 /opt/psa/admin/panel/application/controllers/HomeController.php(129): CommonPanel_Controller_Helper_Update::getSystemOverview(Object(Zend_View))
#5 /opt/psa/admin/panel/application/controllers/HomeController.php(44): HomeController->_prepareSystemOverview()
#6 /opt/psa/admin/plib/Zend/Controller/Action.php(513): HomeController->adminAction()
#7 /opt/psa/admin/plib/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('adminAction')
#8 /opt/psa/admin/plib/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /opt/psa/admin/panel/application/library/AdminPanel/Application/Web.php(20): Zend_Controller_Front->dispatch()
#10 /opt/psa/admin/panel/application/public/index.php(15): AdminPanel_Application_Web->run()
#11 {main}
2012-07-18 02:03:43: (mod_fastcgi.c.2746) FastCGI-stderr: PleskPMMResponseException: Unknown data type .
file: /opt/psa/admin/plib/backup/protocol/PMMResponse.php
line: 144
code: 0
trace: #0 /opt/psa/admin/plib/backup/BackupManagerForm.php(79): PMMResponse->getData()
#1 /opt/psa/admin/plib/backup/BackupManagerForm.php(153): BackupManagerForm->checkRestoreTasks()
#2 /opt/psa/admin/plib/backup/ui/backup.abstract-repository.php(72): BackupManagerForm->assign(Object(plesk__server__backup__local_repository), Object(BackupManagerScreenTabs), Object(BackupLocalRepositoryList))
#3 /opt/psa/admin/plib/backup/ui/backup.abstract-repository.php(25): __backup__abstract_repository->accessItemsList('GET', NULL)
#4 /opt/psa/admin/plib/UIPointer.php(595): __backup__abstract_repository->accessItem('GET', NULL)
#5 /opt/psa/admin/htdocs/plesk.php(45): UIPointer->access('GET')
#6 {main}
What can I do to fix this problem?
Is there any way to re-install Plesk WITHOUT losing all the data and not being able to back it up beforehand?
I appreciate any help!
Yours, looser9