Hello Tomas :)
Le 20/11/2024 à 13:38, to...@tuxteam.de a écrit :
On Wed, Nov 20, 2024 at 01:19:24PM +0100, Jean-François Bachelet wrote:
Hello folks :)
I got a machine to look at, so I've issued a 'systemctl status' and see a
'degraded' state.
so I've done a 'systemctl status --failed' and see that 'fwlogwatch.service'
was never started and shows 'exit code' as reasons...
looking at the logs it appears it has never started fine since debian 12
install on this machine...
Guessing by the package description, fwlogwatch just collects diverse
firewall logs and (optionally) may take actions. Moreover, the description
encourages the guess that you might try starting it manually, to see
what kind of complaints it has?
it is started by systemd at boot but crash.
I've tested starting it manualy with 'systemctl start fwlogwatch' but or
reboot after disabling ufw, but no changes.
it seems to be installed by default, but if it not work what's the point
? :/
It seems to have a man page.
checked it, nothing special in it, the only thing turned on is the
'fwlogwatch.pid' file that must be found by systemd in /run...
after check that file hasn't be created at installation time...
so I've 'touched' it ;)
and tried again a start... crash but some more infos now :
'systemctl start fwlogwatch.service' (root mode ;))
failed with exit code...
'systemctl status fwlogwatch.service' :
fwlogwatch.service - Firewall log analyzer
Loaded: loaded (/lib/systemd/system/fwlogwatch.service; enabled;
preset: enabled)
Active: failed (Result: exit-code) since Wed 2024-11-20 17:02:18
CET; 1min 27s ago
Docs: man:fwlogwatch
Process: 294164 ExecStart=/bin/sh -c if [ "x${START_DAEMON}" !=
"xtrue" ]; then echo "aborted"; exit 1; fi; exec
/usr/sbin/fwlogwatch -c /etc/fwlogwatch/fwlogwatch.config -R ${PARAMS}
(code=exited, status=1/FAILURE)
CPU: 16ms
nov. 20 17:02:18 deb systemd[1]: Starting fwlogwatch.service -
Firewall log analyzer...
nov. 20 17:02:18 deb sh[294164]: aborted
nov. 20 17:02:18 deb systemd[1]: fwlogwatch.service: Control process
exited, code=exited, status=1/FAILURE
nov. 20 17:02:18 deb systemd[1]: fwlogwatch.service: Failed with
result 'exit-code'.
nov. 20 17:02:18 deb systemd[1]: Failed to start fwlogwatch.service -
Firewall log analyzer.
'journalctl -xeu fwlogwatch.service' :
░░ L'unité (unit) fwlogwatch.service a échoué, avec le résultat failed.
nov. 20 17:02:18 voxdeb systemd[1]: Starting fwlogwatch.service -
Firewall log analyzer...
░░ Subject: L'unité (unit) fwlogwatch.service a commencé à démarrer
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ L'unité (unit) fwlogwatch.service a commencé à démarrer.
nov. 20 17:02:18 voxdeb sh[294164]: aborted
nov. 20 17:02:18 voxdeb systemd[1]: fwlogwatch.service: Control
process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit fwlogwatch.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
nov. 20 17:02:18 voxdeb systemd[1]: fwlogwatch.service: Failed with
result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit fwlogwatch.service has entered the 'failed' state with
result 'exit-code'.
nov. 20 17:02:18 voxdeb systemd[1]: Failed to start fwlogwatch.service
- Firewall log analyzer.
░░ Subject: L'unité (unit) fwlogwatch.service a échoué
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ L'unité (unit) fwlogwatch.service a échoué, avec le résultat failed.
try to see if a reboot changes anything here : no more chances, still
don't start.
I'm puzzled here ????
Help !
Cheers,
Jeff