Bug#852668: cyrus-imapd: Upgrade to 2.5 fails

Ondřej Surý ondrej at sury.org
Tue Jan 31 11:20:18 UTC 2017


Hi Mart,

is it possible you haven't updated any of the config files when you ran
the upgrade and 'init-helper' is mentioned somewhere?

The init-helper command was removed from cyrus-imapd.init in 2.5.9-1

Cheers,
-- 
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
fast DNS(SEC) resolver
Vše pro chleba (https://vseprochleba.cz) – Mouky ze mlýna a potřeby pro
pečení chleba všeho druhu

On Thu, Jan 26, 2017, at 10:13, Mart van de Wege wrote:
> Package: cyrus-imapd
> Version: 2.5.10-3
> Severity: important
> 
> Dear Maintainer,
> 
> *** Reporter, please consider answering these questions, where
> appropriate ***
> 
> I tried to upgrade cyrus from Jessie 2.4 to the current 2.5 in Sid; the
> upgrade failed whe trying to restart cyrus-imapd.
> 
> The error in the logs is unhelpful, it seems it is trying to execute
> something that is missing, but I have no clue what.
> 
> Running cyrmaster manually using the arguments in
> /lib/systemd/system/cyrus-imapd.service produces this in
> /var/log/mail.log though:
> 
> Jan 26 10:08:19 amek cyrus/ctl_cyrusdb[15757]: skiplist: clean shutdown
> file missing, updating recovery stamp
> Jan 26 10:08:19 amek cyrus/ctl_cyrusdb[15757]: recovering cyrus databases
> Jan 26 10:08:19 amek cyrus/ctl_cyrusdb[15757]: done recovering cyrus
> databases
> Jan 26 10:08:19 amek cyrus/cyr_expire[15760]: Expired 0 and expunged 0
> out of 0 messages from 0 mailboxes
> Jan 26 10:08:19 amek cyrus/cyr_expire[15760]: duplicate_prune: pruning
> back 3.00 days
> Jan 26 10:08:19 amek cyrus/cyr_expire[15760]: duplicate_prune: purged 0
> out of 0 entries
> Jan 26 10:08:20 amek cyrus/tls_prune[15763]: DBERROR: opening
> /var/lib/cyrus/tls_sessions.db: cyrusdb error
> Jan 26 10:08:20 amek cyrus/master[15756]: process type:START
> name:tlsprune path:/usr/sbin/cyrus age:0.000s pid:15763 exited, status 1
> Jan 26 10:08:20 amek cyrus/master[15756]: can't run startup
> Jan 26 10:08:20 amek cyrus/master[15756]: exiting
> 
> Commenting out tlsprune in /etc/cyrus.conf makes it possible to manually
> start cyrmaster, but starting it as a service using systemctl *still*
> fails with the output below.
> 
> This is on a pristine system. No mailboxes, a fresh install.
> 
> output of journalctl -u cyrus-imapd.service:
> 
> Jan 26 09:59:21 <hostname> systemd[1]: Starting Cyrus IMAP/POP3
> daemons...
> Jan 26 09:59:21 <hostname> cyrus[15508]: ERROR: init-helper: Unknown
> command or command not installed
> Jan 26 09:59:21 <hostname> cyrus[15508]: usage: cyrus COMMAND [ARGS]
> Jan 26 09:59:21 <hostname> cyrus[15508]: The most commonly used cyr
> commands are:
> Jan 26 09:59:21 <hostname> cyrus[15508]:    reconstruct   reconstruct
> mailboxes
> Jan 26 09:59:21 <hostname> cyrus[15508]:    quota         report and
> optionally fix quota usage
> Jan 26 09:59:21 <hostname> cyrus[15508]:    squatter      reindex
> mailboxes
> Jan 26 09:59:21 <hostname> cyrus[15508]:    mbpath        translate
> mailbox names to filesystem paths
> Jan 26 09:59:21 <hostname> cyrus[15508]:    mboxlist      perform
> operations on the mailbox list database
> Jan 26 09:59:21 <hostname> cyrus[15508]:    check         perform a
> consistency check of the cyrus mailstore
> Jan 26 09:59:21 <hostname> cyrus[15508]:    tls_prune     prune expired
> sessions from the TLS sessions database
> Jan 26 09:59:21 <hostname> cyrus[15508]:    ctl_cyrusdb   perform
> operations common to all Cyrus databases
> Jan 26 09:59:21 <hostname> cyrus[15508]:    expire        expire messages
> and duplicate delivery database entries
> Jan 26 09:59:21 <hostname> cyrus[15508]:    arbitron      arbitron
> mailboxes
> Jan 26 09:59:21 <hostname> cyrus[15508]:    cvt_cyrusdb   convert a
> database file between cyrus database formats
> Jan 26 09:59:21 <hostname> cyrus[15508]:    arbitronsort  sorts
> arbitron(8) output
> Jan 26 09:59:21 <hostname> cyrus[15508]:    ipurge        delete mail
> from IMAP mailbox or partition based on age or size
> Jan 26 09:59:21 <hostname> cyrus[15508]:    makedirs      Sets up the
> Cyrus IMAPd system directories (spools)
> Jan 26 09:59:21 <hostname> cyrus[15508]: You can get manpages for
> respective command by prepending cyrus-
> Jan 26 09:59:21 <hostname> cyrus[15508]: prefix to the command name,
> f.e.:
> Jan 26 09:59:21 <hostname> cyrus[15508]:    man 8 cyrus-reconstruct
> Jan 26 09:59:21 <hostname> systemd[1]: cyrus-imapd.service: Control
> process exited, code=exited status=1
> Jan 26 09:59:21 <hostname> systemd[1]: Failed to start Cyrus IMAP/POP3
> daemons.
> Jan 26 09:59:21 <hostname> systemd[1]: cyrus-imapd.service: Unit entered
> failed state.
> Jan 26 09:59:21 <hostname> systemd[1]: cyrus-imapd.service: Failed with
> result 'exit-code'.
> Jan 26 09:59:21 <hostname> systemd[1]: cyrus-imapd.service: Service
> hold-off time over, scheduling restart.
> Jan 26 09:59:21 <hostname> systemd[1]: Stopped Cyrus IMAP/POP3 daemons.
> Jan 26 09:59:21 <hostname> systemd[1]: cyrus-imapd.service: Start request
> repeated too quickly.
> Jan 26 09:59:21 <hostname> systemd[1]: Failed to start Cyrus IMAP/POP3
> daemons.
> Jan 26 09:59:21 <hostname> systemd[1]: cyrus-imapd.service: Unit entered
> failed state.
> Jan 26 09:59:21 <hostname> systemd[1]: cyrus-imapd.service: Failed with
> result 'exit-code'.
> 
> 
> -- System Information:
> Debian Release: 9.0
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (500, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 4.8.4 (SMP w/2 CPU cores)
> Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages cyrus-imapd depends on:
> ih  cyrus-common  2.5.10-3
> ii  dpkg          1.18.18
> ii  libc6         2.24-9
> ii  libicu57      57.1-5
> ii  libsasl2-2    2.1.27~101-g0780600+dfsg-2
> ii  libssl1.1     1.1.0c-4
> ii  libwrap0      7.6.q-26
> ii  zlib1g        1:1.2.8.dfsg-4
> 
> cyrus-imapd recommends no packages.
> 
> cyrus-imapd suggests no packages.
> 
> -- no debconf information
> 
> _______________________________________________
> Pkg-Cyrus-imapd-Debian-devel mailing list
> Pkg-Cyrus-imapd-Debian-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-cyrus-imapd-debian-devel



More information about the Pkg-Cyrus-imapd-Debian-devel mailing list