<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:08:24 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-5275] When installing MongoDB as a Windows service, the --config argument is not quoted correctly if there are spaces in the path name</title>
                <link>https://jira.mongodb.org/browse/SERVER-5275</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When installing MongoDB as a Windows Service, if the mongod.conf file is located in a path with spaces the service will not start correctly.  Inspecting the ImagePath in the registry reveals that the --config path is not quoted correctly.&lt;/p&gt;

&lt;p&gt;Steps to repro&lt;br/&gt;
1) Install MongoDB as a service using the following command&lt;br/&gt;
&amp;gt; mongod.exe --config &quot;c:\Program Files\mongo\mongod.conf&quot; --install&lt;br/&gt;
The service will install successfully.&lt;/p&gt;

&lt;p&gt;2) Attempt the start the MongoDB service using net start&lt;br/&gt;
&amp;gt; net start &quot;Mongo DB&quot;&lt;br/&gt;
You&apos;ll receive &quot;The service is not responding to the control function&quot;.  Errors in System log from the Service Control Manager include &quot;A timeout was reached (30000 milliseconds) while waiting for the Mongo DB service to connect&quot; and &quot;The Mongo DB service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion.&quot;&lt;/p&gt;

&lt;p&gt;Inspecting the ImagePath key in the registry at HKLM/System/CurrentControlSet/services/MongoDB/ImagePath reveals the following value:&lt;br/&gt;
&quot;c:\mongo\bin\mongod.exe&quot; --config  c:\program files\mongo\mongod.conf  --service  &lt;/p&gt;

&lt;p&gt;Note that the --config value is NOT quoted even though it was quoted on the command line when the service was installed.&lt;/p&gt;

&lt;p&gt;The work around for this issue to simply to install the config file in a path without spaces, such as &quot;c:\mongo\mongod.conf&quot;.&lt;/p&gt;</description>
                <environment>Windows 7 Pro, SP1</environment>
        <key id="32642">SERVER-5275</key>
            <summary>When installing MongoDB as a Windows service, the --config argument is not quoted correctly if there are spaces in the path name</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="3">Duplicate</resolution>
                                        <assignee username="tad">Tad Marshall</assignee>
                                    <reporter username="jeremyjarrell">Jeremy Jarrell</reporter>
                        <labels>
                            <label>windows</label>
                    </labels>
                <created>Fri, 9 Mar 2012 22:22:04 +0000</created>
                <updated>Sat, 10 Mar 2012 20:25:52 +0000</updated>
                            <resolved>Fri, 9 Mar 2012 22:28:56 +0000</resolved>
                                    <version>2.0.3</version>
                                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="97525" author="jeremyjarrell" created="Sat, 10 Mar 2012 17:59:41 +0000"  >&lt;p&gt;Thanks, Tad!  &lt;/p&gt;

&lt;p&gt;I didn&apos;t realize this was already fixed.  Also, the trick to simply edit the registry key is indeed an easier work around...I hadn&apos;t thought about that.&lt;/p&gt;

&lt;p&gt;Thanks for such a quick response,&lt;br/&gt;
Jeremy&lt;/p&gt;</comment>
                            <comment id="97390" author="tad" created="Fri, 9 Mar 2012 22:38:42 +0000"  >&lt;p&gt;Another workaround for version 2.0.3 is to manually edit the incorrect command line that you found in the registry.  If you add the quotes that should have been placed there by the --install operation then you can use paths that include spaces.&lt;/p&gt;

&lt;p&gt;Change&lt;/p&gt;

&lt;p&gt;&quot;c:\mongo\bin\mongod.exe&quot; --config c:\program files\mongo\mongod.conf --service&lt;/p&gt;

&lt;p&gt;to&lt;/p&gt;

&lt;p&gt;&quot;c:\mongo\bin\mongod.exe&quot; --config &quot;c:\program files\mongo\mongod.conf&quot; --service&lt;/p&gt;</comment>
                            <comment id="97386" author="tad" created="Fri, 9 Mar 2012 22:28:10 +0000"  >&lt;p&gt;Sorry you hit this problem in 2.0.3.  This is fixed in 2.1.0 &amp;#8211; see &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4410&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-4410&lt;/a&gt; .&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="25864">SERVER-4410</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 9 Mar 2012 22:28:10 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 49 weeks, 4 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[Windows]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>jeremyjarrell</customfieldvalue>
            <customfieldvalue>tad</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hro9zj:</customfieldvalue>

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

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

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