Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-20-2006, 11:36 AM   #1
LQ Newbie
Registered: Jun 2006
Posts: 2

Rep: Reputation: 0
What does ckconfig do?

I installed TOMCAT on my linux box.

I created a shell script "tomcat" and placed it in /etc/rc.d/init.d

Then I executed the commands:

chkconfig --add tomcat

Where does this command place the daemon tomcat? There is no tomcat entry in /etc/inittab

Surely, the chkconfig placed a "tomcat" entry in some file? But which one?

Old 06-20-2006, 11:55 AM   #2
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304

Rep: Reputation: 30
Do you have directories like
where X is a number between 0 and 6?
where xxxx is default, boot, single etc

These directories will contain soft links to init (and shutdown) scripts contained in /etc/rc.d/init.d

So all the scripts are kept in one place and to put them into a runlevel, a link is added to them in the directory for that runlevel.

The way this is done is distribution specific, so if you can't find these directories, then your distro (if you put it in your profile then people will be better able to help you) does something a little bit different. I'm sure it's in your distributions policy manual.


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 Off
HTML code is Off > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:17 PM.

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