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…
Question
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:
- Access the system, likely through single-user mode or by modifying GRUB boot parameters to specify runlevel 3 or 1 temporarily.
- Edit the
/etc/inittabfile:vi /etc/inittab - Correct the default runlevel entry to
3: The lineid:?:initdefault:should beid:3:initdefault: - Ensure the
l3entry correctly points torc 3: The linel3: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
Community Discussion
No community discussion yet for this question.