11-04-2010
It mostly depends on the distribution you are using. Which Linux flavor???
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!
We are having problems with our unix servers (SunOS 5.9) that services for some of our applications are continuously going down. (this is more due to the applications installed than the UNIX OS).
What I am looking for is some kind of administrative tool where I can set what service to scan... (1 Reply)
Discussion started by: erinor
1 Replies
2. UNIX for Dummies Questions & Answers
We have lost our Sys Admin and with the DST changes.. i need to make sure all services are re-started on a SUN server running SUNOS 5.9
How can i list what is running and make sure they are running after the DST patches are applied? (2 Replies)
Discussion started by: JanSP
2 Replies
3. UNIX for Dummies Questions & Answers
Hello all happy people! :)
Iam trying to figure out how to disable running services, and witch i can disable. Iam running ssh,apache,ftp and identd.
Here is an output from nmap:
21/tcp open ftp Solaris ftpd
22/tcp open ssh SunSSH 1.1 (protocol 2.0)
23/tcp ... (2 Replies)
Discussion started by: empty
2 Replies
4. SuSE
Hi Dear Guys:
I want to get a list of running services. Is there any command having this functionality? (3 Replies)
Discussion started by: crest.boy
3 Replies
5. Red Hat
I had a doubt if any services need to be restarted if port no in /etc/services in an RHEL setup is changed. For eg, the port no of 443 for SSL may need to be changed.
I hope my query is clear whether any services need to be restarted if port no in /etc/services is changed.
Please revert with... (10 Replies)
Discussion started by: RHCE
10 Replies
6. Shell Programming and Scripting
Hi,
I just started working on a script. After my research, i found a command which can help me:
AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2.
So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies
7. AIX
Hi,
How can I list running services, corresponding package name and status on the AIX host?
On Linux (Centos), I use the below code snippet:-
for i in `chkconfig --list | awk '{ print $1}'`; do
status=`/sbin/service $i status`
packagename=`rpm -qf /etc/init.d/$i`
done
Is there... (2 Replies)
Discussion started by: Vipin Batra
2 Replies
8. HP-UX
Hi,
I am trying to list down list of running services, corresponding package name and status on HP-UX box. The output will be a CSV in a fashion:- Service Name, Package Name, Status.
While working on Linux centos, I used chkconfig to do the same. Below was the snippet:-
for i in `chkconfig... (3 Replies)
Discussion started by: Happy83
3 Replies
9. HP-UX
Hi All,
I have a requirement to get all the running services on few HP-UX boxes. In Linux systems I am able to do that successfully using: chkconfig --list. However I can't find anything equivalent in HP-UX. If anyone has any pointers on the same then please suggest.
Adyan (4 Replies)
Discussion started by: Adyan Faruqi
4 Replies
LEARN ABOUT REDHAT
redhat-config-services
serviceconf(8) System Manager's Manual serviceconf(8)
NAME
redhat-config-services - Service Configuration Utility
SYNTAX
redhat-config-services
DESCRIPTION
This is a graphical tool for enabling and disabling services (including xinetd services). Functionality to start, stop, and restart ser-
vices is also included.
OPTIONS
None
FILES
/usr/bin/redhat-config-services
/usr/share/serviceconf/*
EXAMPLES
To run this program simply type:
redhat-config-services
LIMITATIONS
This utility currently execs chkconfig --add/--del <servicename> when enabling and disabling services. This means that it does not have the
same default behaviour as ntsysv.
SEE ALSO
chkconfig(8) ntsysv(8)
BUGS
- Some services will not start or stop properly if started anywhere but the console (redhat-config-services will appear to hang in these
instances). This is not a bug in redhat-config-services, but in the individual services.
- Some services are incredibly hard to detect if they are running or not. Starting, stopping and restarting initscripts may give mixed
results (ie. may fail if you are stopping a service that's already stopped, etc). This will be fixed; until then it's a bug.
AUTHORS
Tim Powers <timp@redhat.com>
Bill Nottingham <notting@redhat.com>
Dan Walsh <dwalsh@redhat.com>
Wed May 16 2001 serviceconf(8)