User Tools

Site Tools


notes:xampp-netstat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
notes:xampp-netstat [2022/06/18 14:05] adminnotes:xampp-netstat [2022/08/05 20:01] – fix for google - part 1 admin
Line 1: Line 1:
 ====== Fix XAMPP 'netstat: command not found' error on Linux ====== ====== Fix XAMPP 'netstat: command not found' error on Linux ======
  
-''netstat'' is old and is no longer shipped with modern distributions, being superseded by ''ss''To fix the XAMPP 'netstat: command not found' error on Linux while starting the service, simply edit file ''/opt/lampp/share/xampp/xampplib'' and change line 22 from:+''netstat'' is old and is not shipped anymore with modern distributions: it has been superseded by ''ss''. 
 + 
 +In order to fix the XAMPP 'netstat: command not found' error shown on Linux while starting the XAMPP service, simply edit file ''/opt/lampp/share/xampp/xampplib'' and change line 22 from:
     if netstat -an | egrep "[.:]$1 .*LISTEN" > /dev/null     if netstat -an | egrep "[.:]$1 .*LISTEN" > /dev/null
 to to
     if ss -an | egrep "LISTEN.*[.:]$1" > /dev/null     if ss -an | egrep "LISTEN.*[.:]$1" > /dev/null
  
notes/xampp-netstat.txt · Last modified: 2022/08/05 20:03 by admin