Server daemon debugging

#Get daemon informations

Our PXE bootet servers come with a preinstalled croit.service, our daemon. This daemon is used to detect the hardware, diagnose errors and change system configurations.

  • Login to the affected host
  • Check the current log output executing journalctl -u croit.service -ef

#How to enable the debug mode

If you see crashes or errors in our croit daemon, you can enable the debug mode to get more details.

  • Execute touch /opt/croit/debug
  • Execute systemctl restart croit.sevice
  • Check the new log output executing journalctl -u croit.service -ef

# How to disable the debug mode

After debugging an issue, you can disable the debug logging.

  • Execute rm /opt/croit/debug
  • Execute systemctl restart croit.sevice