Re: Urgent: Cyrus troube after upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Adam,

 > If you just try to run "/usr/lib/cyrus-imapd/cyrus-master
 > -C /etc/imapd.conf -M /etc/cyrus.conf -p /var/run/cyrus-master.pid" > 
 > does the master daemon start?

This works but I have to append & to make run in the background. 
Probably I should run it with NOHUP or so..

The users can now access to the mailboxes.

I still get quite few errors in the logs.
Mails which are downloaded via fetchmail do not reach the mailbox 
anymore. I guess that this is the deliver.db part from the error log.

tail /var/log/maillog

Feb 16 16:40:27 linux lmtpunix[3535]: DBERROR: opening 
/var/lib/imap/deliver.db: cyrusdb error
Feb 16 16:40:27 linux lmtpunix[3535]: FATAL: lmtpd: unable to init 
duplicate delivery database
Feb 16 16:40:37 linux master[3096]: process 3535 exited, status 75
Feb 16 16:40:37 linux master[3096]: service lmtpunix pid 3535 in READY 
state: terminated abnormally
Feb 16 16:40:37 linux master[3538]: about to exec /usr/lib/cyrus-imapd/lmtpd
Feb 16 16:40:37 linux lmtpunix[3538]: executed
Feb 16 16:40:37 linux lmtpunix[3538]: skiplist: invalid magic header: 
/var/lib/imap/deliver.db
Feb 16 16:40:37 linux lmtpunix[3538]: skiplist: closed while still locked
Feb 16 16:40:37 linux lmtpunix[3538]: DBERROR: opening 
/var/lib/imap/deliver.db: cyrusdb error
Feb 16 16:40:37 linux lmtpunix[3538]: FATAL: lmtpd: unable to init 
duplicate delivery database

I use postfix as MTA and I do not use lmtp but the cyrus transport
mailbox_transport = cyrus

And yes, I have /sbin/runuser "installed".

Thank you for your help.

MW

> On Tue, 2010-02-16 at 15:59 +0100, Matthias Wulkow wrote:
>> Hello Adam,
>>   >  (a) disable selinux
>> SELinux is disabled already.
>>   >  (b) make sure the cyrus user account is not disabled.
>> How can I enable/disable a cyrus accounts?
>> The user(s) are set as system users and identified by sasl. No mysql
>> configuation.
>> The system was fully working BEFORE the upgrade. Didn't do anything
>> except the upgrade (which seems to have broken something).
>>> On Tue, 2010-02-16 at 15:49 +0100, Matthias Wulkow wrote:
>>>> Hello,
>>>> I manually upgraded cyrus 2.3.7 (CentOS 5.4) to cyrus 2.3.16.
>>>> Note: I created the cyrus 2.3.16 rpm myself with the rpm src from here:
>>>> http://www.invoca.ch/pub/packages/cyrus-imapd/
>>>> doing just rpmbuild --rebuild xxx.rpm
>>>> Now when I want to start cyrus:
>>>> /etc/init.d/cyrus-imapd start
>>>> or
>>>> service cyrus-imapd start
>>>> I get following error:
>>>> cyrus-imapd Datenbanken importieren: This account is currently not
>>>> available.
>>>> Can somebody tell me what I now can do?
>
> "service cyrus-imapd start" and "/etc/init.d/cyrus-imapd start" are the
> exact same thing; as "/etc/init.d/cyrus-imapd start" is what "service
> cyrus-imapd start" does.  The init script does a "$RUNUSER - cyrus
> -c ...."  I believe this error indicates that $RUNUSER is failing.
> RUNUSER is "/sbin/runuser" (if that file exists) or else it is "su".
> [Assuming your run scripts are the same as mine, I've using the Invoca
> packages].  If you just try to run "/usr/lib/cyrus-imapd/cyrus-master
> -C /etc/imapd.conf -M /etc/cyrus.conf -p /var/run/cyrus-master.pid" does
> the master daemon start?

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux