cyradm segfault
corner at chello.at
corner at chello.at
Thu Mar 20 11:51:30 EST 2003
Please ignore my first message. I went through it again and now it works. I
tried cyradm a little differently:
cyradm> connect -noauth localhost
localhost> auth imap
Please enter your password:
IMAP Password: localhost>
localhost> cm user.corner
....etc.
Now my only problem is to get the old messages back online. I screwed up and
lost imapd's mailbox files, but I still have all the old emails. I am trying
just copying them back into the new tree that is currently working. Then maybe
I will try "reconstruct".
On 20-Mar-2003 corner at chello.at wrote:
> Hello,
>
> I am trying to set up cyrus imapd from scratch. I have configured sasl as
> follows:
>
> ./configure --enable-alwaystrue --disable-krb4 --disable-gssapi \
> --with-bdb-libdir=/usr/lib --with-bdb-incdir=/usr/include/db3 \
> --without-pam --with-saslauthd --enable-plain
>
>
> It compiles fine.
>
> Then I configured imapd as follows:
>
> ./configure --with-cyrus-user=imap --with-cyrus-group=imap \
> --with-bdb-libdir=/usr/lib --with-bdb-incdir=/usr/include/db3 \
> --with-auth=unix
>
> at boot I call master & saslauthd in rc.local:
> /usr/local/sbin/saslauthd -a shadow
> /usr/cyrus/bin/master &
>
> My cyrus.conf, imapd.conf, and /var/adm/imapd.log files are below. I created
> /var/imap and /var/spool/imap with my cyrus user as owner and then I ran
> ./tools/mkimap. Then I ran cyradm to create a user account:
>
> cyradm> connect -noauth localhost
> localhost> auth -mech plain imap
> Please enter your password:
> Segmentation fault
>
> Now I seem to be dead in the water
>
> My /etc/cyrus.conf:
> ------------------------------------------------------------------------------
> --
># standard standalone server implementation
>
> START {
> # do not delete this entry!
> deliver 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=1
> 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=1
>
> # at least one LMTP is required for delivery
># lmtp cmd="lmtpd" listen="lmtp" prefork=0
> lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=1
> }
>
> EVENTS {
> # this is required
> checkpoint cmd="ctl_cyrusdb -c" period=30
>
> # this is only necessary if using duplicate delivery suppression
> delprune cmd="ctl_deliver -E 3" period=1440
> }
> ------------------------------------------------------------------------------
> --
>
>#my /etc/imapd.conf:
> ------------------------------------------------------------------------------
> --
> configdirectory: /var/imap
> partition-default: /var/spool/imap
> sieveusehomedir: true
> sasl_mech_list: plain md5
> sasl_pwcheck_method: saslauthd
> admins: imap
> srvtab: /etc/srvtab
> sendmail: /usr/sbin/sendmail
> allowanonymouslogin: no
> sasl_passwd_check: plain
> ------------------------------------------------------------------------------
> --
> apparently imap starts up ok: /var/adm/imapd.log:
> ------------------------------------------------------------------------------
> --
> Mar 20 16:18:49 www master[140]: process started
> Mar 20 16:18:49 www master[140]: process started
> Mar 20 16:18:49 www master[154]: about to exec /usr/cyrus/bin/ctl_cyrusdb
> Mar 20 16:18:49 www master[154]: about to exec /usr/cyrus/bin/ctl_cyrusdb
> Mar 20 16:18:50 www ctl_cyrusdb[154]: recovering cyrus databases
> Mar 20 16:18:50 www ctl_cyrusdb[154]: recovering cyrus databases
> Mar 20 16:18:52 www ctl_cyrusdb[154]: done recovering cyrus databases
> Mar 20 16:18:52 www ctl_cyrusdb[154]: done recovering cyrus databases
> Mar 20 16:18:53 www master[140]: ready for work
> Mar 20 16:18:53 www master[140]: ready for work
> Mar 20 16:18:53 www master[183]: about to exec /usr/cyrus/bin/ctl_cyrusdb
> Mar 20 16:18:53 www master[183]: about to exec /usr/cyrus/bin/ctl_cyrusdb
> Mar 20 16:18:53 www ctl_cyrusdb[183]: checkpointing cyrus databases
> Mar 20 16:18:53 www ctl_cyrusdb[183]: checkpointing cyrus databases
> Mar 20 16:18:53 www master[184]: about to exec /usr/cyrus/bin/ctl_deliver
> Mar 20 16:18:53 www master[184]: about to exec /usr/cyrus/bin/ctl_deliver
> Mar 20 16:18:53 www master[185]: about to exec /usr/cyrus/bin/imapd
> Mar 20 16:18:53 www master[185]: about to exec /usr/cyrus/bin/imapd
> Mar 20 16:18:53 www master[186]: about to exec /usr/cyrus/bin/timsieved
> Mar 20 16:18:53 www master[186]: about to exec /usr/cyrus/bin/timsieved
> Mar 20 16:18:53 www master[187]: about to exec /usr/cyrus/bin/lmtpd
> Mar 20 16:18:53 www master[187]: about to exec /usr/cyrus/bin/lmtpd
> Mar 20 16:18:53 www lmtpunix[187]: executed
> Mar 20 16:18:53 www lmtpunix[187]: executed
> Mar 20 16:18:53 www imap[185]: executed
> Mar 20 16:18:53 www imap[185]: executed
> Mar 20 16:18:53 www sieve[186]: executed
> Mar 20 16:18:53 www sieve[186]: executed
> Mar 20 16:18:54 www ctl_cyrusdb[183]: archiving database file:
> /var/imap/mailboxes.db
> Mar 20 16:18:54 www ctl_cyrusdb[183]: archiving database file:
> /var/imap/mailboxes.db
> Mar 20 16:18:54 www ctl_cyrusdb[183]: archiving log file:
> /var/imap/db/log.0000000001
> Mar 20 16:18:54 www ctl_cyrusdb[183]: archiving log file:
> /var/imap/db/log.0000000001
> Mar 20 16:18:54 www ctl_cyrusdb[183]: archiving log file:
> /var/imap/db/log.0000000001
> Mar 20 16:18:54 www ctl_cyrusdb[183]: done checkpointing cyrus databases
> Mar 20 16:18:54 www ctl_cyrusdb[183]: archiving log file:
> /var/imap/db/log.0000000001
> Mar 20 16:18:54 www ctl_cyrusdb[183]: done checkpointing cyrus databases
> Mar 20 16:18:54 www master[140]: process 183 exited, status 0
> Mar 20 16:18:54 www master[140]: process 183 exited, status 0
> Mar 20 16:18:54 www ctl_deliver[184]: duplicate_prune: pruning back 3 days
> Mar 20 16:18:54 www ctl_deliver[184]: duplicate_prune: pruning back 3 days
> Mar 20 16:18:54 www ctl_deliver[184]: duplicate_prune: purged 0 out of 0
> entries
> Mar 20 16:18:54 www ctl_deliver[184]: duplicate_prune: purged 0 out of 0
> entries
> Mar 20 16:18:54 www master[140]: process 184 exited, status 0
> Mar 20 16:18:54 www master[140]: process 184 exited, status 0
> Mar 20 16:20:12 www imapd[185]: accepted connection
> Mar 20 16:20:12 www imapd[185]: accepted connection
> Mar 20 16:20:12 www master[192]: about to exec /usr/cyrus/bin/imapd
> Mar 20 16:20:12 www master[192]: about to exec /usr/cyrus/bin/imapd
> Mar 20 16:20:12 www imap[192]: executed
> Mar 20 16:20:12 www imap[192]: executed
> Mar 20 16:20:13 www imapd[185]: login: emerson.corner.chello.at[192.168.0.5]
> corner plaintext
> Mar 20 16:20:13 www imapd[185]: login: emerson.corner.chello.at[192.168.0.5]
> corner plaintext
> ------------------------------------------------------------------------------
> --
>
> --
> ---------------------------------------------------
>|\/\/\___/\/\/| Carol Anne Corner &
> \____ o o ____/ Thomas Corner corner at chello.at
> ) ( 20-Mar-2003 15:52:53 Vienna, Austria
> ( * * ) mailer: xfmail
> \___/ Web Page: www.corner.chello.at
> ---------------------------------------------------
--
---------------------------------------------------
|\/\/\___/\/\/| Carol Anne Corner &
\____ o o ____/ Thomas Corner corner at chello.at
) ( 20-Mar-2003 17:42:35 Vienna, Austria
( * * ) mailer: xfmail
\___/ Web Page: www.corner.chello.at
---------------------------------------------------
More information about the Info-cyrus
mailing list