事象
[root@ovmm328az ~]# less /var/log/messages
Jul 11 15:11:07 ovmm328az irqbalance: Balaincing is ineffective on systems with a single cache domain. Shutting down
Jul 11 15:11:07 ovmm328az init: start-ttys main process (4256) terminated with status 1
Jul 11 15:11:07 ovmm328az init: prefdm main process (4255) terminated with status 1
Jul 11 15:11:07 ovmm328az init: prefdm main process ended, respawning
Jul 11 15:11:07 ovmm328az init: prefdm main process (4275) terminated with status 1
Jul 11 15:11:07 ovmm328az init: prefdm main process ended, respawning
Jul 11 15:11:07 ovmm328az init: prefdm main process (4292) terminated with status 1
Jul 11 15:11:07 ovmm328az init: prefdm main process ended, respawning
Jul 11 15:11:07 ovmm328az init: prefdm main process (4309) terminated with status 1
Jul 11 15:11:07 ovmm328az init: prefdm main process ended, respawning
Jul 11 15:11:08 ovmm328az init: prefdm main process (4326) terminated with status 1
Jul 11 15:11:08 ovmm328az init: prefdm main process ended, respawning
Jul 11 15:11:08 ovmm328az init: prefdm main process (4343) terminated with status 1
Jul 11 15:11:08 ovmm328az init: prefdm main process ended, respawning
Jul 11 15:11:08 ovmm328az init: prefdm main process (4360) terminated with status 1
Jul 11 15:11:08 ovmm328az init: prefdm main process ended, respawning
Jul 11 15:11:08 ovmm328az init: prefdm main process (4377) terminated with status 1
Jul 11 15:11:08 ovmm328az init: prefdm main process ended, respawning
Jul 11 15:11:08 ovmm328az init: prefdm main process (4394) terminated with status 1
Jul 11 15:11:08 ovmm328az init: prefdm main process ended, respawning
Jul 11 15:11:08 ovmm328az init: prefdm main process (4411) terminated with status 1
Jul 11 15:11:08 ovmm328az init: prefdm main process ended, respawning
Jul 11 15:11:08 ovmm328az init: prefdm main process (4428) terminated with status 1
Jul 11 15:11:08 ovmm328az init: prefdm respawning too fast, stopped
Jul 11 15:11:12 ovmm328az kernel: atkbd serio0: Spurious NAK on isa0060/serio0. Some program might be trying to access hardware directly.
原因
- 必要なRPMパッケージがインストールされていない。
[root@ovmm328az ~]# sh -x /etc/X11/prefdm
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin
+ '[' -f /etc/sysconfig/i18n ']'
+ . /etc/sysconfig/i18n
++ LANG=en_US.UTF-8
++ SYSFONT=latarcyrheb-sun16
+ quit_arg=
+ preferred=
+ '[' -f /etc/sysconfig/desktop ']'
+ quit_arg=--retain-splash
+ /bin/plymouth quit --retain-splash
+ shopt -s execfail
+ '[' -n '' ']'
+ exec gdm
[root@ovmm328az ~]# which gdm
/usr/bin/which: no gdm in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
[root@ovmm328az ~]# which gnome
/usr/bin/which: no gnome in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
[root@ovmm328az ~]# which kde
/usr/bin/which: no kde in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)