Displaying 11 results from an estimated 11 matches for "net_listen_unix".
2013 Aug 29
1
Solved: startup failures "net_listen_unix(...) failed: Invalid argument"
I ran into this and had a bit of trouble tracking a diagnosis down, so here it
is for the archives in case anyone else runs into this.
A new installation of dovecot was failing to start, with these messages:
$ ./sbin/dovecot
Error: service(imap-urlauth):
net_listen_unix(.../var/run/dovecot/token-login/imap-urlauth) failed:
Invalid argument
Error: service(auth):
net_listen_unix(.../var/run/dovecot/token-login/tokenlogin) failed: Invalid
argument
Fatal: Failed to start listeners
Some of the other processes seemed to be starting up fine, and they cr...
2008 Oct 02
2
Bug in dovecot 1.2 dict
...the dict server (tested with sqlite backend) is somewhat broken.
It bails out regularly with "Fatal: dict: Socket already exists: ..."
(looks like a race condition as it doesn't fail always).
We discovered that this new code in dict-server.c seems to be the problem:
server->fd = net_listen_unix_unlink_stale(path, 64);
if (server->fd == -1) {
if (errno == EADDRINUSE)
i_fatal("Socket already exists: %s", path);
else
i_fatal("net_listen_unix(%s) failed: %m", path);
}
replacing it with the old code:
int i = 0;
[...]
while (server->fd == -1) {...
2007 Jun 07
1
Lost login process PID XXXXX
...connected: Logged out
top=0/0, retr=1/4652, del=1/1, size=4635
Jun 6 15:58:10 cello dovecot: Lost login process PID 17214
Jun 6 15:58:12 cello dovecot: Dovecot v1.0.0 starting up
Jun 6 15:58:12 cello dovecot: Socket already exists:
/qnet/var/run/dovecot/dict-server
Jun 6 15:58:12 cello dovecot:
net_listen_unix(/qnet/var/run/dovecot/login/default) failed: Address
already in use
Jun 6 15:58:12 cello dovecot: Couldn't create auth process listener
Jun 6 15:58:12 cello dovecot:
net_listen_unix(/qnet/var/run/dovecot/login/default) failed: Address
already in use
Jun 6 15:58:12 cello dovecot: Couldn't...
2007 Jun 01
1
Error starting dovecot 1.0.0 /var/run/dovecot/auth-master failed: No such file or directory
...i try to start dovecot it dies giving the following error
message in /var/log/maillog
Jun 1 20:30:16 foo dovecot: Dovecot v1.0.0 starting up
Jun 1 20:30:16 foo dovecot: auth(default):
bind(/var/run/dovecot/auth-master) failed: No such file or directory
Jun 1 20:30:16 foo dovecot: auth(default):
net_listen_unix(/var/run/dovecot/auth-master) failed: No such file or
directory
Jun 1 20:30:16 foo dovecot: Auth process died too early - shutting down
Jun 1 20:30:16 foo dovecot: child 9760 (auth) returned error 89
I've read the http://wiki.dovecot.org/CompilingSource but am stuck now
with this issue.
i al...
2018 Oct 11
4
Struggling to get dovecot working with postfix auth
...gt; What exactly do the logs show?
Erm, they show exactly what I posted earlier ?
2018-10-11T12:14:15.467791+01:00 X dovecot: master: Error: bind(/var/spool/postfix-authrelay/private/dovecot-auth) failed: Permission denied
2018-10-11T12:14:15.468094+01:00 X dovecot: master: Error: service(auth): net_listen_unix(/var/spool/postfix-authrelay/private/dovecot-auth) failed: Permission denied
2018-10-11T12:14:15.468216+01:00 X dovecot: master: Fatal: Failed to start listeners
>
> > postconf -c /etc/postfix-authrelay | fgrep sasl
>
> As described inhttp://www.postfix.org/DEBUG_README.html please...
2007 Dec 30
2
auth-master permission error
...7 starting up
Dec 29 21:54:06 grp-01-50-90 dovecot: Generating Diffie-Hellman parameters for the first time. This may take a while..
Dec 29 21:54:06 grp-01-50-90 dovecot: auth(default): bind(/var/run/dovecot/auth-master) failed: Permission denied
Dec 29 21:54:06 grp-01-50-90 dovecot: auth(default): net_listen_unix(/var/run/dovecot/auth-master) failed: Permission denied
Here are the permissions on the filesystem:
# ls -ld /var/run/dovecot
drwxr-xr-x 3 root dovecot 4096 2007-12-29 22:07 /var/run/dovecot
And in the conf file there is this in the lda protocol:
socket listen {
master {
path = /v...
2018 Oct 11
0
Struggling to get dovecot working with postfix auth
...a warning about an authentication failure. Now this:
> 2018-10-11T12:14:15.467791+01:00 X dovecot: master: Error:
> bind(/var/spool/postfix-authrelay/private/dovecot-auth) failed:
> Permission denied
> 2018-10-11T12:14:15.468094+01:00 X dovecot: master: Error:
> service(auth):
> net_listen_unix(/var/spool/postfix-authrelay/private/dovecot-auth)
> failed: Permission denied
> 2018-10-11T12:14:15.468216+01:00 X dovecot: master: Fatal: Failed to
> start listeners
That's a permission error. Somewhere in your directory hierarchy things
are off. See Postfix' set-permissions com...
2009 Apr 02
2
Dovecot SASL Postfix
...n the running. Unfortunately, this
has not succeeded to me, only the Pop3 daemon runs without problems.
/var/log/dovecot.log
dovecot: 2009-04-03 01:04:38 Error: auth(default):
bind(/var/spool/postifx/private/auth)
failed: No such file or directory
dovecot: 2009-04-03 01:04:38 Fatal: auth(default):
net_listen_unix(/var/spool/postifx/private/auth) failed: No such file or
directory
dovecot: 2009-04-03 01:04:38 Fatal: Auth process died too early - shutting
down
/var/log/mail.log
Apr 3 01:08:38 server1 postfix/master[14627]: daemon started -- version
2.5.5, configuration /etc/postfix
Apr 3 01:09:07 server1 po...
2010 Aug 06
1
Problem creating sockets after Solaris Live Upgrade
...rver
# /etc/init.d/dovecot start
Last died with error (see error log for more information): Socket already exists: /opt/local/var/run/dovecot/dict-server
Aug 6 06:57:50 hostname dovecot: [ID 583609 local0.info] Dovecot v1.2.12 starting up
Aug 6 06:57:50 hostname dovecot: [ID 583609 local0.error] net_listen_unix(/opt/local/var/run/dovecot/login/default) failed: Address already in use
Aug 6 06:57:50 hostname dovecot: [ID 583609 local0.crit] Fatal: Couldn't create auth process listener
# ls -al /opt/local/var/run/dovecot/dict-server
srwxrwxrwx 1 root other 0 Aug 6 06:57 /opt/local/var/r...
2005 Sep 18
1
Can't connect to auth server at default: Connection refused
We've being running with Dovecot 1.0-stable since Tuesday, and on the
whole it's gone very well (meaning nobody's noticed!). My best estimate
is we're using half the disk accesses and 2/3 the CPU of UW-IMAP/Qpopper.
We've quite a mixture of error messages in the logs, the most worrying
of which is that several times we've had a few seconds of "xxx-login:
Can't
2018 Oct 11
2
Struggling to get dovecot working with postfix auth
Hi,
I am trying to create an authenticated relay server using Postfix and Dovecot.
However I am having two problems :
(a) If I create a dovecot config entry as follows :
unix_listener /var/spool/postfix-authrelay/private/dovecot-auth {
group = postfix
mode = 0666
user = postfix
}
Dovecot is unable to create the socket ? I thought surely if dovecot is started as root it should