• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Running Services on Red Hat 7.2 Default Server Install

Garet Jax

Diamond Member
Hello all,

I have just installed and configured Red Hat 7.2 at home to be a router and a firewall. I used the default server install. Apart from disabling IPChains and enabling IPTables I haven't changed any of the default services that are installed and started on boot.

I know SSH is running. I know IPTables is running. I don't know anything else... 🙂

about the services running. How do I get this information and how do I determine what the running service is doing? Is this all available in the MAN pages?

Thanks.
 

Try the ol' RedHat console standby 'ntsysv' for seeing what services are running.

Either that or look through the /etc/rcX.d for whatever runlevel you are using (3=boot to CLI, 5=boot to X). Any service with an S is started. Also look through /etc/xinetd.d/ and see which of those are turned off (see if disabled=yes in the file).
 
If you add services they should go into rc.sysinit or rc.local on Red Hat systems. If you can't find any reference in there, query the rpm.

For example you said you had SSH installed.
rpm -qa | grep -i ssh
rpm -ql
(previous result of query)

That will tell you what files are part of that package.
 
Has everyone forgotten the good old `/sbin/chkconfig --list` and `/sbin/chkconfig --list | grep on`? 😀

The first one will tell you which services are currently installed and available to use on your system. The second one will tell you which ones are turned on when the system starts and which runlevel they start on.

`man chkconfig` will help you alot in this case. 🙂
 
Back
Top