Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: ldkeen on June 22, 2015, 12:00:00 AM
-
Hi,
Just a bit of background. This machine is a SME 9.0 that I tried to backup/restore using AFFA but the hard disk in the old machine died halfway through the backup. I then clean installed and manually restored from an older affa backup (files from /etc /root and /home). I copied using the following "\cp -af /backup/etc /". Everything seemed to go OK except dovecot wont start. I see the following in the logs:
2015-06-22 02:59:22.131512500 Fatal: service(managesieve-login) User doesn't exist: dovenull (See default_login_user setting)
2015-06-22 02:59:22.131553500 master: Fatal: service(managesieve-login) User doesn't exist: dovenull (See default_login_user setting)
Looking at the running processes:
[root@gabba rc7.d]# ps ax |grep dovecot
998 ? S 0:01 /usr/local/bin/multilog t s5000000 n10 /var/log/dovecot/
31885 pts/0 S+ 0:00 grep dovecot
I'm missing a lot of dovecot services. Also I'm unable to login via webmail and none of the clients can connect to the server. Webmail gives the following error:
Login failed because your username or password was entered incorrectly.
Roundcube:
Connection to storage server failed.
I've tried uninstalling/reinstalling horde/imp and installing roundcube but still cannot login.
-
Your description of how you restored is puzzling & unclear. It does not sound like you did the restore correctly.
Did you restore the mysql databases, webmail uses those for user preferences.
-
Hi Janet,
My apologies I did do a "signal-event pre-backup" before copying and a "signal-event post-backup" after the copy. I checked the server against another one and realised that the dovenull user was missing. I added the user using the following:
groupadd -g 398 dovenull
useradd -u 398 -g 398 dovenull
sv restart /service/dovecot
Which seems to have fixed the problem.