GithubHelp home page GithubHelp logo

Comments (10)

sumitgarg44 avatar sumitgarg44 commented on June 23, 2024 1

Unfortunately I don’t remember it exactly, I believe it was Ubuntu 20 or 22 LTS

from apache2buddy.

richardforth avatar richardforth commented on June 23, 2024

from apache2buddy.

sumitgarg44 avatar sumitgarg44 commented on June 23, 2024

I had one device having only SS but then I end up installing netstat temporarily :)

from apache2buddy.

richardforth avatar richardforth commented on June 23, 2024

from apache2buddy.

richardforth avatar richardforth commented on June 23, 2024
# 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.

richardforth avatar richardforth commented on June 23, 2024

I'm also in the process of adding an Ubuntu 22.04 Docker file and Jenkins stage in the pipeline

from apache2buddy.

richardforth avatar richardforth commented on June 23, 2024
  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.

richardforth avatar richardforth commented on June 23, 2024

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.

richardforth avatar richardforth commented on June 23, 2024

for ss

show_info_box(); print "${YELLOW}To fix this make sure the iproute package is installed.${ENDC}\n";

from apache2buddy.

richardforth avatar richardforth commented on June 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.