Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-18330

mongos fails to start

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 3.1.2
    • 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

    Description

      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

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            alex.toth Alexandru Toth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: