<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:33:32 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-33480] Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused</title>
                <link>https://jira.mongodb.org/browse/SERVER-33480</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;b&gt;When i am going to connect mongo it&apos;s give me below error&lt;/b&gt; :&lt;/p&gt;

&lt;p&gt;mongo&lt;br/&gt;
MongoDB shell version: 3.2.5&lt;br/&gt;
connecting to: test&lt;br/&gt;
2018-02-26T04:51:31.527+0000 W NETWORK &lt;span class=&quot;error&quot;&gt;&amp;#91;thread1&amp;#93;&lt;/span&gt; Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused&lt;br/&gt;
2018-02-26T04:51:31.527+0000 E QUERY &lt;span class=&quot;error&quot;&gt;&amp;#91;thread1&amp;#93;&lt;/span&gt; Error: couldn&apos;t connect to server 127.0.0.1:27017, connection attempt failed :&lt;br/&gt;
connect@src/mongo/shell/mongo.js:229:14&lt;br/&gt;
@(connect):1:6&lt;br/&gt;
exception: connect failed&lt;/p&gt;

&lt;p&gt;&lt;b&gt;After that i am going to repair mongodb by following command&lt;/b&gt; : &lt;br/&gt;
sudo mongod --dbpath /var/lib/mongodb/ --repair&lt;/p&gt;

&lt;p&gt;sudo mongod --dbpath /var/lib/mongodb/ --repair&lt;br/&gt;
2018-02-26T04:59:50.459+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; MongoDB starting : pid=30365 port=27017 dbpath=/var/lib/mongodb/ 64-bit host=ip-172-31-0-51&lt;br/&gt;
2018-02-26T04:59:50.459+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; db version v3.2.5&lt;br/&gt;
2018-02-26T04:59:50.459+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; git version: 34e65e5383f7ea1726332cb175b73077ec4a1b02&lt;br/&gt;
2018-02-26T04:59:50.459+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; OpenSSL version: OpenSSL 1.0.1f 6 Jan 2014&lt;br/&gt;
2018-02-26T04:59:50.459+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; allocator: tcmalloc&lt;br/&gt;
2018-02-26T04:59:50.459+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; modules: none&lt;br/&gt;
2018-02-26T04:59:50.459+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; build environment:&lt;br/&gt;
2018-02-26T04:59:50.459+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; distmod: ubuntu1404&lt;br/&gt;
2018-02-26T04:59:50.459+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; distarch: x86_64&lt;br/&gt;
2018-02-26T04:59:50.459+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; target_arch: x86_64&lt;br/&gt;
2018-02-26T04:59:50.459+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; options:&lt;br/&gt;
Unknown macro: &lt;/p&gt;
{ repair}
&lt;p&gt;2018-02-26T04:59:50.481+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Detected data files in /var/lib/mongodb/ created by the &apos;wiredTiger&apos; storage engine, so setting the active storage engine to &apos;wiredTiger&apos;.&lt;br/&gt;
2018-02-26T04:59:50.481+0000 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Detected WT journal files. Running recovery from last checkpoint.&lt;br/&gt;
2018-02-26T04:59:50.481+0000 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; journal to nojournal transition config: create,cache_size=1G,session_max=20000,eviction=(threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),&lt;br/&gt;
2018-02-26T04:59:50.487+0000 E STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; WiredTiger (0) &lt;span class=&quot;error&quot;&gt;&amp;#91;1519621190:487846&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;30365:0x7f5429562cc0&amp;#93;&lt;/span&gt;, &lt;a href=&quot;file:WiredTiger.wt&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;file:WiredTiger.wt&lt;/a&gt;, connection: read checksum error for 4096B block at offset 36864: block header checksum of 2260760038 doesn&apos;t match expected checksum of 1188426859&lt;br/&gt;
2018-02-26T04:59:50.487+0000 E STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; WiredTiger (0) &lt;span class=&quot;error&quot;&gt;&amp;#91;1519621190:487937&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;30365:0x7f5429562cc0&amp;#93;&lt;/span&gt;, &lt;a href=&quot;file:WiredTiger.wt&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;file:WiredTiger.wt&lt;/a&gt;, connection: WiredTiger.wt: encountered an illegal file format or internal value&lt;br/&gt;
2018-02-26T04:59:50.487+0000 E STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; WiredTiger (-31804) &lt;span class=&quot;error&quot;&gt;&amp;#91;1519621190:487973&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;30365:0x7f5429562cc0&amp;#93;&lt;/span&gt;, &lt;a href=&quot;file:WiredTiger.wt&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;file:WiredTiger.wt&lt;/a&gt;, connection: the process must exit and restart: WT_PANIC: WiredTiger library panic&lt;br/&gt;
2018-02-26T04:59:50.488+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Fatal Assertion 28558&lt;br/&gt;
2018-02-26T04:59:50.488+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;***aborting after fassert() failure&lt;/p&gt;

&lt;p&gt;Please suggest me solution for this.&lt;br/&gt;
Thanks!&lt;/p&gt;</description>
                <environment></environment>
        <key id="502280">SERVER-33480</key>
            <summary>Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused</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="kelsey.schubert@mongodb.com">Kelsey Schubert</assignee>
                                    <reporter username="palak007">Palak Patel</reporter>
                        <labels>
                            <label>envns</label>
                            <label>rns</label>
                            <label>rps</label>
                            <label>trcf</label>
                            <label>wtc</label>
                    </labels>
                <created>Mon, 26 Feb 2018 05:44:06 +0000</created>
                <updated>Fri, 27 Jul 2018 16:51:16 +0000</updated>
                            <resolved>Fri, 9 Mar 2018 17:16:35 +0000</resolved>
                                    <version>3.2.5</version>
                                                    <component>WiredTiger</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1818188" author="thomas.schubert" created="Wed, 28 Feb 2018 05:37:45 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=palak007&quot; class=&quot;user-hover&quot; rel=&quot;palak007&quot;&gt;palak007&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;The logs previously uploaded after starting with the new files indicate that the mongod was started normally, without the &lt;tt&gt;--repair&lt;/tt&gt; command line parameter specified. Would you please double check? If there is no other corruption, I would expect the repair operation to rebuild the indexes.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Kelsey&lt;/p&gt;</comment>
                            <comment id="1818187" author="palak007" created="Wed, 28 Feb 2018 05:27:46 +0000"  >&lt;p&gt;Hi Kelsey T Schubert,&lt;/p&gt;

&lt;p&gt;mongod is running on other path but not only on /var/lib/mongodb.&lt;br/&gt;
there is index-&lt;b&gt;.wt files are missing in above path. But my question is how can i recover these index-&lt;/b&gt;.wt files in given path?&lt;br/&gt;
your given solution is work for me.&lt;br/&gt;
Log for mongod --repair is in previously attached file log.txt.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;br/&gt;
Palak Patel&lt;/p&gt;</comment>
                            <comment id="1818180" author="thomas.schubert" created="Wed, 28 Feb 2018 05:19:02 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=palak007&quot; class=&quot;user-hover&quot; rel=&quot;palak007&quot;&gt;palak007&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Have you had any luck running &lt;tt&gt;mongod --repair&lt;/tt&gt; with the new files? Would you show the output of that process if not?&lt;/p&gt;

&lt;p&gt;Thank you,&lt;br/&gt;
Kelsey&lt;/p&gt;</comment>
                            <comment id="1816835" author="palak007" created="Tue, 27 Feb 2018 05:12:36 +0000"  >&lt;p&gt;Hi Kelsey T Schubert,&lt;/p&gt;

&lt;p&gt;Thanks for your solution. after replacing your files there is no more block header checksum. But there is another issue might here.&lt;br/&gt;
I have found in log which is attached in log.txt file.&lt;br/&gt;
There is missing all of index-1-2111875094627348415.wt files in /var/lib/mongodb.&lt;br/&gt;
I &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/180345/180345_log.txt&quot; title=&quot;log.txt attached to SERVER-33480&quot;&gt;log.txt&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt; s there any solution for this?&lt;/p&gt;

&lt;p&gt;Thanks!&lt;br/&gt;
Palak Patel&lt;/p&gt;</comment>
                            <comment id="1815983" author="thomas.schubert" created="Mon, 26 Feb 2018 15:19:45 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=palak007&quot; class=&quot;user-hover&quot; rel=&quot;palak007&quot;&gt;palak007&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;I&apos;ve attached a repair attempt of the files you provided. Please extract these files and replace them in your &lt;tt&gt;$dbpath&lt;/tt&gt; and let us know if it resolves the issue. If you are still seeing errors after replacing these files, please provide the complete logs from the affected node so that we can further investigate.&lt;/p&gt;

&lt;p&gt;Thank you,&lt;br/&gt;
Kelsey&lt;/p&gt;</comment>
                            <comment id="1815732" author="palak007" created="Mon, 26 Feb 2018 09:45:05 +0000"  >&lt;p&gt;Hi Kelsey T Schubert,&lt;/p&gt;

&lt;p&gt;Is there any updates on previous conversation? do you require anything else&lt;br/&gt;
to check which way to solve issue?&lt;/p&gt;


&lt;p&gt;&amp;#8211; &lt;br/&gt;
Palak Patel,&lt;br/&gt;
Thanks.&lt;/p&gt;</comment>
                            <comment id="1815641" author="palak007" created="Mon, 26 Feb 2018 06:09:49 +0000"  >&lt;p&gt;Hi Kelsey T Schubert,&lt;/p&gt;

&lt;p&gt;Yes sure.. i have uploaded WiredTiger.turtle too. please look into it.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;br/&gt;
Palak&lt;/p&gt;</comment>
                            <comment id="1815637" author="thomas.schubert" created="Mon, 26 Feb 2018 05:52:40 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=palak007&quot; class=&quot;user-hover&quot; rel=&quot;palak007&quot;&gt;palak007&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;So we can attempt to repair these files, would you please upload the &lt;tt&gt;wiredtiger.turtle&lt;/tt&gt; file as well?&lt;/p&gt;

&lt;p&gt;Thank you,&lt;br/&gt;
Kelsey&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="502276">TOOLS-1958</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="180227" name="WiredTiger.turtle" size="946" author="palak007" created="Mon, 26 Feb 2018 06:07:32 +0000"/>
                            <attachment id="180226" name="WiredTiger.wt" size="942080" author="palak007" created="Mon, 26 Feb 2018 05:43:59 +0000"/>
                            <attachment id="180345" name="log.txt" size="18121" author="palak007" created="Tue, 27 Feb 2018 05:12:32 +0000"/>
                            <attachment id="180243" name="repair_attempt.tar.gz" size="55580" author="kelsey.schubert@mongodb.com" created="Mon, 26 Feb 2018 15:19:20 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 26 Feb 2018 05:52:40 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 50 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>nick.brewer</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 50 weeks ago
                        </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>kelsey.schubert@mongodb.com</customfieldvalue>
            <customfieldvalue>palak007</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htr4kv:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</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>
                                    <customfieldvalue><![CDATA[kelsey.schubert@mongodb.com]]></customfieldvalue>
    

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

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