I am getting this error in logs net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission den)) and I looked around the google results and it seems to be related to using service stats, which I am not using. # doveconf -n | grep stat # doveconf -n | head -3 # 2.3.5.1 (7ec6d0ade): /usr/local/etc/dovecot/dovecot.conf # Pigeonhole version 0.5.5 (2483b085) # OS: FreeBSD 11.2-RELEASE-p4 i386 Postfix is 3.4-20190106 (the newest version in ports) -- Over 3,500 gay marriages and, what, no hellfire? I was promise hellfire. And riots. What gives? -- Mark Morford
On 10 Apr 2019, at 08:36, @lbutlr via dovecot <dovecot at dovecot.org> wrote:> net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission den))One other detail: /var/run/dovecot/stats-writer: 0 srw-rw---- 1 root dovecot 0 Apr 10 08:47 stats-writer -- "Back off, man. I'm a scientist."
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> <br> </div> <blockquote type="cite"> <div> On 10 April 2019 17:49 @lbutlr via dovecot < <a href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> On 10 Apr 2019, at 08:36, @lbutlr via dovecot < <a href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a>> wrote: </div> <blockquote type="cite"> <div> net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission den)) </div> </blockquote> <div> One other detail: </div> <div> <br> </div> <div> /var/run/dovecot/stats-writer: </div> <div> 0 srw-rw---- 1 root dovecot 0 Apr 10 08:47 stats-writer </div> <div> <br> </div> <div> <br> </div> <div> -- </div> <div> "Back off, man. I'm a scientist." </div> </blockquote> <div> <br> </div> <div> New stats is no longer optional, and has no relation to old stats. You can maybe temporarily allow writing to that socket for all. </div> <div class="io-ox-signature"> <pre>--- Aki Tuomi</pre> </div> </body> </html>
Odhiambo Washington
2019-Apr-10 14:57 UTC
/var/run/dovecot/stats-writer) failed: Permission denied
On Wed, 10 Apr 2019 at 17:50, @lbutlr via dovecot <dovecot at dovecot.org> wrote:> On 10 Apr 2019, at 08:36, @lbutlr via dovecot <dovecot at dovecot.org> wrote: > > net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission den)) > > One other detail: > > /var/run/dovecot/stats-writer: > 0 srw-rw---- 1 root dovecot 0 Apr 10 08:47 stats-writer > >Edit your 10-master.conf and make sure that the user specified in the details below matches the dovecot user: service stats { unix_listener stats-writer { user = mailnull } unix_listener stats-reader { user = mailnull } -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190410/8e53b80e/attachment-0001.html>