loggen command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
loggen: command not found
or when using sudo you get the following error message
sudo: loggen: command not found
Solutions to loggen: command not found
How To Fix loggen: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu loggen is provided by syslog-ng-core package.
syslog-ng-core is:
syslog-ng is an enhanced log daemon, supporting a wide range of input and output methods: syslog, unstructured text, message queues, databases (SQL and NoSQL alike) and more.
Key features:
- receive and send RFC3164 and RFC5424 style syslog messages
- work with any kind of unstructured data
- receive and send JSON formatted messages
- classify and structure logs with builtin parsers (csv-parser(), db-parser(), etc.)
- normalize, crunch and process logs as they flow through the system
- hand on messages for further processing using message queues (like AMQP), files or databases (like PostgreSQL or MongoDB).
This package provides the core syslog-ng, with all the plugins required for a standard installation.
To fix this problem, we can install more using the command below.
sudo apt-get -y install syslog-ng-core
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install syslog-ng-core.
sudo apt -y install syslog-ng-core
Or if you have aptitude installed you can use the following command.
sudo aptitude install syslog-ng-core
Summary
In this tutorial we learn how to fix loggen command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.