Bonjour,
j’ai un soucis récurrent, j’ai ulogd2 que j’utilise pour les logs de mon parefeu sur un serveur qui s’arrête tout seul.
Je n’arrive pas à trouver pourquoi. Il semble que c’est tous les jours à 0H.
les seuls logs que j’ai:
root@dsrvbull01:~# systemctl status ulogd
○ ulogd2.service - Netfilter Userspace Logging Daemon
Loaded: loaded (/lib/systemd/system/ulogd2.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/ulogd2.service.d
└─override.conf
Active: inactive (dead) since Sun 2022-07-03 00:00:00 CEST; 4 days ago
Docs: man:ulogd(8)
Main PID: 2892 (code=exited, status=0/SUCCESS)
CPU: 5ms
juin 28 13:23:29 dsrvbull01 systemd[1]: Starting Netfilter Userspace Logging Daemon...
juin 28 13:23:29 dsrvbull01 systemd[1]: Started Netfilter Userspace Logging Daemon.
juil. 03 00:00:00 dsrvbull01 systemd[1]: ulogd2.service: Sent signal SIGHUP to main process 2892 (ulogd) on client request.
juil. 03 00:00:00 dsrvbull01 ulogd[2892]: Terminal signal received, exiting
juil. 03 00:00:00 dsrvbull01 ulogd[2892]: syslogemu: reopening logfile
juil. 03 00:00:00 dsrvbull01 ulogd[2892]: calling stop for NFLOG
juil. 03 00:00:00 dsrvbull01 ulogd[2892]: calling stop for IFINDEX
juil. 03 00:00:00 dsrvbull01 ulogd[2892]: calling stop for LOGEMU
juil. 03 00:00:00 dsrvbull01 systemd[1]: ulogd2.service: Deactivated successfully.
root@dsrvbull01:~# systemctl status ulogd2.service
○ ulogd2.service - Netfilter Userspace Logging Daemon
Loaded: loaded (/lib/systemd/system/ulogd2.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/ulogd2.service.d
└─override.conf
Active: inactive (dead) since Sun 2022-07-03 00:00:00 CEST; 4 days ago
Docs: man:ulogd(8)
Main PID: 2892 (code=exited, status=0/SUCCESS)
CPU: 5ms
juin 28 13:23:29 dsrvbull01 systemd[1]: Starting Netfilter Userspace Logging Daemon...
juin 28 13:23:29 dsrvbull01 systemd[1]: Started Netfilter Userspace Logging Daemon.
juil. 03 00:00:00 dsrvbull01 systemd[1]: ulogd2.service: Sent signal SIGHUP to main process 2892 (ulogd) on client request.
juil. 03 00:00:00 dsrvbull01 ulogd[2892]: Terminal signal received, exiting
juil. 03 00:00:00 dsrvbull01 ulogd[2892]: syslogemu: reopening logfile
juil. 03 00:00:00 dsrvbull01 ulogd[2892]: calling stop for NFLOG
juil. 03 00:00:00 dsrvbull01 ulogd[2892]: calling stop for IFINDEX
juil. 03 00:00:00 dsrvbull01 ulogd[2892]: calling stop for LOGEMU
juil. 03 00:00:00 dsrvbull01 systemd[1]: ulogd2.service: Deactivated successfully.
root@dsrvbull01:~# systemctl restart ulogd2.service
root@dsrvbull01:~# systemctl status ulogd2.service
● ulogd2.service - Netfilter Userspace Logging Daemon
Loaded: loaded (/lib/systemd/system/ulogd2.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/ulogd2.service.d
└─override.conf
Active: active (running) since Thu 2022-07-07 13:21:18 CEST; 1s ago
Docs: man:ulogd(8)
Process: 1161309 ExecStart=/usr/sbin/ulogd --daemon --uid ulog --pidfile /run/ulog/ulogd.pid (code=exited, status=0/SUCCESS)
Main PID: 1161310 (ulogd)
Tasks: 1 (limit: 37719)
Memory: 532.0K
CPU: 6ms
CGroup: /system.slice/ulogd2.service
└─1161310 /usr/sbin/ulogd --daemon --uid ulog --pidfile /run/ulog/ulogd.pid
juil. 07 13:21:18 dsrvbull01 systemd[1]: Starting Netfilter Userspace Logging Daemon...
juil. 07 13:21:18 dsrvbull01 systemd[1]: Started Netfilter Userspace Logging Daemon.
root@dsrvbull01:~# cat /var/log/syslog | grep -i ulog
Jul 3 00:00:00 dsrvbull01 systemd[1]: ulogd2.service: Sent signal SIGHUP to main process 2892 (ulogd) on client request.
Jul 3 00:00:00 dsrvbull01 ulogd: Terminal signal received, exiting
Jul 3 00:00:00 dsrvbull01 ulogd: syslogemu: reopening logfile
Jul 3 00:00:00 dsrvbull01 ulogd: calling stop for NFLOG
Jul 3 00:00:00 dsrvbull01 ulogd: calling stop for IFINDEX
Jul 3 00:00:00 dsrvbull01 ulogd: calling stop for LOGEMU
Jul 3 00:00:00 dsrvbull01 systemd[1]: ulogd2.service: Deactivated successfully.