Problem with export db at shutdown

Simon Matter simon.matter at invoca.ch
Wed Sep 26 03:23:44 EDT 2007


> Hi there!
>
> Thanks
>
> deliver.db:
>
> /var/lib/imap/deliver.db: Berkeley DB (Btree, version 9, native
> byte-order)
>
> The running version is:
> 2.3.8-3 for FC6
>
> here is our cyrus.conf
>
>
>
> [root at mail1 ~]# vi /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/lib/imap/sockets
> SERVICES {
>   # add or remove based on preferences
>   imap          cmd="imapd" listen="imap" prefork=5
>   imaps         cmd="imapd -s" listen="imaps" prefork=1
>   pop3          cmd="pop3d" listen="pop3" prefork=3
>   pop3s         cmd="pop3d -s" listen="pop3s" prefork=1
>   sieve         cmd="timsieved" listen="sieve" prefork=1
>
>   # these are only necessary if receiving/exporting usenet via NNTP
> #  nntp         cmd="nntpd" listen="nntp" prefork=3
> #  nntps                cmd="nntpd -s" listen="nntps" prefork=1
>
>   # at least one LMTP is required for delivery
> #  lmtp         cmd="lmtpd" listen="lmtp" prefork=0
>   lmtpunix      cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1
>
>   # this is only necessary if using notifications
> #  notify       cmd="notifyd" listen="/var/lib/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
>
>   # squat it
>   squatter      cmd="squatter -r *" period=30
> }
>
>
> and here the imapd.conf
>
>
> postmaster: postmaster
> configdirectory: /var/lib/imap
> partition-default: /var/spool/imap
> admins: cyrus
> sievedir: /var/lib/imap/sieve
> sieve_maxscriptsize: 320
> sieve_maxscripts: 5
> unixhierarchysep: yes
> altnamespace: yes
> sendmail: /usr/sbin/sendmail
> hashimapspool: true
> sasl_pwcheck_method: saslauthd
> sasl_mech_list: PLAIN LOGIN
> tls_cert_file: /etc/pki/cyrus-imapd/newcert.pem
> tls_key_file: /etc/pki/cyrus-imapd/newkey.pem
> tls_ca_file: /etc/pki/cyrus-imapd/cacert.pem
> allowanonymouslogin: no
> allowplaintext: yes
> allowplainwithouttls: yes
> autocreatequota: 40000
> reject8bit: no
> quotawarn: 90
> timeout: 30
> poptimeout: 10
> dracinterval: 0
> drachost: localhost
> servername: mail1.##########.de
> #defaultdomain: mailserver.#####.de
> virtdomains: userid
> lmtp_over_quota_perm_failure: 1
>
>
>
> there no more cyrus process , just this
> 7321 cyrus     22   0  371m  17m  17m R 83.0  1.1   2:09.34 cvt_cyrusdb
>
> the convert ist running , but still a long time >15 min and end in a
> failure
>
> and some postgrey, saslauh, hhtpd,....

Can you show me your file /usr/share/cyrus-imapd/rpm/db.cfg

I'm wondering why your deliver.db is a Berkeley DB file. Do you run the
cyrus-imapd package which is shipped by Fedora?

Simon

>
>
> in /var/log/messages/ ar only some entries from salsauthd
>
>
>
>
> Georg Stich
> NovaTec
> Ingenieure für neue Informationstechnologien GmbH
> -Technic Service-
> Dieselstr. 18/1
> 70771 L.-E. Echterdingen
>
> tel.: 0700 / 52805280
> fax: 0700 / 52805290
> EMail: info at novatec-gmbh.de
> Web:  www.novatec-gmbh.de
>
>
> Sitz der Gesellschaft: Brunnenstrasse 28 – D-71111 Waldenbuch
> Handelsregister:       Stuttgart – HRB 244435
> Geschäftsführer:       Hans-Dieter Brenner – Michael Schuchart – Albrecht
> Stäbler
>
>
>
>
>
> Hi
>
>
> 5625 is not Dead but in state of uninterruptible sleep, usually
> waiting for IO.
> cvt_cyrusdb is used to change the databaseformat of a cyrusdatabase
> from one format to another. In your case the deliver.db is changed
> from berkeley to skiplist. This should only be nesseary if you changed
> your databaseformat in /etc/imapd.conf. I don't know the script
> /usr/lib/cyrus-imapd/cvt_cyrusdb_all but i think it called cvt_cyrusdb
> . Is it part of you start procedure?
>
> Which Cyrus verson do you run?
> what does  "file /var/lib/imap/deliver.db" report
> post your cyrus.conf and your imapd.conf
>
> I don't see any other cyrus proceses so i think they will get started
> after
> /usr/lib/cyrus-imapd/cvt_cyrusdb_all has finished.
>
> are there any elated errors in /var/log/messages /var/log/localmessages?
>
>
> --------------------------------------------------------------------------------
> M.Menge                                 Tel.: (49) 7071/29-70316
> Universitaet Tuebingen                  Fax.: (49) 7071/29-5912
> Zentrum fuer Datenverarbeitung          mail:
> michael.menge at zdv.uni-tuebingen.de
> Waechterstrasse 76
> 72074 Tuebingen
>
>
> <hr>
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>
>
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>


More information about the Info-cyrus mailing list