problems cyrus after update
johan
johan30 at easynet.be
Sun Oct 20 06:53:15 EDT 2002
Hi,
The strange thing is that nothing happens when I do
su cyrus
sh-2.05b$ cd /
sh-2.05b$ /usr/sbin/cvt_cyrusdb /var/lib/cyrus/mailboxes.db db3 \
> /var/lib/cyrus/temp.db flat
Converting from /var/lib/cyrus/mailboxes.db (db3) to
/var/lib/cyrus/temp.db (flat)
This stays the same for hours. I know, it sounds pretty stupid. I try to
look in logs (syslog, imapd.log, messages, auth.log) : nothing to see.
This is perhaps interesting to solve the problem :
diff -u /usr/lib/cyrus/cyrus-db-types.active
/usr/lib/cyrus/cyrus-db-types.txt
--- /usr/lib/cyrus/cyrus-db-types.active 2002-09-22
22:56:54.000000000 +0200
+++ /usr/lib/cyrus/cyrus-db-types.txt 2002-10-14 04:14:35.000000000
+0200
@@ -1,6 +1,6 @@
DBENGINE BerkeleyDB3.2
DUPLICATE db3_nosync
-MBOX db3
-SEEN flat
+MBOX skiplist
+SEEN skiplist
SUBS flat
TLS db3_nosync
Greetings,
Johan
-----Original Message-----
From: owner-info-cyrus at lists.andrew.cmu.edu
[mailto:owner-info-cyrus at lists.andrew.cmu.edu] On Behalf Of Henrique de
Moraes Holschuh
Sent: Sunday, October 20, 2002 5:43 AM
To: johan
Cc: Info Cyrus
Subject: Re: problems cyrus after update
On Sun, 20 Oct 2002, johan wrote:
> I tried to follow the instruction in the pointed page, but I don't
> seem to find a way out it. Especially the part :
>
> cd /
> /usr/sbin/cvt_cyrusdb <fullpath to database> db3 \
> /var/lib/cyrus/temp.db flat
> rm -f <fullpath to database>
> /usr/sbin/cvt_cyrusdb /var/lib/cyrus/temp.db flat \
> <fullpath to database> skiplist
> rm -f /var/lib/cyrus/temp.db
>
>
> Anybody know this path (fullpath to database) ??
It is right there in the docs. Read them again. By fullpath to database
I mean the name of the database file, with all the path since /.
e.g. mailboxes database:
/var/lib/cyrus/mailboxes.db
The two-step conversion is paranoia against the filenames being encoded
inside the database or logfiles (db3 does this, for example).
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
More information about the Info-cyrus
mailing list