• 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.

Error opening Panel after upgrade to Plesk 12.0.18

Is it really upgrade?
From which version?
Is prev. installation work w/o errors?

Show command output /su -l psaadm -s /bin/sh -c 'id -Gn'/
 
Component updates of 12.0.18

Yes, no errors before.

su -l psaadm -s /bin/sh -c 'id -Gn'
psaadm lock-manager swkey-data psaserv psasb
 
Need additional info:

su -l psaadm -s /bin/sh -c 'cat /etc/sw/keys/lock/repository'
ls -ld /etc/sw /etc/sw/keys /etc/sw/keys/lock /etc/sw/keys/lock/repository
 
su -l psaadm -s /bin/sh -c 'cat /etc/sw/keys/lock/repository'
cat: /etc/sw/keys/lock/repository: Permission denied

ls -ld /etc/sw /etc/sw/keys /etc/sw/keys/lock /etc/sw/keys/lock/repository
drwxr-xr-x 3 root root 4096 Aug 9 18:06 /etc/sw
drwxrws--- 7 psaadm swkey-data 4096 Aug 13 01:40 /etc/sw/keys
drwxrws--- 2 psaadm swkey-data 4096 Aug 9 18:48 /etc/sw/keys/lock
-rwx------ 1 root swkey-data 0 Jun 8 2012 /etc/sw/keys/lock/repository

Ubuntu 12.04 LTS (Precise Pangolin)

Thank you.
 
First of all backup /etc/sw content: cp -pr /etc/sw ~/

Then need to install correct permissions and owner:
find /etc/sw/keys -user psaadm | xargs chown root:swkey-data
chmod 4510 /etc/sw/keys/restart/*
chmod 0660 /etc/sw/keys/lock/*
 
Last edited:
Hello

I have same problem on Windows 2008 R2 with Plesk 12
I contact support .
they solve this problem but after one day problem came back
i attach error log...
please help me to solve problem
 

Attachments

  • error.txt
    4.1 KB · Views: 3
I seem to have the same or a similar issue. Tried several things posted in this thread, but unable to fix this.

# cat /root/.autoinstaller/microupdates.xml

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<patches>
<product id="plesk" version="12.0.18" installed-at="20140825T075459">
<patch version="40" timestamp="" installed-at="20150403T131430" />
</product>
</patches>​

# ls -ld /dev/shm/

drwxrwxrwt 2 root root 60 Apr 3 13:28 /dev/shm/​

# ls -la /dev/shm/

total 12
drwxrwxrwt 2 root root 60 Apr 3 13:28 .
drwxr-xr-x 8 root root 2120 Apr 3 07:20 ..
-rw-rw---- 1 root lock-manager 8388608 Apr 3 13:30 SharedLockManagerStorage_v2-a7bea213f1​

# cat /etc/lock_manager.ini

[shm]
name=SharedLockManagerStorage_v2-a7bea213f1​

# su -l psaadm -s /bin/sh -c 'id -Gn'

psaadm lock-manager swkey-data psaserv psasb​

# su -l psaadm -s /bin/sh -c 'cat /etc/sw/keys/lock/repository'

# ls -ld /etc/sw /etc/sw/keys /etc/sw/keys/lock /etc/sw/keys/lock/repository

drwxr-xr-x 3 root root 4096 Jun 6 2014 /etc/sw
drwxrws--- 7 root swkey-data 4096 Apr 3 04:03 /etc/sw/keys
drwxrws--- 2 root swkey-data 4096 Apr 3 13:20 /etc/sw/keys/lock
-rw-rw---- 1 root swkey-data 0 Apr 3 13:20 /etc/sw/keys/lock/repository​

# cat /etc/redhat-release

CentOS release 6.6 (Final)​
 
and panel.log:

[03-Apr-2015 13:35:15 Europe/Berlin] Exception: Permission denied
file: /usr/local/psa/admin/plib/Lock/Manager/Hierarchical.php
line: 105
code: 0
trace: #0 /usr/local/psa/admin/plib/Lock/Manager/Hierarchical.php(105): LockManagerClient->__construct()
#1 /usr/local/psa/admin/plib/Lock/Manager/Hierarchical.php(182): Plesk\Lock\Manager_Hierarchical->_getClient()
#2 /usr/local/psa/admin/plib/Lock/Manager/Hierarchical.php(146): Plesk\Lock\Manager_Hierarchical->_applyLockIfFree('', Object(Plesk\Lock\Resource))
#3 /usr/local/psa/admin/plib/Lock/Manager.php(97): Plesk\Lock\Manager_Hierarchical->lockIfFree(Object(Plesk\Lock\Resource), '')
#4 /usr/local/psa/admin/plib/Lock.php(56): Plesk\Lock\Manager->lockIfFree(1, Array, '')
#5 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(74): Plesk\Lock::writeIfFree(Object(Plesk\Lock\Object_Service), '', Array)
#6 /usr/local/psa/admin/plib/CommonPanel/Controller/Helper/WebService.php(47): Template_Configuration_Applier::blockStartTransaction()
#7 /usr/local/psa/admin/application/admin/controllers/HomeController.php(179): CommonPanel_Controller_Helper_WebService::getFailedConfigurationError()
#8 /usr/local/psa/admin/application/admin/controllers/HomeController.php(44): Admin_HomeController->_prepareSystemOverview()
#9 /usr/local/psa/admin/externals/Zend/Controller/Action.php(516): Admin_HomeController->adminAction()
#10 /usr/local/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('adminAction')
#11 /usr/local/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#12 /usr/local/psa/admin/plib/Application/Web.php(38): Zend_Controller_Front->dispatch(NULL)
#13 /usr/local/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()
#14 {main}

[2015-04-03 13:35:16] ERR [panel] Exception: Permission denied
file: /usr/local/psa/admin/plib/Lock/Manager/Hierarchical.php
line: 105
code: 0
 
Turns out our problem was Virtuozzo-related. The container running Plesk was made using a particular old template which had this limit in the vz.conf:

SHMPAGES="9223372036854775807:9223372036854775807"

Even though the limit is seemingly high, this caused Plesk to fail. After removing that line (and all the other UBC params except PHYSPAGES and SWAPPAGES) and rebooting the container the problem was solved. This could also be useful to OpenVZ or PCS servers.
 
Back
Top