start_server command not found

In this troubleshooting guide we learn how to fix start_server command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

start_server: command not found

or when using sudo you get the following error message

sudo: start_server: command not found

Solutions to start_server: command not found

How To Fix start_server: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu start_server is provided by libserver-starter-perl package.

libserver-starter-perl is:

It is often a pain to write a server program that supports graceful restarts, with no resource leaks. Server::Starter solves the problem by splitting the task into two. One is start_server, a script provided as a part of the module, which works as a superdaemon that binds to zero or more TCP ports or unix sockets, and repeatedly spawns the server program that actually handles the necessary tasks (for example, responding to incoming commenctions). The spawned server programs under Server::Starter call accept(2) and handle the requests.

To gracefully restart the server program, send SIGHUP to the superdaemon. The superdaemon spawns a new server program, and if (and only if) it starts up successfully, sends SIGTERM to the old server program.

To fix this problem, we can install more using the command below.

sudo apt-get -y install libserver-starter-perl

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libserver-starter-perl.

sudo apt -y install libserver-starter-perl

Or if you have aptitude installed you can use the following command.

sudo aptitude install libserver-starter-perl

Summary

In this tutorial we learn how to fix start_server command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.