標籤:
這看不出開機啟動卡在哪裡,只好重啟按住"e"鍵,進入啟動菜單:然後移動到第二項kernel...接著按e進入編輯去掉rhgb quiet字樣 按斷行符號儲存回到選擇項按b啟動它就能看到啟動過程了f5鍵進度條/命令列介面方式切換#關鍵能過啟動後台杳找原因(壓F5杳看啟動過程)在啟動過程中就可以杳找原因
[[email protected]_Master ~]# chkconfig kdump off
如還是不能進入
[[email protected]_Master etc]# ps -ef|grep /bin/bashroot 977 1 0 18:09 ? 00:00:00 /bin/bash /etc/rc.d/rc 3root 1472 1470 0 18:09 ? 00:00:01 /bin/bash /etc/nginx_check.shroot 6691 1899 0 18:23 pts/1 00:00:00 grep /bin/bash[[email protected]_Master etc]# cat /etc/nginx_check.sh.bak #!/bin/bashset -xwhile :donginxpid=`ps -C nginx --no-header |wc -l`if [ $nginxpid -eq 0 ];thenservice keepalived stopservice nginx startfisleep 3nginxpid=`pgrep nginx|wc -l`if [ $nginxpid -ne 0 ];thenservice keepalived startfidone
[[email protected]_Master etc]# kill -9 1472[[email protected]_Master etc]# ps -ef|grep /bin/bashroot 7253 1899 0 18:25 pts/1 00:00:00 grep /bin/bash[[email protected]_Master etc]#
問題解決!!!!
CentOS開機的時候卡在進度條一直進不去 F5(是關鍵)