NVP-vProxy:vmconfig 失敗,並顯示「error while loading shared libraries: libstd.so: cannot open shared object file:No such file or directory"
Samenvatting: vmconfig 失敗,並顯示「在載入共用程式庫時發生錯誤:libstd.so:無法開啟共用物件檔案:No such file or directory"
Dit artikel is van toepassing op
Dit artikel is niet van toepassing op
Dit artikel is niet gebonden aan een specifiek product.
Niet alle productversies worden in dit artikel vermeld.
Symptomen
嘗試在 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
Oorzaak
未載入程式庫
Oplossing
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'.
Getroffen producten
NetWorkerProducten
NetWorkerArtikeleigenschappen
Artikelnummer: 000034594
Artikeltype: Solution
Laatst aangepast: 22 jun. 2025
Versie: 4
Vind antwoorden op uw vragen via andere Dell gebruikers
Support Services
Controleer of uw apparaat wordt gedekt door Support Services.