mongos specified a different config database string

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.6.6
    • Component/s: Admin, Sharding
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
      

            Assignee:
            Unassigned
            Reporter:
            Arno
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: