<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
How to Troubleshoot syslog-ng Failed to Restart
Okta Classic Engine
Access Gateway
Okta Identity Engine
Overview
How to Troubleshoot syslog-ng Failed to Restart
Applies To
  • Okta Access Gateway
Solution

 

  1. Login to the appliance using the launch shell and Check the syslog-ng status.

    sudo systemctl status syslog-ng
    
    • Status should show what command specified with ExecStart is failing, and that can be executed on the terminal to see any error if it is not visible in journalctl

    • (Output from systemctl status above) ExecStart= /usr/sbin/syslog-ng -F -p /var/run/syslogd.pid (code=exited, status=1/FAILURE)

  2. Execute the same command to check the actual error. 
sudo /usr/sbin/syslog-ng -F -p /var/run/syslogd.pid

The output will show the file name or line number where the service failed. Once the reported issue has been fixed, restart the service.
 

Related References

Loading
How to Troubleshoot syslog-ng Failed to Restart