站長新書 站長開講 首頁 最新文章 站長著作及審校 FreeBSD 筆記 Linux 筆記 Windows 筆記 虛擬化筆記 網管人雜誌 遊山玩水 關於本站
站長新書 VMware vSphere ICM 團購開跑了!!

SSM-查看 PERC 5i RAID Controller 狀態

最後編輯

修改:

< 由於我們安裝的是 SSM_2.08_linux.tar.gz,但 CentOS 5.1 為 libstdc++.so.6 所以我們必須安裝 compat-libstdc++-33 (libstdc++.so.5),否則等一下安裝 SSM_2.08_linux.tar.gz 將無法順利安裝,若不想裝 compat-libstdc++-33 那就安裝 SSM_linux_installer-2.16-01_CPG.tar.gz 只是安裝後沒有 icon 來啟動必須手動去執行(/usr/local/Dell SAS RAID Storage Manager/startupui.sh) 來啟動 SSM。

> 由於我們安裝的是 SSM_2.08_linux.tar.gz,但 '''CentOS 5.1''' 為 libstdc++.so.6 所以我們必須安裝 compat-libstdc++-33 (libstdc++.so.5),否則等一下安裝 SSM_2.08_linux.tar.gz 將無法順利安裝,若不想裝 compat-libstdc++-33 那就安裝 SSM_linux_installer-2.16-01_CPG.tar.gz 只是安裝後沒有 icon 來啟動必須手動去執行(/usr/local/Dell SAS RAID Storage Manager/startupui.sh) 來啟動 SSM。

增加:

> 如果是使用 '''CentOS 6.2''' 作業系統版本請安裝如下三個套件,否則屆時執行 SSM 時會發生問題!!
> #yum -y install compat-libstdc*
> #yum -y install libXt.i686 libXtst.i686

修改:

< '''Q1.libstdc++.so.5: cannot open shared object file: No such file or directory?'''

> == Q.libstdc++.so.5: cannot open shared object file: No such file or directory? ==

修改:

< '''Q2.安裝 SSM_linux_installer-2.16-01_CPG.tar.gz 後找不到啟動 icon?'''

> == Q.安裝 SSM_linux_installer-2.16-01_CPG.tar.gz 後找不到啟動 icon? ==

增加:

> == Q.在 CentOS 6.2 執行 ./install.sh 時發生錯誤無法繼續? ==
> '''''Error Meaage:'''''
> 在 CentOS 6.2 下執行 ./install.sh 準備安裝 SSM 時發生如下錯誤訊息
> error: Failed dependencies:
> libc.so.6 is needed by libstdc++34-3.4.0-1.i386
> libc.so.6(GLIBC_2.0) is needed by libstdc++34-3.4.0-1.i386
> libc.so.6(GLIBC_2.1) is needed by libstdc++34-3.4.0-1.i386
> libc.so.6(GLIBC_2.1.3) is needed by libstdc++34-3.4.0-1.i386
> libc.so.6(GLIBC_2.2) is needed by libstdc++34-3.4.0-1.i386
> libc.so.6(GLIBC_2.3) is needed by libstdc++34-3.4.0-1.i386
> libgcc_s.so.1 is needed by libstdc++34-3.4.0-1.i386
> libgcc_s.so.1(GCC_3.0) is needed by libstdc++34-3.4.0-1.i386
> libgcc_s.so.1(GCC_3.3) is needed by libstdc++34-3.4.0-1.i386
> libgcc_s.so.1(GLIBC_2.0) is needed by libstdc++34-3.4.0-1.i386
> libm.so.6 is needed by libstdc++34-3.4.0-1.i386
> RPM Installation Failed
> '''''Ans:'''''
> 執行指令 '''yum -y install compat-libstdc*''' 安裝相關所需套件即可。
> == Q.在 CentOS 6.2 執行 ./startupui.sh 時發生錯誤無法呼叫出 SSM? ==
> '''''Error Meaage:'''''
> 安裝好 SSM 之後執行點選 SSM 執行圖示沒反應,利用指令執行 ./startupui.sh 時發生如下錯誤訊息。
> # ./startupui.sh
> Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/Dell SAS RAID Storage
> Manager/jre/lib/i386/libawt.so: libXt.so.6: cannot open shared object file: No such file or directory
> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> at java.lang.ClassLoader.loadLibrary0(Unknown Source)
> at java.lang.ClassLoader.loadLibrary(Unknown Source)
> at java.lang.Runtime.loadLibrary0(Unknown Source)
> at java.lang.System.loadLibrary(Unknown Source)
> at sun.security.action.LoadLibraryAction.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
> at sun.awt.DebugHelper.<clinit>(Unknown Source)
> at java.awt.Component.<clinit>(Unknown Source)
> '''''Ans:'''''
> == Q.在 CentOS 6.2 執行 ./startupui.sh 時發生錯誤無法呼叫出 SSM (缺少 libXt.so.6)? ==
> '''''Error Meaage:'''''
> 安裝好 SSM 之後執行點選 SSM 執行圖示沒反應,利用指令執行 ./startupui.sh 時發生如下錯誤訊息說找不到 '''libXt.so.6'''。
> #/usr/local/Dell\ SAS\ RAID\ Storage\ Manager/startupui.sh
> Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/Dell SAS RAID Storage
> Manager/jre/lib/i386/libawt.so: libXt.so.6: cannot open shared object file: No such file or directory
> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> at java.lang.ClassLoader.loadLibrary0(Unknown Source)
> at java.lang.ClassLoader.loadLibrary(Unknown Source)
> at java.lang.Runtime.loadLibrary0(Unknown Source)
> at java.lang.System.loadLibrary(Unknown Source)
> at sun.security.action.LoadLibraryAction.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
> at sun.awt.DebugHelper.<clinit>(Unknown Source)
> at java.awt.Component.<clinit>(Unknown Source)
> '''''Ans:'''''
> 使用如下指令便可知道 libXt.so.6 檔案是由哪個套件所提供
> #yum whatprovides /usr/lib/libXt.so.6
> Loaded plugins: fastestmirror, refresh-packagekit, security
> Loading mirror speeds from cached hostfile
> * base: centos.tt.co.kr
> * extras: ftp.cs.pu.edu.tw
> * updates: centos.tt.co.kr
> libXt-1.0.7-1.el6.i686 : X.Org X11 libXt runtime library
> Repo : base
> Matched from:
> Filename : /usr/lib/libXt.so.6
> 但是您若直接打 libXt 進行安裝的話,會得到套件已經安裝的訊息,因為使用的 CentOS 6.2 為 64 位元,所以若直接打 libXt 其實是安裝 64 位元的檔案,也就是安裝在 '''/usr/lib64/libXt.so.6''' 之下,而不是本次錯誤中所需要的 '''/usr/lib/libXt.so.6'''。
> #yum -y install libXt //這樣會是裝 64 位元 (/usr/lib64)
> Loaded plugins: fastestmirror, refresh-packagekit, security
> Loading mirror speeds from cached hostfile
> * base: centos.tt.co.kr
> * extras: ftp.cs.pu.edu.tw
> * updates: centos.tt.co.kr
> Setting up Install Process
> Package libXt-1.0.7-1.el6.x86_64 already installed and latest version
> Nothing to do
> 安裝的套件名稱應該是 '''libXt.i686''' 這樣一來才會是安裝 '''/usr/lib/libXt.so.6''' 及相關檔案。
> #yum -y install libXt.i686 //這樣才是裝 32 位元 (/usr/lib)
> == Q.在 CentOS 6.2 執行 ./startupui.sh 時發生錯誤無法呼叫出 SSM (缺少 libXtst.so.6)? ==
> '''''Error Meaage:'''''
> 安裝好 SSM 之後執行點選 SSM 執行圖示沒反應,利用指令執行 ./startupui.sh 時發生如下錯誤訊息說找不到 '''libXtst.so.6'''。
> #/usr/local/Dell\ SAS\ RAID\ Storage\ Manager/startupui.sh
> Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/Dell SAS RAID Storage
> Manager/jre/lib/i386/libawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> at java.lang.ClassLoader.loadLibrary0(Unknown Source)
> at java.lang.ClassLoader.loadLibrary(Unknown Source)
> at java.lang.Runtime.loadLibrary0(Unknown Source)
> at java.lang.System.loadLibrary(Unknown Source)
> at sun.security.action.LoadLibraryAction.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
> at sun.awt.DebugHelper.<clinit>(Unknown Source)
> at java.awt.Component.<clinit>(Unknown Source)
> '''''Ans:'''''
> 跟上個問題相同,請安裝 32 位元的套件即可包含 libXtst.so.6 檔案。
> #yum -y install libXtst.i686


前言

使用 [Dell™ SAS RAID Storage Manager User Guide] 可以在圖形模式 (X-Win) 下很方便的查看目前 RAID 及 HDD 狀態。

實作環境

安裝及設定

Dell SAS RAID Storage Manager 在 [ftp1.us.dell.com - /sysman/] 內有有四個版本我測試後有二個版本是可安裝成功並且順利叫出管理介面,以下是各版本的測試結果及狀況。

測試上述各版本後發現 SSM_2.08_linux.tar.gz 最 OK 所以下面的安裝步驟就以 SSM_2.08_linux.tar.gz 做說明

步驟1.安裝 compat-libstdc++-33

由於我們安裝的是 SSM_2.08_linux.tar.gz,但 CentOS 5.1 為 libstdc++.so.6 所以我們必須安裝 compat-libstdc++-33 (libstdc++.so.5),否則等一下安裝 SSM_2.08_linux.tar.gz 將無法順利安裝,若不想裝 compat-libstdc++-33 那就安裝 SSM_linux_installer-2.16-01_CPG.tar.gz 只是安裝後沒有 icon 來啟動必須手動去執行(/usr/local/Dell SAS RAID Storage Manager/startupui.sh) 來啟動 SSM。

 #yum install compat-libstdc++-33
 #ls /usr/lib/libstdc++*
 /usr/lib/libstdc++.so.5            //確定有此檔案
 /usr/lib/libstdc++.so.5.0.7  
 /usr/lib/libstdc++.so.6  
 /usr/lib/libstdc++.so.6.0.8

如果是使用 CentOS 6.2 作業系統版本請安裝如下三個套件,否則屆時執行 SSM 時會發生問題!!

 #yum -y install compat-libstdc*
 #yum -y install libXt.i686 libXtst.i686

步驟2.下載 SSM_2.08_linux.tar.gz、解壓縮、安裝

[ftp1.us.dell.com - /sysman/] 下載 Dell SAS RAID Storage Manager (SSM_2.08_linux.tar.gz)

 #wget http://ftp1.us.dell.com/sysman/SSM_2.08_linux.tar.gz

解壓縮 SSM_2.08_linux.tar.gz,會建立 disk 資料夾裡面放著相關執行檔案

 #tar zxvf SSM_2.08_linux.tar.gz
 disk/
 disk/Dell_SAS_RAID_Storage_Manager-2.08-00.i386.rpm
 disk/readme.txt
 disk/deleteOldVersion.sh
 disk/libstdc++34-3.4.0-1.i386.rpm
 disk/install.sh
 disk/RunRPM.sh

執行安裝 Dell SAS RAID Storage Manager shell script

 #cd disk ; ./install.sh
 The provisions of Sections 2, 3, 4, 7, 8 and 9 shall survive any termination of this Agreement.
 Press Y to accept the License Agreement :Y        //鍵入 Y 表示同意版權宣告
 Starting complete installation of Dell SAS RAID Storage Manager 2.08-00.....
 Checking for any Old Version
 No Old Version Found
 Continuing with installation
 warning: libstdc++34-3.4.0-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
        file /usr/lib/libstdc++.so.6 from install of libstdc++34-3.4.0-1  conflicts with file from package libstdc++-4.1.2-14.el5
 Installing  Dell_SAS_RAID_Storage_Manager-2.08-00
 Preparing...                ########################################### [100%]
 Installing....
    1:Dell_SAS_RAID_Storage_M########################################### [100%]
 Starting Framework:
 Starting Monitor: /
 set: KEY=INSTALLER_VERSION   VAL=v2.08-00
 /

步驟3.啟動 Dell SAS RAID Storage Manager

啟動 Dell SAS RAID Storage Manager 記得要使用 Full Access 權限必須要 root 帳號、密碼登入才行哦。

Dell SAS RAID Storage Manager登入畫面 Dell SAS RAID Storage Manager管理畫面

參考

[Dell™ PowerEdge™ 1950 Document]

[戴爾 PowerEdge 1950 III 伺服器産品詳細資料]

[各种服务器raid监控(转)_阿辉的空间]

[戴尔中文技术支持网站-论坛 PERC5 RAID配置中文手册]

[Dell™ PowerEdge™ 可擴充的 RAID 控制卡 5/i 和 5/E 使用者指南]

[Dell™ SAS RAID Storage Manager User Guide]

[www.centos.org - RPM libstdc+]

[RPM resource libstdc++-libc6.1-1.so.2]

Me FAQ

Q.libstdc++.so.5: cannot open shared object file: No such file or directory?

Error Meaage:

安裝 SSM_2.08_linux.tar.gz 時顯示如下錯誤訊息說找不到 libstdc++.so.5

 #./install.sh
 Press Y to accept the License Agreement :Y
 Starting complete installation of Dell SAS RAID Storage Manager 2.08-00.....
 Checking for any Old Version
 No Old Version Found
 Continuing with installation
 warning: libstdc++34-3.4.0-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
        file /usr/lib/libstdc++.so.6 from install of libstdc++34-3.4.0-1  conflicts with file from package libstdc++-4.1.2-14.el5
 Installing  Dell_SAS_RAID_Storage_Manager-2.08-00
 Preparing...                ########################################### [100%]
 Installing....
    1:Dell_SAS_RAID_Storage_M########################################### [100%]
 Starting Framework:
 Starting Monitor: ./popup_bin: error while loading shared libraries:  libstdc++.so.5: cannot open shared object file: No such file or directory
 /
 set: KEY=INSTALLER_VERSION   VAL=v2.08-00
 /

Ans:

原因為 CentOS 5.1 為 libstdc++.so.6 而 SSM_2.08_linux.tar.gz 需要的是 libstdc++.so.5,所以當然就發生找不到檔案的問題了,可以安裝 compat-libstdc++-33 套件來產生 libstdc++.so.5;或是安裝 SSM_linux_installer-2.16-01_CPG.tar.gz 只是安裝後沒有 icon 來啟動 SSM 必須手動去執行(/usr/local/Dell SAS RAID Storage Manager/startupui.sh) 來啟動 SSM。

 #yum install compat-libstdc++-33
 #ls /usr/lib/libstdc++*
 /usr/lib/libstdc++.so.5            //確定有此檔案
 /usr/lib/libstdc++.so.5.0.7  
 /usr/lib/libstdc++.so.6  
 /usr/lib/libstdc++.so.6.0.8

Q.安裝 SSM_linux_installer-2.16-01_CPG.tar.gz 後找不到啟動 icon?

Error Meaage:

安裝 SSM_linux_installer-2.16-01_CPG.tar.gz 後在 System 找不到啟動 Dell SAS RAID Storage Manager 的 icon 那該怎麼啟動?

Ans:

在 X-Win 環境下執行啟動 Dell SAS RAID Storage Manager 的 Shell script 即可。

 #/usr/local/Dell SAS RAID Storage Manager/startupui.sh

Q.在 CentOS 6.2 執行 ./install.sh 時發生錯誤無法繼續?

Error Meaage:

在 CentOS 6.2 下執行 ./install.sh 準備安裝 SSM 時發生如下錯誤訊息

 error: Failed dependencies:
        libc.so.6 is needed by libstdc++34-3.4.0-1.i386
        libc.so.6(GLIBC_2.0) is needed by libstdc++34-3.4.0-1.i386
        libc.so.6(GLIBC_2.1) is needed by libstdc++34-3.4.0-1.i386
        libc.so.6(GLIBC_2.1.3) is needed by libstdc++34-3.4.0-1.i386
        libc.so.6(GLIBC_2.2) is needed by libstdc++34-3.4.0-1.i386
        libc.so.6(GLIBC_2.3) is needed by libstdc++34-3.4.0-1.i386
        libgcc_s.so.1 is needed by libstdc++34-3.4.0-1.i386
        libgcc_s.so.1(GCC_3.0) is needed by libstdc++34-3.4.0-1.i386
        libgcc_s.so.1(GCC_3.3) is needed by libstdc++34-3.4.0-1.i386
        libgcc_s.so.1(GLIBC_2.0) is needed by libstdc++34-3.4.0-1.i386
        libm.so.6 is needed by libstdc++34-3.4.0-1.i386
 RPM Installation Failed

Ans:

執行指令 yum -y install compat-libstdc* 安裝相關所需套件即可。

Q.在 CentOS 6.2 執行 ./startupui.sh 時發生錯誤無法呼叫出 SSM?

Error Meaage:

安裝好 SSM 之後執行點選 SSM 執行圖示沒反應,利用指令執行 ./startupui.sh 時發生如下錯誤訊息。

 # ./startupui.sh
  Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/Dell SAS RAID Storage 
  Manager/jre/lib/i386/libawt.so: libXt.so.6: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at sun.security.action.LoadLibraryAction.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
        at sun.awt.DebugHelper.<clinit>(Unknown Source)
        at java.awt.Component.<clinit>(Unknown Source)

Ans:

Q.在 CentOS 6.2 執行 ./startupui.sh 時發生錯誤無法呼叫出 SSM (缺少 libXt.so.6)?

Error Meaage:

安裝好 SSM 之後執行點選 SSM 執行圖示沒反應,利用指令執行 ./startupui.sh 時發生如下錯誤訊息說找不到 libXt.so.6

 #/usr/local/Dell\ SAS\ RAID\ Storage\ Manager/startupui.sh
  Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/Dell SAS RAID Storage 
  Manager/jre/lib/i386/libawt.so: libXt.so.6: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at sun.security.action.LoadLibraryAction.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
        at sun.awt.DebugHelper.<clinit>(Unknown Source)
        at java.awt.Component.<clinit>(Unknown Source)

Ans:

使用如下指令便可知道 libXt.so.6 檔案是由哪個套件所提供

 #yum whatprovides /usr/lib/libXt.so.6
  Loaded plugins: fastestmirror, refresh-packagekit, security
  Loading mirror speeds from cached hostfile
   * base: centos.tt.co.kr
   * extras: ftp.cs.pu.edu.tw
   * updates: centos.tt.co.kr
  libXt-1.0.7-1.el6.i686 : X.Org X11 libXt runtime library
  Repo        : base
  Matched from:
  Filename    : /usr/lib/libXt.so.6

但是您若直接打 libXt 進行安裝的話,會得到套件已經安裝的訊息,因為使用的 CentOS 6.2 為 64 位元,所以若直接打 libXt 其實是安裝 64 位元的檔案,也就是安裝在 /usr/lib64/libXt.so.6 之下,而不是本次錯誤中所需要的 /usr/lib/libXt.so.6

 #yum -y install libXt         //這樣會是裝 64 位元 (/usr/lib64)
  Loaded plugins: fastestmirror, refresh-packagekit, security
  Loading mirror speeds from cached hostfile
   * base: centos.tt.co.kr
   * extras: ftp.cs.pu.edu.tw
   * updates: centos.tt.co.kr
  Setting up Install Process
  Package libXt-1.0.7-1.el6.x86_64 already installed and latest version
  Nothing to do

安裝的套件名稱應該是 libXt.i686 這樣一來才會是安裝 /usr/lib/libXt.so.6 及相關檔案。

 #yum -y install libXt.i686   //這樣才是裝 32 位元 (/usr/lib)

Q.在 CentOS 6.2 執行 ./startupui.sh 時發生錯誤無法呼叫出 SSM (缺少 libXtst.so.6)?

Error Meaage:

安裝好 SSM 之後執行點選 SSM 執行圖示沒反應,利用指令執行 ./startupui.sh 時發生如下錯誤訊息說找不到 libXtst.so.6

 #/usr/local/Dell\ SAS\ RAID\ Storage\ Manager/startupui.sh
  Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/Dell SAS RAID Storage 
  Manager/jre/lib/i386/libawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at sun.security.action.LoadLibraryAction.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
        at sun.awt.DebugHelper.<clinit>(Unknown Source)
        at java.awt.Component.<clinit>(Unknown Source)

Ans:

跟上個問題相同,請安裝 32 位元的套件即可包含 libXtst.so.6 檔案。

 #yum -y install libXtst.i686
Go To Oddmuse OrgGo To FreeBSD OrgCreative Commons 2.5 Taiwansitestates.com