메뉴 닫기

iwinv 가상 vm CentOS 6 커널 업데이트후 서버 부팅 불가 문제

iwinv에서 CentOS 6.X APM+XWINDOW(64bit) 상품을 신청하고 yum 업데이트를 진행 하였으나 업데이트 완료후 서버 부팅이 안되는 문제가 발생했습니다.


[root@iwinvdemo3-24321 ~]# yum update -y
Loaded plugins: fastestmirror, refresh-packagekit
Setting up Update Process
Determining fastest mirrors
 * base: mirror.kakao.com
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
base                                                                                                                                                                                                                    | 3.7 kB     00:00     
base/primary_db                                                                                                                                                                                                         | 4.7 MB     00:00     
extras                                                                                                                                                                                                                  | 3.4 kB     00:00     
extras/primary_db                                                                                                                                                                                                       |  30 kB     00:00     
updates                                                                                                                                                                                                                 | 3.4 kB     00:00     
updates/primary_db                                                                                                                                                                                                      | 8.1 MB     00:00     
Resolving Dependencies
--> Running transaction check
---> Package GConf2.x86_64 0:2.28.0-6.el6 will be updated
---> Package GConf2.x86_64 0:2.28.0-7.el6 will be an update
---> Package GConf2-gtk.x86_64 0:2.28.0-6.el6 will be updated
---> Package GConf2-gtk.x86_64 0:2.28.0-7.el6 will be an update
---> Package NetworkManager.x86_64 1:0.8.1-107.el6 will be updated
---> Package NetworkManager.x86_64 1:0.8.1-113.el6 will be an update
---> Package NetworkManager-glib.x86_64 1:0.8.1-107.el6 will be updated
---> Package NetworkManager-glib.x86_64 1:0.8.1-113.el6 will be an update
..
..
..
---> Package kernel.x86_64 0:2.6.32-696.30.1.el6 will be installed
---> Package kernel-firmware.noarch 0:2.6.32-642.13.1.el6 will be updated
---> Package kernel-firmware.noarch 0:2.6.32-696.30.1.el6 will be an update
---> Package kernel-headers.x86_64 0:2.6.32-642.13.1.el6 will be updated
---> Package kernel-headers.x86_64 0:2.6.32-696.30.1.el6 will be an update
..
..
..
Complete!


[root@iwinvdemo3-24321 ~]# cat /boot/grub/grub.conf 
default=0
timeout=10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-696.30.1.el6.x86_64)
	root (hd0,0)
	kernel /boot/vmlinuz-2.6.32-696.30.1.el6.x86_64 ro root=UUID=ad11bafe-de2c-4d3f-be13-51dd0ef0d819 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet vga=792
	initrd /boot/initramfs-2.6.32-696.30.1.el6.x86_64.img
title CentOS (2.6.32-642.13.1.el6.x86_64)
	root (hd0,0)
	kernel /boot/vmlinuz-2.6.32-642.13.1.el6.x86_64 ro root=UUID=ad11bafe-de2c-4d3f-be13-51dd0ef0d819 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet vga=792
	initrd /boot/initramfs-2.6.32-642.13.1.el6.x86_64.img
title CentOS 6 (2.6.32-642.el6.x86_64)
	root (hd0,0)
	kernel /boot/vmlinuz-2.6.32-642.el6.x86_64 ro root=UUID=ad11bafe-de2c-4d3f-be13-51dd0ef0d819 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
	initrd /boot/initramfs-2.6.32-642.el6.x86_64.img

 

부팅 화면에는 커널 선택화면 이후 출력되는것이 없었으며 키보드 마우스 또한 인식이 안되었습니다.

 

서버를 리부팅후 이전 커널로 선택후 부팅후에는  정상적으로 부팅이 되었습니다.

그래서 2018 5월에 나온 커널 2.6.32-696.30.1.el6  바로 전 2.6.32-696.28.1.el6을 설치 진행 하였는데 해당 버전에는 문제 없이 정상적으로 서버가 부팅이 되었습니다.


[root@iwinvdemo3-24321 ~]# yum list --showduplicates kernel
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
Installed Packages
kernel.x86_64                                                                                   2.6.32-642.el6                                                                                         @anaconda-CentOS-201605220104.x86_64/6.8
kernel.x86_64                                                                                   2.6.32-642.13.1.el6                                                                                    @updates                                
kernel.x86_64                                                                                   2.6.32-696.30.1.el6                                                                                    @updates                                
Available Packages
kernel.x86_64                                                                                   2.6.32-696.el6                                                                                         base                                    
kernel.x86_64                                                                                   2.6.32-696.1.1.el6                                                                                     updates                                 
kernel.x86_64                                                                                   2.6.32-696.3.1.el6                                                                                     updates                                 
kernel.x86_64                                                                                   2.6.32-696.3.2.el6                                                                                     updates                                 
kernel.x86_64                                                                                   2.6.32-696.6.3.el6                                                                                     updates                                 
kernel.x86_64                                                                                   2.6.32-696.10.1.el6                                                                                    updates                                 
kernel.x86_64                                                                                   2.6.32-696.10.2.el6                                                                                    updates                                 
kernel.x86_64                                                                                   2.6.32-696.10.3.el6                                                                                    updates                                 
kernel.x86_64                                                                                   2.6.32-696.13.2.el6                                                                                    updates                                 
kernel.x86_64                                                                                   2.6.32-696.16.1.el6                                                                                    updates                                 
kernel.x86_64                                                                                   2.6.32-696.18.7.el6                                                                                    updates                                 
kernel.x86_64                                                                                   2.6.32-696.20.1.el6                                                                                    updates                                 
kernel.x86_64                                                                                   2.6.32-696.23.1.el6                                                                                    updates                                 
kernel.x86_64                                                                                   2.6.32-696.28.1.el6                                                                                    updates                                 
kernel.x86_64                                                                                   2.6.32-696.30.1.el6                                                                                    updates                   


[root@iwinvdemo3-24321 ~]# yum install kernel-2.6.32-696.28.1.el6
Loaded plugins: fastestmirror, refresh-packagekit
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package kernel.x86_64 0:2.6.32-696.28.1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================================================================================
 Package                                               Arch                                                  Version                                                              Repository                                              Size
===============================================================================================================================================================================================================================================
Installing:
 kernel                                                x86_64                                                2.6.32-696.28.1.el6                                                  updates                                                 32 M

Transaction Summary
===============================================================================================================================================================================================================================================
Install       1 Package(s)

Total download size: 32 M
Installed size: 133 M
Is this ok [y/N]: y
Downloading Packages:
kernel-2.6.32-696.28.1.el6.x86_64.rpm                                                                                                                                                                                   |  32 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : kernel-2.6.32-696.28.1.el6.x86_64                                                                                                                                                                                           1/1 
  Verifying  : kernel-2.6.32-696.28.1.el6.x86_64                                                                                                                                                                                           1/1 

Installed:
  kernel.x86_64 0:2.6.32-696.28.1.el6                                                                                                                                                                                                          

Complete!

해당 문제에 대해 원인 파악중이며 처음 yum update후 yum install kernel-{커널 버전} 설치후 운영 해야 하며 CentOS 6 이미지들은 문제가 있는 커널을 제외하고 설치하게 /etc/yum.conf에 exclude 옵션을 사용하여 수정 했습니다..

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 항목은 *(으)로 표시합니다