You are not logged in.

#1 2018-06-01 11:11:19

greengold
Member
Registered: 2010-01-30
Posts: 193

syslog-ng start fails [SOLVED]

what is going on with syslog?

this is how I try to start it but no success:

# systemctl status syslog-ng@.default.service
● syslog-ng@.default.service - System Logger Daemon ".default" instance
   Loaded: loaded (/usr/lib/systemd/system/syslog-ng@.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2018-06-01 13:08:15 CEST; 9s ago
     Docs: man:syslog-ng(8)
  Process: 15246 ExecStart=/usr/bin/syslog-ng -F $OTHER_OPTIONS --cfgfile $CONFIG_FILE --control $CONTROL_FILE --persist-file $PERSIST_FILE --pidfile $PID_FILE (code=exited, status=1/FAILURE)
 Main PID: 15246 (code=exited, status=1/FAILURE)
   Status: "Starting up... (Fri Jun  1 13:08:15 2018"

jún 01 13:08:15 ux32vd systemd[1]: syslog-ng@.default.service: Service hold-off time over, scheduling restart.
jún 01 13:08:15 ux32vd systemd[1]: syslog-ng@.default.service: Scheduled restart job, restart counter is at 5.
jún 01 13:08:15 ux32vd systemd[1]: Stopped System Logger Daemon ".default" instance.
jún 01 13:08:15 ux32vd systemd[1]: syslog-ng@.default.service: Start request repeated too quickly.
jún 01 13:08:15 ux32vd systemd[1]: syslog-ng@.default.service: Failed with result 'exit-code'.
jún 01 13:08:15 ux32vd systemd[1]: Failed to start System Logger Daemon ".default" instance.
[root@ux32vd ~]# systemctl status syslog-ng@.service
Failed to get properties: Unit name syslog-ng@.service is neither a valid invocation ID nor unit name.

Last edited by greengold (2018-06-11 14:41:40)

Offline

#2 2018-06-10 18:21:50

greizgh
Member
Registered: 2015-01-16
Posts: 3

Re: syslog-ng start fails [SOLVED]

The @ in service denotes a template.

Try

systemctl start syslog-ng@default

Offline

#3 2018-06-11 14:41:22

greengold
Member
Registered: 2010-01-30
Posts: 193

Re: syslog-ng start fails [SOLVED]

that helped, thanks!

Offline

Board footer

Powered by FluxBB