View Full Version : After upgrading from 1.1.6 to 1.1.13 can't start Dovecot
adatrem
04-03-2009, 09:18 PM
Hello,
After upgrading via custombuild from 1.1.6 to 1.1.13, I kept getting the following errors:
/var/log/syslog
Dovecot v1.1.6 starting up
child 22685 (auth) returned error 89 (Fatal failure)
auth(default): Fatal: Dovecot version mismatch: Master is v1.1.6, dovecot-auth is v1.1.13 (if you don't care, set version_ignore=yes)
Fatal: Auth process died too early - shutting down
When i try to service dovecot restart
Shutting down dovecot: /etc/init.d/dovecot: line 29: kill: (28733) - No such process
Starting dovecot: Warning: Last died with error (see error log for more information): Auth process died too early - shutting down
Os:Debian
How do i fix this?
Thanks.
smtalk
04-04-2009, 02:12 AM
Try:
cd /usr/local/directadmin/custombuild
./build update
./build dovecot
adatrem
04-04-2009, 07:47 AM
Try:
cd /usr/local/directadmin/custombuild
./build update
./build dovecot
Thanks but, ./build dovecot
after
......
Making install in master
make[2]: Entering directory `/usr/local/directadmin/custombuild/dovecot-1.1.13/src/master'
make[3]: Entering directory `/usr/local/directadmin/custombuild/dovecot-1.1.13/src/master'
test -z "/usr/libexec/dovecot" || /bin/mkdir -p "/usr/libexec/dovecot"
/bin/sh ../../libtool --mode=install /usr/bin/install -c 'ssl-build-param' '/usr/libexec/dovecot/ssl-build-param'
libtool: install: /usr/bin/install -c ssl-build-param /usr/libexec/dovecot/ssl-build-param
test -z "/usr/sbin" || /bin/mkdir -p "/usr/sbin"
/bin/sh ../../libtool --mode=install /usr/bin/install -c 'dovecot' '/usr/sbin/dovecot'
libtool: install: /usr/bin/install -c dovecot /usr/sbin/dovecot
/usr/bin/install: cannot remove `/usr/sbin/dovecot': Permission denied
make[3]: *** [install-sbinPROGRAMS] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-1.1.13/src/master'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-1.1.13/src/master'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-1.1.13/src'
make: *** [install-recursive] Error 1
Restarting dovecot.
Shutting down dovecot: /etc/init.d/dovecot: line 29: kill: (3581) - No such process
Starting dovecot: Warning: Last died with error (see error log for more information): Auth process died too early - shutting down
smtalk
04-04-2009, 08:27 AM
Please post an output of:
whoami
lsattr /usr/sbin/dovecot
adatrem
04-04-2009, 08:37 AM
server:~# whoami
root
server:~# lsattr /usr/sbin/dovecot
suS-iadAc--------- /usr/sbin/dovecot
Thanks
smtalk
04-04-2009, 09:04 AM
chattr -suSiadAc /usr/sbin/dovecot
And try again :)
adatrem
04-04-2009, 09:17 AM
chattr -suSiadAc /usr/sbin/dovecot
And try again :)
I tried but it was not something
server:~# chattr -suSiadAc /usr/sbin/dovecot
server:~#
smtalk
04-04-2009, 09:21 AM
I wanted to say:
Run the following afterwards:
cd /usr/local/directadmin/custombuild
./build update
./build dovecot
adatrem
04-04-2009, 09:40 AM
I tried but I got the same errors
test -z "/usr/sbin" || /bin/mkdir -p "/usr/sbin"
/bin/sh ../../libtool --mode=install /usr/bin/install -c 'dovecot' '/usr/sbin/dovecot'
libtool: install: /usr/bin/install -c dovecot /usr/sbin/dovecot
/usr/bin/install: cannot remove `/usr/sbin/dovecot': Permission denied
make[3]: *** [install-sbinPROGRAMS] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-1.1.13/src/master'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-1.1.13/src/master'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-1.1.13/src'
make: *** [install-recursive] Error 1
Restarting dovecot.
Shutting down dovecot: /etc/init.d/dovecot: line 29: kill: (25941) - No such process
Starting dovecot: Warning: Last died with error (see error log for more information): Auth process died too early - shutting down
Thanks
smtalk
04-08-2009, 02:22 AM
Fixed using:
chattr -R -suSiadAc /usr/sbin
adatrem
04-08-2009, 02:43 AM
Thank you very much.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.