<div dir="ltr">My mongodb problem is solved . Now I can store and fetch data through mongodb module .<div><br></div><div>Now I need to understand something related to db_cachedb and cachedb_mongodb combined integration .</div><div>I am trying to store the data in mongodb rather than storing it in mysql .</div><div><br></div><div>I have gone through the bellow thread </div><div><font color="#0000ff"><a href="http://www.opensips.org/html/docs/modules/1.11.x/db_cachedb.html">http://www.opensips.org/html/docs/modules/1.11.x/db_cachedb.html</a></font><br></div><div><font color="#0000ff"><br></font></div><div><font color="#000000"> 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 .</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">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 </font></div><div><font color="#000000">same version table schema in mongodb ?</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">I am trying to use mongodb for acc module and its giving bellow error :</font></div><div><br></div><div><font color="#0000ff"><br></font></div><div><div><font color="#0000ff"> ERROR:core:db_check_table_version: invalid version 0 for table acc found, expected 6</font></div><div><font color="#0000ff"> ERROR:acc:acc_db_init: error during table version check</font></div><div><font color="#0000ff"> ERROR:acc:mod_init: failed...did you load a database module?</font></div><div><font color="#0000ff"> ERROR:core:init_mod: failed to initialize module acc</font></div><div><font color="#0000ff"> ERROR:core:main: error while initializing modules</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"> </font><font color="#000000">I think this error will come for all the modules too . So what is the common solution for this ?</font></div><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div>
<br><div class="gmail_quote">On Fri, Sep 18, 2015 at 11:36 AM, Sasmita Panda <span dir="ltr"><<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you so much for the information . It solved my problem .<div><br></div></div><div class="gmail_extra"><span class=""><br clear="all"><div><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Thu, Sep 17, 2015 at 5:51 PM, Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<tt>Hi, Sasmita!<br>
<br>
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).<br>
Then simply run 'ldconfig' and you should be set.<br>
If you want to doublecheck if the library is found in the correct
place, run 'ldd /usr/lib64/opensips/modules/cachedb_mongodb.so'<br>
<br>
Best regards,<br>
</tt>
<pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre><div><div>
<div>On 09/16/2015 07:46 PM, Sasmita Panda
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi Liviu,</div>
<div><br>
</div>
<div><br>
</div>
<div>Thank you so much for the reply .</div>
<div><br>
</div>
I had installed mongod: 3.1 and mongo-c-drive : 0.6 . I
had already compiled and install opensips-1.11 with this .
<div>There is no error during compilation and installation .</div>
<div><br>
</div>
<div>My opensips is install in the dir : /usr/sbin/opensips ,
/usr/etc/opensips/opensips.cfg and modules :
/usr/lib64/opensips/modules/</div>
<div><br>
</div>
<div>My mongo-c-driver is installed in dir : /usr/local/lib</div>
<div>I have done : took the tar file of this , extract that and
just run " make and make install " inside the directory .</div>
<div><br>
</div>
<div>When I am trying to run opensips its giving the bellow
error .</div>
<div><br>
</div>
<div>
<pre><font color="#0000ff"><i>ERROR:core:sr_load_module: could not open module
</i>><i> </usr/lib64/opensips/modules/cachedb_mongodb.so>: libmongoc.so.0.6: cannot open</i><i> shared object file: No such file or directory</i></font></pre>
</div>
<div><br>
</div>
<div>How can I solve this error . I think I am doing some minor
mistake while installation . </div>
<div>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 ?</div>
<div><br>
</div>
<div>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 .</div>
<div><br>
</div>
<div>Regards</div>
<div>Sasmita</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Network Testing and Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Mon, Sep 14, 2015 at 7:33 PM, Liviu
Chircu <span dir="ltr"><<a href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>Also, please
note that the versions of "mongo-c-driver" and "mongo*"
binaries do not coincide:<br>
<br>
Here are the latest versions of each software:<br>
* mongo-c-driver: 1.1.10<br>
* mongod: 3.1.7<br>
<br>
Best regards,<br>
</tt><span>
<pre cols="72">Liviu Chircu
OpenSIPS Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
</span>
<div>
<div>
<div>On 14.09.2015 15:39, Sasmita Panda wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi Liviu,
<div><br>
</div>
<div> I am installing the mangodb in another
server to which I will connect opensips . </div>
<div>Can I install the latest version of Mangodb
i.e version-3.0 ?</div>
<div><br>
</div>
<div>If the mango-c-driver is version-0.6 and the
mangodb version is 3.0 then will it create
conflict ?</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Network Testing and Software
Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Mon, Sep 14, 2015 at
2:47 PM, Liviu Chircu <span dir="ltr"><<a href="mailto:liviu@opensips.org" target="_blank"></a><a href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>Hi
Sasmita,<br>
<br>
Just updated the 1.11 MongoDB [1] docs to
match the helpful instructions from the
more recent doc releases.<br>
You should now be able to download the
"v0.6" version of the mongo-c-driver.<br>
<br>
[1]: <a href="http://www.opensips.org/html/docs/modules/1.11.x/cachedb_mongodb.html#id249610" target="_blank">http://www.opensips.org/html/docs/modules/1.11.x/cachedb_mongodb.html#id249610</a><br>
<br>
Best regards,<br>
</tt>
<pre cols="72">Liviu Chircu
OpenSIPS Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>
<div>
<div>On 14.09.2015 11:15, Sasmita Panda
wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">Hi All,
<div><br>
</div>
<div> I am trying to install
opensips-1.11 with cachedb_mangodb
support .</div>
<div>In the opensips documentation
its mentioned to use the 0.6
version of mango c driver .</div>
<div><br>
</div>
<div> 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 ?</div>
<div><br>
</div>
<div> Any kind of information
regarding this is appreciated .
Thank you in advance .</div>
<div><br>
</div>
<div> </div>
<div>
<div>
<div>
<div dir="ltr"><b><i>Thanks
& Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Network Testing and
Software Engineer</i></div>
<div><i>3CLogic ,
ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br></div>