NVP-vProxy:vmconfig 失败并显示“error while load shared libraries: libstd.so: cannot open shared object file:No such file or directory”
Resumen: vmconfig 失败并显示“error while load shared libraries: libstd.so: cannot open shared object file:No such file or directory”
Este artículo se aplica a
Este artículo no se aplica a
Este artículo no está vinculado a ningún producto específico.
No se identifican todas las versiones del producto en este artículo.
Síntomas
尝试在 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
Causa
未加载库
Resolución
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'.
Productos afectados
NetWorkerProductos
NetWorkerPropiedades del artículo
Número del artículo: 000034594
Tipo de artículo: Solution
Última modificación: 22 jun 2025
Versión: 4
Encuentre respuestas a sus preguntas de otros usuarios de Dell
Servicios de soporte
Compruebe si el dispositivo está cubierto por los servicios de soporte.