Bug#921205: socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned

2019-02-05 Thread Andreas Metzler
On 2019-02-04 Marc Haber  wrote:
> On Sun, Feb 03, 2019 at 01:20:53PM +0100, Andreas Metzler wrote:
>> That usually is a local configuration error, starting the daemon both
>> via initscript and other means, or having another program running that
>> is bound to 25. The timestamp only shows that the issue was present
>> after the latest installation/upgrade, it does not imply causality.  :-(

> I see similiar behavior in latest sid, after the upgrade to 4.92~RC5-1.
> Have not yet investigated in depth. Just mailing quickly to add my +1.

I do not see this on testing. Also RC4 to RC5 has a single code change
(in the SMTP) transport, so I rather suspect the recent systemd upgrade.

Is there any way to reproduce the problem?

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



Bug#921205: socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned

2019-02-04 Thread Marc Haber
On Sun, Feb 03, 2019 at 01:20:53PM +0100, Andreas Metzler wrote:
> That usually is a local configuration error, starting the daemon both
> via initscript and other means, or having another program running that
> is bound to 25. The timestamp only shows that the issue was present
> after the latest installation/upgrade, it does not imply causality.  :-(

I see similiar behavior in latest sid, after the upgrade to 4.92~RC5-1.
Have not yet investigated in depth. Just mailing quickly to add my +1.

Greetings
Marc

-- 
-
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany|  lose things."Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421



Bug#921205: socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned

2019-02-03 Thread 積丹尼 Dan Jacobson
severity 921205 important
thanks

The user is getting daily warning emails, thus important.

Here we observe the deamon being started, but no evidence of it ever
being stopped.

1. Please ensure the deamon being stopped is also logged! Thank you.

Anyway, every day I poweroff, so it is indeed stopped, but never logged.

Anyway, you can see the week when the problem started... in the middle of
January.

The problem surely simply is: you didn't check if the deamon really got
stopped when doing the prerm scripts, I bet!

No, there is nothing else certainly trying to get port 25 during
upgrades. Else it would have tried at boot.

# zgrep daemon *
mainlog:2019-02-04 08:45:57 exim 4.92-RC5 daemon started: pid=911, -q30m, 
listening for SMTP on port 25 (IPv6 and IPv4)
mainlog.1:2019-02-03 16:08:55 exim 4.92-RC4 daemon started: pid=850, -q30m, 
listening for SMTP on port 25 (IPv6 and IPv4)
mainlog.1:2019-02-03 16:58:04 socket bind() to port 25 for address (any IPv6) 
failed: Address already in use: daemon abandoned
mainlog.2.gz:2019-01-31 06:19:56 exim 4.92-RC4 daemon started: pid=916, -q30m, 
listening for SMTP on port 25 (IPv6 and IPv4)
mainlog.3.gz:2019-01-30 06:44:45 exim 4.92-RC4 daemon started: pid=907, -q30m, 
listening for SMTP on port 25 (IPv6 and IPv4)
mainlog.4.gz:2019-01-29 06:30:45 exim 4.92-RC4 daemon started: pid=919, -q30m, 
listening for SMTP on port 25 (IPv6 and IPv4)
mainlog.4.gz:2019-01-29 21:11:45 exim 4.92-RC4 daemon started: pid=868, -q30m, 
listening for SMTP on port 25 (IPv6 and IPv4)
mainlog.5.gz:2019-01-28 08:26:03 exim 4.92-RC4 daemon started: pid=858, -q30m, 
listening for SMTP on port 25 (IPv6 and IPv4)
mainlog.5.gz:2019-01-28 09:27:08 socket bind() to port 25 for address (any 
IPv6) failed: Address already in use: daemon abandoned
mainlog.5.gz:2019-01-28 19:46:25 exim 4.92-RC4 daemon started: pid=880, -q30m, 
listening for SMTP on port 25 (IPv6 and IPv4)
mainlog.6.gz:2019-01-27 22:30:06 exim 4.92-RC4 daemon started: pid=895, -q30m, 
listening for SMTP on port 25 (IPv6 and IPv4)
mainlog.7.gz:2019-01-17 06:40:15 exim 4.92-RC4 daemon started: pid=903, -q30m, 
listening for SMTP on port 25 (IPv6 and IPv4)
mainlog.8.gz:2019-01-16 08:27:59 exim 4.92-RC4 daemon started: pid=941, -q30m, 
listening for SMTP on port 25 (IPv6 and IPv4)
mainlog.8.gz:2019-01-16 18:41:14 exim 4.92-RC4 daemon started: pid=913, -q30m, 
listening for SMTP on port 25 (IPv6 and IPv4)
mainlog.9.gz:2019-01-15 19:18:06 exim 4.92-RC4 daemon started: pid=944, -q30m, 
listening for SMTP on port 25 (IPv6 and IPv4)
paniclog:2019-02-03 16:58:04 socket bind() to port 25 for address (any IPv6) 
failed: Address already in use: daemon abandoned
# ls -og
total 56
-rw-r- 1  748 02-04 08:57 mainlog
-rw-r- 1 7779 02-03 23:38 mainlog.1
-rw-r- 1  384 01-11 00:09 mainlog.10.gz
-rw-r- 1  826 02-03 16:08 mainlog.2.gz
-rw-r- 1 1290 01-30 13:44 mainlog.3.gz
-rw-r- 1 1028 01-29 23:41 mainlog.4.gz
-rw-r- 1 1024 01-28 23:46 mainlog.5.gz
-rw-r- 1  406 01-28 00:00 mainlog.6.gz
-rw-r- 1  915 01-17 12:40 mainlog.7.gz
-rw-r- 1 1893 01-16 23:41 mainlog.8.gz
-rw-r- 1  750 01-15 23:48 mainlog.9.gz
-rw-r- 1  117 02-03 16:58 paniclog
-rw-r- 10 2017-03-23  rejectlog
-rw-r- 1  131 2017-03-22  rejectlog.1



Bug#921205: socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned

2019-02-03 Thread Andreas Metzler
On 2019-02-02 積丹尼 Dan Jacobson  wrote:
> Package: exim4-daemon-light
> Version: 4.92~RC5-1

> For the last two upgrades,
> /var/log/exim4/paniclog:
> 2019-02-02 21:47:07 socket bind() to port 25 for address (any IPv6) failed: 
> Address already in use: daemon abandoned

> As we see from timestamps, it is upgrade related.
> # ls -dog  /var/log/exim4/paniclog /usr/share/doc/exim4-config/examples/
> drwxr-xr-x 2 4096 02-02 21:41 /usr/share/doc/exim4-config/examples/
> -rw-r- 1  117 02-02 21:47 /var/log/exim4/paniclog

That usually is a local configuration error, starting the daemon both
via initscript and other means, or having another program running that
is bound to 25. The timestamp only shows that the issue was present
after the latest installation/upgrade, it does not imply causality.  :-(

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



Bug#921205: socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned

2019-02-02 Thread 積丹尼 Dan Jacobson
Package: exim4-daemon-light
Version: 4.92~RC5-1

For the last two upgrades,
/var/log/exim4/paniclog:
2019-02-02 21:47:07 socket bind() to port 25 for address (any IPv6) failed: 
Address already in use: daemon abandoned

As we see from timestamps, it is upgrade related.
# ls -dog  /var/log/exim4/paniclog /usr/share/doc/exim4-config/examples/
drwxr-xr-x 2 4096 02-02 21:41 /usr/share/doc/exim4-config/examples/
-rw-r- 1  117 02-02 21:47 /var/log/exim4/paniclog

-- debconf information:
* exim4-daemon-light/drec:

P.S., a cronjob then sends
exim paniclog on jidanni2.jidanni.org has non-zero size
to the user the next boot.