schwartzmon command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
schwartzmon: command not found
or when using sudo you get the following error message
sudo: schwartzmon: command not found
Solutions to schwartzmon: command not found
How To Fix schwartzmon: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu schwartzmon is provided by libtheschwartz-perl package.
libtheschwartz-perl is:
TheSchwartz is a reliable job queue system. Your application can put jobs into the system, and your worker processes can pull jobs from the queue atomically to perform. Failed jobs can be left in the queue to retry later.
Abilities specify what jobs a worker process can perform. Abilities are the names of TheSchwartz::Worker subclasses, as in the synopsis: the MyWorker class name is used to specify that the worker script can perform the job. When using the TheSchwartz client’s work functions, the class-ability duality is used to automatically dispatch to the proper class to do the actual work.
TheSchwartz clients will also prefer to do jobs for unused abilities before reusing a particular ability, to avoid exhausting the supply of one kind of job while jobs of other types stack up.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libtheschwartz-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libtheschwartz-perl.
sudo apt -y install libtheschwartz-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libtheschwartz-perl
Summary
In this tutorial we learn how to fix schwartzmon command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.