LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Red hat linux enterprise...booting problem (http://www.linuxquestions.org/questions/linux-general-1/red-hat-linux-enterprise-booting-problem-408459/)

raj_deep2k1 01-26-2006 11:16 PM

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

reddazz 01-26-2006 11:53 PM

  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.

raj_deep2k1 01-27-2006 12:22 AM

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

reddazz 01-27-2006 08:08 AM

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.

raj_deep2k1 01-27-2006 11:10 PM

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


All times are GMT -5. The time now is 11:34 AM.