<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:09:28 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-5630] mongos unable to start give error &quot;differconfig servers not in sync! config servers &quot;.</title>
                <link>https://jira.mongodb.org/browse/SERVER-5630</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;hi,&lt;/p&gt;

&lt;p&gt;we setup mongo servers on two machine. All mongod run with journal option.&lt;/p&gt;

&lt;p&gt;machine_1 : 4 mongod, 2 config server, 1 mongos.&lt;br/&gt;
machine_2 : 4 mongod, 1 config server.&lt;/p&gt;


&lt;p&gt;I reboot machine_1. start all mongods and config server after this start mongos. &lt;br/&gt;
mongos is unable to start. error logs are below:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;
		&lt;ul&gt;
			&lt;li&gt;
			&lt;ul&gt;
				&lt;li&gt;
				&lt;ul&gt;
					&lt;li&gt;SERVER RESTARTED *****&lt;/li&gt;
				&lt;/ul&gt;
				&lt;/li&gt;
			&lt;/ul&gt;
			&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;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)&lt;br/&gt;
Tue Apr 17 18:49:17 git version: 643c3a25c7fa272a3ff343a7ed653f0cef17f60f&lt;br/&gt;
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&lt;br/&gt;
Tue Apr 17 18:49:17  config string : 192.168.129.112:30000,192.168.129.112:32000,192.168.129.93:37000&lt;br/&gt;
Tue Apr 17 18:49:17 creating new connection to:192.168.129.112:30000&lt;br/&gt;
Tue Apr 17 18:49:17 BackgroundJob starting: ConnectBG&lt;br/&gt;
Tue Apr 17 18:49:17 connected connection!&lt;br/&gt;
Tue Apr 17 18:49:17 creating new connection to:192.168.129.112:32000&lt;br/&gt;
Tue Apr 17 18:49:17 BackgroundJob starting: ConnectBG&lt;br/&gt;
Tue Apr 17 18:49:17 connected connection!&lt;br/&gt;
Tue Apr 17 18:49:17 creating new connection to:192.168.129.93:37000&lt;br/&gt;
Tue Apr 17 18:49:17 BackgroundJob starting: ConnectBG&lt;br/&gt;
Tue Apr 17 18:49:17 connected connection!&lt;br/&gt;
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&lt;br/&gt;
chunks: &quot;25e79eeea13d87d4be49781249e1db44&quot;      chunks: &quot;0b8d1c4a7d18645610be67e9ebd721cf&quot;&lt;br/&gt;
databases: &quot;6df2443ff88a2726f746ebf6c547a909&quot;   databases: &quot;6df2443ff88a2726f746ebf6c547a909&quot;&lt;br/&gt;
configServer startup check failed&lt;br/&gt;
 CursorCache at shutdown -  sharded: 0 passthrough: 0&lt;/p&gt;

&lt;p&gt;kindly help me how to start mongos.&lt;/p&gt;

&lt;p&gt;Thanks in advance&lt;br/&gt;
jitendra verma.&lt;/p&gt;


</description>
                <environment>oracle linux</environment>
        <key id="36478">SERVER-5630</key>
            <summary>mongos unable to start give error &quot;differconfig servers not in sync! config servers &quot;.</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="spencer@mongodb.com">Spencer Brody</assignee>
                                    <reporter username="jitendra908">jitendra</reporter>
                        <labels>
                    </labels>
                <created>Tue, 17 Apr 2012 13:46:13 +0000</created>
                <updated>Mon, 26 Sep 2016 13:55:29 +0000</updated>
                            <resolved>Fri, 1 Jun 2012 15:42:19 +0000</resolved>
                                    <version>2.0.3</version>
                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="233323" author="suissa" created="Mon, 7 Jan 2013 18:27:11 +0000"  >&lt;p&gt;Worked, thanks for the tip!&lt;/p&gt;</comment>
                            <comment id="112661" author="spencer" created="Mon, 23 Apr 2012 16:36:47 +0000"  >&lt;p&gt;We generally don&apos;t recommend automating any change that involves messing with config data, as that is very risky and if done incorrectly can leave your cluster unusable (if the config data gets messed up the mongoses won&apos;t know where to route requests for data).  It should be very rare for your config servers to get out of sync.  We are planning to create scripts to make this process easier in the future (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5414&quot; title=&quot;improve emergency recovery scripts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5414&quot;&gt;&lt;del&gt;SERVER-5414&lt;/del&gt;&lt;/a&gt;) but they will be very conservative and thoroughly tested.&lt;/p&gt;

&lt;p&gt;That said, every step of the process I outlined above should be possible to script fairly easily - just be sure to test any such script thoroughly and use at your own risk.&lt;/p&gt;</comment>
                            <comment id="112370" author="jitendra908" created="Sun, 22 Apr 2012 10:14:20 +0000"  >&lt;p&gt;hi&lt;br/&gt;
how can be automate this solution in running mongo setup.&lt;/p&gt;

&lt;p&gt;Thanks in advance&lt;br/&gt;
jitendra verma.&lt;/p&gt;</comment>
                            <comment id="110700" author="spencer" created="Tue, 17 Apr 2012 15:19:35 +0000"  >&lt;p&gt;It looks like your config servers got out of sync.  There was probably a migration or chunk split in progress when you shut down the machine.&lt;/p&gt;

&lt;p&gt;Your best bet is to connect to each of the config servers directly and query the changelog collection in the config database to find which of them has the entry with the latest timestamp.  Once you identify which config server has the most up-to-date copy of the data you should restore its data onto the other 2 config servers.  Once the servers are brought back into sync, the mongos should be able to start up properly.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="36896">SERVER-5681</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="33630">SERVER-5380</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="36209">SERVER-5598</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 17 Apr 2012 15:19:35 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 6 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 6 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>suissa</customfieldvalue>
            <customfieldvalue>jitendra908</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hro5jb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hripxj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>22854</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht0trb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>