• 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: Exception - Permission denied: "/var/lock/lmlib"

pleskuser

New Pleskian
Hello, after try to update/install some apps I get this error:
boost::filesystem::status: Permission denied: "/var/lock/lmlib"

I looked at the plesk help : http://kb.odin.com/es/122288 and found that /var/lock/lmlib/container_locks didn't exists , so I create it.

I'm running CentOS 6 con Parallels Plesk Panel 12 (64 bit)

there are some logs:

[root@s17969341 ~]# stat /var/lock/lmlib/container_locks File: «/var/lock/lmlib/container_locks»
Size: 4096 Blocks: 8 IO Block: 4096 directorio
Device: 916dh/37229d Inode: 413860732 Links: 2
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2014-12-04 21:02:49.000000000 +0100
Modify: 2014-12-04 21:02:49.000000000 +0100
Change: 2014-12-04 21:02:49.000000000 +0100

[root@s17969341 ~]# stat /var/lock/lmlib
File: «/var/lock/lmlib»
Size: 4096 Blocks: 8 IO Block: 4096 directorio
Device: 916dh/37229d Inode: 413860474 Links: 3
Access: (0700/drwx------) Uid: ( 0/ root) Gid: ( 498/lock-manager)
Access: 2014-06-27 14:26:31.000000000 +0200
Modify: 2014-12-04 21:02:49.000000000 +0100
Change: 2014-12-04 21:02:49.000000000 +0100

[root@s17969341 ~]# stat /var/lock
File: «/var/lock»
Size: 4096 Blocks: 8 IO Block: 4096 directorio
Device: 916dh/37229d Inode: 412131954 Links: 5
Access: (0700/drwx------) Uid: ( 0/ root) Gid: ( 54/ lock)
Access: 2014-12-03 11:34:21.000000000 +0100
Modify: 2014-12-04 20:12:09.000000000 +0100
Change: 2014-12-04 21:01:30.000000000 +0100

[root@s17969341 ~]# cat /usr/local/psa/version
12.0.18 CentOS 6 1200140513.16

[root@s17969341 ~]# /usr/sbin/getenforce
Disabled
 
You have incorrect permissions there. On my test Plesk 12.0.8 CentOS 6 server I see:

# stat /var/lock/lmlib
File: `/var/lock/lmlib'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 1dh/29d Inode: 34276652 Links: 3
Access: (0770/drwxrwx---) Uid: ( 0/ root) Gid: ( 499/lock-manager)


# stat /var/lock/lmlib/container_locks
File: `/var/lock/lmlib/container_locks'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 1dh/29d Inode: 34278619 Links: 3
Access: (0770/drwxrwx---) Uid: ( 0/ root) Gid: ( 499/lock-manager)
 
Hello,
I change the permissions to 0770 and reboot but still the error:

boost::filesystem::status: Permission denied: "/var/lock/lmlib"

[root@s17969341 service]# stat /var/lock/lmlib
File: «/var/lock/lmlib»
Size: 4096 Blocks: 8 IO Block: 4096 directorio
Device: 916dh/37229d Inode: 413860474 Links: 3
Access: (0770/drwxrwx---) Uid: ( 0/ root) Gid: ( 498/lock-manager)
Access: 2014-12-06 04:03:19.000000000 +0100
Modify: 2014-12-04 21:02:49.000000000 +0100
Change: 2014-12-05 14:58:31.000000000 +0100

[root@s17969341 service]# stat /var/lock/lmlib/container_locks
File: «/var/lock/lmlib/container_locks»
Size: 4096 Blocks: 8 IO Block: 4096 directorio
Device: 916dh/37229d Inode: 413860732 Links: 3
Access: (0770/drwxrwx---) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2014-12-06 12:05:46.000000000 +0100
Modify: 2014-12-06 12:02:51.000000000 +0100
Change: 2014-12-06 12:02:51.000000000 +0100



Any idea what can I do? I'm a bit lost with linux.

Thanks
 
# stat /var/lock/lmlib/container_locks
File: «/var/lock/lmlib/container_locks»
Size: 4096 Blocks: 8 IO Block: 4096 directorio
Device: 916dh/37229d Inode: 413860732 Links: 3
Access: (0770/drwxrwx---) Uid: ( 0/ root) Gid: ( 498/lock-manager)
Access: 2014-12-06 12:05:46.000000000 +0100
Modify: 2014-12-06 12:02:51.000000000 +0100
Change: 2014-12-06 12:26:06.000000000 +0100
 
I can only recommend to create a request to support team to do in-depth investigation to find the reason and to fix it. Please create a ticket to support at https://odin.com/hcap/support/request/ .
You may have free support, please check what kind of Plesk license you use for available support options at http://kb.odin.com/en/121580 .
If there’s no free support in your case, you can order Plesk per-incident support at http://odin.com/hcap/support/buy-support/. Support team will contact you as soon as purchase is processed, and they will do the best to resolve it.
If it is found that your problem was caused by product bug w/o available solution or workaround from Parallels, then your purchase will be re-funded.
 
At the end I manage to solve it doing the same as other user explained in other thread, rename folder "locks" and create it and the subfolders again.

But now the backup doesn't work ...
 
Back
Top