Here's a line from a linux syslog:

watchdog[2423]: shutting down the system because of error 101

However, after searching online and in man watchdog, I cannot find any discussion or explanation of the error codes. Is there any such thing?


Yes, per the same manual page:

       If the return code of the check binary is not zero watchdog will assume
       an error and reboot the system. A positive exit code is interpreted as
       a system error code (see errno.h for details).

so in this particular case (error 101), according to errno.h:

ENETUNREACH 101 /* Network is unreachable */

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.