Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
it tells me roughly how many connections there are on the box, but I did a kernel upgrade not to long ago, now it just returns 1 even in the middle of the day... what happened? redhat linux 7.3/2.4.20
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
Quote:
Originally posted by DigiCrime netstat -anp -A inet
Try that. Just type it in at the command line and press <enter>.
If still nothing happens: When I read the output you posted from man netstat, I don't find the options "-A" and "inet". So leave them out as the next try, then add them again to find out what they do.
I would recommend also you use "-v" (verbose: combined to "-anpv"), to better be able to determine, whether and if netstat terminates with an error.
Just a thought on that (since I've got no idea..)
Did you enable kernel httpd accelleration? Here's the 'help' associated with that option:
Quote:
The kernel httpd acceleration daemon (kHTTPd) is a (limited) web x
x server built into the kernel. It is limited since it can only serve x
x files from the file system and cannot deal with executable content x
x such as CGI scripts. Serving files is sped up if you use kHTTPd. x
x If kHTTPd is not able to fulfill a request, it can transparently x
x pass it through to a user space web server such as apache. x
x x
x Saying "M" here builds the kHTTPd module; this is NOT enough to have x
x a working kHTTPd. For safety reasons, the module has to be activated x
x by doing a "echo 1 > /proc/sys/net/khttpd/start" after inserting the x
x module. x
x x
x Before using this, read the README in net/khttpd !
Of course it's sposed to be "httpd"! It's my paranoid setup that only allows for running Apache-SSL.
In your output above, netstat *does* show Apache's established connections: tcp 0 0 IP:port IP:port ESTABLISHED PID/httpd.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.