<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:06:35 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-4647] config server  not started give  error &quot;there are no journal files to recover.&quot;</title>
                <link>https://jira.mongodb.org/browse/SERVER-4647</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;we run one mongos , one config server and 10 mongod shards.&lt;br/&gt;
we kill all mongo possess and restart all server. but config server not start and give error  &quot;there are no journal files to recover.&quot;&lt;/p&gt;

&lt;p&gt;after this run config server with --repair. and start mongos , insert one record it give socket exception.&lt;/p&gt;


&lt;p&gt;logs when config server not start.&lt;/p&gt;

&lt;p&gt;old lock file: /u01/shard1/configdb/mongod.lock.  probably means unclean shutdown,&lt;br/&gt;
but there are no journal files to recover.&lt;br/&gt;
this is likely human error or filesystem corruption.&lt;br/&gt;
found 1 dbs.&lt;br/&gt;
see: &lt;a href=&quot;http://dochub.mongodb.org/core/repair&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://dochub.mongodb.org/core/repair&lt;/a&gt; for more information&lt;br/&gt;
*************&lt;br/&gt;
Sun Jan  8 19:00:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; User Assertion: 12596:old lock file&lt;br/&gt;
Sun Jan  8 19:00:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; exception in initAndListen: 12596 old lock file, terminating&lt;br/&gt;
Sun Jan  8 19:00:01 dbexit:&lt;br/&gt;
Sun Jan  8 19:00:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: going to close listening sockets...&lt;br/&gt;
Sun Jan  8 19:00:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: going to flush diaglog...&lt;br/&gt;
Sun Jan  8 19:00:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: going to close sockets...&lt;br/&gt;
Sun Jan  8 19:00:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: waiting for fs preallocator...&lt;br/&gt;
Sun Jan  8 19:00:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: lock for final commit...&lt;br/&gt;
Sun Jan  8 19:00:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: final commit...&lt;br/&gt;
Sun Jan  8 19:00:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: closing all files...&lt;br/&gt;
Sun Jan  8 19:00:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; closeAllFiles() finished&lt;br/&gt;
Sun Jan  8 19:00:01 dbexit: really exiting now&lt;/p&gt;

&lt;p&gt;log when insert a record&lt;/p&gt;

&lt;p&gt;Sun Jan  8 20:19:53 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; creating new connection to:192.168.50.168:10000&lt;br/&gt;
Sun Jan  8 20:19:53 BackgroundJob starting: ConnectBG&lt;br/&gt;
Sun Jan  8 20:19:53 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; DBException in process: socket exception&lt;br/&gt;
Sun Jan  8 20:19:58 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; Socket recv() conn closed? 192.168.50.51:63406&lt;br/&gt;
Sun Jan  8 20:19:58 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; SocketException: remote: 192.168.50.51:63406 error: 9001 socket exception &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; server &lt;span class=&quot;error&quot;&gt;&amp;#91;192.168.50.51:63406&amp;#93;&lt;/span&gt; &lt;br/&gt;
Sun Jan  8 20:20:20 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn3&amp;#93;&lt;/span&gt; Request::process ns: 00080112.Database msg id:41 attempt: 0&lt;br/&gt;
Sun Jan  8 20:20:20 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn3&amp;#93;&lt;/span&gt; write: 00080112.Database&lt;/p&gt;

</description>
                <environment>linux debian</environment>
        <key id="27931">SERVER-4647</key>
            <summary>config server  not started give  error &quot;there are no journal files to recover.&quot;</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="4">Incomplete</resolution>
                                        <assignee username="richard.kreuter">Richard Kreuter</assignee>
                                    <reporter username="jitendra908">jitendra</reporter>
                        <labels>
                    </labels>
                <created>Sun, 8 Jan 2012 14:54:31 +0000</created>
                <updated>Wed, 15 Aug 2012 14:24:15 +0000</updated>
                            <resolved>Sun, 22 Apr 2012 12:04:43 +0000</resolved>
                                    <version>2.0.2</version>
                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="108759" author="ian@10gen.com" created="Wed, 11 Apr 2012 15:58:30 +0000"  >&lt;p&gt;@jitendra, could you please attach the config log files?&lt;/p&gt;</comment>
                            <comment id="78919" author="richard@10gen.com" created="Tue, 10 Jan 2012 20:28:13 +0000"  >&lt;p&gt;Two things:&lt;/p&gt;

&lt;p&gt;(1) could you upload your entire config database&apos;s log file, from before and after the initial kill operation?&lt;/p&gt;

&lt;p&gt;(2) I can&apos;t tell whether you&apos;ve got your config server running again.  Have you?&lt;/p&gt;</comment>
                            <comment id="78826" author="jitendra908" created="Tue, 10 Jan 2012 16:46:30 +0000"  >&lt;p&gt;yes i was running  with journalling and  didn&apos;t delete the journal/ directory?&lt;/p&gt;</comment>
                            <comment id="78810" author="eliot" created="Tue, 10 Jan 2012 16:19:39 +0000"  >&lt;p&gt;Are you sure you were running with journalling before and now and that you didn&apos;t delete the journal/ directory?&lt;/p&gt;</comment>
                            <comment id="78804" author="jitendra908" created="Tue, 10 Jan 2012 16:17:54 +0000"  >
&lt;p&gt;this error come then what to do?&lt;br/&gt;
**************&lt;br/&gt;
old lock file: mongod.lock. probably means unclean shutdown,&lt;br/&gt;
but there are no journal files to recover.&lt;br/&gt;
this is likely human error or filesystem corruption.&lt;br/&gt;
found 23 dbs.&lt;br/&gt;
see: &lt;a href=&quot;http://dochub.mongodb.org/core/repair&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://dochub.mongodb.org/core/repair&lt;/a&gt; for more information&lt;br/&gt;
*************&lt;/p&gt;</comment>
                            <comment id="78785" author="eliot" created="Tue, 10 Jan 2012 15:48:50 +0000"  >&lt;p&gt;You should check that your startup scrips do not remove the lock files or any files.&lt;br/&gt;
This shouldn&apos;t happen unles you&apos;re removing some files.&lt;/p&gt;</comment>
                            <comment id="78781" author="jitendra908" created="Tue, 10 Jan 2012 15:24:04 +0000"  >&lt;p&gt;this thing happened with one mongod shard server too, that time disk was full. &lt;/p&gt;</comment>
                            <comment id="78743" author="eliot" created="Tue, 10 Jan 2012 08:31:38 +0000"  >&lt;p&gt;You should really really be running 3 config servers.&lt;br/&gt;
In that case you can dump from one of those.&lt;/p&gt;

&lt;p&gt;If you just have 1 - I would run a repair.&lt;/p&gt;</comment>
                            <comment id="78734" author="jitendra908" created="Tue, 10 Jan 2012 05:29:52 +0000"  >&lt;p&gt;we started server same way.&lt;br/&gt;
if this problem come then what should do.&lt;/p&gt;</comment>
                            <comment id="78588" author="eliot" created="Mon, 9 Jan 2012 18:27:42 +0000"  >&lt;p&gt;That can happen if you don&apos;t start a server the same way.&lt;br/&gt;
Is that possible?&lt;/p&gt;</comment>
                            <comment id="78567" author="jitendra908" created="Mon, 9 Jan 2012 16:45:23 +0000"  >&lt;p&gt;if journal enable then how to handle below problem. why does it come?&lt;/p&gt;

&lt;p&gt;**************&lt;br/&gt;
old lock file: mongod.lock.  probably means unclean shutdown,&lt;br/&gt;
but there are no journal files to recover.&lt;br/&gt;
this is likely human error or filesystem corruption.&lt;br/&gt;
found 23 dbs.&lt;br/&gt;
see: &lt;a href=&quot;http://dochub.mongodb.org/core/repair&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://dochub.mongodb.org/core/repair&lt;/a&gt; for more information&lt;br/&gt;
*************&lt;/p&gt;

&lt;p&gt;You may want to check:&lt;/p&gt;

&lt;p&gt;If someone moved the journal files&lt;br/&gt;
The integrity of your disk.&lt;/p&gt;
</comment>
                            <comment id="78478" author="eliot" created="Mon, 9 Jan 2012 02:51:30 +0000"  >&lt;p&gt;Did you start the config server the same way as you did the first time?&lt;/p&gt;</comment>
                            <comment id="78428" author="scotthernandez" created="Sun, 8 Jan 2012 15:40:15 +0000"  >&lt;p&gt;Please run db.serverCmdLineOpts(), and db.serverStatus() on the config server.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 8 Jan 2012 15:40:15 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 45 weeks 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>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 45 weeks 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>eliot</customfieldvalue>
            <customfieldvalue>ian@mongodb.com</customfieldvalue>
            <customfieldvalue>jitendra908</customfieldvalue>
            <customfieldvalue>richard.kreuter</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrohbz:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>23441</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|ht08vz:</customfieldvalue>

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