ospd-openvas command not found

In this troubleshooting guide we learn how to fix ospd-openvas command not found error message

Introduction

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

ospd-openvas: command not found

or when using sudo you get the following error message

sudo: ospd-openvas: command not found

Solutions to ospd-openvas: command not found

How To Fix ospd-openvas: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ospd-openvas is provided by ospd-openvas package.

ospd-openvas is:

This package contains an OSP server implementation to allow GVM to remotely control OpenVAS.

It is a command line tool with parameters to start a daemon which keeps waiting for instructions to update the feed of vulnerability tests and to start a scan. The second part of the interface is the redis store where the parameters about a scan task need to be placed and from where the results can be retrieved, being the unique communication channel between OSPD-OpenVAS and OpenVAS.

Once running, you need to configure OpenVAS for the Greenbone Vulnerability Manager, for example via the web interface Greenbone Security Assistant. Then you can create scan tasks to use OpenVAS.

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

sudo apt-get -y install ospd-openvas

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

You can also use apt command to install ospd-openvas.

sudo apt -y install ospd-openvas

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

sudo aptitude install ospd-openvas

Summary

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