LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-11-2006, 10:36 AM   #1
davidtcw
LQ Newbie
 
Registered: Nov 2005
Posts: 23

Rep: Reputation: 15
Hard boot of RedHat linux on x86


Hi,
I'm a newbie to Linux Redhat.
%uname -a
Linux oracle-test.med-eng.com 2.4.9-e.30smp #1 SMP Fri Nov 28 07:18:53 EST 2003 i686 unknown


The server was hard rebooted, but did not run any of the
startup scripts (bootstrap).
I see the files in /etc/init.d directory, but not sure which ones should be used.

How do I run them?
And how do I get them to run at startup?

Help!!!!
 
Old 01-11-2006, 12:26 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
/etc/inittab defines how init scripts are used during the startup process. What makes you think none of the scripts were executed on boot?
 
Old 01-11-2006, 12:30 PM   #3
davidtcw
LQ Newbie
 
Registered: Nov 2005
Posts: 23

Original Poster
Rep: Reputation: 15
Prior to the hard reboot, we had all the Oracle processes running on this box. After startup, none of these processes were running.
I needed to manually restart them. There's 6 init levels.

I'm going to reboot at the end of day today. Can you tell me is this is the correct procedure?

#init 6
#shutdown -r now
#reboot
 
Old 01-11-2006, 12:31 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
There is no reason to use all three of those commands. I would ordinarily perform a simple 'shutdown -r now' or reboot (which do the same thing). The shutdown system automatically changes the runlevel for you.
 
Old 01-11-2006, 01:35 PM   #5
davidtcw
LQ Newbie
 
Registered: Nov 2005
Posts: 23

Original Poster
Rep: Reputation: 15
Why the hard reboot (power off, power on) would not have run all 6 init levels? Is there a log file I can check?
Without specifying the command, init 6, I'm a little wary.

By the way, when I do a
# whereis init
init: /usr/src/linux-2.4.9-e.5/init /usr/src/linux-2.4/init /sbin/init /etc/init.d /usr/share/man/man8/init.8.gz

I assume, it's in /sbin/init ? Is that right?
 
  


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
x86 Linux that reads Mac formatted hard drives? Kushan Linux - Newbie 1 12-26-2005 03:37 PM
Want to install RedHat Linux 4ES X86-64 davidtcw Linux - Newbie 3 11-18-2005 02:12 PM
Boot x86 target from flash, with the image and file system on the x86 host. batsayan Linux - Software 2 08-23-2005 12:09 AM
linux on x86, any way to maintain state to avoid boot? german Linux - Software 3 02-14-2005 07:55 AM
XP Pro will not boot dual boot Redhat 9 one hard drive mamoose Linux - Newbie 10 03-29-2004 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:51 AM.

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