• 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

Issue Dovecoot PID file not readable

Daretar

New Pleskian
Hey folks,

I'm getting the following error after dovecot was running for a little time:

dovecot.service: PID file /var/run/dovecot/master.pid not readable (yet?) after start: No ...irectory

I've disabled Apparmor since I thought this could create problems ... but no luck.

Any idea what is causing this issue?
 
Please make sure that you have the same permissions there:

# stat /var/run/dovecot
File: `/var/run/dovecot'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 901eh/36894d Inode: 52707147 Links: 5
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: (10003/ dovecot)
 
Hi Igor,
just a question: is it normal that in my Plesk installation I have this ?
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)

Other question: what about mysql/mariadp pid ?
Access: (0660/-rw-rw----) Uid: ( 27/ mysql) Gid: ( 27/ mysql)
 
Other question: what about mysql/mariadp pid ?
Access: (0660/-rw-rw----) Uid: ( 27/ mysql) Gid: ( 27/ mysql)
On my test server I see:

# stat /var/run/mariadb/mariadb.pid
File: ‘/var/run/mariadb/mariadb.pid’
Size: 6 Blocks: 8 IO Block: 4096 regular file
Device: 8bh/139d Inode: 489357042 Links: 1
Access: (0660/-rw-rw----) Uid: ( 27/ mysql) Gid: ( 27/ mysql)
just a question: is it normal that in my Plesk installation I have this ?
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
For /var/run/dovecot? I'd suggest correct it.
 
Hello Igor,

thanks for your reply. This I get with stat

File: '/var/run/dovecot'
Size: 740 Blocks: 0 IO Block: 4096 directory
Device: 14h/20d Inode: 24131 Links: 5
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2017-11-16 21:45:33.425038544 +0100

Modify: 2017-11-17 14:00:02.357114978 +0100
Change: 2017-11-17 14:00:02.357114978 +0100
Birth: -
 
Owner should be root:dovecot but not root:root
Please correct it.
 
Back
Top