Deepti B Kalakeri wrote:
Can you also provide the information of the following command:
wbemcli ecn
http://usr:passwd@localhost:5988/root/virt | grep -w
Xen_ComputerSystem
The above command should give you the record as below, which would mean
that things are registered properly.
localhost:5988/root/virt:Xen_ComputerSystem
Between seems like you are using a very old version of Libvirt-CIM any
specific reason ?
The latest is available @
ftp://libvirt.org/libvirt-cim.
Thanks!!
Subba Rao, Sandeep M (STSD) wrote:
> Hi,
>
> Getting the following error when running "wbemcli ei" command
>
> [root@linux1b01 lib]# wbemcli ei
>
https://usr:passwd@localhost:5989/root/virt:Xen_ComputerSystem
> *
> * wbemcli: Cim: (1) CIM_ERR_FAILED: For provider Virt_ComputerSystem
> the library name was empty. Check provider registered location.
This error occurs when Pegasus can't find the provider. libvirt-cim
installs into /usr/lib64/cmpi. You should have a corresponding
/etc/ld.so.conf.d/libvirt-cim.conf that gets installed.
You should be able to run "ldconfig" and then run "ldconfig -p | grep
Virt_ComputerSystem"
The second command should return the location of the Virt_ComputerSystem
provider. It should look like the following:
# ldconfig -p | grep Virt_ComputerSystem
libVirt_ComputerSystemMigrationIndication.so.0 (libc6,x86-64) =>
/usr/lib64/cmpi/libVirt_ComputerSystemMigrationIndication.so.0
libVirt_ComputerSystemMigrationIndication.so (libc6,x86-64) =>
/usr/lib64/cmpi/libVirt_ComputerSystemMigrationIndication.so
libVirt_ComputerSystemIndication.so.0 (libc6,x86-64) =>
/usr/lib64/cmpi/libVirt_ComputerSystemIndication.so.0
libVirt_ComputerSystemIndication.so (libc6,x86-64) =>
/usr/lib64/cmpi/libVirt_ComputerSystemIndication.so
libVirt_ComputerSystem.so.0 (libc6,x86-64) =>
/usr/lib64/cmpi/libVirt_ComputerSystem.so.0
libVirt_ComputerSystem.so (libc6,x86-64) =>
/usr/lib64/cmpi/libVirt_ComputerSystem.so
If you don't see this, check to make sure
/etc/ld.so.conf.d/libvirt-cim.conf exists.
If you do see this output, but Pegasus still returns an error, then I
would take a look at your Pegasus settings. You can check
/etc/Pegasus/cimserver_plannaed.conf to see if the providerDir option is
set. If it is, add "/usr/lib64/cmpi/" to the list and restart.
> *
>
> The modules are registered properly with the CIMOM. However the above
> error refers to the provider registered location.
> All the packages were installed successfully without any errors.
> Any help is much appreciated.
>
> Regards,
> Sandeep
>
> Following is the setup details -
> [root@linux1b01 lib]# cat /etc/issue
> Red Hat Enterprise Linux Server release 5.2 (Tikanga) Kernel \r on an \m
>
> [root@linux1b01 lib]# uname -a
> Linux
linux1b01.vse.adapps.hp.com 2.6.18-92.el5xen #1 SMP Tue Apr 29
> 13:31:30
> ED
> T 2008 x86_64 x86_64 x86_64 GNU/Linux
> [root@linux1b01 lib]# rpm -q tog-pegasus
> tog-pegasus-2.7.0-2.el5
> [root@linux1b01 lib]# rpm -q sblim-cmpi-base
> sblim-cmpi-base-1.5.5-31.el5
> [root@linux1b01 lib]# rpm -q libcmpiutil
> libcmpiutil-0.4-1
> [root@linux1b01 lib]# rpm -q libvirt-cim
> libvirt-cim-0.4-1
> [root@linux1b01 lib]# cimprovider -l -s
> MODULE STATUS
> OperatingSystemModule OK
> ComputerSystemModule OK
> ProcessModule OK
> Virt_AllocationCapabilities OK
> Virt_ComputerSystem OK
> Virt_ComputerSystemIndication OK
> Virt_ComputerSystemMigrationIndication OK
> Virt_Device OK
> Virt_DevicePool OK
> Virt_ElementAllocatedFromPool OK
> Virt_ElementCapabilities OK
> Virt_ElementConformsToProfile OK
> Virt_ElementSettingData OK
> Virt_EnabledLogicalElementCapabilities OK
> Virt_HostedDependency OK
> Virt_HostedResourcePool OK
> Virt_HostedService OK
> Virt_HostSystem OK
> Virt_RASD OK
> Virt_ReferencedProfile OK
> Virt_RegisteredProfile OK
> Virt_ResourceAllocationFromPool OK
> Virt_ResourcePoolConfigurationCapabilities OK
> Virt_ResourcePoolConfigurationService OK
> Virt_SettingsDefineCapabilities OK
> Virt_SettingsDefineState OK
> Virt_SystemDevice OK
> Virt_VirtualSystemManagementCapabilities OK
> Virt_VirtualSystemManagementService OK
> Virt_VirtualSystemSnapshotService OK
> Virt_VirtualSystemSnapshotServiceCapabilities OK
> Virt_VSMigrationCapabilities OK
> Virt_VSMigrationService OK
> Virt_VSMigrationSettingData OK
> Virt_VSSD OK
> Virt_VSSDComponent OK
> cmpiOSBase_BaseBoardProvider OK
> cmpiOSBase_ComputerSystemProvider OK
> cmpiOSBase_CSBaseBoardProvider OK
> cmpiOSBase_CSProcessorProvider OK
> cmpiOSBase_OperatingSystemProvider OK
> cmpiOSBase_OperatingSystemStatisticalDataProvider OK
> cmpiOSBase_OperatingSystemStatisticsProvider OK
> cmpiOSBase_OSProcessProvider OK
> cmpiOSBase_ProcessorProvider OK
> cmpiOSBase_RunningOSProvider OK
> cmpiOSBase_UnixProcessProvider OK
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim(a)redhat.com
>
https://www.redhat.com/mailman/listinfo/libvirt-cim
>