<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 : [mongodb:instance1://mongodb:mongodbserver@x.x.x.x:27017/db.opensips]</div><div> DBG:core:cachedb_bind_mod: Binded to mod mongodb</div><div> DBG:core:parse_cachedb_url: parsing [mongodb:instance1://mongodb:mongodbserver@x.x.x.x:27017/db.opensips]</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> INFO:cachedb_mongodb:mongo_new_connection: 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>