<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:47:51 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-18492] Setting pidFilePath to /var/run/mongod.pid in config file on Debian prevents service from starting</title>
                <link>https://jira.mongodb.org/browse/SERVER-18492</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I updated mongodb via repo.mongodb.org, but it did not start the service when it is done because:&lt;br/&gt;
ERROR: Cannot write pid file to /var/run/mongod.pid: Permission denied&lt;/p&gt;

&lt;p&gt;The /etc/init.d/mongod script does not check for permissions of the mongodb user on the pid file. I think that would be the best place to solve this issue.&lt;/p&gt;</description>
                <environment></environment>
        <key id="204465">SERVER-18492</key>
            <summary>Setting pidFilePath to /var/run/mongod.pid in config file on Debian prevents service from starting</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="sam.kleinman">Sam Kleinman</assignee>
                                    <reporter username="martin.meier">Martin Meier</reporter>
                        <labels>
                            <label>build-planning</label>
                    </labels>
                <created>Fri, 15 May 2015 14:14:39 +0000</created>
                <updated>Fri, 21 Aug 2015 16:11:37 +0000</updated>
                            <resolved>Mon, 22 Jun 2015 19:52:08 +0000</resolved>
                                    <version>3.0.0</version>
                    <version>3.0.3</version>
                                                    <component>Packaging</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="947346" author="samk" created="Mon, 22 Jun 2015 19:51:38 +0000"  >&lt;p&gt;I understand the issue you&apos;re having now. I believe that this behavior is expected, but I&apos;ve opened &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-5696&quot; title=&quot;clarify pidfile setting&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-5696&quot;&gt;&lt;del&gt;DOCS-5696&lt;/del&gt;&lt;/a&gt; to clarify this in the documentation. &lt;/p&gt;

&lt;p&gt;Sorry again for the confusion. &lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
sam&lt;/p&gt;</comment>
                            <comment id="945593" author="martin.meier" created="Fri, 19 Jun 2015 15:27:47 +0000"  >&lt;p&gt;Yea I kind of got your point about the pidFilePath in the config. It is a legal and documented configuration option though.&lt;br/&gt;
I think it would not be difficult to set the owner of the pid file to the mongodb user or group if they exist. &lt;br/&gt;
Or at least not overwrite the ownership of the pid file if someone has changed it.&lt;/p&gt;

&lt;p&gt;But I switched to another database that is more reliable in production. So I personaly don&apos;t bother anymore.&lt;/p&gt;

&lt;p&gt;The reason I used the option is inside you own documentation:&lt;br/&gt;
&lt;a href=&quot;http://docs.mongodb.org/manual/reference/configuration-options/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/reference/configuration-options/&lt;/a&gt;&lt;br/&gt;
This is useful for tracking the mongos or mongod process in combination with the --fork option. Without a specified processManagement.pidFilePath option, the process creates no PID file.&lt;/p&gt;

&lt;p&gt;I did not have had a problem with how to make my mongodb running, I had a problem with the update script. You questions go in a totally different directions. I made myself very clear what I would expect from this update process, but you seem to not get the idea.&lt;/p&gt;</comment>
                            <comment id="944796" author="ramon.fernandez" created="Thu, 18 Jun 2015 20:26:37 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=martin.meier&quot; class=&quot;user-hover&quot; rel=&quot;martin.meier&quot;&gt;martin.meier&lt;/a&gt;, we haven&apos;t heard back from you for some time. If this is still an issue for you, can you please provide the information requested by Sam above?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="924930" author="samk" created="Wed, 27 May 2015 17:58:40 +0000"  >&lt;p&gt;Thanks for your answers to these questions. Just a few follow up questions: &lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;When you say &quot;I created a new &lt;tt&gt;/etc/mongod.conf&lt;/tt&gt;,&quot; are you saying that the installation process created this file and you edited it, or that you used your own custom configuration? Could you paste a copy of the full configuration here?&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Could you paste the output of the following command into this ticket? &lt;tt&gt;ls -lha /var/run /var/run/mongod.pid&lt;/tt&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Why do you need to set the &lt;tt&gt;pidFilePath&lt;/tt&gt;? This is not a default configuration, and is not set by default in the configuration (the initscript itself tracks the pidfile,) if you use the default init script and do not specify this option, do you still experience this issue?&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Regards,&lt;br/&gt;
sam&lt;/p&gt;</comment>
                            <comment id="916425" author="martin.meier" created="Mon, 18 May 2015 09:17:18 +0000"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;for the first installation of mongodb I followed this useful Page: &lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/&lt;/a&gt;&lt;br/&gt;
I configured the server as part of a replication set with this great tutorial: &lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/deploy-replica-set/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/tutorial/deploy-replica-set/&lt;/a&gt;&lt;br/&gt;
I created a new /etc/mongod.conf (wich includes this: pidFilePath: &quot;/var/run/mongod.pid&quot;)&lt;/p&gt;

&lt;p&gt;Then I upgraded from 3.0.1 to 3.0.3 via the normal apt-get update &amp;amp;&amp;amp; apt-get upgrade procedure.&lt;br/&gt;
Afterwords mongodb did not came up because of permissions for the pid file&lt;/p&gt;

&lt;p&gt;Does that answer all your questions?&lt;/p&gt;</comment>
                            <comment id="915442" author="samk" created="Fri, 15 May 2015 18:01:56 +0000"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Just so I understand this situation a bit more clearly, how was MognoDB confiogured before you installed using the packages? What user did the &lt;tt&gt;mognod&lt;/tt&gt; process run as? How did you install MongoDB &lt;b&gt;before&lt;/b&gt; installing the package? What version did you upgrade from? &lt;/p&gt;

&lt;p&gt;Cheers,&lt;br/&gt;
sam&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="212309">DOCS-5696</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="226590">SERVER-20075</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 15 May 2015 15:43:16 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 34 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/DOCS-5696'>DOCS-5696</a></s>]]></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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 34 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>martin.meier</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>sam.kleinman</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrl5v3:</customfieldvalue>

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

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