Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This 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.


  Search this Thread
Old 07-15-2002, 07:55 PM   #1
Registered: May 2002
Location: Shanghai, PRC
Distribution: RedHat 6.2 | 7.2 | 8 | 9|3
Posts: 81

Rep: Reputation: 15
Angry How to add a system service in "ntsysv" list?

Hi all,

I copied a simple shell named "dbora" from an Oracle book. I saved it in */etc/init.d/*. I wanna make it runas a system service. So that book teaches me to do the following procedure.
ln -s /etc/init.d/dbora /etc/rc.d/rc0.d/K05dbora
ln -s /etc/init.d/dbora /etc/rc.d/rc2.d/S95dbora
ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/S95dbora
ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/S95dbora
ln -s /etc/init.d/dbora /etc/rc.d/rc6.d/K05dbora
So I can see my "dbora" service running when I reboot RedHat. But I still cannot find it in "ntsysv".

My question:
1. Can I make it displayed in "ntsysv" list? Since I could decide if it
works next time I reboot the box.
2. I found every shell saved in */etc/init.d/rc(0-6).d/* was called "Kxx" or "Sxx". What does this mean? I mean if I must use that filename.

Any help will be appreciated.

Old 07-15-2002, 08:01 PM   #2
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
ok K means to kill the service in the particular runlevel, where is S means to start the service, to add it to ntsysv just read the manual page for chkconfig
man chkconfig


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add service remotly "yp" RH 7.2 sgoldman Linux - Newbie 2 09-17-2005 01:27 PM
add "Artist" and "Album Title" to mp3 files powah Linux - Software 2 04-05-2005 04:04 AM
User "list" running process "python" TroelsSmit Linux - Newbie 2 02-22-2005 05:55 AM
add service to "system services list"? frieza Linux - Software 2 05-05-2004 12:51 PM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-30-2004 12:18 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration