[Mageia-dev] systemd vs dm
Dick Gevers
dvgevers at xs4all.nl
Sat Sep 17 11:36:34 CEST 2011
On Sat, 17 Sep 2011 10:02:03 +0100, Colin Guthrie wrote about Re:
[Mageia-dev] systemd vs dm:
>So does:
>
>systemctl restart rsyslog.service
>
>work?
Not really:
# systemctl restart rsyslog.service
# systemctl status rsyslog.service
rsyslog.service - System Logging Service
Loaded: loaded (/lib/systemd/system/rsyslog.service; enabled)
Active: failed since Sat, 17 Sep 2011 09:30:29 +0000; 8s ago
Process: 23407 ExecStart=/sbin/rsyslogd -n -c5 (code=exited,
status=1/FAILURE) Process: 23404 ExecStartPre=/bin/systemctl stop
systemd-kmsg-syslogd.service (code=exited, status=0/SUCCESS) CGroup:
name=systemd:/system/rsyslog.service
#
>And finally, can you run: /sbin/rsyslogd -n -c5 manually or does it exit
>out with return code 1 also?
# /sbin/rsyslogd -n -c5
Pidfile (and pid) already exist.
and:
# ps -eLF |grep rsys
root 1104 1 1104 0 4 60184 1512 0 Sep16 ? 00:00:00
rsyslogd -c 4
root 1104 1 1130 0 4 60184 1512 4 Sep16 ? 00:00:00
rsyslogd -c 4
root 1104 1 1131 0 4 60184 1512 0 Sep16 ? 00:00:00
rsyslogd -c 4
root 1104 1 1132 0 4 60184 1512 2 Sep16 ? 00:00:00
rsyslogd -c 4
...
And lsof shows that all relevant logs are touched by the rsyslog daemon. So
my guess is that only the systemd status message is bad, but the service is
running correctly.
Cheers,
=Dick Gevers=
More information about the Mageia-dev
mailing list