nacctd command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nacctd: command not found
or when using sudo you get the following error message
sudo: nacctd: command not found
Solutions to nacctd: command not found
How To Fix nacctd: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nacctd is provided by net-acct package.
net-acct is:
This package logs network traffic. It provides a daemon (nacctd) that logs all traffic passing the machine it runs on (similar to what tcpdump does).
Capability is provided to associate traffic to slip/ppp users in case you run a slip/ppp server.
To fix this problem, we can install more using the command below.
sudo apt-get -y install net-acct
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install net-acct.
sudo apt -y install net-acct
Or if you have aptitude installed you can use the following command.
sudo aptitude install net-acct
Summary
In this tutorial we learn how to fix nacctd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.