nerdexam
Red_Hat

RH302 · Question #32

You are giving RHCE exam. You should boot the system in Run level 3. When you start the system after while it is going on runlevel 6 : like INIT: Entering Run level 6 Sending TERM Single Fix the…

The system is incorrectly booting into runlevel 6 instead of runlevel 3. This problem is due to either an incorrect default runlevel setting or misconfigured runlevel-specific scripts in /etc/inittab. Procedure: 1. Access the system, likely through single-user mode or by…

Troubleshooting

Question

You are giving RHCE exam. You should boot the system in Run level 3. When you start the system after while it is going on runlevel 6 : like INIT: Entering Run level 6 Sending TERM Single Fix the problem and boot the system.

Explanation

The system is incorrectly booting into runlevel 6 instead of runlevel 3. This problem is due to either an incorrect default runlevel setting or misconfigured runlevel-specific scripts in /etc/inittab.

Procedure:

  1. Access the system, likely through single-user mode or by modifying GRUB boot parameters to specify runlevel 3 or 1 temporarily.
  2. Edit the /etc/inittab file: vi /etc/inittab
  3. Correct the default runlevel entry to 3: The line id:?:initdefault: should be id:3:initdefault:
  4. Ensure the l3 entry correctly points to rc 3: The line l3:3:wait:/etc/rc.d/rc 6 (as seen in the problem description) is incorrect. It should be like this for runlevel 3: l3:3:wait:/etc/rc.d/rc 3

Correct /etc/inittab runlevel entries should resemble: s1::sysinit:/etc/rc.d/rc.sysinit l0:0:wait:/etc/rc.d/rc 0 l1:1:wait:/etc/rc.d/rc 1 l2:2:wait:/etc/rc.d/rc 2 l3:3:wait:/etc/rc.d/rc 3 l4:4:wait:/etc/rc.d/rc 4 l5:5:wait:/etc/rc.d/rc 5 l6:6:wait:/etc/rc.d/rc 6

Topics

#inittab#runlevel 6#reboot loop#init

Community Discussion

No community discussion yet for this question.

Full RH302 Practice