Re: Error while getting Enumerated instance
Devchandra L Meetei <[email protected]> Tue, 21 Jan 2014 20:23:23 +0530
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <CAKmFMKe=JN98wQ_w6tX5TDwU+eK5SBdHizT8f4NCAWRjHQJyJA@mail.gmail.com> |
if you are trying to use ComputerSystem provider. No need to write your own. pegasus will have one shipped with it. just check using cimcli ei/gi PG_computerSystem/CIM_ComputerSystem On Tue, Jan 21, 2014 at 8:20 PM, Devchandra L Meetei <[email protected]>wrote: > Are you using CMPI interface for your provider? or C++ default provider > interface? > > Here, pegasus is trying to load your `libAMIT_NewComputerSystem.so` file > but could not found entry point for provider. > > We need to ensure that the registration mof should have same matching > interface as that so file. > > and I think we need to change the message > > provider is not a CIMProvider. > which is misleading > > > > On Tue, Jan 21, 2014 at 7:50 PM, amitab len <[email protected]> wrote: > >> Hello All, >> >> Please provide your valuable input to the below error.Help will be much >> appreciated. >> >> root@localhost:/home/lhn/Cimple/cimple-2.0.24/src/providers/newprovider# >> cimcli ei AMIT_NewComputerSystem >> cimcli CIMException: Cmd= ei Object= AMIT_NewComputerSystem Code= 1 >> CIM_ERR_FAILED: ProviderLoadFailure >> (/home/lhn/pegasus/pegasus/bld/lib/libAMIT_NewComputerSystem.so:AMIT_NewComputerSystem_Provider):provider >> is not a CIMProvider. >> >> >> thanks, >> Amitab >> > > > > -- > Warm Regards > --Dev > OpenPegasus Developer/Committer > > "Any fool can write code that a computer can understand. Good programmers > write code that humans can understand." > --- Martin Fowler > -- Warm Regards --Dev OpenPegasus Developer/Committer "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler