[opensuse] sistemad and syslog-ng ?
I have not actually had many problems in this respect, but this one is odd - I rebooted a xen guest, and it came up without syslog-ng. After a couple of reboots, it seems it is easily reproducable. syslog-ng had failed to start: # systemctl status syslog-ng syslog-ng.service - System Logging Service Loaded: loaded (/usr/lib/systemd/system/syslog-ng.service; enabled) Active: failed (Result: start-limit) since Fri 2015-03-06 10:09:23 CET; 2min 50s ago Process: 451 ExecStart=/usr/sbin/syslog-ng -F $SYSLOG_NG_PARAMS (code=exited, status=2) Process: 446 ExecStartPre=/usr/sbin/syslog-ng-service-prepare (code=exited, status=0/SUCCESS) Main PID: 451 (code=exited, status=2) Mar 06 10:09:23 dupont6 systemd[1]: Started System Logging Service. Mar 06 10:09:23 dupont6 systemd[1]: syslog-ng.service: main process exited, code=exited, status=2/INVALIDARGUMENT Mar 06 10:09:23 dupont6 systemd[1]: Unit syslog-ng.service entered failed state. Mar 06 10:09:23 dupont6 systemd[1]: Starting System Logging Service... Mar 06 10:09:23 dupont6 systemd[1]: syslog-ng.service start request repeated too quickly, refusing to start. Mar 06 10:09:23 dupont6 systemd[1]: Failed to start System Logging Service. Weird, so I tried to start it manually: dupont6:~ # systemctl start syslog-ng dupont6:~ # systemctl status syslog-ng syslog-ng.service - System Logging Service Loaded: loaded (/usr/lib/systemd/system/syslog-ng.service; enabled) Active: active (running) since Fri 2015-03-06 10:12:39 CET; 2s ago Process: 2016 ExecStartPre=/usr/sbin/syslog-ng-service-prepare (code=exited, status=0/SUCCESS) Main PID: 2018 (syslog-ng) CGroup: /system.slice/syslog-ng.service └─2018 /usr/sbin/syslog-ng -F Mar 06 10:12:39 dupont6 systemd[1]: Started System Logging Service. No problem. I suspect the initial start-up needed something that wasn't quite ready, but it's difficult to tell from the logs. In syslog-ng.conf I see: include "/run/syslog-ng/additional-log-sockets.conf"; which contains: source chroots { }; I suspect that file was missing on start-up ? It seems to be prepared by the syslog-ng service unit in ExecStartPre. I've added "-v -e -d" to the startup arguments, but I'm not getting any more output. -- Per Jessen, Zürich (2.1°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (1)
-
Per Jessen