Cyrus Login

Cory D. Wiles cory at digitalcaffeine.com
Wed Aug 4 16:57:22 EDT 2004


I wish I had gotten this email just about an hour sooner.  I got so frustrated with everything that I recompiled sasl2 and cyrus-imap.  During the compile process I was still looking up reference material and ran across some cyradm information and realized that I hadn't created the mailbox 'user.cwiles'. 

However when i try to get into the cyradm and login i get a 'Segmentation Fault' error.  Just when I could have had everything fixed.

My saslauthd config line is:
./configure --disable-krb4 --disable-gssapi --disable-cram --disable-digest  --enable-plain

My cyrus-imap config line is:
./configure --with-auth=unix --with-perl=/usr/bin/perl --with-comm_err=/usr/include/et/com_err.h --with-idle=idled --with-mboxlist-db=skiplist --with-seen-db=skiplist --with-duplicate-db=skiplist --with-sasl=/usr/lib/sasl2

When i try to run:
$cyradm -user cyradmin stasis
and enter my password is when I get the segmentation fault error.

here is my auth.log
--------------------
Aug  4 13:53:54 stasis imap[22007]: unable to open Berkeley db /etc/sasldb2: No such file or directory
Aug  4 13:53:54 stasis imap[22007]: no OTP secret in database
Aug  4 13:53:57 stasis perl: GSSAPI Error: Miscellaneous failure (No credentials cache found)
Aug  4 13:53:57 stasis imap[22007]: DIGEST-MD5 server step 1
Aug  4 13:53:57 stasis perl: DIGEST-MD5 client step 2
Aug  4 13:53:57 stasis imap[22007]: DIGEST-MD5 server step 2
Aug  4 13:53:57 stasis imap[22007]: unable to open Berkeley db /etc/sasldb2: No such file or directory
Aug  4 13:53:57 stasis imap[22007]: unable to open Berkeley db /etc/sasldb2: No such file or directory
Aug  4 13:53:57 stasis imap[22007]: no secret in database


Imapd.log
---------------------
Aug  4 13:53:51 stasis master[22007]: about to exec /usr/cyrus/bin/imapd
Aug  4 13:53:51 stasis imap[22007]: executed
Aug  4 13:53:51 stasis imap[22007]: accepted connection
Aug  4 13:53:54 stasis imap[22007]: badlogin: stasis.randomthoughtprocess.com [127.0.0.1] OTP [SASL(-13): user not found: no OTP secret in database]
Aug  4 13:53:57 stasis imap[22007]: badlogin: stasis.randomthoughtprocess.com [127.0.0.1] DIGEST-MD5 [SASL(-13): user not found: no secret in database]

Thoughts on why I can't login into cyradm?

> I sent this yesterday but I think I forgot some important information.
>
> I have been working getting cyrus 2.2.8 running for the past two days but
> I am having some serious issues. When my email client prompts me for the
> password I get the following error: 'Sending password did not succeed.
> Mail server stasis.randomthoughtprocess.com responded:Unable to locate
> maildrop: Mailbox doesn't exist.'

Did you create the mailbox for cwiles? Cyrus doesn't create it
automagically (until you patched cyrus to do it). Login with cyradm and do
a 'cm user.cwiles'.

Simon

>
> Here are some of the files that I think might help diagnos the problem.
> Like i said I have tried everything to get this to work, but I know that
> there is something that I am missing.
>
> ++Latest auth.log file++++++++++++++++++++++++++++++++++++++++++++++++
> Aug  2 06:39:13 stasis sshd(pam_unix)[18076]: authentication failure;
> logname= uid=0 euid=0 tty=NODEVssh ruser=
> rhost=168-215-137-46.cmcsmart.com  user=cwiles
> Aug  2 06:39:19 stasis sshd(pam_unix)[18078]: session opened for user
> cwiles by (uid=500)
> Aug  2 07:32:20 stasis pop3[18118]: could not find auxprop plugin, was
> searching for '[all]'
> ++end auth.log file++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> ++Latest imapd.log+++++++++++++++++++++++++++++++++++++++++++++++++++++
> Aug  2 07:32:17 stasis master[18118]: about to exec /usr/cyrus/bin/pop3d
> Aug  2 07:32:17 stasis pop3[18118]: executed
> Aug  2 07:32:17 stasis pop3[18118]: accepted connection
> Aug  2 07:32:20 stasis pop3[18118]: login: jenna.randomthoughtprocess.com
> [192.168.1.100] cwiles plaintext User logged in
> Aug  2 07:32:23 stasis pop3[18118]: Unable to locate maildrop for cwiles:
> Mailbox does not exist
> Aug  2 07:33:45 stasis master[17414]: process 18118 exited, status 0
> ++end imapd.log+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> ++Latest messages+++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Aug  2 07:27:35 stasis ctl_cyrusdb[18116]: checkpointing cyrus databases
> Aug  2 07:27:35 stasis ctl_cyrusdb[18116]: done checkpointing cyrus
> databases
> Aug  2 07:32:20 stasis pop3[18118]: login: jenna.randomthoughtprocess.com
> [192.168.1.100] cwiles plaintext User logged in
> Aug  2 07:32:23 stasis pop3[18118]: Unable to locate maildrop for cwiles:
> Mailbox does not exist
> Aug  2 07:38:23 stasis su(pam_unix)[18124]: session opened for user root
> by cwiles(uid=500)
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> ++Begin /etc/imapd.conf+++++++++++++++++++++++++++++++++++++++++++++++++
> configdirectory: /var/imap
> partition-default: /var/spool/imap
> admins: cyradmin
> sasl_pwcheck_method: saslauthd
> sievedir: /usr/local/sieve
> hashimapspool: true
> altnamespace: yes
> unixhierarchysep: yes
> sendmail: /usr/sbin/sendmail
> timeout: 90
> allowplaintext: yes
> ++end /etc/imapd.conf+++++++++++++++++++++++++++++++++++++++++++++++++++
>
> ++Begin /etc/cyrus.conf+++++++++++++++++++++++++++++++++++++++++++++++++
> # standard standalone server implementation
>
> START {
>   # do not delete this entry!
>   recover       cmd="ctl_cyrusdb -r"
>
>   # this is only necessary if using idled for IMAP IDLE
> #  idled                cmd="idled"
> }
>
> # UNIX sockets start with a slash and are put into /var/imap/socket
> SERVICES {
>   # add or remove based on preferences
>   imap          cmd="imapd" listen="imap" prefork=0
>   imaps         cmd="imapd -s" listen="imaps" prefork=0
>   pop3          cmd="pop3d" listen="pop3" prefork=0
>   pop3s         cmd="pop3d -s" listen="pop3s" prefork=0
>   sieve         cmd="timsieved" listen="sieve" prefork=0
>
>   # these are only necessary if receiving/exporting usenet via NNTP
> #  nntp         cmd="nntpd" listen="nntp" prefork=0
> #  nntps                cmd="nntpd -s" listen="nntps" prefork=0
>
>   # at least one LMTP is required for delivery
> #  lmtp         cmd="lmtpd" listen="lmtp" prefork=0
>   lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
>
>   # this is only necessary if using notifications
> #  notify       cmd="notifyd" listen="/var/imap/socket/notify" proto="udp"
> prefork=1
> }
>
> EVENTS {
>   # this is required
>   checkpoint    cmd="ctl_cyrusdb -c" period=30
>
>   # this is only necessary if using duplicate delivery suppression,
>   # Sieve or NNTP
>   delprune      cmd="cyr_expire -E 3" at=0400
>
>   # this is only necessary if caching TLS sessions
>   tlsprune      cmd="tls_prune" at=0400
> }
> ++end /etc/cyrus.conf+++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Any insight to this would be greatly appreciated. Setting up a mail server
> is a NEW concept for me and guidance would be greatly appreciated.
>
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>


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

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




More information about the Info-cyrus mailing list