Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #274746

[SOLVED] Re: problem with fwlogwatch.service (debian 12)

From Jean-François Bachelet <jfbachelet@free.fr>
Newsgroups linux.debian.user, linux.debian.user.french
Subject [SOLVED] Re: problem with fwlogwatch.service (debian 12)
Date 2024-11-21 11:30 +0100
Message-ID <JLcBH-ass9-7@gated-at.bofh.it> (permalink)
References (1 earlier) <JKS9X-af7e-5@gated-at.bofh.it> <JKVUd-ahzD-11@gated-at.bofh.it> <JKYp3-ajaM-3@gated-at.bofh.it> <JKZEt-ajQL-9@gated-at.bofh.it> <JL9Xb-aqxN-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hello Michel ^^)

Le 21/11/2024 à 08:33, Michel Verdier a écrit :
> On 2024-11-20, Jean-François Bachelet wrote:
> 
>>> I might be reading this wrong, but the "ExecStart" command is a shell script
>>> which basically says "if the $START_DAEMON variable does not equal 'true',
>>> then echo 'aborted' and stop". Given you get sh printing the word 'aborted',
>>> I think you're reading that branch.
>>> Did you set "START_DAEMON=true" in /etc/default/fwlogwatch or similar?
>> there is no such stuff in the confs...
> 
> I reply to you on debian-user-french yesterday
> 
> fwlogwatch.service use /lib/systemd/system/fwlogwatch.service
> which use conf file /etc/default/fwlogwatch
> and if START_DAEMON is not "true" it does exit 1
> So you just need to put in /etc/default/fwlogwatch
> START_DAEMON='true'
> 
> Did you check the right file /etc/default/fwlogwatch ? What version do
> you have ? Provide us :
> dpkg -l fwlogwatch

> ~/Bureau$ dpkg -l fwlogwatch

> Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
> | État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
> |/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
> ||/ Nom            Version      Architecture Description
> +++-==============-============-============-=================================
> ii  fwlogwatch     1.4-4        amd64        Firewall log analyzer

apt says it it upto date.

> 
>> here is what the cron daily conf says for it :
> [..]
>> as said, /etc/fwlogwatch.config is all commented out except for the pid
>> file.
> 
> I don't know where you find "/etc/fwlogwatch.config"
sorry, mistaping ;) it's in '/etc/fwlogwatch/fwlogwatch.config'

> in this script I found :
> CONFIG=/etc/default/fwlogwatch

oups, the only place I'vee not checked... you're right it was there at 
false, dunno why... changed it for 'true'.

and still crashing...

looking at the 'systemctl --failed' log it appears that it lacks the 
'/var/log/messages' directory, another thing that has not been created 
at installation of fwlogwatch...

IMHO that should be corrected in the installer...

BTW, now its up and running. :) let's see if I get messages from it ^^)

Thanks everyone :)

Jeff

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

problem with fwlogwatch.service (debian 12) Jean-François Bachelet <jfbachelet@free.fr> - 2024-11-20 13:20 +0100
  Re: problem with fwlogwatch.service (debian 12) <tomas@tuxteam.de> - 2024-11-20 13:40 +0100
    Re: problem with fwlogwatch.service (debian 12) Jean-François Bachelet <jfbachelet@free.fr> - 2024-11-20 17:40 +0100
      Re: problem with fwlogwatch.service (debian 12) tomas@tuxteam.de - 2024-11-20 18:10 +0100
        Re: problem with fwlogwatch.service (debian 12) didier gaumet <didier.gaumet@gmail.com> - 2024-11-20 19:40 +0100
      Re: problem with fwlogwatch.service (debian 12) Darac Marjal <mailinglist@darac.org.uk> - 2024-11-20 20:20 +0100
        Re: problem with fwlogwatch.service (debian 12) Jean-François Bachelet <jfbachelet@free.fr> - 2024-11-20 21:40 +0100
          Re: problem with fwlogwatch.service (debian 12) Michel Verdier <mv524@free.fr> - 2024-11-21 08:40 +0100
            [SOLVED] Re: problem with fwlogwatch.service (debian 12) Jean-François Bachelet <jfbachelet@free.fr> - 2024-11-21 11:30 +0100
              Re: [SOLVED] Re: problem with fwlogwatch.service (debian 12) Eike Lantzsch ZP5CGE / KY4PZ <zp6cge@gmx.net> - 2024-11-21 12:50 +0100

csiph-web