Re: saslpasswd2 -c cyrus -- Segmentation fault

2006-12-27 Thread Simon Matter
 Dear All,

 I have followed Postfix-Cyrus-Web-cyradm-HOWTO (exactly same to the
 document) and did the setup on very newly formatted clear machine from
 the scratch. now waiting on page 9. Testing the setup since I got
 this error

 saslpasswd2 -c cyrus
 Password: (I gave secret -- is that right?)
 Again (for verification):same
 /etc/sasldb2
 Segmentation fault

 but I can't see a file as /etc/sasldb2 (why??)

 my versions for setup.
 cyrus-imapd-2.3.6/
 cyrus-sasl-2.1.22/
 db-4.0.14/
 httpd-2.0.54/
 pam_mysql-0.50-6
 php-5.0.3/
 openssl-0.9.8b/
 web-cyradm-svn-0.5.5/

 *** Another question is that in /var/log/messages I continuosly get this
 message

 FATAL: wrong db version
 Dec 27 11:22:10 pub master[3041]: process 3460 exited, signaled to death
 by 11
 Dec 27 11:22:10 pub master[3041]: service imaplocal pid 3460 in READY
 state: terminated abnormally
 Dec 27 11:22:10 pub master[3041]: process 3461 exited, signaled to death
 by 11
 Dec 27 11:22:10 pub master[3041]: service lmtpunix pid 3461 in READY
 state: terminated abnormally
 Dec 27 11:22:10 pub imaplocal[3462]: incorrect version of Berkeley db:
 compiled against 4.0.14, linked against 4.2.52

Somehow you seem to have built cyrus-imapd against BDB 4.0.14, but have
4.2.52 installed on your box and cyrus-imapd uses it, that's why it
crashes. Try to fix the BDB mess and it should work.

Simon


 But I was able to log in to web-cyradm web interface as -- admin -
 test username passwords.

 How I can overcome this. (I used all default values as doc says but I
 now confused on which passwd to use where too.)
 
 Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


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


Re: IMAP sync tool (rsync for IMAP)

2006-12-27 Thread John Capo
Quoting Florin Andrei ([EMAIL PROTECTED]):
 John Capo wrote:
 
 A 32MB message occupies a lot more than 32MB when its a Perl string.
 Use a temp file instead.
 
 my $message_file = /tmp/xfer-$$;
 unlink($message_file);
 $from-message_to_file($message_file, $f_msg);
 
 And further down.
 
unless($new_id = $to-append_file($t_fold, $message_file, $flags_f, $d))
 
 Instead of 
 
unless($new_id = $to-append_string($t_fold,$string, $flags_f, $d))
 
 It's hard to tell without actually testing that change, but I assume it 
 would slow down the script a little bit?

I doubt that you would see a speed difference unless you were
transferring to and from completely idle GigE connected machines
and maybe not even then.

 Anyway, slower is better than crashing. I'll try and contact the author 
 to make him aware of this discussion thread.

Agreed.

 
 -- 
 Florin Andrei
 
 http://florin.myip.org/
 
 Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

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


Crash and hence DB upgrade for version 2.1.18

2006-12-27 Thread imap
Hello,

We have an old version (2.1.10?) running on one of our servers
which crashed today. We are still trying to access the server
so that we can determine what is the amount of data loss we
have. In the mean time, I thinking of building another machine
maintaining pretty much the same versions (but going with the
most latest bug fixed version at that level). However, I am
thinking of using the db-4.3.x, where as the old setup may have
used 4.0.x.

Assuming that we are able to get our hands on the mailboxes, can
simply copy over the files on a similarly named partitions and 
start the cyrus-imap 2.1.18 (built with 4.3.x)? 

Thanks

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