GithubHelp home page GithubHelp logo

Comments (6)

richardforth avatar richardforth commented on May 26, 2024

The netstat command was deprecated in RHEL 7 and its variants. Looking to see if I can establish an easy fix...eg missing package that might provide this.

I know we have the 'ss' command now but the output is vastly different.

from apache2buddy.

richardforth avatar richardforth commented on May 26, 2024

apparently the net-tools package provides this, will test.

from apache2buddy.

richardforth avatar richardforth commented on May 26, 2024

The 'net-tools' package does indeed provide this tool.

I will add a pre-flight check to check for the existence of this package and an appropriate warning and helpful hint.

from apache2buddy.

richardforth avatar richardforth commented on May 26, 2024

Fix applied to staging:

when working OK:

Performing Auto-Discovery, and Pre-Flight Checks...
[ OK       ] This script is being run as root.
[ OK       ] The utility 'pmap' exists and is available for use: /bin/pmap
[ OK       ] The utility 'netstat' exists and is available for use: /bin/netstat
[ OK       ] 'php' exists and is available for use: /bin/php

When netstat is not found:

Performing Auto-Discovery, and Pre-Flight Checks...
[ OK       ] This script is being run as root.
[ OK       ] The utility 'pmap' exists and is available for use: /bin/pmap
which: no netstat in (/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
[ CRITICAL ] Unable to locate the netstat utility. This script requires netstat to determine the port that apache is listening on.
[ INFO     ] To fix this make sure the net-tools package is installed.

from apache2buddy.

richardforth avatar richardforth commented on May 26, 2024

I know that netstat is decprecated and will probably be removed in RHEL 8, in favour of the ss command, but right now this is too much work to re-code and cater for.

from apache2buddy.

richardforth avatar richardforth commented on May 26, 2024

merged #17

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.