Questions on some weird problems im experiencing

2004-01-14 Thread Jason Williams
I've been working with Cyrus for a little over a week now. Doing some 
testing and such in preparation for rolling cyrus out for our company.

Note: Running FreeBSD 4.9 as the OS.

I've tested installing cyrus and cyrus-sasl both through source and through 
the ports tree.
What is interesting is that i've run into a few things that I can't seem to 
figure out why they are happening.

On this last time of testing, I did the following:

Fresh install of FreeBSD: CVSup the source and ports.

I added cyrus-sasl2 through the ports tree with the following config options:

make WITH_BDB_VER=41 -DWITHOUT_NTLM install clean

Then, I added cyrus-imapd2..

make WITH_BDB_VER=41 -DWITH_SKIPLIST -DWITH_MURDER

Did the initial configuring and testing.

After that, I tested logging into the cyradm interface to setup some user 
mail boxes. When I tail the /var/log/auth.log, I see the following entries:

Jan 14 11:41:47 obsidian imapd[156]: opiechallenge: user not found or locked

This is the first one that pops up when I log into cyradm with a user I 
specified in the 'admins' section of imapd.conf

Now, when I add a user to the sasldb2: saslpasswd -c testuser
I get the following:
Jan 14 11:46:17 obsidian saslpasswd2: setpass succeeded for testuser
Jan 14 11:46:17 obsidian saslpasswd2: error deleting entry from sasldb: 
DB_NOTFOUND: No matching key/data pair found
Jan 14 11:46:17 obsidian last message repeated 2 times

Since im not familiar with the DB_NOTFOUND message as well as the 
opiechallenge message, I thought I would ask here, see if anyone had any 
idea what it could be.
I googled a bit, but did not find anything as to WHY this was showing up.

I appreciate the help.

Jason



Re: Questions on some weird problems im experiencing

2004-01-14 Thread Jason Williams
I did a few other tests and wanted to add it here.

When I test with 'imtest' I see no errors in the /var/log/auth.log

I get erros in auth.log for the following:

When I tried to delete a user from the sasldb2, I received the following:

obsidian# saslpasswd2 -d cyrusadm

Jan 14 12:22:53 obsidian saslpasswd2: setpass succeeded for cyrusadm
Jan 14 12:22:53 obsidian saslpasswd2: error deleting entry from sasldb: 
DB_NOTFOUND: No matching key/data pair found
Jan 14 12:22:53 obsidian last message repeated 2 times

And I still get the opiechallenge entry in auth.log when I log into cyradm.

Just wanted to add more info.

Thanks for the help.

Jason

At 11:55 AM 1/14/2004 -0800, you wrote:
I've been working with Cyrus for a little over a week now. Doing some 
testing and such in preparation for rolling cyrus out for our company.

Note: Running FreeBSD 4.9 as the OS.

I've tested installing cyrus and cyrus-sasl both through source and 
through the ports tree.
What is interesting is that i've run into a few things that I can't seem 
to figure out why they are happening.

On this last time of testing, I did the following:

Fresh install of FreeBSD: CVSup the source and ports.

I added cyrus-sasl2 through the ports tree with the following config options:

make WITH_BDB_VER=41 -DWITHOUT_NTLM install clean

Then, I added cyrus-imapd2..

make WITH_BDB_VER=41 -DWITH_SKIPLIST -DWITH_MURDER

Did the initial configuring and testing.

After that, I tested logging into the cyradm interface to setup some user 
mail boxes. When I tail the /var/log/auth.log, I see the following entries:

Jan 14 11:41:47 obsidian imapd[156]: opiechallenge: user not found or locked

This is the first one that pops up when I log into cyradm with a user I 
specified in the 'admins' section of imapd.conf

Now, when I add a user to the sasldb2: saslpasswd -c testuser
I get the following:
Jan 14 11:46:17 obsidian saslpasswd2: setpass succeeded for testuser
Jan 14 11:46:17 obsidian saslpasswd2: error deleting entry from sasldb: 
DB_NOTFOUND: No matching key/data pair found
Jan 14 11:46:17 obsidian last message repeated 2 times

Since im not familiar with the DB_NOTFOUND message as well as the 
opiechallenge message, I thought I would ask here, see if anyone had any 
idea what it could be.
I googled a bit, but did not find anything as to WHY this was showing up.

I appreciate the help.

Jason



Re: Questions on some weird problems im experiencing

2004-01-14 Thread Jason Williams
More pieces to the puzzle.

I've been skimming archives that have similar errors that I am having. 
After going through a few additional logs, I found this in my 
/var/log/messages:

Jan 14 12:57:21 obsidian ctl_cyrusdb[284]: checkpointing cyrus databases
Jan 14 12:57:21 obsidian ctl_cyrusdb[284]: DBERROR: error listing log 
files: DB_NOTFOUND: No matching key/data pair found
Jan 14 12:57:21 obsidian ctl_cyrusdb[284]: DBERROR: archive /var/imap/db: 
cyrusdb error
Jan 14 12:57:21 obsidian ctl_cyrusdb[284]: done checkpointing cyrus databases

Possible database corruption?

Still searching. I'm also wondering if it was anything to do with possible 
options I configured with cyrus-imapd2 through the ports tree.

I apprecate the help.

Jason
At 12:26 PM 1/14/2004 -0800, you wrote:
I did a few other tests and wanted to add it here.

When I test with 'imtest' I see no errors in the /var/log/auth.log

I get erros in auth.log for the following:

When I tried to delete a user from the sasldb2, I received the following:

obsidian# saslpasswd2 -d cyrusadm

Jan 14 12:22:53 obsidian saslpasswd2: setpass succeeded for cyrusadm
Jan 14 12:22:53 obsidian saslpasswd2: error deleting entry from sasldb: 
DB_NOTFOUND: No matching key/data pair found
Jan 14 12:22:53 obsidian last message repeated 2 times

And I still get the opiechallenge entry in auth.log when I log into cyradm.

Just wanted to add more info.

Thanks for the help.

Jason

At 11:55 AM 1/14/2004 -0800, you wrote:
I've been working with Cyrus for a little over a week now. Doing some 
testing and such in preparation for rolling cyrus out for our company.

Note: Running FreeBSD 4.9 as the OS.

I've tested installing cyrus and cyrus-sasl both through source and 
through the ports tree.
What is interesting is that i've run into a few things that I can't seem 
to figure out why they are happening.

On this last time of testing, I did the following:

Fresh install of FreeBSD: CVSup the source and ports.

I added cyrus-sasl2 through the ports tree with the following config options:

make WITH_BDB_VER=41 -DWITHOUT_NTLM install clean

Then, I added cyrus-imapd2..

make WITH_BDB_VER=41 -DWITH_SKIPLIST -DWITH_MURDER

Did the initial configuring and testing.

After that, I tested logging into the cyradm interface to setup some user 
mail boxes. When I tail the /var/log/auth.log, I see the following entries:

Jan 14 11:41:47 obsidian imapd[156]: opiechallenge: user not found or locked

This is the first one that pops up when I log into cyradm with a user I 
specified in the 'admins' section of imapd.conf

Now, when I add a user to the sasldb2: saslpasswd -c testuser
I get the following:
Jan 14 11:46:17 obsidian saslpasswd2: setpass succeeded for testuser
Jan 14 11:46:17 obsidian saslpasswd2: error deleting entry from sasldb: 
DB_NOTFOUND: No matching key/data pair found
Jan 14 11:46:17 obsidian last message repeated 2 times

Since im not familiar with the DB_NOTFOUND message as well as the 
opiechallenge message, I thought I would ask here, see if anyone had any 
idea what it could be.
I googled a bit, but did not find anything as to WHY this was showing up.

I appreciate the help.

Jason