<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:59:52 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-42208] Permission Denied Error, cannot start DB</title>
                <link>https://jira.mongodb.org/browse/SERVER-42208</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Dear MongoDB community,&lt;/p&gt;

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

&lt;p&gt;I have the following error messages after running my usual startup command:&lt;/p&gt;

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

&lt;p&gt;numactl --interleave=all mongod&lt;/p&gt;

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

&lt;p&gt;2019-07-12T17:15:42.293+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; MongoDB starting : pid=12762 port=27017 dbpath=/data/db 64-bit host=dgx-server&lt;br/&gt;
2019-07-12T17:15:42.293+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; db version v3.6.3&lt;br/&gt;
2019-07-12T17:15:42.293+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; git version: 9586e557d54ef70f9ca4b43c26892cd55257e1a5&lt;br/&gt;
2019-07-12T17:15:42.293+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; OpenSSL version: OpenSSL 1.1.1 11 Sep 2018&lt;br/&gt;
2019-07-12T17:15:42.293+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; allocator: tcmalloc&lt;br/&gt;
2019-07-12T17:15:42.293+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; modules: none&lt;br/&gt;
2019-07-12T17:15:42.293+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; build environment:&lt;br/&gt;
2019-07-12T17:15:42.293+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; distarch: x86_64&lt;br/&gt;
2019-07-12T17:15:42.293+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; target_arch: x86_64&lt;br/&gt;
2019-07-12T17:15:42.293+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; options: {}&lt;br/&gt;
2019-07-12T17:15:42.293+0200 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Detected data files in /data/db created by the &apos;wiredTiger&apos; storage engine, so setting the active storage engine to &apos;wiredTiger&apos;.&lt;br/&gt;
2019-07-12T17:15:42.293+0200 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;&lt;br/&gt;
2019-07-12T17:15:42.293+0200 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine&lt;br/&gt;
2019-07-12T17:15:42.293+0200 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; ** See &lt;a href=&quot;http://dochub.mongodb.org/core/prodnotes-filesystem&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://dochub.mongodb.org/core/prodnotes-filesystem&lt;/a&gt;&lt;br/&gt;
2019-07-12T17:15:42.293+0200 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; wiredtiger_open config: create,cache_size=257429M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),&lt;br/&gt;
2019-07-12T17:15:42.809+0200 E STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; WiredTiger error (13) &lt;span class=&quot;error&quot;&gt;&amp;#91;1562944542:809396&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;12762:0x7f4fd45dc0c0&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: /data/db/WiredTiger.turtle: handle-open: open: Permission denied&lt;br/&gt;
2019-07-12T17:15:42.810+0200 E - &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Assertion: 28595:13: Permission denied src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 413&lt;br/&gt;
2019-07-12T17:15:42.810+0200 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; exception in initAndListen: Location28595: 13: Permission denied, terminating&lt;br/&gt;
2019-07-12T17:15:42.810+0200 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;
2019-07-12T17:15:42.810+0200 I NETWORK &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; removing socket file: /tmp/mongodb-27017.sock&lt;br/&gt;
2019-07-12T17:15:42.810+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; now exiting&lt;br/&gt;
2019-07-12T17:15:42.810+0200 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;Since this is a Permission Denied error, I tried sudoing&lt;/p&gt;

&lt;p&gt;sudo numactl --interleave=all mongod&lt;/p&gt;

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

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

&lt;p&gt;2019-07-12T17:23:23.845+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; MongoDB starting : pid=12772 port=27017 dbpath=/data/db 64-bit host=dgx-server&lt;br/&gt;
2019-07-12T17:23:23.845+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; db version v3.6.3&lt;br/&gt;
2019-07-12T17:23:23.845+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; git version: 9586e557d54ef70f9ca4b43c26892cd55257e1a5&lt;br/&gt;
2019-07-12T17:23:23.845+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; OpenSSL version: OpenSSL 1.1.1 11 Sep 2018&lt;br/&gt;
2019-07-12T17:23:23.845+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; allocator: tcmalloc&lt;br/&gt;
2019-07-12T17:23:23.845+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; modules: none&lt;br/&gt;
2019-07-12T17:23:23.845+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; build environment:&lt;br/&gt;
2019-07-12T17:23:23.845+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; distarch: x86_64&lt;br/&gt;
2019-07-12T17:23:23.845+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; target_arch: x86_64&lt;br/&gt;
2019-07-12T17:23:23.845+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; options: {}&lt;br/&gt;
2019-07-12T17:23:23.845+0200 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Detected data files in /data/db created by the &apos;wiredTiger&apos; storage engine, so setting the active storage engine to &apos;wiredTiger&apos;.&lt;br/&gt;
2019-07-12T17:23:23.845+0200 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;&lt;br/&gt;
2019-07-12T17:23:23.845+0200 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine&lt;br/&gt;
2019-07-12T17:23:23.845+0200 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; ** See &lt;a href=&quot;http://dochub.mongodb.org/core/prodnotes-filesystem&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://dochub.mongodb.org/core/prodnotes-filesystem&lt;/a&gt;&lt;br/&gt;
2019-07-12T17:23:23.845+0200 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; wiredtiger_open config: create,cache_size=257429M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),&lt;br/&gt;
2019-07-12T17:23:24.363+0200 E STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; WiredTiger error (-31802) &lt;span class=&quot;error&quot;&gt;&amp;#91;1562945004:363175&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;12772:0x7fd8389b30c0&amp;#93;&lt;/span&gt;, txn-recover: unsupported WiredTiger file version: this build only supports versions up to 2, and the file is version 3: WT_ERROR: non-specific WiredTiger error&lt;br/&gt;
2019-07-12T17:23:24.363+0200 E STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; WiredTiger error (0) &lt;span class=&quot;error&quot;&gt;&amp;#91;1562945004:363199&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;12772:0x7fd8389b30c0&amp;#93;&lt;/span&gt;, txn-recover: WiredTiger is unable to read the recovery log.&lt;br/&gt;
2019-07-12T17:23:24.363+0200 E STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; WiredTiger error (0) &lt;span class=&quot;error&quot;&gt;&amp;#91;1562945004:363206&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;12772:0x7fd8389b30c0&amp;#93;&lt;/span&gt;, txn-recover: This may be due to the log files being encrypted, being from an older version or due to corruption on disk&lt;br/&gt;
2019-07-12T17:23:24.363+0200 E STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; WiredTiger error (0) &lt;span class=&quot;error&quot;&gt;&amp;#91;1562945004:363211&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;12772:0x7fd8389b30c0&amp;#93;&lt;/span&gt;, txn-recover: You should confirm that you have opened the database with the correct options including all encryption and compression options&lt;br/&gt;
2019-07-12T17:23:24.363+0200 E STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; WiredTiger error (-31802) &lt;span class=&quot;error&quot;&gt;&amp;#91;1562945004:363218&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;12772:0x7fd8389b30c0&amp;#93;&lt;/span&gt;, txn-recover: Recovery failed: WT_ERROR: non-specific WiredTiger error&lt;br/&gt;
2019-07-12T17:23:24.364+0200 E - &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Assertion: 28595:-31802: WT_ERROR: non-specific WiredTiger error src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 413&lt;br/&gt;
2019-07-12T17:23:24.364+0200 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; exception in initAndListen: Location28595: -31802: WT_ERROR: non-specific WiredTiger error, terminating&lt;br/&gt;
2019-07-12T17:23:24.364+0200 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;
2019-07-12T17:23:24.364+0200 I NETWORK &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; removing socket file: /tmp/mongodb-27017.sock&lt;br/&gt;
2019-07-12T17:23:24.364+0200 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; now exiting&lt;br/&gt;
2019-07-12T17:23:24.364+0200 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 am sorry but I have no clue what causes this issue since it has been starting up perfectly fine in the past. Perhaps there was a crash on the server that I am co-working with others. Do you know what I can do to resolve this?&lt;/p&gt;

&lt;p&gt;Kind regards&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>Machine: NVIDIA DGX-1&lt;br/&gt;
Kernel: 4.15.0-54-generic&lt;br/&gt;
OS:      Ubuntu 18.04.2 LTS&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</environment>
        <key id="855274">SERVER-42208</key>
            <summary>Permission Denied Error, cannot start DB</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="daniel.hatcher@mongodb.com">Danny Hatcher</assignee>
                                    <reporter username="tobias.eichinger@tu-berlin.de">Tobias Eichinger</reporter>
                        <labels>
                    </labels>
                <created>Fri, 12 Jul 2019 15:27:51 +0000</created>
                <updated>Tue, 1 Oct 2019 22:08:53 +0000</updated>
                            <resolved>Tue, 1 Oct 2019 22:08:53 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2407743" author="daniel.hatcher" created="Wed, 4 Sep 2019 19:23:43 +0000"  >&lt;p&gt;Have you had a chance to follow my instructions?&lt;/p&gt;</comment>
                            <comment id="2360340" author="daniel.hatcher" created="Tue, 6 Aug 2019 20:25:33 +0000"  >&lt;p&gt;In general, I recommend using our official documentation located at &lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;docs.mongodb.com&lt;/a&gt; but the site you linked does appear to be accurate for the download step.&lt;/p&gt;

&lt;p&gt;The error you see is related to dpkg not liking that another version exists. You should be able to run&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;sudo dpkg -P mongodb-org&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;then try to run the install again.&lt;/p&gt;

&lt;p&gt;The admin command you mentioned uses the &lt;tt&gt;mongo&lt;/tt&gt; shell that comes with the binaries you download. After downloading the package, use the &lt;tt&gt;mongo&lt;/tt&gt; command. Then enter the following into the new prompt:&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;db.adminCommand( { setFeatureCompatibilityVersion: &quot;4.0&quot; } )&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</comment>
                            <comment id="2358910" author="tobias.eichinger@tu-berlin.de" created="Tue, 6 Aug 2019 07:41:22 +0000"  >&lt;p&gt;Hey, sorry for the late response, summer break...&lt;/p&gt;

&lt;p&gt;I tried installing (additionally to the 3.6.3 binaries) the 4.0.1 binaries for testing. I followed the instructions in&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://tecadmin.net/install-mongodb-on-ubuntu/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tecadmin.net/install-mongodb-on-ubuntu/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;until I reached another dead end. When I try to install the binaries via&lt;/p&gt;

&lt;p&gt;sudo apt install mongodb-org=4.0.1 mongodb-org-server=4.0.1 mongodb-org-shell=4.0.1 mongodb-org-mongos=4.0.1 mongodb-org-tools=4.0.1&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Hit:1 &lt;a href=&quot;https://download.docker.com/linux/ubuntu&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://download.docker.com/linux/ubuntu&lt;/a&gt; bionic InRelease&lt;br/&gt;
 Hit:2 &lt;a href=&quot;http://security.ubuntu.com/ubuntu&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://security.ubuntu.com/ubuntu&lt;/a&gt; bionic-security InRelease&lt;br/&gt;
 Hit:3 &lt;a href=&quot;http://archive.ubuntu.com/ubuntu&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://archive.ubuntu.com/ubuntu&lt;/a&gt; bionic InRelease&lt;br/&gt;
 Ign:4 &lt;a href=&quot;https://repo.mongodb.org/apt/ubuntu&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://repo.mongodb.org/apt/ubuntu&lt;/a&gt; bionic/mongodb-org/4.0 InRelease&lt;br/&gt;
 libcurl4&lt;br/&gt;
 The following packages will be REMOVED:&lt;br/&gt;
 libcurl3 mongodb mongodb-clients mongodb-server&lt;br/&gt;
 The following NEW packages will be installed:&lt;br/&gt;
 libcurl4 mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools&lt;br/&gt;
 0 upgraded, 6 newly installed, 4 to remove and 54 not upgraded.&lt;br/&gt;
 Need to get 55,8 MB of archives.&lt;br/&gt;
 After this operation, 168 MB of additional disk space will be used.&lt;br/&gt;
 Do you want to continue? &lt;span class=&quot;error&quot;&gt;&amp;#91;Y/n&amp;#93;&lt;/span&gt; y&lt;br/&gt;
 Get:1 &lt;a href=&quot;http://security.ubuntu.com/ubuntu&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://security.ubuntu.com/ubuntu&lt;/a&gt; bionic-security/main amd64 libcurl4 amd64 7.58.0-2ubuntu3.7 &lt;span class=&quot;error&quot;&gt;&amp;#91;214 kB&amp;#93;&lt;/span&gt;&lt;br/&gt;
 Get:2 &lt;a href=&quot;https://repo.mongodb.org/apt/ubuntu&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://repo.mongodb.org/apt/ubuntu&lt;/a&gt; bionic/mongodb-org/4.0/multiverse amd64 mongodb-org-shell amd64 4.0.1 &lt;span class=&quot;error&quot;&gt;&amp;#91;9.721 kB&amp;#93;&lt;/span&gt;&lt;br/&gt;
 Get:3 &lt;a href=&quot;https://repo.mongodb.org/apt/ubuntu&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://repo.mongodb.org/apt/ubuntu&lt;/a&gt; bionic/mongodb-org/4.0/multiverse amd64 mongodb-org-server amd64 4.0.1 &lt;span class=&quot;error&quot;&gt;&amp;#91;15,5 MB&amp;#93;&lt;/span&gt;&lt;br/&gt;
 Get:4 &lt;a href=&quot;https://repo.mongodb.org/apt/ubuntu&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://repo.mongodb.org/apt/ubuntu&lt;/a&gt; bionic/mongodb-org/4.0/multiverse amd64 mongodb-org-mongos amd64 4.0.1 &lt;span class=&quot;error&quot;&gt;&amp;#91;8.676 kB&amp;#93;&lt;/span&gt;&lt;br/&gt;
 Get:5 &lt;a href=&quot;https://repo.mongodb.org/apt/ubuntu&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://repo.mongodb.org/apt/ubuntu&lt;/a&gt; bionic/mongodb-org/4.0/multiverse amd64 mongodb-org-tools amd64 4.0.1 &lt;span class=&quot;error&quot;&gt;&amp;#91;21,6 MB&amp;#93;&lt;/span&gt;&lt;br/&gt;
 Get:6 &lt;a href=&quot;https://repo.mongodb.org/apt/ubuntu&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://repo.mongodb.org/apt/ubuntu&lt;/a&gt; bionic/mongodb-org/4.0/multiverse amd64 mongodb-org amd64 4.0.1 &lt;span class=&quot;error&quot;&gt;&amp;#91;3.528 B&amp;#93;&lt;/span&gt;&lt;br/&gt;
 Fetched 55,8 MB in 2s (36,2 MB/s)&lt;br/&gt;
 (Reading database ... 240727 files and directories currently installed.)&lt;br/&gt;
 Removing libcurl3:amd64 (7.58.0-2ubuntu2) ...&lt;br/&gt;
 Removing mongodb (1:3.6.3-0ubuntu1.1) ...&lt;br/&gt;
 Removing mongodb-server (1:3.6.3-0ubuntu1.1) ...&lt;br/&gt;
 Removing mongodb-clients (1:3.6.3-0ubuntu1.1) ...&lt;br/&gt;
 Selecting previously unselected package libcurl4:amd64.&lt;br/&gt;
 (Reading database ... 240702 files and directories currently installed.)&lt;br/&gt;
 Preparing to unpack .../0-libcurl4_7.58.0-2ubuntu3.7_amd64.deb ...&lt;br/&gt;
 Unpacking libcurl4:amd64 (7.58.0-2ubuntu3.7) ...&lt;br/&gt;
 Selecting previously unselected package mongodb-org-shell.&lt;br/&gt;
 Preparing to unpack .../1-mongodb-org-shell_4.0.1_amd64.deb ...&lt;br/&gt;
 Unpacking mongodb-org-shell (4.0.1) ...&lt;br/&gt;
 Selecting previously unselected package mongodb-org-server.&lt;br/&gt;
 Preparing to unpack .../2-mongodb-org-server_4.0.1_amd64.deb ...&lt;br/&gt;
 Unpacking mongodb-org-server (4.0.1) ...&lt;br/&gt;
 dpkg: error processing archive /tmp/apt-dpkg-install-8CHt8o/2-mongodb-org-server_4.0.1_amd64.deb (--unpack):&lt;br/&gt;
 trying to overwrite &apos;/usr/bin/mongod&apos;, which is also in package mongodb-server-core 1:3.6.3-0ubuntu1.1&lt;br/&gt;
 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)&lt;br/&gt;
 Selecting previously unselected package mongodb-org-mongos.&lt;br/&gt;
 Preparing to unpack .../3-mongodb-org-mongos_4.0.1_amd64.deb ...&lt;br/&gt;
 Unpacking mongodb-org-mongos (4.0.1) ...&lt;br/&gt;
 dpkg: error processing archive /tmp/apt-dpkg-install-8CHt8o/3-mongodb-org-mongos_4.0.1_amd64.deb (--unpack):&lt;br/&gt;
 trying to overwrite &apos;/usr/bin/mongos&apos;, which is also in package mongodb-server-core 1:3.6.3-0ubuntu1.1&lt;br/&gt;
 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)&lt;br/&gt;
 Selecting previously unselected package mongodb-org-tools.&lt;br/&gt;
 Preparing to unpack .../4-mongodb-org-tools_4.0.1_amd64.deb ...&lt;br/&gt;
 Unpacking mongodb-org-tools (4.0.1) ...&lt;br/&gt;
 Selecting previously unselected package mongodb-org.&lt;br/&gt;
 Preparing to unpack .../5-mongodb-org_4.0.1_amd64.deb ...&lt;br/&gt;
 Unpacking mongodb-org (4.0.1) ...&lt;br/&gt;
 Errors were encountered while processing:&lt;br/&gt;
 /tmp/apt-dpkg-install-8CHt8o/2-mongodb-org-server_4.0.1_amd64.deb&lt;br/&gt;
 /tmp/apt-dpkg-install-8CHt8o/3-mongodb-org-mongos_4.0.1_amd64.deb&lt;br/&gt;
 E: Sub-process /usr/bin/dpkg returned an error code (1)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;It seems as if it finds the download locations, downloads them, yet cannot process the archives via dpkg... It also seems that upgrading my verison 3.6.3 to 4.0.1 is an option, yet I cannot follow the instructions in your docs.. I do not understand where to enter for example:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;db.adminCommand( { setFeatureCompatibility : Version} )&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;It does not seem to be my bash shell. Perhaps I can also add it to the config file? [I wanted to follow the instructions here:&lt;a href=&quot;https://docs.mongodb.com/manual/release-notes/4.0-upgrade-standalone/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/release-notes/4.0-upgrade-standalone/&lt;/a&gt; ]&lt;/p&gt;

&lt;p&gt;Sorry again for my ignorance on the matter.&lt;/p&gt;

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

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="2351094" author="daniel.hatcher" created="Tue, 30 Jul 2019 19:19:09 +0000"  >&lt;p&gt;Have you had a chance to try the 4.0 binaries?&lt;/p&gt;</comment>
                            <comment id="2334186" author="daniel.hatcher" created="Fri, 19 Jul 2019 15:07:26 +0000"  >&lt;p&gt;I&apos;m not sure what happened but the &lt;b&gt;only&lt;/b&gt; situation this error should occur is when a database has Feature Compatibility Version 4.0 and that can only happen if the node was started as 4.0.x at one point. Regardless of how it occurred, could you please try install 4.0.10 binaries and start the node with them? That will at least confirm the problem.&lt;/p&gt;</comment>
                            <comment id="2329119" author="tobias.eichinger@tu-berlin.de" created="Tue, 16 Jul 2019 17:12:45 +0000"  >&lt;p&gt;I started another method, since I was not sure whether to use numactl or sysctl. since I am using a NUMA machine I went back to numactl, yet I did not find any mongod version 4.x, the version that I have installed (/usr/bin/mongod) is version 3.6.3... I do not grasp this problem, where could the version 4.x binary be? I have not installed another version. I have asked my colleagues, they did not touch it either.&lt;/p&gt;

&lt;p&gt;/usr/bin/mongod --version&lt;/p&gt;

&lt;p&gt;::&lt;/p&gt;

&lt;p&gt;db version v3.6.3&lt;br/&gt;
git version: 9586e557d54ef70f9ca4b43c26892cd55257e1a5&lt;br/&gt;
OpenSSL version: OpenSSL 1.1.1 11 Sep 2018&lt;br/&gt;
allocator: tcmalloc&lt;br/&gt;
modules: none&lt;br/&gt;
build environment:&lt;br/&gt;
 distarch: x86_64&lt;br/&gt;
 target_arch: x86_64&lt;/p&gt;</comment>
                            <comment id="2327721" author="daniel.hatcher" created="Mon, 15 Jul 2019 21:17:53 +0000"  >&lt;p&gt;You need to set the parameter on a currently running version of the database. In the first example you provided you were starting &lt;tt&gt;mongod&lt;/tt&gt; with numactl but the most recent example you are using &lt;tt&gt;systemctl&lt;/tt&gt;. Which do you use to normally start the server? You should use the same command you normally do but with the 4.0.10 binaries instead of 3.6.3.&lt;/p&gt;</comment>
                            <comment id="2326355" author="tobias.eichinger@tu-berlin.de" created="Mon, 15 Jul 2019 09:38:02 +0000"  >&lt;p&gt;Thank you Mr. Hatcher for your timely reply.&lt;/p&gt;

&lt;p&gt;I did the following&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;1. Start the server with 4.0 binaries with feature compatibility version 4.0&lt;br/&gt;
sudo systemctl start mongodb&lt;/li&gt;
	&lt;li&gt;this produces an error stating that&lt;/li&gt;
	&lt;li&gt;:: Failed to start mongodb.service: Unit mongodb.service is masked.&lt;/li&gt;
	&lt;li&gt;when a file is masked, it is hard disabled, all symlinks point to dev/null, and any activity even manually is discabled&lt;/li&gt;
	&lt;li&gt;we need to unmask first &lt;a href=&quot;https://askubuntu.com/questions/710420/why-are-some-systemd-services-in-the-masked-state&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://askubuntu.com/questions/710420/why-are-some-systemd-services-in-the-masked-state&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;1.a Unmask mongodb.service&lt;br/&gt;
teichinger@dgx-server:~$ sudo systemctl unmask mongodb&lt;/li&gt;
	&lt;li&gt;:: Removed /etc/systemd/system/mongodb.service.&lt;br/&gt;
sudo systemctl start mongodb&lt;/li&gt;
	&lt;li&gt;:: Job for mongodb.service failed because the control process exited with error code.&lt;br/&gt;
See &quot;systemctl status mongodb.service&quot; and &quot;journalctl -xe&quot; for details.&lt;/li&gt;
	&lt;li&gt;1.b check the status of mongodb.service&lt;br/&gt;
teichinger@dgx-server:~$ systemctl status mongodb.service&lt;br/&gt;
&#9679; mongodb.service - LSB: An object/document-oriented database&lt;br/&gt;
 Loaded: loaded (/etc/init.d/mongodb; generated)&lt;br/&gt;
 Active: failed (Result: exit-code) since Mon 2019-07-15 11:18:10 CEST; 11s ago&lt;br/&gt;
 Docs: man:systemd-sysv-generator(8)&lt;br/&gt;
 Process: 15947 ExecStart=/etc/init.d/mongodb start (code=exited, status=1/FAILURE)&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;I am puzzled what the help page for the compatibility version tells me. I tried having a look at the config option, but I did not find anything there.&lt;/p&gt;

&lt;p&gt;Could you please provide a line of code that starts the 4.0 binaries with feature compatibility version 4.0? I am sure that there is a command line option, but I did not find anything on the docu page..&lt;/p&gt;

&lt;p&gt;mongod --setParameter featureCompatibilityVersion=4.0 &lt;span class=&quot;error&quot;&gt;&amp;#91;did not work&amp;#93;&lt;/span&gt;&lt;/p&gt;

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

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

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="2323768" author="daniel.hatcher" created="Fri, 12 Jul 2019 19:40:09 +0000"  >&lt;p&gt;There are two different errors here; a permission denied error and an indication that you are using a different version of MongoDB than the data expects.&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;2019-07-12T17:23:24.363+0200 E STORAGE [initandlisten] WiredTiger error (-31802) [1562945004:363175][12772:0x7fd8389b30c0], txn-recover: unsupported WiredTiger file version: this build only supports versions up to 2, and the file is version 3: WT_ERROR: non-specific WiredTiger error&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;The above error will only appear if the server was once started with 4.0 binaries and has the &lt;a href=&quot;https://docs.mongodb.com/manual/reference/command/setFeatureCompatibilityVersion/index.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;feature compatibility version&lt;/a&gt; set to 4.0. If you start up the server using 4.0 binaries, you should be able to change the feature compatibility version to 3.6, cleanly shutdown, then successfully start up as a 3.6 server.&lt;/p&gt;

&lt;p&gt;Could you please do the above and see if it resolves both issues or at least the second?&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>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 12 Jul 2019 19:40:09 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 23 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>daniel.hatcher@mongodb.com</customfieldvalue>
            <customfieldvalue>tobias.eichinger@tu-berlin.de</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hve227:</customfieldvalue>

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

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