permissions and doveadm
I did an upgrade from OpenSUSE 13.1 to 13.2 (finally), and now doveadm fails.
I went from an self-compiled source, to 'repsitory'-version
(from version 2.1.6, to 2.2.13)
luuk@opensuse:~/bin> id uid=1000(luuk) gid=100(users) groups=100(users),7(lp),33(video),118(vboxusers) luuk@opensuse:~/bin> doveadm quota recalc luuk@opensuse:~/bin> doveadm quota recalc -u luuk doveadm(luuk): Error: userdb lookup: connect(/usr/local/var/run/dovecot/auth-userdb) failed: Connection refused doveadm(luuk): Fatal: User lookup failed: Internal error occurred. Refer to server log for more information.
Why is it that with the '-u' option, doveadm is getting a connection refused?
-- Luuk
I did an upgrade from OpenSUSE 13.1 to 13.2 (finally), and now doveadm fails. dovecot is running? No errors? Other doveadm commands work?
I went from an self-compiled source, to 'repsitory'-version
(from version 2.1.6, to 2.2.13)
luuk@opensuse:~/bin> id uid=1000(luuk) gid=100(users) groups=100(users),7(lp),33(video),118(vboxusers) luuk@opensuse:~/bin> doveadm quota recalc luuk@opensuse:~/bin> doveadm quota recalc -u luuk doveadm(luuk): Error: userdb lookup: connect(/usr/local/var/run/dovecot/auth-userdb) failed: Connection refused Does the socket /usr/local/var/run/dovecot/auth-userdb exist? This looks
On 2016-12-22 20:46, dovecot wrote: like a leftover from your self-compiled version. The distro packaged version probably has all the sockets in /var/run/dovecot/.
Please show your dovecot -n
doveadm(luuk): Fatal: User lookup failed: Internal error occurred. Refer to server log for more information. Whats in the logs?
You have a problem with your configuration that needs to be fixed, dovecot/doveadm isn't able to lookup you users.
Why is it that with the '-u' option, doveadm is getting a connection refused?
-- Christian Kivalo
@Christian: thanks!
OK, config problem, i need to look into that problem first, so i can receveive answers send to the list too ... :-[:-[:-\
this time i found the answer here: http://dovecot.org/list/dovecot/2016-December/106552.html
On 22-12-16 20:46, dovecot wrote:
I did an upgrade from OpenSUSE 13.1 to 13.2 (finally), and now doveadm fails.
I went from an self-compiled source, to 'repsitory'-version
(from version 2.1.6, to 2.2.13)
luuk@opensuse:~/bin> id uid=1000(luuk) gid=100(users) groups=100(users),7(lp),33(video),118(vboxusers) luuk@opensuse:~/bin> doveadm quota recalc luuk@opensuse:~/bin> doveadm quota recalc -u luuk doveadm(luuk): Error: userdb lookup: connect(/usr/local/var/run/dovecot/auth-userdb) failed: Connection refused doveadm(luuk): Fatal: User lookup failed: Internal error occurred. Refer to server log for more information.
Why is it that with the '-u' option, doveadm is getting a connection refused?
On 22-12-16 20:46, dovecot wrote:
I did an upgrade from OpenSUSE 13.1 to 13.2 (finally), and now doveadm fails.
I went from an self-compiled source, to 'repsitory'-version
(from version 2.1.6, to 2.2.13)
luuk@opensuse:~/bin> id uid=1000(luuk) gid=100(users) groups=100(users),7(lp),33(video),118(vboxusers) luuk@opensuse:~/bin> doveadm quota recalc luuk@opensuse:~/bin> doveadm quota recalc -u luuk doveadm(luuk): Error: userdb lookup: connect(/usr/local/var/run/dovecot/auth-userdb) failed: Connection refused doveadm(luuk): Fatal: User lookup failed: Internal error occurred. Refer to server log for more information.
Why is it that with the '-u' option, doveadm is getting a connection refused?
Connection refused either means that your dovecot is not running (it needs to be), or you have somehow prevented it from connecting to that socket, or no one is listening there.
Also remember to *remove* the old binaries, or at least ensure you are calling the repository ones, as they default to different paths.
Aki
On 25-12-16 08:54, Aki Tuomi wrote:
On 22-12-16 20:46, dovecot wrote:
I did an upgrade from OpenSUSE 13.1 to 13.2 (finally), and now doveadm fails.
I went from an self-compiled source, to 'repsitory'-version
(from version 2.1.6, to 2.2.13)
luuk@opensuse:~/bin> id uid=1000(luuk) gid=100(users) groups=100(users),7(lp),33(video),118(vboxusers) luuk@opensuse:~/bin> doveadm quota recalc luuk@opensuse:~/bin> doveadm quota recalc -u luuk doveadm(luuk): Error: userdb lookup: connect(/usr/local/var/run/dovecot/auth-userdb) failed: Connection refused doveadm(luuk): Fatal: User lookup failed: Internal error occurred. Refer to server log for more information.
Why is it that with the '-u' option, doveadm is getting a connection refused?
Connection refused either means that your dovecot is not running (it needs to be), or you have somehow prevented it from connecting to that socket, or no one is listening there.
Also remember to *remove* the old binaries, or at least ensure you are calling the repository ones, as they default to different paths.
Aki
Thanks, it seems i'm finally getting messages from the list again ...
Indeed i was still using the old binaries (in /usr/local/bin),
But i was also blocking a backup MX from sending mail to /me ;(
I started reading this list somewhere in 2007, and did not fillow it god enough for the last two years, but time has come to investigate how i can upgrade my stuff (linux/postfix/dovecot) and all the other stuff that's doing something on that pieve of hardware, without breaking more that i did with my mail from this list.
participants (4)
-
Aki Tuomi
-
Christian Kivalo
-
dovecot
-
Luuk