Diagnosing Service Issues¶
If a service will not stay running and the logs indicate that it is crashing, additional debugging information can be obtained from core dumps.
By default, core dumps are disabled for services. These can be individually enabled as needed by the following command:
tnsr(config)# service (backend|bgp|dataplane|dhcp4|ike|ntp (dataplane|host)|ospf|ospf6|
restconf|rip|snmp (dataplane|host)|unbound) coredump (enable|disable)
After enabling or disabling coredumps, the target service must be restarted for the change to take effect.
The resulting core files will be written under /var/lib/systemd/coredump/
.