/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
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/5343
Those 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.
On 22/11/2021 12:11 Brent Clark brentgclarklist@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 Clark
Hi!
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
On 2021/12/01 09:25, Aki Tuomi wrote:
Hi!
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 Hi Aki
Your timing is perfect. Many thanks. As a process of elimination. I *just* set the following. stats_writer_socket_path=""
Ill look at your suggestion. Many thanks again
Regards Brent Clark
participants (3)
-
Aki Tuomi
-
Brent Clark
-
dovecot@ptld.com