Summary: | syslog-ng-3.13.2 does not start with systemd | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | François Valenduc <francoisvalenduc> |
Component: | Current packages | Assignee: | Tomáš Mózes <hydrapolic> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | proxy-maint |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
François Valenduc
2018-02-16 19:44:17 UTC
*** This bug has been marked as a duplicate of bug 640136 *** A warning should be printed after emerging syslog-ng with systemd: "The service file for systemd has changed to support multiple instances. To start the default instance issue: # systemctl start syslog-ng@default" Do you have that message in your emerge log? This message should be shown at the end of emerge ? If so, this is not the case. And systemctl start syslog-ng@default doesn't work either. It would also be goog to upgrade the wiki page (https://wiki.gentoo.org/wiki/Syslog-ng). Sorry, I overlooked it. the message is indeed shown. But it doesn't work: syslog-ng@default.service - System Logger Daemon "default" instance Loaded: loaded (/lib/systemd/system/syslog-ng@.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2018-02-16 20:57:26 CET; 3s ago Docs: man:syslog-ng(8) Process: 28364 ExecStart=/usr/sbin/syslog-ng -F $OTHER_OPTIONS --cfgfile $CONFIG_FILE --control $CONTROL_FILE --persist-file $PERSIST_FILE --pidfile $PID_FILE (code=exited, status=2) Main PID: 28364 (code=exited, status=2) Status: "Starting up... (Fri Feb 16 20:57:25 2018" fév 16 20:57:26 pc-francois systemd[1]: syslog-ng@default.service: Service hold-off time over, scheduling restart. fév 16 20:57:26 pc-francois systemd[1]: syslog-ng@default.service: Scheduled restart job, restart counter is at 5. fév 16 20:57:26 pc-francois systemd[1]: Stopped System Logger Daemon "default" instance. fév 16 20:57:26 pc-francois systemd[1]: syslog-ng@default.service: Start request repeated too quickly. fév 16 20:57:26 pc-francois systemd[1]: syslog-ng@default.service: Failed with result 'exit-code'. fév 16 20:57:26 pc-francois systemd[1]: Failed to start System Logger Daemon "default" instance. zsh: exit 3 systemctl status syslog-ng@default Is syslog-ng still running? Try to check the process list. If so, try to kill it and start it again. It was a configuration problem. After running etc-update, it works as expected. But since syslog-ng was not the last package compiled, I din't had a chance to see the message about the change of the service file. A news would not have been bad. |