<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:44:25 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-36905] Database corrupt</title>
                <link>https://jira.mongodb.org/browse/SERVER-36905</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hello!&lt;/p&gt;

&lt;p&gt;Our MongoDB base is corrupted by problems with hard drive. We recover our disk with database and MongoDB server&lt;/p&gt;

&lt;p&gt;We check config and MongoDB database folder. Config ok and have a right dbpath.&lt;/p&gt;

&lt;p&gt;In dbpath directory we have many files like this:&lt;/p&gt;

&lt;p&gt;total 2.5G&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 21 Apr 16 2017 WiredTiger.lock&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 95 Apr 16 2017 storage.bson&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 16K Apr 16 2017 index-4--2017253496148277652.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 52K Oct 10 2017 index-15-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 36K May 20 02:33 _mdb_catalog.wt.1&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 16K May 20 02:33 collection-2--2017253496148277652.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 36K May 20 02:33 collection-2--3777467847017729897.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 72K May 20 02:33 collection-18-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 52K May 20 02:33 collection-14-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 100K May 20 02:33 collection-0--4753795739824518231.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 16K May 20 02:33 index-3--2017253496148277652.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 16K May 20 02:33 index-3--3777467847017729897.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 36K May 20 02:34 index-1--2017253496148277652.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 40K May 20 02:34 collection-0--2017253496148277652.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 44K May 20 02:38 index-19-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 16K May 20 02:38 index-1--4753795739824518231.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 40K May 20 02:51 index-11-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 16K May 20 06:49 index-1-7644913279549684036.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 32K Jun 5 11:53 index-3-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 36K Jun 5 11:53 collection-2-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 52K Jun 17 08:26 index-13-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 132K Jun 22 10:14 collection-12-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 68K Aug 8 03:35 index-25-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 322M Aug 8 03:35 collection-24-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 36K Aug 13 15:24 index-9--3777467847017729897.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 60K Aug 13 15:24 collection-8--3777467847017729897.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 368K Aug 15 10:06 index-21-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 1.2M Aug 15 10:06 collection-20-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 84K Aug 16 10:23 index-7-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 192K Aug 16 10:23 collection-6-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 772K Aug 16 14:49 index-5-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 148K Aug 16 14:49 index-23-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 6.1M Aug 16 14:49 collection-4-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 1.1M Aug 16 14:49 collection-22-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 324K Aug 16 14:49 collection-10-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 36K Aug 16 14:49 collection-0-7644913279549684036.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 2.2M Aug 17 11:50 index-17-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 16M Aug 17 11:50 collection-16-6056211751025971878.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 468K Aug 17 16:59 index-7--3777467847017729897.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 864K Aug 17 16:59 collection-6--3777467847017729897.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 23M Aug 18 00:16 index-1--3777467847017729897.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 2.1G Aug 18 00:16 collection-0--3777467847017729897.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 968K Aug 18 00:17 index-5--3777467847017729897.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 124K Aug 18 00:59 WiredTiger.wt.1&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 49 Aug 28 09:12 WiredTiger&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 1.6M Aug 28 09:12 collection-4--3777467847017729897.wt&lt;br/&gt;
&lt;del&gt;rw-r&lt;/del&gt;&lt;del&gt;r&lt;/del&gt;- 1 mongodb nogroup 16K Aug 28 09:37 index-1-7056954381577752709.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 6 Aug 28 09:38 mongod.lock&lt;br/&gt;
drwxrwxr-- 2 mongodb mongodb 4.0K Aug 28 09:39 journal&lt;br/&gt;
&lt;del&gt;rw-r&lt;/del&gt;&lt;del&gt;r&lt;/del&gt;- 1 mongodb nogroup 1000 Aug 28 09:40 WiredTiger.turtle&lt;br/&gt;
drwxrwxr-- 2 mongodb mongodb 4.0K Aug 28 10:54 diagnostic.data&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 36K Aug 28 10:55 _mdb_catalog.wt&lt;br/&gt;
&lt;del&gt;rw-r&lt;/del&gt;&lt;del&gt;r&lt;/del&gt;- 1 mongodb nogroup 32K Aug 28 10:55 index-2-7056954381577752709.wt&lt;br/&gt;
&lt;del&gt;rw-r&lt;/del&gt;&lt;del&gt;r&lt;/del&gt;- 1 mongodb nogroup 16K Aug 28 10:55 index-0-7056954381577752709.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 16K Aug 28 10:55 collection-2-3814419529578137210.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 36K Aug 28 10:55 collection-0-3814419529578137210.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 92K Aug 28 10:55 WiredTiger.wt&lt;br/&gt;
&lt;del&gt;rw-r&lt;/del&gt;&lt;del&gt;r&lt;/del&gt;- 1 mongodb nogroup 4.0K Aug 28 10:55 WiredTigerLAS.wt&lt;br/&gt;
&lt;del&gt;rwxrwxr&lt;/del&gt;- 1 mongodb mongodb 36K Aug 28 10:55 sizeStorer.wt&lt;/p&gt;

&lt;p&gt;Its looks like a database!&lt;/p&gt;

&lt;p&gt;Our mongod daemon started and we can enter in it by Robo3t, but we see only admin and local databases.&lt;/p&gt;

&lt;p&gt;We try to repair it by &quot;mongod --repair --dbpath (path)&quot; key and its&#160;nothing gave to as&lt;/p&gt;

&lt;p&gt;We try &quot;./wt -v -h ../mongo-bak -C &quot;extensions=&lt;span class=&quot;error&quot;&gt;&amp;#91;./ext/compressors/snappy/.libs/libwiredtiger_snappy.so&amp;#93;&lt;/span&gt;&quot; -R salvage collection-2657-1723320556100349955.wt&quot; on all collections in dbpath directory (by WiredTiger utility) and its nothing gave to as again&lt;/p&gt;

&lt;p&gt;Can you help as with this problem? Thanks!&lt;/p&gt;

&lt;p&gt;Have a good day!&lt;/p&gt;</description>
                <environment></environment>
        <key id="596025">SERVER-36905</key>
            <summary>Database corrupt</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="nick.brewer">Nick Brewer</assignee>
                                    <reporter username="it@iidf.ru">it@iidf.ru</reporter>
                        <labels>
                    </labels>
                <created>Tue, 28 Aug 2018 15:36:05 +0000</created>
                <updated>Sun, 23 Sep 2018 17:16:23 +0000</updated>
                            <resolved>Thu, 30 Aug 2018 20:15:16 +0000</resolved>
                                    <version>3.4.3</version>
                                                    <component>WiredTiger</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1990617" author="it@iidf.ru" created="Fri, 31 Aug 2018 07:53:52 +0000"  >&lt;p&gt;Ok! Thank you for your help, Nick!&lt;/p&gt;

&lt;p&gt;Have a good day! =)&lt;/p&gt;</comment>
                            <comment id="1990346" author="nick.brewer" created="Thu, 30 Aug 2018 20:15:06 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=it%40iidf.ru&quot; class=&quot;user-hover&quot; rel=&quot;it@iidf.ru&quot;&gt;it@iidf.ru&lt;/a&gt; This still appears to be a permissions issue - I would suggest ensuring that all of the files within &lt;tt&gt;/var/lib/mongodb&lt;/tt&gt; are owned by the mongodb user and group, and then removing the &lt;tt&gt;mongod.lock&lt;/tt&gt; file, and rebooting the mongod.&#160;&lt;/p&gt;

&lt;p&gt;Since this doesn&apos;t demonstrate an underlying bug in MongoDB, I&apos;m going to close this ticket.&#160;For MongoDB-related support discussion I suggest posting on the &lt;a href=&quot;https://groups.google.com/group/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb-user group&lt;/a&gt; or &lt;a href=&quot;https://stackoverflow.com/questions/tagged/mongodb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Stack Overflow with the &lt;tt&gt;mongodb&lt;/tt&gt; tag&lt;/a&gt;. A question like this involving more discussion would be best posted on the mongodb-user group.&lt;/p&gt;

&lt;p&gt;-Nick&lt;/p&gt;</comment>
                            <comment id="1989578" author="it@iidf.ru" created="Thu, 30 Aug 2018 06:56:07 +0000"  >&lt;p&gt;Hello!&lt;/p&gt;

&lt;p&gt;When we try to &quot;systemctl&#160; start mongod&quot; we get this message:&lt;/p&gt;

&lt;p&gt;root@db01:~# systemctl start mongod&lt;br/&gt;
root@db01:~# systemctl status mongod&lt;br/&gt;
&#9679; mongod.service - High-performance, schema-free document-oriented database&lt;br/&gt;
 Loaded: loaded (/etc/systemd/system/mongod.service; enabled; vendor preset: enabled)&lt;br/&gt;
 Active: failed (Result: exit-code) since Thu 2018-08-30 02:50:08 EDT; 4s ago&lt;br/&gt;
 Process: 4126 ExecStart=/usr/bin/mongod --verbose --config /etc/mongod.conf (code=exited, status=1/FAILURE)&lt;br/&gt;
 Main PID: 4126 (code=exited, status=1/FAILURE)&lt;/p&gt;

&lt;p&gt;Aug 30 02:50:08 db01 systemd&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: Started High-performance, schema-free document-oriented database.&lt;br/&gt;
Aug 30 02:50:08 db01 systemd&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: mongod.service: Main process exited, code=exited, status=1/FAILURE&lt;br/&gt;
Aug 30 02:50:08 db01 systemd&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: mongod.service: Unit entered failed state.&lt;br/&gt;
Aug 30 02:50:08 db01 systemd&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: mongod.service: Failed with result &apos;exit-code&apos;.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;In log we get:&lt;/p&gt;

&lt;p&gt;2018-08-30T02:53:01.977-0400 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;main&amp;#93;&lt;/span&gt; ***** SERVER RESTARTED *****&lt;br/&gt;
2018-08-30T02:53:01.981-0400 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; MongoDB starting : pid=4196 port=27017 dbpath=/var/lib/mongodb 64-bit host=db01&lt;br/&gt;
2018-08-30T02:53:01.981-0400 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; db version v3.4.3&lt;br/&gt;
2018-08-30T02:53:01.981-0400 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; git version: f07437fb5a6cca07c10bafa78365456eb1d6d5e1&lt;br/&gt;
2018-08-30T02:53:01.981-0400 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; OpenSSL version: OpenSSL 1.0.1t 3 May 2016&lt;br/&gt;
2018-08-30T02:53:01.981-0400 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; allocator: tcmalloc&lt;br/&gt;
2018-08-30T02:53:01.981-0400 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; modules: none&lt;br/&gt;
2018-08-30T02:53:01.981-0400 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; build environment:&lt;br/&gt;
2018-08-30T02:53:01.981-0400 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; distmod: debian81&lt;br/&gt;
2018-08-30T02:53:01.981-0400 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; distarch: x86_64&lt;br/&gt;
2018-08-30T02:53:01.981-0400 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-08-30T02:53:01.981-0400 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; options: { config: &quot;/etc/mongod.conf&quot;, net: &lt;/p&gt;
{ bindIp: &quot;127.0.0.1,192.168.70.14&quot;, port: 27017 }
&lt;p&gt;, storage: { dbPath: &quot;/var/lib/mongodb&quot;, journal: &lt;/p&gt;
{ enabled: true }
&lt;p&gt; }, systemLog: { destination: &quot;file&quot;, logAppend: true, path: &quot;/var/log/mongodb/mongod.log&quot;, verbosity: 1 } }&lt;br/&gt;
2018-08-30T02:53:01.981-0400 D - &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; User Assertion: 28596:Unable to determine status of lock file in the data directory /var/lib/mongodb: boost::filesystem::status: Permission denied: &quot;/var/lib/mongodb/mongod.lock&quot; src/mongo/db/service_context_d.cpp 86&lt;br/&gt;
2018-08-30T02:53:01.981-0400 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; exception in initAndListen: 28596 Unable to determine status of lock file in the data directory /var/lib/mongodb: boost::filesystem::status: Permission denied: &quot;/var/lib/mongodb/mongod.lock&quot;, terminating&lt;br/&gt;
2018-08-30T02:53:01.981-0400 I NETWORK &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: going to close listening sockets...&lt;br/&gt;
2018-08-30T02:53:01.981-0400 I NETWORK &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: going to flush diaglog...&lt;br/&gt;
2018-08-30T02:53:01.981-0400 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; now exiting&lt;br/&gt;
2018-08-30T02:53:01.981-0400 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutting down with code:100&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I see &quot;Permission denied&quot; message, but I check permissions of the dbpath directory, it&apos;s ok =(&lt;/p&gt;</comment>
                            <comment id="1989493" author="nick.brewer" created="Thu, 30 Aug 2018 01:54:39 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=it%40iidf.ru&quot; class=&quot;user-hover&quot; rel=&quot;it@iidf.ru&quot;&gt;it@iidf.ru&lt;/a&gt; Are you starting the mongod in a different way than you normally would? For example, do you usually start mongod via the init system (something like &lt;tt&gt;sudo systemctl start mongod&lt;/tt&gt; or &lt;tt&gt;sudo service mongod start&lt;/tt&gt;), and are you instead starting it manually via &lt;tt&gt;mongod --repair --dbpath (path)&lt;/tt&gt;?&lt;/p&gt;

&lt;p&gt;If so, I&apos;d like to know what happens when you try starting the mongod as you normally would.&#160;&lt;/p&gt;

&lt;p&gt;Thanks,&#160;&lt;/p&gt;

&lt;p&gt;Nick&#160;&lt;/p&gt;</comment>
                            <comment id="1988512" author="it@iidf.ru" created="Wed, 29 Aug 2018 07:08:15 +0000"  >&lt;p&gt;Hello!&lt;/p&gt;

&lt;p&gt;Yes, we make a &quot;chmod &lt;del&gt;R 664 /var/lib/mongodb&quot; and&#160;&quot;chown -R mongodb:mongodb&lt;/del&gt;&#160;/var/lib/mongodb&quot; before start the daemon&lt;/p&gt;

&lt;p&gt;I make new logs for you&lt;/p&gt;

&lt;p&gt;And I can&apos;t find the &quot;src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp&quot; directory, where it must been?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="1988110" author="nick.brewer" created="Tue, 28 Aug 2018 19:49:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=it%40iidf.ru&quot; class=&quot;user-hover&quot; rel=&quot;it@iidf.ru&quot;&gt;it@iidf.ru&lt;/a&gt;&#160;From the log file you&apos;ve provided, it appears that you&apos;re running into a permissions issue after the repair you attempted:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Assertion: 28595:13: Permission denied src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 267&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;Have you compared the permissions of the files in your &lt;tt&gt;dbpath&lt;/tt&gt; after the attempt to repair with the &lt;tt&gt;wt&lt;/tt&gt; binary against the permissions of the files in the backup taken last week?&lt;/p&gt;

&lt;p&gt;-Nick&lt;/p&gt;</comment>
                            <comment id="1988029" author="it@iidf.ru" created="Tue, 28 Aug 2018 18:53:13 +0000"  >&lt;p&gt;From the MongoDB shell we see 2 standart databases (admin and local) and a standart collections in it.&lt;/p&gt;

&lt;p&gt;In sum we see with shell the some thing like a with Robo3T&lt;/p&gt;</comment>
                            <comment id="1988005" author="it@iidf.ru" created="Tue, 28 Aug 2018 18:47:18 +0000"  >&lt;p&gt;MongoDB version is 3.4.3&lt;/p&gt;

&lt;p&gt;Linux db01 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux&lt;/p&gt;

&lt;p&gt;Server working at VMvare as virtual machine&lt;/p&gt;

&lt;p&gt;We have a backup by 1 week ago, we try to put it instead of original database folder and result not change =(&lt;/p&gt;

&lt;p&gt;We have a WiredTiger.wt and WiredTiger.wt.1, I upload both to this issue&lt;/p&gt;

&lt;p&gt;Also I upload a log at disk breakdown moment.&#160;&lt;/p&gt;

&lt;p&gt;Thank you for your help!&lt;/p&gt;</comment>
                            <comment id="1987922" author="nick.brewer" created="Tue, 28 Aug 2018 18:29:46 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=it%40iidf.ru&quot; class=&quot;user-hover&quot; rel=&quot;it@iidf.ru&quot;&gt;it@iidf.ru&lt;/a&gt; Can you include the log entries from the time you start the mongod? Additionally, have you checked what collections are available via the mongo shell directly, as a user with appropriate &lt;a href=&quot;https://docs.mongodb.com/manual/reference/built-in-roles/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;access&lt;/a&gt;? &lt;/p&gt;

&lt;p&gt;I should note that we don&apos;t recommend attempting to recover files via the &lt;tt&gt;wt&lt;/tt&gt; binary directly. If you have any backups available from before the hard drive issue, this would likely be the fastest way to get your database back into a functional state. That said, if you can upload your &lt;tt&gt;WiredTiger.wt&lt;/tt&gt; and &lt;tt&gt;WiredTiger.turtle&lt;/tt&gt; files, I would be happy to attempt a repair; in addition to the requested log entry, I&apos;d need to confirm:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;The MongoDB version&lt;/li&gt;
	&lt;li&gt;The operating system and version&lt;/li&gt;
	&lt;li&gt;Platform (virtual machine, container, native hardware, etc)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Thanks,&lt;br/&gt;
Nick&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="194876" name="WiredTiger.turtle" size="1000" author="it@iidf.ru" created="Tue, 28 Aug 2018 18:40:40 +0000"/>
                            <attachment id="194877" name="WiredTiger.wt" size="94208" author="it@iidf.ru" created="Tue, 28 Aug 2018 18:40:40 +0000"/>
                            <attachment id="194878" name="WiredTiger.wt.1" size="126976" author="it@iidf.ru" created="Tue, 28 Aug 2018 18:40:40 +0000"/>
                            <attachment id="194879" name="log.txt" size="28882" author="it@iidf.ru" created="Tue, 28 Aug 2018 18:45:15 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 28 Aug 2018 18:29:46 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 23 weeks, 5 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>backlog-server-pm</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 23 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>it@iidf.ru</customfieldvalue>
            <customfieldvalue>nick.brewer</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu6jhb:</customfieldvalue>

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

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

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