LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 01-26-2006, 11:16 PM   #1
raj_deep2k1
LQ Newbie
 
Registered: Jan 2006
Posts: 25

Rep: Reputation: 15
Red hat linux enterprise...booting problem


Hello All,
I have Red hat linux enterprise edition installed in my server.and it was working fine.Now whenever I start it is booting well,all the services are started but the login prompt does not appear.
before somedays I want to execute a shell script at bootong time.some one tell me that enter a line for your shell script at the end of /etc/rc.local file..i have done this.
so i think thats why it is creating problem.
kindly suggest me how can i remove this problem.
I am using grub as a boot loader.
Thanks All,
-Rajendra
 
Old 01-26-2006, 11:53 PM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
  1. Boot from your first installation CD
  2. Enter linux-rescue at the boot prompt
  3. Enter details about your root partition when asked
  4. Do, "chroot /mnt/sysimage" (without quotes)
  5. Edit the file you want and reboot
You can also boot Knoppix or any other Live CD, access you RHEL root partition and make the changes.

Last edited by reddazz; 01-26-2006 at 11:54 PM.
 
Old 01-27-2006, 12:22 AM   #3
raj_deep2k1
LQ Newbie
 
Registered: Jan 2006
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by reddazz
  1. Boot from your first installation CD
  2. Enter linux-rescue at the boot prompt
  3. Enter details about your root partition when asked
  4. Do, "chroot /mnt/sysimage" (without quotes)
  5. Edit the file you want and reboot
You can also boot Knoppix or any other Live CD, access you RHEL root partition and make the changes.
Thnaks for reply but i don't want to change the file again,I need the solution for the above problem,I don't want to edit the rc.local file.what is the resion for occuring this problem

Please help

-Rajendra
 
Old 01-27-2006, 08:08 AM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
It seems like you did not put an "&" at the end of your commands in rc.local, so the terminal is occupied and the startup process will not progress to the next phase until you background the job thats occupying the terminal. If this is the case you need to fix your rc.local and the method above enables you to access your machine to edit the file.

I am sorry if I misunderstood you the first time. I thought you suspected that there was a problem with your rc.local and you were looking for a way to fix it.
 
Old 01-27-2006, 11:10 PM   #5
raj_deep2k1
LQ Newbie
 
Registered: Jan 2006
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by reddazz
It seems like you did not put an "&" at the end of your commands in rc.local, so the terminal is occupied and the startup process will not progress to the next phase until you background the job thats occupying the terminal. If this is the case you need to fix your rc.local and the method above enables you to access your machine to edit the file.

I am sorry if I misunderstood you the first time. I thought you suspected that there was a problem with your rc.local and you were looking for a way to fix it.

Thanks a lot,u didn't missguide me...thanks again
-Rajendra
 
  


Reply


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
red hat enterprise linux 3.0 booting problem cool123 Linux - Software 3 01-10-2006 03:48 AM
Problem in installing java in "Red Hat Enterprise Linux ES release 4" raajesh_ak Linux - Newbie 2 12-27-2005 03:55 AM
Problem with booting of Red Hat Linux 9 santosh_bandhu Linux - Hardware 1 10-28-2004 09:57 PM
problem booting red hat linux with LIDS bokenna Linux - General 0 03-29-2004 10:20 PM
Red Hat Enterprise vs. Red Hat Linux Project RedHatMN Linux - Distributions 2 07-29-2003 04:16 AM


All times are GMT -5. The time now is 02:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration