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

Răzvan Crainea razvan at opensips.org
Thu Sep 17 14:21:06 CEST 2015


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 Solutions
www.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 
> <mailto: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 Developer
>     http://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
>>     <mailto: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 Developer
>>         http://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 list
>>>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>         _______________________________________________
>>         Users mailing list
>>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://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/20150917/31d09775/attachment-0001.htm>


More information about the Users mailing list