• 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

Question Error: Failed to unhibernate client: net_connect_unix(/var/run/dovecot/imap-master) failed: Permission denied

tkalfaoglu

Silver Pleskian
I'm seeing this in the logs of dovecot.. I had enabled auto-hibernate in the configuration, but for some reason it doesn't seem to like it..

Is there something wrong with its permissions?
Code:
# ls -l /var/run/dovecot
total 8
srw------- 1 root root 0 Feb 15 03:33 anvil
srw------- 1 root root 0 Feb 15 03:33 anvil-auth-penalty
srw------- 1 dovecot root 0 Feb 15 22:06 auth-client
srw------- 1 dovecot root 0 Feb 15 22:06 auth-login
srw------- 1 root root 0 Feb 15 22:06 auth-master
-rw------- 1 root    root      32 Feb 14 23:57 auth-token-secret.dat
srw------- 1 popuser popuser 0 Feb 15 22:06 auth-userdb
srw------- 1 dovecot root 0 Feb 15 22:06 auth-worker
srw------- 1 root root 0 Feb 15 22:06 config
srw-rw---- 1 root dovecot 0 Feb 15 22:06 dict
srw-rw---- 1 root dovecot 0 Feb 15 22:06 dict-async
srw------- 1 root root 0 Feb 15 22:06 director-admin
srw-rw-rw- 1 root root 0 Feb 15 22:06 dns-client
srw------- 1 root root 0 Feb 15 22:06 doveadm-server
lrwxrwxrwx 1 root root 25 Feb 15 03:33 dovecot.conf -> /etc/dovecot/dovecot.conf
drwxr-xr-x 2 root root 40 Feb 14 23:57 empty
srw-rw---- 1 root dovecot 0 Feb 15 22:06 imap-hibernate
srw------- 1 root root 0 Feb 15 22:06 imap-master
srw-rw-rw- 1 root root 0 Feb 15 22:06 imap-urlauth
srw------- 1 dovecot root 0 Feb 15 22:06 imap-urlauth-worker
srw-rw-rw- 1 root root 0 Feb 15 22:06 indexer
srw------- 1 dovecot root 0 Feb 15 22:06 indexer-worker
srw------- 1 dovecot root 0 Feb 15 22:06 ipc
srw------- 1 root root 0 Feb 15 22:06 log-errors
drwxr-x--- 2 root dovenull 160 Feb 15 22:06 login
srw------- 1 root root 0 Feb 15 03:33 master
-rw------- 1 root    root       5 Feb 15 03:33 master.pid
srw------- 1 root root 0 Feb 15 22:06 old-stats
prw------- 1 root root 0 Feb 15 22:06 old-stats-mail
prw------- 1 root root 0 Feb 15 22:06 old-stats-user
srw------- 1 popuser root 0 Feb 15 22:06 quota-warning
srw------- 1 root root 0 Feb 15 22:06 replication-notify
prw------- 1 root root 0 Feb 15 22:06 replication-notify-fifo
srw------- 1 dovecot root 0 Feb 15 22:06 replicator
srw------- 1 root root 0 Feb 15 22:06 stats-reader
srw-rw---- 1 popuser dovecot 0 Feb 15 22:06 stats-writer
drwxr-x--- 2 root dovenull 80 Feb 15 22:06 token-login
 
I guess this is a dovecot bug because even though the config says mode 660 for the socket file, it was created with 600 - root only..
So I did some chmod's to bring it to 666 and the errors seem to have stopped.. strange.
 
Back
Top