[OpenSIPS-Users] Regarding installing cachedb_mangodb with opensips-1.11

Sasmita Panda spanda at 3clogic.com
Fri Sep 18 14:24:04 CEST 2015


I have tried lots of procedures .
I have taken the dump of version table of opensips and put that in mongodb
in db.collection , but still I am getting the same error .

What should I do to get rid of this error ?

Please help me . Thank you in advance .

*Thanks & Regards*
*Sasmita Panda*
*Network Testing and Software Engineer*
*3CLogic , ph:07827611765*

On Fri, Sep 18, 2015 at 4:39 PM, Sasmita Panda <spanda at 3clogic.com> wrote:

> My mongodb problem is solved . Now I can store and fetch data through
> mongodb module .
>
> Now I need to understand something related to db_cachedb and
> cachedb_mongodb combined integration .
> I am trying to store the data in mongodb rather than storing it in mysql .
>
> I have gone through the bellow thread
> http://www.opensips.org/html/docs/modules/1.11.x/db_cachedb.html
>
>   In the end of this its saying I need to create a schema for version
> table in mongodb so that opensips modules can use that table .
>
> What should I do for this ? I am new to mongodo and also opensips-1.11 .
> So please can anybody explain me how to create
> same version table schema in mongodb ?
>
> I am trying to use mongodb for acc module and its giving bellow error :
>
>
>  ERROR:core:db_check_table_version: invalid version 0 for table acc found,
> expected 6
>  ERROR:acc:acc_db_init: error during table version check
>  ERROR:acc:mod_init: failed...did you load a database module?
>  ERROR:core:init_mod: failed to initialize module acc
>  ERROR:core:main: error while initializing modules
>
>   I think this error will come for all the modules too . So what is the
> common solution for this ?
>
>
> *Thanks & Regards*
> *Sasmita Panda*
> *Network Testing and Software Engineer*
> *3CLogic , ph:07827611765*
>
> On Fri, Sep 18, 2015 at 11:36 AM, Sasmita Panda <spanda at 3clogic.com>
> wrote:
>
>> Thank you so much for the information . It solved my problem .
>>
>>
>> *Thanks & Regards*
>> *Sasmita Panda*
>> *Network Testing and Software Engineer*
>> *3CLogic , ph:07827611765*
>>
>> On Thu, Sep 17, 2015 at 5:51 PM, Răzvan Crainea <razvan at opensips.org>
>> wrote:
>>
>>> Hi, Sasmita!
>>>
>>> You have to create the /etc/ld.so.conf.d/mongo.conf file and write the
>>> path to the library (/usr/local/lib according to your info).
>>> Then simply run 'ldconfig' and you should be set.
>>> If you want to doublecheck if the library is found in the correct place,
>>> run 'ldd /usr/lib64/opensips/modules/cachedb_mongodb.so'
>>>
>>> Best regards,
>>>
>>> Răzvan Crainea
>>> OpenSIPS Solutionswww.opensips-solutions.com
>>>
>>> On 09/16/2015 07:46 PM, Sasmita Panda wrote:
>>>
>>> Hi Liviu,
>>>
>>>
>>> Thank you so much for the reply .
>>>
>>>        I had installed mongod: 3.1 and mongo-c-drive : 0.6 . I had
>>> already compiled and install opensips-1.11 with this .
>>> There is no error during compilation and installation .
>>>
>>> My opensips is install in the dir : /usr/sbin/opensips  ,
>>>  /usr/etc/opensips/opensips.cfg and modules : /usr/lib64/opensips/modules/
>>>
>>> My mongo-c-driver is installed in dir : /usr/local/lib
>>> I have done : took the  tar file of this , extract that and just run  "
>>> make and make install " inside the directory .
>>>
>>> When I am trying to run opensips its giving the bellow error .
>>>
>>> *ERROR:core:sr_load_module: could not open module
>>> *>* </usr/lib64/opensips/modules/cachedb_mongodb.so>: libmongoc.so.0.6: cannot open** shared object file: No such file or directory*
>>>
>>>
>>> How can I solve this error . I think I am doing some minor mistake while
>>> installation .
>>> Can you please tell me in which directory the mongo-c-driver should get
>>> install and how should I install this to resolve my isssue ?
>>>
>>> Please tell me the procedure of installing this, if its something than
>>> what I have done . My machine is Ubuntu-14.0 and 64 bit .
>>>
>>> Regards
>>> Sasmita
>>>
>>> *Thanks & Regards*
>>> *Sasmita Panda*
>>> *Network Testing and Software Engineer*
>>> *3CLogic , ph:07827611765*
>>>
>>> On Mon, Sep 14, 2015 at 7:33 PM, Liviu Chircu <liviu at opensips.org>
>>> wrote:
>>>
>>>> Also, please note that the versions of "mongo-c-driver" and "mongo*"
>>>> binaries do not coincide:
>>>>
>>>> Here are the latest versions of each software:
>>>>     * mongo-c-driver: 1.1.10
>>>>     * mongod: 3.1.7
>>>>
>>>> Best regards,
>>>>
>>>> Liviu Chircu
>>>> OpenSIPS Developerhttp://www.opensips-solutions.com
>>>>
>>>> On 14.09.2015 15:39, Sasmita Panda wrote:
>>>>
>>>> Hi Liviu,
>>>>
>>>>    I am installing the mangodb in another server to which I will
>>>> connect opensips .
>>>> Can I install the latest version of Mangodb i.e version-3.0 ?
>>>>
>>>> If the mango-c-driver is version-0.6 and the mangodb version is 3.0
>>>> then will it create conflict ?
>>>>
>>>> *Thanks & Regards*
>>>> *Sasmita Panda*
>>>> *Network Testing and Software Engineer*
>>>> *3CLogic , ph:07827611765*
>>>>
>>>> On Mon, Sep 14, 2015 at 2:47 PM, Liviu Chircu < <liviu at opensips.org>
>>>> liviu at opensips.org> wrote:
>>>>
>>>>> Hi Sasmita,
>>>>>
>>>>> Just updated the 1.11 MongoDB [1] docs to match the helpful
>>>>> instructions from the more recent doc releases.
>>>>> You should now be able to download the "v0.6" version of the
>>>>> mongo-c-driver.
>>>>>
>>>>> [1]:
>>>>> http://www.opensips.org/html/docs/modules/1.11.x/cachedb_mongodb.html#id249610
>>>>>
>>>>> Best regards,
>>>>>
>>>>> Liviu Chircu
>>>>> OpenSIPS Developerhttp://www.opensips-solutions.com
>>>>>
>>>>> On 14.09.2015 11:15, Sasmita Panda wrote:
>>>>>
>>>>> Hi All,
>>>>>
>>>>>       I am trying to install opensips-1.11 with cachedb_mangodb
>>>>> support .
>>>>> In the opensips documentation its mentioned to use the 0.6 version of
>>>>> mango c driver .
>>>>>
>>>>>      Unfortunately, I am not getting this version anywhere to install
>>>>> . can anyone let me know whether this is a mandatory version or I can use
>>>>> any other version of it ?
>>>>>
>>>>>      Any kind of information regarding this is appreciated . Thank you
>>>>> in advance .
>>>>>
>>>>>
>>>>> *Thanks & Regards*
>>>>> *Sasmita Panda*
>>>>> *Network Testing and Software Engineer*
>>>>> *3CLogic , ph:07827611765*
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at lists.opensips.org
>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150918/7cd6fd1e/attachment.htm>


More information about the Users mailing list