NVP-vProxy:vmconfig 失败并显示“error while load shared libraries: libstd.so: cannot open shared object file:No such file or directory”
摘要: vmconfig 失败并显示“error while load shared libraries: libstd.so: cannot open shared object file: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: 加载共享库时出错:libstd.so:无法打开共享对象文件:No such file or directory
./vmconfig: 加载共享库时出错:libstd.so:无法打开共享对象文件:No such file or directory
原因
未加载库
解析度
1.以 管理员身份登录 vProxy,然后切换到 root:
sudo su - root
2.更改为 bin 目录:
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 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。