LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-28-2008, 11:26 AM   #1
dawn
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

Dawn

Last edited by dawn; 10-28-2008 at 12:12 PM.
 
Old 10-28-2008, 11:51 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

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, 12:02 PM   #3
anomie
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:
Code:
%ls -ld /etc/init.d
lrwxrwxrwx 1 root root 11 Aug 13 18:27 /etc/init.d -> rc.d/init.d
 
  


Reply



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 02:56 PM
init.d difference? yogaboy Linux - General 3 12-18-2006 11:36 AM
difference between /etc/init.d/rc#.d and /etc/rc.d/ zhimsel Linux - General 5 10-26-2006 04:47 PM
Difference between /etc/rc.d/init.d/ and /etc/init.d/ techstar25 Red Hat 2 10-05-2006 04:20 AM
Difference between init and others shipon_97 Linux - Newbie 3 03-04-2006 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:53 PM.

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