<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I finally investigated the problem myself and provided a patch. Here is
the bug report: <a class="moz-txt-link-freetext" href="https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2881">https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2881</a><br>
<br>
The patch is small, 6 lines, and works in my test environment (32.000
mailboxes across 2 servers):
<a class="moz-txt-link-freetext" href="https://bugzilla.andrew.cmu.edu/attachment.cgi?id=461&action=view">https://bugzilla.andrew.cmu.edu/attachment.cgi?id=461&action=view</a><br>
<br>
Regards<br>
<br>
Farzad FARID wrote:
<blockquote cite="mid45110AE8.5020505@pragmatic-source.com" type="cite">
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
Hi,<br>
<br>
Environment : <br>
- Cyrus 2.3.7<br>
- Unified Murder<br>
- 2 IMAP, 1 mupdate<br>
<br>
I have mailboxes on both imap servers (aberlour & chivas) and a
shared mailbox "commun.test" on chivas. When I run "/usr/sbin/squatter
-v" on aberlour, it stops on an error saying it can find a mailbox or
partition located on chivas!<br>
<br>
On the command line I get:<br>
<blockquote><tt>aberlour$ /usr/sbin/squatter -v</tt><br>
<tt>error opening commun.test: System I/O error</tt><br>
</blockquote>
<br>
And in syslog:<br>
<blockquote><tt>Sep 20 11:28:26 aberlour cyrus/squatter[5803]:
indexing
mailboxes</tt><br>
<tt>Sep 20 11:28:26 aberlour cyrus/squatter[5803]: IOERROR: opening
chivas!default/cyrus.header: No such file or directory</tt><br>
<tt>Sep 20 11:28:26 aberlour cyrus/squatter[5803]: done indexing
mailboxes</tt><br>
</blockquote>
If I run "/usr/sbin/squatter -v -r 'user.*'", it starts indexing the
first mailboxes, located on aberlour, but as soon as it encounters a
mailbox located on chivas it stops with an error:<br>
<blockquote><tt>aberlour$ /usr/sbin/squatter -v -r 'user.*'</tt><br>
<tt>error opening user.*: Mailbox does not exist</tt><br>
<tt>Indexing mailbox user.aaraujo.DOSSIERS CLIENTS... Indexed 0
messages (0 bytes) into 112 index bytes in 0 seconds</tt><br>
<tt>Indexing mailbox user.aaraujo.DOSSIERS CLIENTS.02- CLE DES
CHAMPS... Indexed 1 messages (5505 bytes) into 17132 index b</tt><tt>ytes
in 0 seconds</tt><br>
<tt>[...]</tt><br>
<tt>Indexing mailbox user.abaeza.tunisie... Indexed 0 messages (0
bytes) into 112 index bytes in 0 seconds</tt><br>
<tt>Indexing mailbox user.abaeza.yield... Indexed 1520 messages
(9372693 bytes) into 4953647 index bytes in 2 seconds</tt><br>
<tt>error opening user.abbar.&AMk-KIP: System I/O error</tt><br>
<tt>Total over all mailboxes: Indexed 8100 messages (51105784
bytes)
into 26944157 index bytes in 11 seconds</tt><br>
</blockquote>
<br>
How can I run squatter correctly? Is this a bug or a configuration
error on my side?<br>
<br>
Regards<br>
<br>
<pre class="moz-signature" cols="72">--
Farzad FARID <a class="moz-txt-link-rfc2396E"
href="mailto:ffarid@pragmatic-source.com"><ffarid@pragmatic-source.com></a>
Architecte Open Source / Pragmatic Source
<a class="moz-txt-link-freetext" href="http://www.pragmatic-source.com/">http://www.pragmatic-source.com/</a></pre>
<pre wrap="">
<hr size="4" width="90%">
----
Cyrus Home Page: <a class="moz-txt-link-freetext" href="http://cyrusimap.web.cmu.edu/">http://cyrusimap.web.cmu.edu/</a>
Cyrus Wiki/FAQ: <a class="moz-txt-link-freetext" href="http://cyrusimap.web.cmu.edu/twiki">http://cyrusimap.web.cmu.edu/twiki</a>
List Archives/Info: <a class="moz-txt-link-freetext" href="http://asg.web.cmu.edu/cyrus/mailing-list.html">http://asg.web.cmu.edu/cyrus/mailing-list.html</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Farzad FARID <a class="moz-txt-link-rfc2396E" href="mailto:ffarid@pragmatic-source.com"><ffarid@pragmatic-source.com></a>
Architecte Open Source / Pragmatic Source
<a class="moz-txt-link-freetext" href="http://www.pragmatic-source.com/">http://www.pragmatic-source.com/</a></pre>
</body>
</html>