I installed xampp to run a server as part of a guide, but it wasn't working. After trying to run it from command line, I got the following output:
$ sudo ./xampp start panel
Starting XAMPP for Linux 8.1.6-0...
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
fail.
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://www.apachefriends.org/f/
Last 10 lines of "/opt/lampp/logs/error_log":
tail: cannot open '/opt/lampp/logs/error.log' for reading: No such file or directory
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.
The line of interest is netstat: command not found
I tried to do sudo apt install netstat, but it's not found. Alternatively, is netstat part of another Ubuntu package I should be installing?
Thanks!
ssif they come fromnetstat– V. Bozz Apr 24 '24 at 19:56ss --helpdisplays its help menu.. looks like the fewnetstatflags I remember are the same forss. – yano Sep 12 '24 at 22:46ss -t -p -a | grep sshwas used for me to determine if ssh was configured or running on a fresh install of Ubuntu Server becausenetstatwas replaced. Linode-docs – zerodoc Feb 07 '25 at 18:44