Live upgrade from RHEL 5.7 to RHEL 6.2

Christina Salls christina.salls at noaa.gov
Fri Mar 30 13:55:20 UTC 2012


On Fri, Mar 30, 2012 at 9:21 AM, Georgios Magklaras <georgios at biotek.uio.no>

Thanks for your response.

wrote:

> Do you see the login banner at the console after the boot messages?


No, I do see a graphical login window, but no banner.

Has the system forked the  /sbin/mingetty processes?


Interesting.  no tty1

[root at panther tmp]# ps -ef | grep mingetty
root      2958  5831  0 09:44 pts/0    00:00:00 grep mingetty
root      4719     1  0 Mar29 tty2     00:00:00 /sbin/mingetty /dev/tty2
root      4721     1  0 Mar29 tty3     00:00:00 /sbin/mingetty /dev/tty3
root      4723     1  0 Mar29 tty4     00:00:00 /sbin/mingetty /dev/tty4
root      4725     1  0 Mar29 tty5     00:00:00 /sbin/mingetty /dev/tty5
root      4727     1  0 Mar29 tty6     00:00:00 /sbin/mingetty /dev/tty6



> One thing that comes to mind with RHEL 6 is the upstart module. In RHEL 6
> this replaced the traditional SysVInit system. So, I suggest you take a
> look via the network login to:
>
> 1)ACTIVE_CONSOLES directive in /etc/sysconfig/init.
>

# What ttys should gettys be started on?
ACTIVE_CONSOLES=/dev/tty[1-6]
# Set to '/sbin/sulogin' to prompt for password on single-user mode
# Set to '/sbin/sushell' otherwise
SINGLE=/sbin/sushell


> 2)/etc/init/prefdm.conf
>

[root at panther init]# more prefdm.conf
# prefdm - preferred display manager
#
# Starts gdm/xdm/etc by preference

start on stopped rc RUNLEVEL=5

stop on starting rc RUNLEVEL=[!5]

console output
respawn
respawn limit 10 120
exec /etc/X11/prefdm -nodaemon


> 3)/etc/init/tty.conf
>

[root at panther init]# more tty.conf
# tty - getty
#
# This service maintains a getty on the specified device.

stop on runlevel [S016]

respawn
instance $TTY
exec /sbin/mingetty $TTY

Also, this is what inittab looks like:

id:5:initdefault:

# System initialization.
si::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

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# When our UPS tells us power has failed, assume we have a few minutes
# of power left.  Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"


# Run gettys in standard runlevels
cons:12345:respawn:/sbin/agetty -L `stty -F /dev/ttyS1 speed` ttyS1 vt100
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon


>
> Best regards,
>
> --
> --
> George Magklaras PhD
> RHCE no: 805008309135525
>
> Senior Systems Engineer/IT Manager
> Biotechnology Center of Oslo and
> the Norwegian Center for Molecular Medicine
> EMBnet TMPC Chair
>
> http://folk.uio.no/georgios
>
> Tel: +47 22840535
>
>
>
>
>



More information about the redhat-list mailing list