Hi

After successfully taking all the steps do have a working cyrus 2.2 with
virtual domains when doing an upgrade from 2.1 like converting seen, subs,
quota databases, the mail spool itself as well as the mailboxes.db file I
am only facing one last problem.

The cyrus.index file does not get updated due to some obscure locking
problem which I cannot hunt down. This results on losing the flags per
mail...

When performing the reconstruct I am getting the following error message
for every reconstructed mailbox:

Jan 19 21:09:11 anton cyrus/reconstruct[29465]: IOERROR: locking cache for
domain.de!user.support-archive: Bad file descriptor

My first guess was, that there is a difference, if cyrmaster is stopped or
running while doing the reconstruct. This was not the case.

Any hints, where this problem might come from? fcntl manpage tells about
this error, that 'eg: file descriptor was read only and the lock requested
was F_WRLCK'. I am the cyrus user and that user has all needed the
permissions.

I am not the first one facing this problem, there is exactly one other
user, who seemed to have this in 2003, when upgrading from 2.0 to 2.1.
However he used freebsd, while this is a debian based distribution, using
kernel 2.4.32 and cyrus 2.2.16 (and the kolab patch).

See here:
http://www.irbs.net/internet/info-cyrus/0309/0025.html

Dirty workaround:
When I comment out the actual locking done and just return 0 in
lib/lib_fcntl.h in lock_blocking(), lock_nonblocking() and lock_unlock()
the upgrade works and the important/reply flags are actually set.
However this is not the intended solution I guess :)

Any help would be greatly appreciated.


Regards, Alexander

-- 
Alexander Reelsen
http://www.emplify.de

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

Reply via email to