Hello Richard,
Am Sun, May 18, 2025 at 02:40:04PM +0100 schrieb Richard Lewis:
> On Sun, 18 May 2025, 14:28 Richard Lewis, <
> richard.lewis.deb...@googlemail.com> wrote:
> > On Sun, 18 May 2025, 14:14 Helge Kreutzmann, <deb...@helgefjell.de> wrote:
> >> Am Sun, May 18, 2025 at 01:18:57PM +0100 schrieb Richard Lewis:
> >> > On Sun, 18 May 2025, 12:37 Helge Kreutzmann, <deb...@helgefjell.de>
> >> wrote:
> > so you've now got
> >
> > - cron is running logcheck
> > - systemd is also running logcheck
> >
> > only one of them sends an email
> > no other errors
> > no other messages in the mailq?
> >
> >
> > i can only guess that the email comes from cron, and system's email is now
> > being silently lost.
> >
> > can you check this -- if  you add a -R to the cron.d line so it is
> >
> > ...   nice -n10 /usr/sbin/logcheck -R; ....
> >
> > then any emails from cron will have "Reboot" in the subject, and any email
> > from systemd will not, that would be helpful.
> >
> > (youll presumably now only get a logcheck email if there is something in
> > the log to report, i usually do "logger test" to make sure that happens)
> >
> 
> stuud me -- you wont get 2 emails because whoever runs second may not find
> any new messages to report. and in fact if both cron and systemd are
> running at the same time onenof them should fail as it cant take the lock.
> so you cant ever get duplicate reports from having cron and systemd
> running, so that was never the cause.

Yes, now the subject is Reboot: 

I dont't get any e-mails without the Reboot form this logcheck
anymore.

So this would mean (only) cron is running, correct?

Greetings

            Helge

-- 
      Dr. Helge Kreutzmann                     deb...@helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: PGP signature

Reply via email to