xampp netstat command not found Ubuntu

Posted on

22 netstat command not found

I’m currently getting an error when running xampp on ubuntu. The error that occurs is /opt/lampp/share/xampp/xampplib: line 22: netstat: command not found.

More as in the following:

neon@NEON:~$ sudo /opt/lampp/xampp restart
Restarting XAMPP for Linux 8.1.0-0...
XAMPP: Stopping Apache...ok.
XAMPP: Stopping MySQL...ok.
XAMPP: Stopping ProFTPD...ok.
XAMPP: Starting Apache.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
/opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
ok.
XAMPP: Starting MySQL.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
ok.
XAMPP: Starting ProFTPD.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
ok.

How to fix this?

Open your terminal and use this command:

sudo apt install net-tools

Done. I hope this article is useful.

Leave a Reply

Your email address will not be published.