<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
Looks like there is an error with your MongoDB sharding - the errors
you are receiving from MongoDB look something like this :
<a class="moz-txt-link-freetext" href="https://jira.mongodb.org/browse/SERVER-12899">https://jira.mongodb.org/browse/SERVER-12899</a><br>
<br>
Can you manually login to a MongoDB node and run the version query
by hand ?<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer</pre>
<div class="moz-cite-prefix">On 05.10.2015 14:58, Sasmita Panda
wrote:<br>
</div>
<blockquote
cite="mid:CALf-Q464cRFRcS=QUmSjuDjUoFQwWE=_8PLYm=yd=AcY1P+w4Q@mail.gmail.com"
type="cite">
<div dir="ltr">Hi All ,
<div><br>
</div>
<div> I an using the NoSql module cachedb_mongodb as database
with db_cachedb .</div>
<div><br>
</div>
<div>I have tested it running mongodb and opensips in a single
instance . Now I am trying to run mongodb and opensips in
different instances . I am facing some error in this case .</div>
<div><br>
</div>
<div> What i have done :</div>
<div>I have created a db with name opensips read/write
permission. I am also created the version table with name
"my_version_table" inside that db .Now I am trying to connect
to that DB from my opensips server . But its giving following
error :</div>
<div><br>
</div>
<div>
<div> DBG:core:db_bind_mod: using db bind api for db_cachedb</div>
<div> DBG:db_cachedb:db_cachedb_bind_api: BINDING API for :
cachedb://mongodb:instance1</div>
<div> DBG:db_cachedb:db_cachedb_init: Found matching URL :
[<a class="moz-txt-link-abbreviated" href="mailto:mongodb:instance1://mongodb:mongodbserver@x.x.x.x:27017/db.opensips">mongodb:instance1://mongodb:mongodbserver@x.x.x.x:27017/db.opensips</a>]</div>
<div> DBG:core:cachedb_bind_mod: Binded to mod mongodb</div>
<div> DBG:core:parse_cachedb_url: parsing
[<a class="moz-txt-link-abbreviated" href="mailto:mongodb:instance1://mongodb:mongodbserver@x.x.x.x:27017/db.opensips">mongodb:instance1://mongodb:mongodbserver@x.x.x.x:27017/db.opensips</a>]</div>
<div> DBG:core:parse_cachedb_url: in host - :</div>
<div> DBG:core:cachedb_do_init: opening new connection</div>
<div> DBG:cachedb_mongodb:mongo_new_connection: Set timeout to
3000 millis</div>
<div> <a class="moz-txt-link-freetext" href="INFO:cachedb_mongodb:mongo_new_connection">INFO:cachedb_mongodb:mongo_new_connection</a>: Connected at
server x.x.x.x with version 3.0.6 , to db db.opensips</div>
<div> DBG:db_cachedb:db_cachedb_init: Succesfully initiated
connection to [mongodb:instance1]</div>
<div> DBG:cachedb_mongodb:mongo_db_query_trans: Running raw
mongo query on table db.my_version_table</div>
<div> ERROR:cachedb_mongodb:mongo_db_query_trans: Failed to
run query. Err = 0, 0 , 0</div>
<div> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key
connectionId</div>
<div> DBG:cachedb_mongodb:mongo_db_query_trans: (int) 12</div>
<div> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key n</div>
<div> DBG:cachedb_mongodb:mongo_db_query_trans: (int) 0</div>
<div> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key
syncMillis</div>
<div> DBG:cachedb_mongodb:mongo_db_query_trans: (int) 0</div>
<div> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key
writtenTo</div>
<div> DBG:cachedb_mongodb:mongo_db_query_trans: (unknown type
10)</div>
<div> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key
err</div>
<div> DBG:cachedb_mongodb:mongo_db_query_trans: (unknown type
10)</div>
<div> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key ok</div>
<div> DBG:cachedb_mongodb:mongo_db_query_trans: (double)
1.000000e+00</div>
<div> ERROR:core:db_table_version: error in db_query</div>
<div> ERROR:core:db_check_table_version: querying version for
table silo</div>
<div> ERROR:msilo:mod_init: error during table version check.</div>
<div> ERROR:core:init_mod: failed to initialize module msilo</div>
<div> ERROR:core:main: error while initializing modules</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div> Please help me to solve this error .</div>
<div><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>
</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>