In this tutorial i have go to solve below errors in ubuntu using command. when i run below code for restart the server then showing error.
sudo /opt/lampp/lampp restart
Error:-
XAMPP: Starting ProFTPD.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/10/image-78.png)
Solution :-
sudo apt install net-tools
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/10/image-79-1024x447.png)
Restart server
sudo /opt/lampp restart
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/10/image-80-1024x293.png)