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

mongos unable to start give error "differconfig servers not in sync! config servers ".

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.0.3
    • Component/s: Sharding
    • None
    • Environment:
      oracle linux
    • Linux

      hi,

      we setup mongo servers on two machine. All mongod run with journal option.

      machine_1 : 4 mongod, 2 config server, 1 mongos.
      machine_2 : 4 mongod, 1 config server.

      I reboot machine_1. start all mongods and config server after this start mongos.
      mongos is unable to start. error logs are below:

              • SERVER RESTARTED *****

      Tue Apr 17 18:49:17 /usr/local/ct/depend/mongo/bin/mongos db version v2.0.3-rc0, pdfile version 4.5 starting (--help for usage)
      Tue Apr 17 18:49:17 git version: 643c3a25c7fa272a3ff343a7ed653f0cef17f60f
      Tue Apr 17 18:49:17 build info: Linux ip-10-110-9-236 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_41
      Tue Apr 17 18:49:17 config string : 192.168.129.112:30000,192.168.129.112:32000,192.168.129.93:37000
      Tue Apr 17 18:49:17 creating new connection to:192.168.129.112:30000
      Tue Apr 17 18:49:17 BackgroundJob starting: ConnectBG
      Tue Apr 17 18:49:17 connected connection!
      Tue Apr 17 18:49:17 creating new connection to:192.168.129.112:32000
      Tue Apr 17 18:49:17 BackgroundJob starting: ConnectBG
      Tue Apr 17 18:49:17 connected connection!
      Tue Apr 17 18:49:17 creating new connection to:192.168.129.93:37000
      Tue Apr 17 18:49:17 BackgroundJob starting: ConnectBG
      Tue Apr 17 18:49:17 connected connection!
      Tue Apr 17 18:49:17 ERROR: config servers 192.168.129.112:30000 and 192.168.129.93:37000 differconfig servers 192.168.129.112:30000 and 192.168.129.93:37000 differconfig servers 192.168.129.112:30000 and 192.168.129.93:37000 differconfig servers 192.168.129.112:30000 and 192.168.129.93:37000 differconfig servers not in sync! config servers 192.168.129.112:30000 and 192.168.129.93:37000 differ
      chunks: "25e79eeea13d87d4be49781249e1db44" chunks: "0b8d1c4a7d18645610be67e9ebd721cf"
      databases: "6df2443ff88a2726f746ebf6c547a909" databases: "6df2443ff88a2726f746ebf6c547a909"
      configServer startup check failed
      CursorCache at shutdown - sharded: 0 passthrough: 0

      kindly help me how to start mongos.

      Thanks in advance
      jitendra verma.

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            jitendra908 jitendra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: