Bug#921326: exim4-daemon-light: old exim4 daemon did not stop; socket bind() to port 25 for address 127.0.0.1 failed: Address already in use: daemon abandoned
Vincent Lefevre
vincent at vinc17.net
Mon Feb 4 09:22:29 GMT 2019
Package: exim4-daemon-light
Version: 4.92~RC5-1
Severity: important
After the latest upgrade, I got in /var/log/exim4/paniclog:
2019-02-01 11:15:40 socket bind() to port 25 for address 127.0.0.1 failed: Address already in use: daemon abandoned
and Cron em-mail messages:
exim paniclog /var/log/exim4/paniclog on cventin.lip.ens-lyon.fr has non-zero size, mail system might be broken. The last 10 lines are quoted below.
2019-02-01 11:15:40 socket bind() to port 25 for address 127.0.0.1 failed: Address already in use: daemon abandoned
This seems similar to bug 921205, but for IPv4.
The following daemon is running:
Debian-+ 1194 1 0 Jan25 ? 00:00:01 /usr/sbin/exim4 -bd -q5m
January 25 is before the upgrade (when the machine was last rebooted).
/var/log/dpkg.log excerpt (concerning exim):
2019-02-01 11:10:49 upgrade exim4-config:all 4.92~RC4-3 4.92~RC5-1
2019-02-01 11:10:49 status half-configured exim4-config:all 4.92~RC4-3
2019-02-01 11:10:49 status unpacked exim4-config:all 4.92~RC4-3
2019-02-01 11:10:49 status half-installed exim4-config:all 4.92~RC4-3
2019-02-01 11:10:49 status unpacked exim4-config:all 4.92~RC5-1
2019-02-01 11:10:49 upgrade exim4:all 4.92~RC4-3 4.92~RC5-1
2019-02-01 11:10:49 status half-configured exim4:all 4.92~RC4-3
2019-02-01 11:10:49 status unpacked exim4:all 4.92~RC4-3
2019-02-01 11:10:49 status half-installed exim4:all 4.92~RC4-3
2019-02-01 11:10:49 status unpacked exim4:all 4.92~RC5-1
2019-02-01 11:10:50 upgrade exim4-daemon-light:amd64 4.92~RC4-3 4.92~RC5-1
2019-02-01 11:10:50 status half-configured exim4-daemon-light:amd64 4.92~RC4-3
2019-02-01 11:10:50 status unpacked exim4-daemon-light:amd64 4.92~RC4-3
2019-02-01 11:10:50 status half-installed exim4-daemon-light:amd64 4.92~RC4-3
2019-02-01 11:10:50 status unpacked exim4-daemon-light:amd64 4.92~RC5-1
2019-02-01 11:10:50 upgrade exim4-base:amd64 4.92~RC4-3 4.92~RC5-1
2019-02-01 11:10:50 status half-configured exim4-base:amd64 4.92~RC4-3
2019-02-01 11:10:50 status unpacked exim4-base:amd64 4.92~RC4-3
2019-02-01 11:10:50 status half-installed exim4-base:amd64 4.92~RC4-3
2019-02-01 11:10:51 status unpacked exim4-base:amd64 4.92~RC5-1
[...]
2019-02-01 11:10:55 startup packages configure
2019-02-01 11:10:55 configure exim4-config:all 4.92~RC5-1 <none>
2019-02-01 11:10:55 status unpacked exim4-config:all 4.92~RC5-1
2019-02-01 11:10:55 status half-configured exim4-config:all 4.92~RC5-1
2019-02-01 11:10:57 status installed exim4-config:all 4.92~RC5-1
[...]
2019-02-01 11:11:07 configure exim4-base:amd64 4.92~RC5-1 <none>
2019-02-01 11:11:07 status unpacked exim4-base:amd64 4.92~RC5-1
2019-02-01 11:11:07 status half-configured exim4-base:amd64 4.92~RC5-1
2019-02-01 11:11:07 status installed exim4-base:amd64 4.92~RC5-1
[...]
2019-02-01 11:11:09 configure exim4-daemon-light:amd64 4.92~RC5-1 <none>
2019-02-01 11:11:09 status unpacked exim4-daemon-light:amd64 4.92~RC5-1
2019-02-01 11:11:09 status half-configured exim4-daemon-light:amd64 4.92~RC5-1
2019-02-01 11:11:11 status installed exim4-daemon-light:amd64 4.92~RC5-1
[...]
2019-02-01 11:11:15 configure exim4:all 4.92~RC5-1 <none>
2019-02-01 11:11:15 status unpacked exim4:all 4.92~RC5-1
2019-02-01 11:11:15 status half-configured exim4:all 4.92~RC5-1
2019-02-01 11:11:16 status installed exim4:all 4.92~RC5-1
[...]
/var/log/apt/term.log excerpt (concerning exim):
Preparing to unpack .../79-exim4-config_4.92~RC5-1_all.deb ...
Unpacking exim4-config (4.92~RC5-1) over (4.92~RC4-3) ...
Preparing to unpack .../80-exim4_4.92~RC5-1_all.deb ...
Unpacking exim4 (4.92~RC5-1) over (4.92~RC4-3) ...
Preparing to unpack .../81-exim4-daemon-light_4.92~RC5-1_amd64.deb ...
Unpacking exim4-daemon-light (4.92~RC5-1) over (4.92~RC4-3) ...
Preparing to unpack .../82-exim4-base_4.92~RC5-1_amd64.deb ...
Unpacking exim4-base (4.92~RC5-1) over (4.92~RC4-3) ...
[...]
Setting up exim4-config (4.92~RC5-1) ...
[...]
Setting up exim4-base (4.92~RC5-1) ...
[...]
Setting up exim4-daemon-light (4.92~RC5-1) ...
Updating GnuTLS DH parameter file
[...]
Setting up exim4 (4.92~RC5-1) ...
[...]
journalctl excerpt (concerning exim):
[...]
Feb 01 11:10:50 cventin systemd[1]: Reloading.
Feb 01 11:10:50 cventin systemd[1]: Stopping LSB: exim Mail Transport Agent...
Feb 01 11:10:50 cventin exim4[31423]: Stopping MTA:/sbin/start-stop-daemon: matching only on non-root pidfile /run/exim4/exim.pid is insecure
Feb 01 11:10:50 cventin exim4[31423]: exim4_listener.
Feb 01 11:10:50 cventin systemd[1]: Stopped LSB: exim Mail Transport Agent.
[...]
Feb 01 11:11:07 cventin systemd[1]: Reloading.
Feb 01 11:11:09 cventin systemd[1]: Reloading.
Feb 01 11:11:10 cventin systemd[1]: exim4.service: Found left-over process 1194 (exim4) in control group while starting unit. Ignoring.
Feb 01 11:11:10 cventin systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Feb 01 11:11:10 cventin systemd[1]: Starting LSB: exim Mail Transport Agent...
Feb 01 11:11:10 cventin exim4[32215]: Starting MTA: exim4.
Feb 01 11:11:10 cventin systemd[1]: Started LSB: exim Mail Transport Agent.
[...]
So, it seems that the issue comes from the fact that the old exim4
daemon did not stop.
-- Package-specific info:
Exim version 4.92-RC5 #5 built 31-Jan-2019 18:25:03
Copyright (c) University of Cambridge, 1995 - 2018
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2018
Berkeley DB: Berkeley DB 5.3.28: (September 9, 2013)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DANE DKIM DNSSEC Event OCSP PRDR SOCKS TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
Configuration file search path is /etc/exim4/exim4.conf:/var/lib/exim4/config.autogenerated
Configuration file is /var/lib/exim4/config.autogenerated
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'
#
# Please note that this is _not_ a dpkg-conffile and that automatic changes
# to this file might happen. The code handling this will honor your local
# changes, so this is usually fine, but will break local schemes that mess
# around with multiple versions of the file.
#
# update-exim4.conf uses this file to determine variable values to generate
# exim configuration macros for the configuration file.
#
# Most settings found in here do have corresponding questions in the
# Debconf configuration, but not all of them.
#
# This is a Debian specific file
dc_eximconfig_configtype='internet'
dc_other_hostnames='cventin.lip.ens-lyon.fr'
dc_local_interfaces='127.0.0.1 ; ::1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='maildir_home'
mailname:cventin.lip.ens-lyon.fr
# /etc/default/exim4
EX4DEF_VERSION=''
# 'combined' - one daemon running queue and listening on SMTP port
# 'no' - no daemon running the queue
# 'separate' - two separate daemons
# 'ppp' - only run queue with /etc/ppp/ip-up.d/exim4.
# 'nodaemon' - no daemon is started at all.
# 'queueonly' - only a queue running daemon is started, no SMTP listener.
# setting this to 'no' will also disable queueruns from /etc/ppp/ip-up.d/exim4
QUEUERUNNER='combined'
# how often should we run the queue
QUEUEINTERVAL='5m'
# options common to quez-runner and listening daemon
COMMONOPTIONS=''
# more options for the daemon/process running the queue (applies to the one
# started in /etc/ppp/ip-up.d/exim4, too.
QUEUERUNNEROPTIONS=''
# special flags given to exim directly after the -q. See exim(8)
QFLAGS=''
# Options for the SMTP listener daemon. By default, it is listening on
# port 25 only. To listen on more ports, it is recommended to use
# -oX 25:587:10025 -oP /var/run/exim4/exim.pid
SMTPLISTENEROPTIONS=''
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-2-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages exim4-daemon-light depends on:
ii debconf [debconf-2.0] 1.5.70
ii exim4-base 4.92~RC5-1
ii libc6 2.28-5
ii libdb5.3 5.3.28+dfsg1-0.3
ii libgnutls-dane0 3.6.6-2
ii libgnutls30 3.6.6-2
ii libpcre3 2:8.39-11
exim4-daemon-light recommends no packages.
exim4-daemon-light suggests no packages.
-- debconf information:
exim4-daemon-light/drec:
More information about the Pkg-exim4-maintainers
mailing list