ctl_cyrusdb db version error
Oberdan Albertoni
obe at digicolor.net
Thu Jul 28 10:36:43 EDT 2011
On 28/07/2011 16:31, Simon Matter wrote:
>> On 28/07/2011 08:44, Simon Matter wrote:
>>>> Helo,
>>>> on a server ( debian 5.0 ) I installed three years ago cyrus 3.2.11 but
>>>> I have never used
>>>> now I wanted to install cyrus 2.4.10 but when I run the command
>>>> /usr/cyrus/bin/ctl_cyrusdb -r I get :
>>>>
>>>> Fatal error: wrong db version
>>>> segmentation fault
>>>>
>>>> it is possible that ctl_cyrus version 2.4.10 compiled with version 4.6
>>>> of libdb give me error because' /usr/lib/libbd.so is a symbolic link to
>>>> version 4.4?
>>>>
>>>> How can I fix this problem ?
>>>>
>>>> Since I will have to do the same operation on a production server
>>>> should
>>>> I switch from berkeley db to skiplist db, before upgrade cyrus ?
>>> I can only recommend to switch to skiplist before upgrade. That way you
>>> can get rid of the BDB version issues. You can then even build 2.4.x
>>> without BDB support.
>> I recompiled cyrus-imap with:
>>
>> ./configure --prefix=/usr --with-sasl=/usr/local/lib --with-perl
>> --with-openssl=/usr/lib/ssl --enable-replication
>>
>> I remove all file *.db ( is only a test server with no mailbox ) but when
>> I run imapd in the /var/log/messages I find :
>>
>> Jul 28 16:08:55 dnsback kernel: ctl_cyrusdb[21801]: segfault at 170 ip
>> 080863f1 sp bff25050 error 4 in ctl_cyrusdb[8048000+12d000]
>> Jul 28 16:09:56 dnsback kernel: ctl_cyrusdb[21943]: segfault at 170 ip
>> 080863f1 sp bfb2b240 error 4 in ctl_cyrusdb[8048000+12d000]
>>
>> and if I run /usr/cyrus/bin/ctl_cyrusdb -r I get :
>>
>> fatal error: wrong db version
>> Segmentation fault
>>
>> Why it tells me that even the version of the db and iswrong?
>> Should not create a new file mailboxes.db in the skiplist format?
> 1) I don't think you have built cyrus-imapd without BDB support. Did you
> check the resulting binaries with ldd?
You're right now i configured imapd with the option --without-bdb and
now is ok.
thank you very much.
By Obe.
--
Oberdan Albertoni
-----------------------------------------------------------------------------------------------------------------------------------------------------------
DIGICOLOR.NET s.r.l. Via Ala Ponzone, 30 - 26100 CREMONA (CR) Tel. +39 (0372) 30669 - 1965101 - 1951509
Fax +39 (0372) 464840 E-mail info at digicolor.net - Website http://www.digicolor.net
C.F / P.IVA 01227520192 - R.E.A. CR n. 153382 - Capitale Sociale € 10.400 i.v.
Filiale di Codogno
Via Galilei, 17 – 26845 CODOGNO (LO) Tel. +39 (0377) 741006 – 431931 Fax +39 (0372) 464840
E-mail info.codogno at digicolor.net - Website http://www.digicolor.net
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Ai sensi del D.lgs n.196 del 30.06.03 (Codice Privacy) si precisa che le informazioni contenute in questo messaggio sono riservate e ad uso esclusivo
del destinatario. Qualora il messaggio in parola Le fosse pervenuto per errore, La preghiamo di eliminarlo senza copiarlo e di non inoltrarlo a
terzi, dandocene gentilmente comunicazione. Grazie
This message, for the D.lgs n.196 / 30.06.03 (Privacy Code), may contain confidential and/or privileged information. If you are not the addressee or
authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein.
If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
More information about the Info-cyrus
mailing list