mj
2020-Oct-22 10:53 UTC
net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied
Hi, We are getting very occasional messags from dovecot:> net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission deniedOver the last week, the message appeared five times. (on a mail server with over 100 users, to that's basically almost never) doveconf -n below> # 2.3.4.1 (f79e8e7e4): /etc/dovecot/dovecot.conf > # Pigeonhole version 0.5.4 () > # OS: Linux 4.19.0-10-amd64 x86_64 Debian 10.6 xfssnip...> service stats { > unix_listener stats-reader { > group = vmail > mode = 0660 > user = vmail > } > unix_listener stats-writer { > group = vmail > mode = 0660 > user = vmail > } > }and the on-disk permissions are:> root at dovecot:~# ls -l /var/run/dovecot/*stat* > srw------- 1 root root 0 Oct 6 00:25 /var/run/dovecot/old-stats > prw------- 1 root root 0 Oct 6 00:25 /var/run/dovecot/old-stats-mail > prw------- 1 root root 0 Oct 6 00:25 /var/run/dovecot/old-stats-user > srw-rw---- 1 vmail vmail 0 Oct 6 00:25 /var/run/dovecot/stats-reader > srw-rw---- 1 vmail vmail 0 Oct 6 00:25 /var/run/dovecot/stats-writerWe're not sure what makes the Permission denied error happen... Anyone with an idea? MJ
mj
2020-Oct-23 14:52 UTC
net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied
Hi, Nobody? It happens so rarely, and the system appears to be running fine otherwise, should I just ignore it? Still makes me wonder way it would happen at all..? MJ On 10/22/20 12:53 PM, mj wrote:> Hi, > > We are getting very occasional messags from dovecot: > >> net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied > > Over the last week, the message appeared five times. (on a mail server > with over 100 users, to that's basically almost never) > > doveconf -n below > >> # 2.3.4.1 (f79e8e7e4): /etc/dovecot/dovecot.conf >> # Pigeonhole version 0.5.4 () >> # OS: Linux 4.19.0-10-amd64 x86_64 Debian 10.6 xfs > > snip... > >> service stats { >> ? unix_listener stats-reader { >> ??? group = vmail >> ??? mode = 0660 >> ??? user = vmail >> ? } >> ? unix_listener stats-writer { >> ??? group = vmail >> ??? mode = 0660 >> ??? user = vmail >> ? } >> } > > and the on-disk permissions are: > >> root at dovecot:~# ls -l /var/run/dovecot/*stat* >> srw------- 1 root? root? 0 Oct? 6 00:25 /var/run/dovecot/old-stats >> prw------- 1 root? root? 0 Oct? 6 00:25 /var/run/dovecot/old-stats-mail >> prw------- 1 root? root? 0 Oct? 6 00:25 /var/run/dovecot/old-stats-user >> srw-rw---- 1 vmail vmail 0 Oct? 6 00:25 /var/run/dovecot/stats-reader >> srw-rw---- 1 vmail vmail 0 Oct? 6 00:25 /var/run/dovecot/stats-writer > > We're not sure what makes the Permission denied error happen... > > Anyone with an idea? > > MJ
Aki Tuomi
2020-Oct-23 15:46 UTC
net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied
Hi! You can ignore it, or you can change the socket permissions to 0666. service stats { unix_listener stats-writer { mode = 0666 } } Aki> On 23/10/2020 17:52 mj <lists at merit.unu.edu> wrote: > > > Hi, > > Nobody? > > It happens so rarely, and the system appears to be running fine > otherwise, should I just ignore it? > > Still makes me wonder way it would happen at all..? > > MJ > > On 10/22/20 12:53 PM, mj wrote: > > Hi, > > > > We are getting very occasional messags from dovecot: > > > >> net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied > > > > Over the last week, the message appeared five times. (on a mail server > > with over 100 users, to that's basically almost never) > > > > doveconf -n below > > > >> # 2.3.4.1 (f79e8e7e4): /etc/dovecot/dovecot.conf > >> # Pigeonhole version 0.5.4 () > >> # OS: Linux 4.19.0-10-amd64 x86_64 Debian 10.6 xfs > > > > snip... > > > >> service stats { > >> ? unix_listener stats-reader { > >> ??? group = vmail > >> ??? mode = 0660 > >> ??? user = vmail > >> ? } > >> ? unix_listener stats-writer { > >> ??? group = vmail > >> ??? mode = 0660 > >> ??? user = vmail > >> ? } > >> } > > > > and the on-disk permissions are: > > > >> root at dovecot:~# ls -l /var/run/dovecot/*stat* > >> srw------- 1 root? root? 0 Oct? 6 00:25 /var/run/dovecot/old-stats > >> prw------- 1 root? root? 0 Oct? 6 00:25 /var/run/dovecot/old-stats-mail > >> prw------- 1 root? root? 0 Oct? 6 00:25 /var/run/dovecot/old-stats-user > >> srw-rw---- 1 vmail vmail 0 Oct? 6 00:25 /var/run/dovecot/stats-reader > >> srw-rw---- 1 vmail vmail 0 Oct? 6 00:25 /var/run/dovecot/stats-writer > > > > We're not sure what makes the Permission denied error happen... > > > > Anyone with an idea? > > > > MJ
Apparently Analagous Threads
- net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied
- net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied
- Permission error on stats writer
- Dovecot Replication of Maildirs: Couldn't create lock file ... no such file or directory
- No stats under FreeBSD 10.3