Error
ubuntu@ip-172-31-41-444:~$ sudo /opt/lampp/lampp start
Starting XAMPP for Linux 8.2.12-0...
XAMPP: Starting Apache...already running.
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.
Solution
# Debian, Ubuntu, and derivatives
sudo apt update && sudo apt install net-tools
# CentOS, RHEL (up to version 7), and derivatives
sudo yum install net-tools
# CentOS/RHEL 8, Fedora
sudo dnf install net-tools
# Arch Linux, Manjaro
sudo pacman -Sy net-tools
# openSUSE
sudo zypper install net-tools
# Alpine Linux
sudo apk add net-tools
Latest posts by rajeshkumar (see all)
- MySql Error: ERROR 2006 (HY000) at line 1041: MySQL server has gone away - March 30, 2024
- Xampp Error: netstat: command not found - March 30, 2024
- Certified DevSecOps Engineer Training and Certification - March 14, 2024