Brent Clark
2021-Nov-22 10:11 UTC
/var/run/dovecot/stats-writer) failed: No such file or directory
Good day Guys I am getting this error message in the logs. dovecot: imap-login: Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: No such file or directory Running Debian Buster. With a bit of googling, I tried the suggestions of: https://forum.iredmail.org/post67042.html#p67042 https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5343 But still this problem is? persisting. Here is the config. ~ # cat /etc/dovecot/conf.d/20-dovecot-stats.conf service stats { ??? unix_listener stats-writer { ??????? user = dovecot ??????? group = mail ??????? mode = 0660 ??? } } ~ # ls -la /var/run/dovecot/stats-writer srw-rw---- 1 dovecot mail 0 Nov 21 17:00 /var/run/dovecot/stats-writer Could anyone please shed an idea or tip of where more too can I look. Many thanks Regards Brent Clark
dovecot at ptld.com
2021-Nov-22 14:30 UTC
/var/run/dovecot/stats-writer) failed: No such file or directory
> On 11-22-2021 5:11 am, Brent Clark wrote: > dovecot: imap-login: Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: No such file or directory > > With a bit of googling, I tried the suggestions of: > https://forum.iredmail.org/post67042.html#p67042 > https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5343Those suggested fixes you found have to do with permissions, but in your case the error is file not found. I would go that direction in trouble shooting. Off the top of my head two things that could hide files from processes are SELINUX and CHROOT. (https://wiki.dovecot.org/Chrooting) But no idea if either of those have to do with your issue.
Aki Tuomi
2021-Dec-01 07:25 UTC
/var/run/dovecot/stats-writer) failed: No such file or directory
> On 22/11/2021 12:11 Brent Clark <brentgclarklist at gmail.com> wrote: > > > Good day Guys > > I am getting this error message in the logs. > > dovecot: imap-login: Error: > net_connect_unix(/var/run/dovecot/stats-writer) failed: No such file or > directory > > Running Debian Buster. > > With a bit of googling, I tried the suggestions of: > https://forum.iredmail.org/post67042.html#p67042 > https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5343 > > But still this problem is? persisting. > > Here is the config. > ~ # cat /etc/dovecot/conf.d/20-dovecot-stats.conf > service stats { > ??? unix_listener stats-writer { > ??????? user = dovecot > ??????? group = mail > ??????? mode = 0660 > ??? } > } > > ~ # ls -la /var/run/dovecot/stats-writer > srw-rw---- 1 dovecot mail 0 Nov 21 17:00 /var/run/dovecot/stats-writer > > Could anyone please shed an idea or tip of where more too can I look. > > Many thanks > Regards > Brent ClarkHi! Can you try if adding service stats { unix_listener login/stats-writer { user = $default_login_user mode = 0600 } } fixes this? This is default in stats service, I just wonder if there is a version where it was not yet default... Aki