<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:11:44 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-6453] Errno:22 problem opening logfile using a config file</title>
                <link>https://jira.mongodb.org/browse/SERVER-6453</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I am trying to set up Mongo DB as a service under Win XP sp3 (mongod says sp2), version 2.0.6 pdfile version 4.5&lt;/p&gt;

&lt;p&gt;To do this I have set up a config file - &lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;mongodb.cfg&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;data directory&lt;br/&gt;
  dbpath = &quot;C:\Documents and Settings\xxx\Ubiquiti UniFi\data\db&quot;&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;log file directory&lt;br/&gt;
  logpath = &quot;C:\logs\server.log&quot;&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;append to log file&lt;br/&gt;
  logappend = true&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;port mongodb listens on&lt;br/&gt;
  port = 27117&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;My command line is - &lt;/p&gt;

&lt;p&gt; &quot;C:\Documents and Settings\Robin StClair\Ubiquiti UniFi\bin\mongod.exe&quot; --config &quot;C:\Documents and Settings\Robin StClair\Ubiquiti UniFi\conf\mongodb.cfg&quot; --install&lt;/p&gt;

&lt;p&gt;as I wish to set up Mongo DB as a service.&lt;/p&gt;

&lt;p&gt;Mongod.exe executes, finds and opens the config file and then an errno:22 is thrown and mongod.exe shuts down gracefully.&lt;/p&gt;

&lt;p&gt;I believe this is a Visual C++ error (doesn&apos;t like long command strings, hence my short path to log file (to see if that would get rid of the problem)).&lt;/p&gt;

&lt;p&gt;I would be grateful for some guidance&lt;/p&gt;

&lt;p&gt;R+C&lt;/p&gt;</description>
                <environment>Win XP SP3 (Mongo says SP2)</environment>
        <key id="44217">SERVER-6453</key>
            <summary>Errno:22 problem opening logfile using a config file</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="3">Duplicate</resolution>
                                        <assignee username="tad">Tad Marshall</assignee>
                                    <reporter username="uberseehandel">Robin St.Clair</reporter>
                        <labels>
                            <label>Windows</label>
                    </labels>
                <created>Sun, 15 Jul 2012 09:35:21 +0000</created>
                <updated>Fri, 15 Feb 2013 15:06:52 +0000</updated>
                            <resolved>Mon, 20 Aug 2012 18:42:24 +0000</resolved>
                                    <version>2.0.6</version>
                                                    <component>Packaging</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="150724" author="tad" created="Mon, 6 Aug 2012 14:12:54 +0000"  >&lt;p&gt;I think this is issue &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; &amp;#8211; Windows Service --install option isn&apos;t quoting all file parameters &amp;#8211; which is fixed in version 2.1.0.&lt;/p&gt;

&lt;p&gt;The bug manifests itself at the time you install the service, so upgrading the one you already have installed won&apos;t fix it.  But you can fix it yourself by editing the registry.  Run RegEdit and navigate to the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MongoDB .  Edit the ImagePath value and add quotes around the config filespec.  Start the MongoDB service and it should work.&lt;/p&gt;

&lt;p&gt;Alternatively, you could download version 2.1.0, use either version to &quot;--remove&quot; the old entry for the server and use 2.1.0 to add the service again.&lt;/p&gt;

&lt;p&gt;Unfortunately, support for Windows XP was dropped for version 2.2.0 of MongoDB.  This was required by some functions we started using in 2.2.0 that did not exist in Windows XP.  Windows Server 2003 will be the oldest version of Windows we&apos;ll run on in 2.2.0.&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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 6 Aug 2012 14:12:54 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 28 weeks, 2 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, 28 weeks, 2 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>uberseehandel</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|hrnvnz:</customfieldvalue>

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

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

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