cyrus-sasl error

2002-10-28 Thread Gregory Chagnon
Hi-
I built a cyrus-sasl-2.1.7-2 RPM from the source RPM, configured it to use 
--with-ldap, but when I run saslauthd I get this error.  Any idea why?  
Thanks!!

[rootLunar]:/var/log /usr/sbin/saslauthd -a ldap
saslauthd: unknown authentication mechanism: ldap


-GC

_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



Re: cyrus-sasl error

2002-10-28 Thread Igor Brezac

On Mon, 28 Oct 2002, Gregory Chagnon wrote:

 Hi-
 I built a cyrus-sasl-2.1.7-2 RPM from the source RPM, configured it to use
 --with-ldap, but when I run saslauthd I get this error.  Any idea why?
 Thanks!!

 [rootLunar]:/var/log /usr/sbin/saslauthd -a ldap
 saslauthd: unknown authentication mechanism: ldap


It appears that the configure script did not find openldap.  Rerun
configure (try ./configure --with-ldap=/usr, it is good to 'make
distclean' before you rerun configure) and look for

checking for ldap_initialize in -lldap... yes

If ldap_initialize is not found, check saslauthd/config.log for errors.

Hope this helps.

-- 
Igor




re: Need assistance with db3/cyrus/sasl error

2002-02-20 Thread Dave C

Hello,

We are trying to get postfix w/cyrus working on a SuSE
7.3 Sparc64.  I have tried both doing it via source
and doing it via rpms. I seem to run into the same
problem both times. I have Berkley db-devel-3.1.17-87
and db-3.1.17-87, postfix version 20010228pl04-21,
cyrus imapd version 2.0.16-21, and cyrus sasl version
1.5.24-69. The problem seems to be with either
ctl_mboxlist or just cyrus in general when we try and
execute /usr/cyrus/bin/master  the tail of
/var/log/messages gives me the following:

Feb 20 08:35:37 swiss -- MARK --
Feb 20 08:47:56 swiss master[3100]: about to exec
/usr/cyrus/bin/ctl_mboxlist
Feb 20 08:47:56 swiss ctl_mboxlist[3100]:
checkpointing mboxlist
Feb 20 08:47:56 swiss ctl_mboxlist[3100]: DBERROR db3:
region error detected; run recovery.
Feb 20 08:47:56 swiss ctl_mboxlist[3100]: DBERROR:
dbenv-open '/var/imap/db' failed: DB_RUNRECOVERY:
Fatal error, run database recovery

I have looked high and low and found no resolution, I
was hoping someone here could shed some light on this
problem to us. saslpasswd sets up passwords, and
sasldblistusers shows the users setup, we want to use
sasldb as the pwcheck method, our imapd.conf looks
like:

configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus root
allowanonymouslogin: no
autocreatequota: 1
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
sasl_pwcheck_method: sasldb

the permissions in /var/imap look like:

drwxr-xr-x2 cyrusmail 4096 Feb 19
17:15 db
drwxr-xr-x3 cyrusmail 4096 Feb 19
14:38 deliverdb
drwxr-x---2 cyrusmail 4096 Nov  9
09:05 log
-rw-r--r--1 cyrusmail0 Nov  9
09:05 mailboxes
-rw-r--r--1 cyrusmail0 Feb 19
17:05 mailboxes.db
drwxr-x---2 cyrusmail 4096 Nov  9
09:05 msg
drwxr-x---2 cyrusmail 4096 Nov  9
09:05 proc
drwxr-x---   28 cyrusmail 4096 Feb 19
14:36 quota
drwxr-x---2 cyrusmail 4096 Feb 19
17:17 socket
drwxr-x---   28 cyrusmail 4096 Feb 19
14:36 user

If i try and do a reconstruct of the mailboxes with -r
or even just straight reconstruct I get the following
output:

cyrus@swiss:~ reconstruct -r
reconstruct: can't initialize mboxlist environment
cyrus@swiss:~ reconstruct 
reconstruct: can't initialize mboxlist environment
cyrus@swiss:~ 

And a tail of the logs shows me:

Feb 20 08:55:05 swiss PAM-unix2[3124]: session started
for user cyrus, service su 
Feb 20 08:55:08 swiss reconstruct[3138]: DBERROR db3:
region error detected; run recovery.
Feb 20 08:55:08 swiss reconstruct[3138]: DBERROR:
dbenv-open '/var/imap/db' failed: DB_RUNRECOVERY:
Fatal error, run database recovery
Feb 20 08:55:11 swiss reconstruct[3139]: DBERROR db3:
region error detected; run recovery.
Feb 20 08:55:11 swiss reconstruct[3139]: DBERROR:
dbenv-open '/var/imap/db' failed: DB_RUNRECOVERY:
Fatal error, run database recovery

so basically the same issue it seems, the same error
causing the cyrus not to initialize properly.  Well I
hope I gave enough information, ANY help would be
GREATLY appreciated. If this is the wrong mailing list
to send this to if someone could help us and direct us
to the proper location that would be great. Thank you.

DaveC


__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com