Scott,

Thanks for the reply. I have tried again to compile SASL and IMAP 
again, since I suspect it is something related to the use of Berkeley 
DB4.0
Below please find the log I encountered in /var/log/messages when I 
try to run "cyradm -u cyrus localhost".

Some questions to follow..

1. Should IMAP be using Berkeley db4.0 or db3.x? Since I find it is 
looking for db3 all the times, is it normal?
2. Is it necessary to create /var/imap/db by hand? If so, what are the 
files I should copy over?

thanks again...

Ronnie 

Apr 29 17:06:52 uatwebmail master: setrlimit: Unable to set file 
descriptors limit to -1: Operation not permitted
Apr 29 17:06:52 uatwebmail master[4428]: process started
Apr 29 17:06:52 uatwebmail master[4429]: about to exec /usr/cyrus/bin/
ctl_cyrusdb
Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4429]: recovering cyrus 
databases
Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4429]: DBERROR db3: : No 
such file or directory
Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4429]: DBERROR db3: /var/
imap/db/__db.001: No such file or directory
Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4429]: DBERROR db3: ^H^A 
@^H^A @p/db/__db.001: No such file or directory
Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4429]: DBERROR db3: /var/
imap/db/__db.001: No such file or directory
Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4429]: DBERROR: dbenv->
open '/var/imap/db' failed: No such file or directory
Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4429]: DBERROR: init /var/
imap/db: cyrusdb error
Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4429]: done recovering cyrus 
databases
Apr 29 17:06:52 uatwebmail master[4428]: process 4429 exited, status 
1 
Apr 29 17:06:52 uatwebmail master[4428]: unable to bind lmtpunix 
socket: No such file or directory
Apr 29 17:06:52 uatwebmail master[4428]: ready for work
Apr 29 17:06:52 uatwebmail master[4430]: about to exec /usr/cyrus/bin/
ctl_cyrusdb
Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4430]: checkpointing cyrus 
databases
Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4430]: DBERROR db3: /var/
imap/db/__db.001: No such file or directory
Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4430]: DBERROR: dbenv->
open '/var/imap/db' failed: No such file or directory
Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4430]: DBERROR: init /var/
imap/db: cyrusdb error
Apr 29 17:06:52 uatwebmail ctl_cyrusdb[4430]: done checkpointing 
cyrus databases
Apr 29 17:06:52 uatwebmail master[4432]: about to exec /usr/cyrus/bin/
tls_prune
Apr 29 17:06:52 uatwebmail master[4431]: about to exec /usr/cyrus/bin/
ctl_deliver
Apr 29 17:06:52 uatwebmail ctl_deliver[4431]: DBERROR db3: /var/
imap/db/__db.001: No such file or directory
Apr 29 17:06:52 uatwebmail ctl_deliver[4431]: DBERROR: dbenv->
open '/var/imap/db' failed: No such file or directory
Apr 29 17:06:52 uatwebmail ctl_deliver[4431]: DBERROR: init /var/
imap/db: cyrusdb error
Apr 29 17:06:52 uatwebmail tls_prune[4432]: DBERROR db3: /var/
imap/db/__db.001: No such file or directory
Apr 29 17:06:52 uatwebmail tls_prune[4432]: DBERROR: dbenv->open 
'/var/imap/db' failed: No such file or directory
Apr 29 17:06:52 uatwebmail tls_prune[4432]: DBERROR db3: 
environment not yet opened
Apr 29 17:06:52 uatwebmail tls_prune[4432]: DBERROR: opening /var/
imap/tls_sessions.db: Invalid argument
Apr 29 17:06:52 uatwebmail master[4428]: process 4431 exited, status 
1
Apr 29 17:06:52 uatwebmail master[4428]: process 4430 exited, status 
1
Apr 29 17:06:52 uatwebmail tls_prune[4432]: DBERROR: opening /var/
imap/tls_sessions.db: cyrusdb error
Apr 29 17:06:52 uatwebmail master[4428]: process 4432 exited, status 
1
Apr 29 17:07:45 uatwebmail master[4436]: about to exec /usr/cyrus/bin/
imapd
Apr 29 17:07:45 uatwebmail imap[4436]: executed
Apr 29 17:07:45 uatwebmail imapd[4436]: DBERROR db3: /var/imap/
db/__db.001: No such file or directory
Apr 29 17:07:45 uatwebmail imapd[4436]: DBERROR: dbenv->open '/
var/imap/db' failed: No such file or directory
Apr 29 17:07:45 uatwebmail master[4428]: process 4436 exited, status 
75
Apr 29 17:07:45 uatwebmail perl: unable to dlopen /usr/lib/sasl2/
libsasldb.so.2: libdb-4.0.so: cannot open shared object file: No such 
file or directory


Original Message:
-----------------
From: Scott M Likens [EMAIL PROTECTED]
Date: Sun, 28 Apr 2002 13:47:36 -0600
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: SuSE 7.3, IMAP 2.1.3, SASL 2.1.2 -> authentication 
problem


--On Sunday, April 28, 2002 7:53 PM +0800 Ronnie Kwok 
<[EMAIL PROTECTED]> wrote:

> I have looked back and perform the following act, and yet, I am still
> having the same error.
>
> What I have done was,
>
> 1. checked the permission setting of sasldb2
> 2.recreate the user in sasldb
> 3. Since I was a bit worried if my previous installation of Cyrus will
> affecting this "upgrade", I tried to install the same packages  on a
> newly installed Linux but still, I am having the same problem.
>
> in sasldblistusers, I can see the entry,
> cyrus@linux: userPassword
>
> I have tried "imtest" with localhost or linux as the hostname but both
> are giving me the same error as follows.
>
> linux:/etc # /usr/local/bin/imtest -a cyrus -u cyrus linux
> C: C01 CAPABILITY
> S: * OK linux Cyrus IMAP4 v2.1.3 server ready
> S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ 
NAMESPACE UIDPLUS ID
> NO_ATOMI C_RENAME UNSELECT CHILDREN MULTIAPPEND 
SORT
> THREAD=ORDEREDSUBJECT THREAD=REFEREN CES IDLE
> S: C01 OK Completed
> Password:
> C: L01 LOGIN cyrus {10}
> + go ahead
> C: <omitted>
> L01 NO Login failed: user not found
> Authentication failed. generic failure
> Security strength factor: 0
>
> Can someone kindly suggest what else I might have missed? I 
sense that I
> might have done something wrong during the  compilation (wrong
> compilation option given) but I cannot figure out what it is. And is the
> line of "Capability" a normal one?  Should I see any login/auth 
method
> from this line (I am using PLAINTEXT login)?
>
> Many thanks.

Have you used Cyradmn or WebCyradmn and created the mailbox for 
cyrus yet?

ie cm user.cyrus

listacl user.cyrus
Looks like it's Authenticating but since there's no mailbox for cyrus it's 
failing.

That's my thought.  How about some of the error messages from 
/var/adm/messages and dmesg?

Scott

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

Reply via email to