<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
See the instructions at
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.11.x/db_cachedb#id249688">http://www.opensips.org/html/docs/modules/1.11.x/db_cachedb#id249688</a><br>
<br>
Basically, in your script you have to set <br>
<br>
db_version_table="my_version_table"<br>
<br>
and then in your MongoDB database go ahead and manually insert the
record for the ACC table version , like :<br>
<br>
db.my_version_table.insert({table_version : NumberInt(6),
table_name : "acc"}) <br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
<div class="moz-cite-prefix">On 19.09.2015 08:26, Sasmita Panda
wrote:<br>
</div>
<blockquote
cite="mid:CALf-Q47-FiK=6UoMXEYo-kkb1Pua=sUCyCqh7frzoJciwBGuHQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
HI All ,
<div><br>
</div>
<div><span style="font-size:12.8px"> My mongodb problem
is solved . Now I can store and fetch data through mongodb
module through raw query .</span>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Now I need to understand
something related to db_cachedb and cachedb_mongodb combined
integration .<span style="font-size:12.8px"> .</span></div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px"> I have gone through the bellow
link</div>
<div style="font-size:12.8px"><font color="#0000ff"><a
moz-do-not-send="true"
href="http://www.opensips.org/html/docs/modules/1.11.x/db_cachedb.html"
target="_blank">http://www.opensips.org/html/docs/modules/1.11.x/db_cachedb.html</a></font><br>
</div>
<div style="font-size:12.8px"><font color="#0000ff"><br>
</font></div>
<div style="font-size:12.8px"><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 style="font-size:12.8px"><font color="#000000"><br>
</font></div>
<div style="font-size:12.8px"><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><span
style="color:rgb(0,0,0);font-size:12.8px">same version
table schema in mongodb ? </span></div>
<div style="font-size:12.8px"><span
style="color:rgb(0,0,0);font-size:12.8px"><br>
</span></div>
<div style="font-size:12.8px"><span
style="color:rgb(0,0,0);font-size:12.8px"> I have tried
to put the version table in mongodb as a collection but it
wont works for me .</span></div>
<div style="font-size:12.8px"><font color="#000000"><br>
</font></div>
<div style="font-size:12.8px"><font color="#000000">I am
trying to use mongodb for acc module and its giving bellow
error :</font></div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px"><font color="#0000ff"><br>
</font></div>
<div style="font-size:12.8px">
<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 ? Waiting for a
reply .</font></div>
<div><font color="#000000"><br>
</font></div>
<div><font color="#000000"><br>
</font></div>
<div><font color="#000000"><br>
</font></div>
</div>
<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>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>