重慶分公司,新征程啟航
為企業(yè)提供網(wǎng)站建設(shè)、域名注冊、服務(wù)器等服務(wù)
為企業(yè)提供網(wǎng)站建設(shè)、域名注冊、服務(wù)器等服務(wù)
suse 11 sp4 安裝powerpath 6.1x 重啟后執(zhí)行命令提示報錯:
創(chuàng)新互聯(lián)公司主要從事做網(wǎng)站、成都做網(wǎng)站、網(wǎng)頁設(shè)計、企業(yè)做網(wǎng)站、公司建網(wǎng)站等業(yè)務(wù)。立足成都服務(wù)渾江,十多年網(wǎng)站建設(shè)經(jīng)驗,價格優(yōu)惠、服務(wù)專業(yè),歡迎來電咨詢建站服務(wù):13518219792
shell> powermt display dev=all
powermt commands are failing with "ERROR: Cannot open PowerPath. Initialization error"
通過官網(wǎng)找一個帖子:https://community.emc.com/docs/DOC-67557 發(fā)現(xiàn)這是個bug
解決方法:
在主機上使用以下命令將hwclock更新為系統(tǒng)時鐘:
hwclock - systohc
這會將硬件時鐘更新為主機上的正確時間。
永久修復(fù):
此問題將在PowerPath for Linux 6.3中修復(fù)
按照操作后,也沒能夠正常啟動:
shell>cat /var/log/boot.log | grep PowerPath #查看日志,發(fā)現(xiàn)服務(wù)在啟動過程中國已經(jīng)停止了
shell>/etc/init.d/PowerPath start #手動重啟提示DM-Multipath is active
Starting PowerPath: Aborting PowerPath start since DM-Multipath is active. Refer to PowerPath for Linux Installation and Administration Guide for more information?
?failed
既然是因為:“啟動PowerPath:由于DM Multipath處于活動狀態(tài),正在中止PowerPath啟動”那么先停掉試試,然后重啟系統(tǒng),進入系統(tǒng)后重啟多路徑,問題解決。
shell> service multipathd stop
Stopping multipathd daemon:??????????????????????????????? [? OK? ]
shell> chkconfig multipathd off
shell> /etc/init.d/multipathd status
multipathd is stopped
shell> mpathconf --disable
reboot
shell> /etc/init.d/PowerPath start
Starting PowerPath:? done
shell> powermt display dev=all