wd_keepalive command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
wd_keepalive: command not found
or when using sudo you get the following error message
sudo: wd_keepalive: command not found
Solutions to wd_keepalive: command not found
How To Fix wd_keepalive: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu wd_keepalive is provided by watchdog package.
watchdog is:
The watchdog program writes to /dev/watchdog every ten seconds. If the device is opened but not written to within a minute, the machine will reboot. This feature is available when the kernel is built with “software watchdog” support (standard in Debian kernels) or if the machine is equipped with a hardware watchdog (in which case this package can also be used to “pet” it, resetting its timer).
The kernel software watchdog’s ability to reboot will depend on the state of the machine and interrupts.
The watchdog tool itself runs several health checks and acts appropriately if the system is not in good shape.
To fix this problem, we can install more using the command below.
sudo apt-get -y install watchdog
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install watchdog.
sudo apt -y install watchdog
Or if you have aptitude installed you can use the following command.
sudo aptitude install watchdog
Summary
In this tutorial we learn how to fix wd_keepalive command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.