下午裝了個solaris10,配置網絡服務的時候進了命令行界面,因為用的是寬屏筆記本,字符界界面下,字符特別大,超出了屏幕的顯示范圍,還不能su到root,我就長押power按鈕強行關機了;
然後重新啟動SOLARIS10,但此是己進入不了SOLARIS10的圖形界面,出現下面提示:
WARNING - The following files in /differ from the boot archive:
/etc/path_to_inst
cannot find: /etc/devices/mdi_ib_cache : no such file or directory.
The recommended action is to reboot and select "Solaris failsafe"
..........
請問該怎樣處理才可進入圖形界面?
剛剛在一個BISOUS的blog上看到下面的話,跟我的故障的一樣,原來是solaris10的bug。
有些工程師在其他廠商的硬件上安裝Solaris10,成功安裝後首次重起過程中發現無法正常啟動到圖形界面。
系統提示/lib/svc/method/boot-archive執行失敗並有很多系統服務沒有正常啟動。屏幕上顯示的信息如下:
SunOS Release 5.10 Version Generic_118844-28 64-bit
Copyright 1983-2005 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hostname: BTO1A02WWS0S
Warning - The following files in / differ from the boot archive:
/etc/rtc_config
The recommended action ist to reboot and select "Solaris failsafe"
option from the boot menu. Then follow prompts to update the
boot archive.
To continue booting at your own risk, clear the service:
# svcadm clear system/boot-archive
Apr 2 13:01:02 svc.start[7]: svc:/system/boot-archive:default: Method "/lib/
svc/method/boot-archive" failed with exit status 95.
[ system/boot-archive:default failed fatally (see ?svcs -x? for details) ]
Requesting System Maintenance Mode
(see /lib/svc/share/README for more information.)
Console login service(s) cannot run
Root password for system maintenance (control-d to bypass):
這是Solaris10的一個Bug,已經修正但目前沒有反映到Solaris10當前版本中(06/06版本)。
通過以下方法可以回避這個問題:
a. #svcadm clear system/boot-archive 然後執行
#/lib/svc/method/boot-archive
b.每次重起機器後都發生,追加cronjob 定期運行 /usr/sbin/bootadm update-archive
等待驗證。