NVP-vProxy:vmconfig 失敗,並顯示「error while loading shared libraries: libstd.so: cannot open shared object file:No such file or directory"
Summary: vmconfig 失敗,並顯示「在載入共用程式庫時發生錯誤:libstd.so:無法開啟共用物件檔案:No such file or directory"
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
嘗試在 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
Cause
未載入程式庫
Resolution
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'.
Affected Products
NetWorkerProducts
NetWorkerArticle Properties
Article Number: 000034594
Article Type: Solution
Last Modified: 22 Jun 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.