Sponsored Content
Operating Systems Linux Red Hat Redhat 5 enterprise auto kill script Post 302455078 by frank_rizzo on Monday 20th of September 2010 06:45:44 PM
Old 09-20-2010
you should copy the rc script to /etc/init.d and then add it as a service with the chkconfig command. there are plenty of examples out there or you can use the existing scripts in /etc/init.d as a template.
This User Gave Thanks to frank_rizzo For This Post:
 

10 More Discussions You Might Find Interesting

1. Red Hat

Security Standards for Redhat Enterprise 3...

Hi all, Thanks for reading and any posts. Quick question, has anyone out there got any suggestions for standards of security for Redhat enterprise 3. We are making an RAC cluster Oracle application using Oracle 9i (hopefully moving to 10g sooner rather than later). Thanks again for any... (0 Replies)
Discussion started by: B14speedfreak
0 Replies

2. Red Hat

Python Installation problems on Redhat Enterprise Linux.

Hi All, I have to upgrade python installed on my Redhat enterprise Linux 4. I downloaded the latest python package from python website but not able to install the new package as the make command itself goes on running for more than a day. Can some help me regarding this. Is ther any method to... (2 Replies)
Discussion started by: Praveen H
2 Replies

3. Red Hat

Redhat Enterprise version 4 RHEL4 patches

Hi, I would like to know if should i patch my system and sshd based on the version that i have here below: cat /etc/redhat-release Red Hat Enterprise Linux ES release 4 (Nahant Update 5) ------------ uname -a: redhat kernel version and type (64-bit or not) Linux server2 2.6.9-55.ELsmp... (2 Replies)
Discussion started by: lamoul
2 Replies

4. Red Hat

Samba smb not started on Redhat Enterprise

Hi i installed samba-client-3.0.23c-2 on Redhat Server but cat not start #service smb start. it gives error unrecognized smb I checked samba-common-3.0.23c-2 # rpm -qa |grep smb pam_smb-1.1.7-7.2.1 # rpm -qa |grep samba samba3-client-3.2.15-40.el5 Could someone help please? ... (1 Reply)
Discussion started by: lamoul
1 Replies

5. Red Hat

Patch analysis tool Redhat Enterprise release 4

Hello I have been asked to provide a security patch analysis of servers in my environment. For HPUX and Solaris there are tools wich can be loaded onto the servers to do this. However I do not know of one for Redhat . At this point I must mentioned that the Redhat servers are behind a firewall... (2 Replies)
Discussion started by: dmsmith32
2 Replies

6. Red Hat

Login failed in Redhat Enterprise 6.2

When i finished installation the Redhat Enterprise Linux 6.2, and login to the system, I can't login although username: root and Password correct. I install on the Hp Blade Server. I don't know why. How to fix this error? who can help me? :confused: Thanks! (3 Replies)
Discussion started by: dinhdangnd
3 Replies

7. Shell Programming and Scripting

auto kill script

Hi, I have created a shell script which is used by many users to change their password/unlock, etc., via menu. There is possibility users just close the putty window without proper exit from menu. I want a solution so that if anybody forgets to stop that session, it should kill automatically... (9 Replies)
Discussion started by: prashant2507198
9 Replies

8. Red Hat

Redhat enterprise 6.2 virtulazation KVM NOT supporting more than 40GB

Hello, I have installed Red Hat 6.2 version & KVM installed, file system limited is only 40GB, how do i create more than 40 GB ( I need to install more than 100 GB file system ) Could you please me. Thanks... (2 Replies)
Discussion started by: Inamadugu
2 Replies

9. Red Hat

Not showing ifcfg eth0....redhat enterprise Linux 6.2

Hello, I'm using dell inspiron 14R laptop and I installed Redhat enterprise 6.2 on this. After successfully installation i did not found any network interface on this. when i'm trying to load/add qeth driver . The driver is not found showing this message. Bash: lsmod | grep qeth Bash:... (4 Replies)
Discussion started by: dearsumon
4 Replies

10. Fedora

Redhat Linux Enterprise edition 6.4

Hi, please can any one tell me where can i download redhat linux 6.4 for training purpose? thanks & Regards (1 Reply)
Discussion started by: younusdba
1 Replies
service(8)						      System Manager's Manual							service(8)

NAME
service - run a System V init script SYNOPSIS
service SCRIPT COMMAND [OPTIONS] service --status-all service --help | -h | --version DESCRIPTION
service runs a System V init script in as predictable environment as possible, removing most environment variables and with current working directory set to /. The SCRIPT parameter specifies a System V init script, located in /etc/init.d/SCRIPT. The supported values of COMMAND depend on the invoked script, service passes COMMAND and OPTIONS it to the init script unmodified. All scripts should support at least the start and stop commands. As a special case, if COMMAND is --full-restart, the script is run twice, first with the stop command, then with the start command. service --status-all runs all init scripts, in alphabetical order, with the status command. If the init script file does not exist, the script tries to use legacy actions. If there is no suitable legacy action found and COMMAND is one of actions specified in LSB Core Specification, input is redirected to the systemctl. Otherwise the command fails with return code 2. FILES
/etc/init.d The directory containing System V init scripts. ENVIRONMENT
LANG, TERM The only environment variables passed to the init scripts. SEE ALSO
chkconfig(8), ntsysv(8), systemd(1), systemctl(8), systemd.service(5) Jan 2006 service(8)
All times are GMT -4. The time now is 05:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy