Package: fetchmail
Version: 6.4.0~beta4-3
Severity: normal

I restarted fetchmail with command:

    # service fetchmail restart

but it didn't start. Then I tried:

   # service fetchmail stop
   # service fetchmail start
   # invoke-rc.d fetchmail stop
   # invoke-rc.d fetchmail start
   # invoke-rc.d fetchmail restart


and none of these commands succeeded

   # pgrep fetchmail


showed nothing.

Then mail.log:

   # egrep fetchmail /var/log/mail.log


there was nohting completely. In syslog it looked like this:

   # egrep fetchmail /var/log/syslog ...

   May 14 14:58:29 orion fetchmail[762]: 1 list dla i...@...elvitrum.pl
   na naboo.xydor.pl(143510 bajtów).
   May 14 14:58:30 orion fetchmail[762]: pobieram list
   i...@...elvitrum.pl@...o.xydor.pl:1 z 1 (143510 bajtów) skasowany
   May 14 14:58:31 orion fetchmail[762]: 1 list dla
   zamowie...@...elvitrum.pl na naboo.xydor.pl(122960 bajtów).
   May 14 14:58:32 orion fetchmail[762]: pobieram list
   zamowie...@...elvitrum.pl@...o.xydor.pl:1 z 1 (122960 bajtów) skasowany
   May 14 14:58:39 orion fetchmail[762]: 1 list dla
   leszek.dub...@...elvitrum.pl na naboo.xydor.pl(144073 bajtów).
   May 14 14:58:40 orion fetchmail[762]: pobieram list
   leszek.dub...@...elvitrum.pl@...o.xydor.pl:1 z 1 (144073 bajtów)
   skasowany
   May 14 14:58:43 orion systemd[1]: Stopping LSB: init-Script for
   system wide fetchmail daemon...
   May 14 14:58:43 orion fetchmail[762]: przerwany sygnałem 15
   May 14 14:58:43 orion fetchmail[18151]: Stopping mail retriever
   agent: fetchmail.
   May 14 14:58:43 orion systemd[1]: fetchmail.service: Succeeded.
   May 14 14:58:43 orion systemd[1]: Stopped LSB: init-Script for
   system wide fetchmail daemon.
   May 14 14:58:43 orion systemd[1]: fetchmail.service: Found left-over
   process 762 (fetchmail) in control group while starting unit. Ignoring.
   May 14 14:58:43 orion systemd[1]: Starting LSB: init-Script for
   system wide fetchmail daemon...
   May 14 14:58:43 orion fetchmail[18159]: fetchmail already started;
   not starting. ... failed!
   May 14 14:58:43 orion systemd[1]: Started LSB: init-Script for
   system wide fetchmail daemon.


I have called for help of IT company. They looked around and told me that they
just restarted and fetchmail started to work immediately.

The same problem I have had quite a few times. I tried to check what is the
problem. Stopped, started, restarted fetchmail, found no solution -- no logged
erros. It looks as if fetchmail sometimes starts and sometimes not.

   # cat /var/run/fetchmail/fetchmail.pid 1116
   60

   # service fetchmail restart

   # cat /var/run/fetchmail/fetchmail.pid 8262
   60

   # pgrep fetchmail 8262

Some other people have had the similar issue:

   https://bugs.launchpad.net/ubuntu/+source/fetchmail/+bug/1683142

   https://bbs.archlinux.org/viewtopic.php?id=235478



I couldn't reproduce the problem on my system.
Maybe it has someting common with bug

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694048


-- System Information:
Debian Release: 10.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-9-amd64 (SMP w/4 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages fetchmail depends on:
ii adduser 3.118
ii debianutils 4.8.6.1
ii libc6 2.28-10
ii libcom-err2 1.44.5-1+deb10u3
ii libgssapi-krb5-2 1.17-3
ii libk5crypto3 1.17-3
ii libkrb5-3 1.17-3
ii libssl1.1 1.1.1d-0+deb10u3
ii lsb-base 10.2019051400

Versions of packages fetchmail recommends:
ii ca-certificates 20190110

Versions of packages fetchmail suggests:
ii exim4-daemon-light [mail-transport-agent] 4.92-8+deb10u3
pn fetchmailconf <none>
pn resolvconf <none>

-- Configuration Files:
/etc/default/fetchmail changed:
START_DAEMON=yes


-- no debconf information

Reply via email to