[SERVER-19056] mongos specified a different config database string Created: 19/Jun/15  Updated: 19/Jun/15  Resolved: 19/Jun/15

Status: Closed
Project: Core Server
Component/s: Admin, Sharding
Affects Version/s: 2.6.6
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Arno Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

One Mongodb config Server is dead , i create a new config server .
but error for starting mongos and i'm sure i change my mongos config file.

mongos> shwo tables;
2015-06-19T16:28:32.232+0000 SyntaxError: Unexpected identifier
mongos> show tables;
2015-06-19T16:28:37.036+0000 error: {
	"$err" : "could not initialize sharding on connection sharding1/192.168.1.10:27102,192.168.1.11:27103,192.168.1.8:27101 :: caused by :: mongos specified a different config database string : stored : 192.168.1.14:27301,192.168.1.15:27302,192.168.1.16:27303 vs given : 192.168.1.14:27301,192.168.1.15:27302,192.168.1.4:27303",
	"code" : 15907,
	"shard" : "sharding1"
} at src/mongo/shell/query.js:131



 Comments   
Comment by Ramon Fernandez Marina [ 19/Jun/15 ]

denggui.fan@yunshipei.com, please see the documentation on replacing a config server.

Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group. See also our Technical Support page for additional support resources.

Regards,
Ramón.

Generated at Thu Feb 08 03:49:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.