mongos -f /etc/route.conf

XMLWordPrintableJSON

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

      when input " mongos -f /etc/route.conf " ,it has some error, my route.conf is:

      configdb=mongo:10031,mongo:10032,mongo:10033
      pidfilepath=/mongodb/pid/route.pid
      port=10040
      chunkSize=1
      logpath=/mongodb/log/route.log
      logappend=true
      fork=true
      

      and error message is :

      [mongosMain] ERROR: error upgrading config database to v5 :: caused by :: could not load config version for upgrade :: caused by :: count fails:{ note: "from execCommand", ok: 0.0, errmsg: "not master" }
      

      how to fixed?

            Assignee:
            Ramon Fernandez
            Reporter:
            dengjie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: