06-16-2009
Script to disable services
Hi All,
I want to disable bunch of unused services on SLES and RHEL to improve the performance. Since we have more than 100 servers to disable services, I want to do with some script. Any one can give me an idea how to write a script to disable services. Thanks
9 More Discussions You Might Find Interesting
1. AIX
Aix 5, how can I disable, telnet, ftp and snmp?
Thanks (4 Replies)
Discussion started by: csaunders
4 Replies
2. UNIX for Advanced & Expert Users
We're running SCO Open Server 5. On occassion we need to disable/enable HP print services. There's nothing that I have found in the HP printer manager that allows for this. I know we can stop/start print services via SCOADMIN. On occassion one of our HP printers will generate an error, the msg in... (4 Replies)
Discussion started by: sighbrrguy
4 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. Solaris
I've successfully installed syslog-ng and chkconfig using the packages from the OpenCSW project, these packages install under /opt/csw. I now need to disable the default syslog daemon and enable the new service created by the OpenCSW package (/etc/init.d/cswsyslog_ng).
Is there any good way to... (3 Replies)
Discussion started by: aussieos
3 Replies
5. Shell Programming and Scripting
Hi All,
I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:(
Thanks,
Rico (1 Reply)
Discussion started by: carnegiex
1 Replies
6. UNIX for Dummies Questions & Answers
I would like to know how would i disable service which helps mounting of removable devices automatically?
I dont want to disable mounting but i would like to disable automatic mounting of devices.
I would like to do this as security major on one of our production server. (2 Replies)
Discussion started by: pinga123
2 Replies
7. Red Hat
Hi all Expertise,
I have following issue to solve,
SSL / TLS Renegotiation DoS (low) 222.225.12.13
Ease of Exploitation Moderate
Port 443/tcp
Family Miscellaneous
Following is the problem description:------------------
Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies
8. 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
9. 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
LEARN ABOUT DEBIAN
clurgmgrd
clusvcmgrd(8) Red Hat Cluster Suite clusvcmgrd(8)
NAME
rgmanager - Resource Group (Cluster Service) Manager Daemon
DESCRIPTION
rgmanager handles management of user-defined cluster services (also known as resource groups). This includes handling of user requests
including service start, service disable, service relocate, and service restart. The service manager daemon also handles restarting and
relocating services in the event of failures.
HOW IT WORKS
The service manager is spawned by an init script after the cluster infrastructure has been started and only functions when the cluster is
quorate and locks are working.
During initialization, the service manager runs scripts which ensure that all services are clear to be started. After that, it determines
which services need to be started and starts them.
When an event is received, members which are no longer online have their services taken away from them. The event should only occur in the
case that the member has been fenced whenever fencing is available.
When a cluster member determines that it is no longer in the cluster quorum, the service manager stops all services and waits for a new
quorum to form.
COMMAND LINE OPTIONS
-f Run in the foreground (do not fork).
-d Enable debug-level logging.
-w Disable internal process monitoring (for debugging).
-N Do not perform stop-before-start. Combined with the -Z flag to clusvcadm, this can be used to allow rgmanager to be upgraded with-
out stopping a given user service or set of services.
SEE ALSO
clusvcadm(8)
Jan 2005 clusvcmgrd(8)