Help answer threads with 0 replies.
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 10-28-2008, 12:26 PM   #1
LQ Newbie
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
difference between /etc/init.d and /etc/rc.d/init.d

Hi there,

I am working on automating the startup database and listener on a server which has a Oracle 10g database, Webb server and blackboard app server, the database and listener should startup before services are started and the services should be stoped before the database and listener are stoped. I don't know how to find that out and how to configure the chkconfig to start the database and listener before services are started.
I was told to place my script under /etc/rc.d/init.d but I wonder what the difference is between /etc/init.d and /etc/rc.d/init.d directories since all the files within both directories are the same.

Thanks for your help


Last edited by dawn; 10-28-2008 at 01:12 PM.
Old 10-28-2008, 12:51 PM   #2
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,653
Blog Entries: 56

Rep: Reputation: Disabled
On Slackware, don't know about other distros, /etc/init.d is a link to /etc/rc.d/init.d.
Old 10-28-2008, 01:02 PM   #3
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Same with Red Hat family distros:
%ls -ld /etc/init.d
lrwxrwxrwx 1 root root 11 Aug 13 18:27 /etc/init.d -> rc.d/init.d


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between /etc/init.d and /etc/rc.d/init.d barkout Linux - Newbie 2 04-02-2007 03:56 PM
init.d difference? yogaboy Linux - General 3 12-18-2006 12:36 PM
difference between /etc/init.d/rc#.d and /etc/rc.d/ zhimsel Linux - General 5 10-26-2006 05:47 PM
Difference between /etc/rc.d/init.d/ and /etc/init.d/ techstar25 Red Hat 2 10-05-2006 05:20 AM
Difference between init and others shipon_97 Linux - Newbie 3 03-04-2006 12:12 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:05 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