Comments (10)
Unfortunately I don’t remember it exactly, I believe it was Ubuntu 20 or 22 LTS
from apache2buddy.
from apache2buddy.
I had one device having only SS but then I end up installing netstat temporarily :)
from apache2buddy.
from apache2buddy.
# yum whatprovides ss
Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-manager
...
iproute-4.11.0-30.el7.x86_64 : Advanced IP routing and network device configuration tools
Repo : base
Matched from:
Filename : /usr/sbin/ss
iproute-4.11.0-25.el7_7.2.x86_64 : Advanced IP routing and network device configuration tools
Repo : @base
Matched from:
Filename : /sbin/ss
iproute-4.11.0-25.el7_7.2.x86_64 : Advanced IP routing and network device configuration tools
Repo : @base
Matched from:
Filename : /usr/sbin/ss
from apache2buddy.
I'm also in the process of adding an Ubuntu 22.04 Docker file and Jenkins stage in the pipeline
from apache2buddy.
1671 # Check 2.1
1672 # this script uses netstat to determine the port that apache is listening on
1673 # process. make sure that netstat is available.
1674 our $netstat = `which netstat`;
1675 chomp($netstat);
1676
1677 # make sure that netstat is available within our path
1678 if ( $netstat !~ m/.*\/netstat/ ) {
1679 show_crit_box();
1680 print "Unable to locate the netstat utility. This script requires netstat to determine the port that apache is listening on.\n";
1681 show_info_box(); print "${YELLOW}To fix this make sure the net-tools package is installed.${ENDC}\n";
1682 exit;
1683 } else {
1684 if ( ! $NOOK ) { show_ok_box(); print "The utility 'netstat' exists and is available for use: ${CYAN}$netstat${ENDC}\n" }
1685 }
from apache2buddy.
Thinking of setting some flags, and checking for netstat, and falling back to ss, then later in the script calling netstat or ss depending on what flag is set
from apache2buddy.
for ss
show_info_box(); print "${YELLOW}To fix this make sure the iproute package is installed.${ENDC}\n";
from apache2buddy.
or im also thinking of looking for ss first, and falling back to netstat, as this will likely future proof the logic for a few years, since ss is the new preferred command and netstat is being deprecated and probably eventually removed.
from apache2buddy.
Related Issues (20)
- Plans to Support AlmaLinux 8.x and CloudLinux 7.9? HOT 5
- AmazonLinux Docker: Cannot find the 'hostname' executable. HOT 2
- AmazonLinux [ !! ] Python scripting failed. Python requires package 'distro' or 'platform' to determine the Operating System and Version. HOT 6
- Newer versions of python throw deprecation warnings HOT 5
- [ LOW PRIORITY ] Unable to detect apache on nonstandard ports - EOL Ubunutu 1604 with --skip-os-version-check HOT 1
- Apache2buddy does not find apache on bitnami installation HOT 10
- --- a2bchk.sh --- showing MD5 mismatch HOT 4
- Add support for Ubuntu 22.04 HOT 8
- Add tests for ansible playbook in all Jenkins stages HOT 1
- Debian 12 support
- Running ISPconfig on ARM64: Bullseye with Linux 5.10.110-rockchip-rk3588: uninitialized value $apache_proc_php in concatenation (.) or string at - line 2524 (#1) HOT 1
- sub detect_php_memory_limit has hardcoded php executable path
- Support for Oracle Linux Server HOT 1
- Error: Illegal division by zero at line 987 HOT 4
- Support for SLES 12 with worker MPM HOT 1
- including Gentoo
- sub get_php_setting breaks on systems with multiple versions of php installed HOT 1
- Use of uninitialized value $apache_proc_php in string eq HOT 1
- DeprecationWarning: distro.linux_distribution() is deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apache2buddy.