NVP-vProxy:vmconfig 失敗,並顯示「error while loading shared libraries: libstd.so: cannot open shared object file:No such file or directory"
摘要: vmconfig 失敗,並顯示「在載入共用程式庫時發生錯誤:libstd.so:無法開啟共用物件檔案:No such file or directory"
本文章適用於
本文章不適用於
本文無關於任何特定產品。
本文未識別所有產品版本。
症狀
嘗試在 NVP vProxy 上執行「vmconfig」時,命令會因為共用程式庫錯誤而失敗。
nvp:/opt/emc/vproxy/bin # ./vmconfig -c info -k 「vm-30」 -l moref -p vmware -u administrator@vsphere.local -v vcenter.lab.emc.com
./vmconfig: error while loading shared libraries: libstd.so: cannot open shared object file:No such file or directory
./vmconfig: error while loading shared libraries: libstd.so: cannot open shared object file:No such file or directory
原因
未載入程式庫
解析度
1.以 管理員身分登入 vProxy,然後切換至 root:
sudo su - root
2.變更為垃圾匣目錄:
cd /opt/emc/vproxy/bin
3.執行以下命令以載入程式庫路徑:
源。。/unit/vproxy.env
4.執行 vmconfig 命令。請記住,您必須指定 vCenter 系統管理員層級的使用者帳戶和密碼。
語法:
nvp:/opt/emc/vproxy/bin # ./vmconfig
VM Config
-boost-log-level string
DD Boost log level: { none, error, warn, info, debug, trace, all } (default "error")
-c string
Command { "enable-cbt" | "disable-cbt" | "info" | "disable-migration" | "enable-migration" | "cleanup-vddk" | "lock-vm" | "unlock-vm" | "reset-backup"}
-f Force command to take effect, ignoring current state
-k string
Lookup key associated with lookup mode. Note: for lookup by path use [<datacenter-folder>/]<datacenter-name>/vm/[<vapp-name>]/<vm-name>.
-l string
Lookup mode: { "dns" | "ip" | "moref" | "path" }
-p string
User password
-u string
User name
-v string
vCenter host name
-vddk-hotadd-threshold int
Threshold for logging warnings indicating too many concurrent VDDK hotadd sessions. (default 24)
範例:
nvp:/opt/emc/vproxy/bin # ./vmconfig -c info -k "vm-30" -l moref -p vmware -u administrator@vsphere.local -v vcenter.lab.emc.com
VM Config
vCenter: "vcenter.lab.emc.com", User: "administrator@vsphere.local", Password: "vmware", Lookup Mode: "moref", Lookup Key: "vm-30", Command: "info"
Logging into vCenter 'vcenter.lab.emc.com'
Logged into vCenter 'vcenter.lab.emc.com'.
Initialing Program structure for standalone program.
Connected to session on vCenter 'vcenter.lab.emc.com' Version '5.5.0 build-6516310, API:5.5', Uuid:AE448CD0-749F-4BDA-9F35-3CC3D5329805.
Searching for virtual machine with MORef "vm-30" ...
Querying vCenter for definition of virtual machine with MORef of "vm-30" ...
Found virtual machine "vmrhel7" with MORef "vm-30".
vm-30: Name: "vmrhel7".
vm-30: CBT Enabled: true.
vm-30: Migration Enabled: true.
vm-30: Backup Locked: false.
Disconnected from session on vCenter 'vcenter.lab.emc.com'.
Logging out from vCenter 'vcenter.lab.emc.com'
Logged out from vCenter 'vcenter.lab.emc.com'.
受影響的產品
NetWorker產品
NetWorker文章屬性
文章編號: 000034594
文章類型: Solution
上次修改時間: 22 6月 2025
版本: 4
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。