We are setting up a syslog server for 3rd party appliances to send logs to but for some reason the default install of syslog-ng will not start up on a reboot of the server. Once I login I can start it with no problem.
Here is the errors on the reboot when I run a ‘status’
systemctl status syslog-ng
â syslog-ng.service - System Logging Service
Loaded: loaded (/usr/lib/systemd/system/syslog-ng.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Mon 2018-09-17 13:25:30 EDT; 2min 26s ago
Process: 1089 ExecStart=/usr/sbin/syslog-ng -F $SYSLOG_NG_PARAMS (code=exited, status=2)
Process: 1084 ExecStartPre=/usr/sbin/syslog-ng-service-prepare (code=exited, status=0/SUCCESS)
Main PID: 1089 (code=exited, status=2)
Sep 17 13:25:30 rogue514 systemd[1]: Starting System Logging Service…
Sep 17 13:25:30 rogue514 systemd[1]: Started System Logging Service.
Sep 17 13:25:30 rogue514 systemd[1]: syslog-ng.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Sep 17 13:25:30 rogue514 systemd[1]: syslog-ng.service: Unit entered failed state.
Sep 17 13:25:30 rogue514 systemd[1]: syslog-ng.service: Failed with result ‘exit-code’.
Sep 17 13:25:30 rogue514 systemd[1]: syslog-ng.service: Start request repeated too quickly.
Sep 17 13:25:30 rogue514 systemd[1]: Failed to start System Logging Service.
Sep 17 13:25:30 rogue514 systemd[1]: syslog-ng.service: Failed with result ‘start-limit’.
I tried adding network.target to the “After=” in the syslog-ng.service file but that just caused other errors. Any ideas ?
thanks