[OpenSIPS-Users] Regarding chachedb_mongdb use .
Vlad Paiu
vladpaiu at opensips.org
Mon Oct 5 14:31:54 CEST 2015
Hello,
Looks like there is an error with your MongoDB sharding - the errors you
are receiving from MongoDB look something like this :
https://jira.mongodb.org/browse/SERVER-12899
Can you manually login to a MongoDB node and run the version query by hand ?
Regards,
Vlad Paiu
OpenSIPS Developer
On 05.10.2015 14:58, Sasmita Panda wrote:
> Hi All ,
>
> I an using the NoSql module cachedb_mongodb as database with
> db_cachedb .
>
> 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 .
>
> What i have done :
> 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 :
>
> DBG:core:db_bind_mod: using db bind api for db_cachedb
> DBG:db_cachedb:db_cachedb_bind_api: BINDING API for :
> cachedb://mongodb:instance1
> DBG:db_cachedb:db_cachedb_init: Found matching URL :
> [mongodb:instance1://mongodb:mongodbserver@x.x.x.x:27017/db.opensips]
> DBG:core:cachedb_bind_mod: Binded to mod mongodb
> DBG:core:parse_cachedb_url: parsing
> [mongodb:instance1://mongodb:mongodbserver@x.x.x.x:27017/db.opensips]
> DBG:core:parse_cachedb_url: in host - :
> DBG:core:cachedb_do_init: opening new connection
> DBG:cachedb_mongodb:mongo_new_connection: Set timeout to 3000 millis
> INFO:cachedb_mongodb:mongo_new_connection: Connected at server
> x.x.x.x with version 3.0.6 , to db db.opensips
> DBG:db_cachedb:db_cachedb_init: Succesfully initiated connection to
> [mongodb:instance1]
> DBG:cachedb_mongodb:mongo_db_query_trans: Running raw mongo query on
> table db.my_version_table
> ERROR:cachedb_mongodb:mongo_db_query_trans: Failed to run query. Err
> = 0, 0 , 0
> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key connectionId
> DBG:cachedb_mongodb:mongo_db_query_trans: (int) 12
> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key n
> DBG:cachedb_mongodb:mongo_db_query_trans: (int) 0
> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key syncMillis
> DBG:cachedb_mongodb:mongo_db_query_trans: (int) 0
> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key writtenTo
> DBG:cachedb_mongodb:mongo_db_query_trans: (unknown type 10)
> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key err
> DBG:cachedb_mongodb:mongo_db_query_trans: (unknown type 10)
> DBG:cachedb_mongodb:mongo_db_query_trans: Fetched key ok
> DBG:cachedb_mongodb:mongo_db_query_trans: (double) 1.000000e+00
> ERROR:core:db_table_version: error in db_query
> ERROR:core:db_check_table_version: querying version for table silo
> ERROR:msilo:mod_init: error during table version check.
> ERROR:core:init_mod: failed to initialize module msilo
> ERROR:core:main: error while initializing modules
>
>
> Please help me to solve this error .
>
> */Thanks & Regards/*
> /Sasmita Panda/
> /Network Testing and Software Engineer/
> /3CLogic , ph:07827611765/
>
>
> _______________________________________________
> 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/20151005/4909113b/attachment.htm>
More information about the Users
mailing list