Solved this problem by removing the files in /var/lib/imap/db.
It would appear that there was a mismatch between the database files and the
recovery logs.

Roland
----- Original Message ----- 
From: "Ken Murchison" <[EMAIL PROTECTED]>


> Roland Pope wrote:
> > Hi,
> >
> > I have installed cyrus-imapd 2.2.3 under RedHat 9 using Simon Matters
RPMS.
> > I rebuilt the RPM's from source to make sure it matched my machine. In
> > addition to this, I have been running 2.0.15 sucessfully on another
RedHat 9
> > box for some time now.
> > The issue I am having appears to relate to the tls_sessions.db and
> > deliver.db databases.
> > Whenever I DON'T set 'tls_session_timeout: 0' in my imapd.conf file, I
can't
> > open an SSL connection to IMAP. The TCP connection opens, but the IMAPD
> > doesn't respond and eventually times out. In addition to this, I can get
an
> > LMTP conection over TCP at all. The connection opens, but doesn't
respond
> > and eventually times out. I have tried copying the tls_sessions.db and
> > deliver.db files from my 2.0.15 RedHat 9 system, but this has made no
> > difference.
> > When I try and run ctl_cyrusdb -rx I get a segfault
> > <snip last bit of strace of ctl_cyrusdb -rx>
> > open("/var/lib/imap/deliver.db", O_RDWR|O_LARGEFILE) = 6
> > fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
> > fstat64(6, {st_mode=S_IFREG|0600, st_size=15507456, ...}) = 0
> > pwrite(5, "\331\4\0\0p\312M\0\0\0\0\0b1\5\0\10\0\0\0\0\20\0\0\0\t"...,
4096,
> > 0) = 4096
> > fsync(5)                                = 0
> > close(5)                                = 0
> > --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> > +++ killed by SIGSEGV +++
> > </snip last bit of strace of ctl_cyrusdb -rx>
> > Does anyone have any ideas of what I can do to try and get some
information
> > about what might be going on here?
>
> The strace isn't very helpful.  Can you get a backtrace from a core
> file, or run ctl_cyrusdb in a debugger?
>
>
> -- 
> Kenneth Murchison     Oceana Matrix Ltd.
> Software Engineer     21 Princeton Place
> 716-662-8973 x26      Orchard Park, NY 14127
> --PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp
>

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

Reply via email to