uwsgi_graylog2 command not found

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

Introduction

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

uwsgi_graylog2: command not found

or when using sudo you get the following error message

sudo: uwsgi_graylog2: command not found

Solutions to uwsgi_graylog2: command not found

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

In Ubuntu uwsgi_graylog2 is provided by uwsgi-plugin-graylog2 package.

uwsgi-plugin-graylog2 is:

uWSGI presents a complete stack for networked/clustered web applications, implementing message/object passing, caching, RPC and process management. It is designed to be fully modular. This means that different plugins can be used in order to add compatibility with tons of different technology on top of the same core.

This package provides graylog2 plugin for uWSGI.

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

sudo apt-get -y install uwsgi-plugin-graylog2

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

You can also use apt command to install uwsgi-plugin-graylog2.

sudo apt -y install uwsgi-plugin-graylog2

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

sudo aptitude install uwsgi-plugin-graylog2

Summary

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