mongos fails to start

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 3.1.2
    • Component/s: Sharding
    • None
    • Major Change
    • ALL
    • Hide

      download and install latest mongoDB server
      create config server and restore the provided database
      modify entries in the shards collection as instructed in Q9
      restart server

      create 2 shards as instructed and restore the database

      try to lunch a mongos

      Show
      download and install latest mongoDB server create config server and restore the provided database modify entries in the shards collection as instructed in Q9 restart server create 2 shards as instructed and restore the database try to lunch a mongos
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Hello

      I have reproduced the situation from Q8-Q10 from the mongoDB exam 102.

      Test environment:
      Windows Server 2008
      mongoDB 3.1 (this is what the folder says)

      created the config server and the shards. I am able to logon to config server like this: mongo localhost:27091/config. It takes me straight to the database that was restored. config server was restarted.
      Shards are also working fine.

      when I type mongos --configfb localhost:27091 --port 28000 it fails with the following message:

      BadValue Must have either 3 node old-style config servers, or a single server re
      plica set config server
      try 'mongos --help' for more information

            Assignee:
            Kaloian Manassiev
            Reporter:
            Alexandru Toth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: