Koozali.org: home of the SME Server

DOVECOT Fatal: service(managesieve-login) User doesn't exist: dovenull

Offline ldkeen

  • *
  • 405
  • +0/-0
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:

Code: [Select]
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:

Code: [Select]
[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:

Code: [Select]
Login failed because your username or password was entered incorrectly.

Roundcube:

Code: [Select]
Connection to storage server failed.

I've tried uninstalling/reinstalling horde/imp and installing roundcube but still cannot login.

Offline janet

  • *****
  • 4,812
  • +0/-0
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.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline ldkeen

  • *
  • 405
  • +0/-0
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:
Code: [Select]
groupadd -g 398 dovenull
useradd -u 398 -g 398 dovenull
sv restart /service/dovecot
Which seems to have fixed the problem.