<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:45:34 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>[DOCS-3369] Comment on: &quot;manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux.txt&quot;</title>
                <link>https://jira.mongodb.org/browse/DOCS-3369</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;Dear people at mongo db,&lt;/p&gt;

&lt;p&gt;I have a problem starting mongod after 32 bit installation on Linux CentOS 4 ${base} appears to be null&lt;/p&gt;

&lt;p&gt;Installed mongodb 2.6.0 according to manual:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/&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-red-hat-centos-or-fedora-linux/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Using this Repository entry:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;mongodb&amp;#93;&lt;/span&gt;&lt;br/&gt;
name=MongoDB Repository&lt;br/&gt;
baseurl=&lt;a href=&quot;http://downloads-distro.mongodb.org/repo/redhat/os/i686/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://downloads-distro.mongodb.org/repo/redhat/os/i686/&lt;/a&gt;&lt;br/&gt;
gpgcheck=0&lt;br/&gt;
enabled=1&lt;/p&gt;

&lt;p&gt;I did not use yum install mongodb-org, because it seems to contain a mangled incorrect collection of release and release candidate versions and installation was aborted. The same when I tried to install individual 2.6.1. versions.&lt;br/&gt;
So I installed 2.6.0 versions with succes by typing:&lt;/p&gt;

&lt;p&gt;yum install mongodb-org-2.6.0 mongodb-org-server-2.6.0 mongodb-org-shell-2.6.0 mongodb-org-mongos-2.6.0 mongodb-org-tools-2.6.0&lt;/p&gt;

&lt;p&gt;After install, which shows no errors, the following error occurs when I try to start mongod (using root privileges)&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@ns1 ~&amp;#93;&lt;/span&gt;# service mongod start&lt;br/&gt;
Starting mongod: /etc/rc.d/init.d/functions: line 127: [: /var/run/null: binary operator expected&lt;br/&gt;
-bash: line 1: 20211 Floating point exception/usr/bin/mongod -f /etc/mongod.conf &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/p&gt;

&lt;p&gt;I searched to line 127 in functions to find out what could be the cause of this value &apos;null&apos; that should be &apos;mongod&apos; (See below line marked with ////// !!! -&amp;gt; here ${base} appears to be null (line 127))&lt;/p&gt;

&lt;p&gt;line 123 - /etc/rc.d/init.d/functions:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Save basename.&lt;br/&gt;
        [ -z &quot;$gotbase&quot; ] &amp;amp;&amp;amp; base=${1##*/}&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;See if it&apos;s already running. Look &lt;b&gt;only&lt;/b&gt; at the pid file.&lt;br/&gt;
    if [ -f /var/run/${base}.pid ]; then  ////// !!! -&amp;gt; here ${base} appears to be null (line 127)&lt;br/&gt;
        local line p&lt;br/&gt;
        read line &amp;lt; /var/run/${base}.pid&lt;br/&gt;
        for p in $line ; do&lt;br/&gt;
            [ -z &quot;${p//&lt;span class=&quot;error&quot;&gt;&amp;#91;0-9&amp;#93;&lt;/span&gt;/}&quot; -a -d &quot;/proc/$p&quot; ] &amp;amp;&amp;amp; pid=&quot;$pid $p&quot;&lt;br/&gt;
        done&lt;br/&gt;
    fi&lt;/li&gt;
&lt;/ol&gt;



&lt;p&gt;in boot.log:&lt;br/&gt;
May  7 09:29:47 ns1 runuser: -bash: line 1: 20211 Floating point exception/usr/bin/mongod -f /etc/mongod.conf &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br/&gt;
May  7 09:29:47 ns1 mongod: null 2&amp;gt;&amp;amp;1 startup failed&lt;/p&gt;

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

&lt;p&gt;1) where is ${base} defined and why appears the variable to be null instead of &apos;mongod&apos;&lt;br/&gt;
2) can you PLEASE add information to your website or provide me detailed information about all the paths and directories used when following the default installation procedures, which settings should be applied to the folders and directories (chmod/chown)&lt;br/&gt;
3) ad 2) how can I check quickly if installation went according to plan, are my drivers and data files present, is my db folder writable and accessible etc.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Marcel Boer&#233;&lt;/p&gt;</description>
                <environment>Linux (2.6.18-308.8.2.el5.028stab101.3) CentOS 4 , php 5.2.17&lt;br/&gt;
&lt;br/&gt;
*Location*: &lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/&quot;&gt;http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/&lt;/a&gt;&lt;br/&gt;
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0&lt;br/&gt;
*Referrer*: &lt;a href=&quot;http://www.google.nl/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;ved=0CDMQFjAA&amp;url=http%3A%2F%2Fdocs.mongodb.org%2Fmanual%2Ftutorial%2Finstall-mongodb-on-red-hat-centos-or-fedora-linux&amp;ei=ZF9pU9CWG4fcOv3IgPAI&amp;usg=AFQjCNGt3iyoCccnAVNPHnO-XySzEMq-mQ&amp;sig2=uvEDd5-ueChcMq8vZzvs9A&amp;bvm=bv.66111022,d.ZWU&quot;&gt;http://www.google.nl/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;ved=0CDMQFjAA&amp;amp;url=http%3A%2F%2Fdocs.mongodb.org%2Fmanual%2Ftutorial%2Finstall-mongodb-on-red-hat-centos-or-fedora-linux&amp;amp;ei=ZF9pU9CWG4fcOv3IgPAI&amp;amp;usg=AFQjCNGt3iyoCccnAVNPHnO-XySzEMq-mQ&amp;amp;sig2=uvEDd5-ueChcMq8vZzvs9A&amp;amp;bvm=bv.66111022,d.ZWU&lt;/a&gt;&lt;br/&gt;
*Screen Resolution*: 1920 x 1080&lt;br/&gt;
*repo*: docs&lt;br/&gt;
*source*: tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux&lt;br/&gt;
</environment>
        <key id="135527">DOCS-3369</key>
            <summary>Comment on: &quot;manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux.txt&quot;</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="sam.kleinman">Sam Kleinman</assignee>
                                    <reporter username="xgen-internal-docs">Docs Collector User</reporter>
                        <labels>
                            <label>collector-298ba4e7</label>
                    </labels>
                <created>Thu, 8 May 2014 16:23:59 +0000</created>
                <updated>Wed, 11 Jan 2017 22:42:14 +0000</updated>
                            <resolved>Wed, 15 Oct 2014 14:23:40 +0000</resolved>
                                                    <fixVersion>01112017-cleanup</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="741665" author="samk" created="Wed, 15 Oct 2014 14:23:40 +0000"  >&lt;p&gt;Upon additional review: &lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;I don&apos;t believe that this is an at the core, an ssue with the documentation, if this is a critical issue, consider opening a core server product.&lt;/li&gt;
	&lt;li&gt;RHEL/CENTOS 4 is EOL: this process does work on RHEL 5/6, if you want to give that a try.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                    <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_10855" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Actual Time</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 13 May 2014 12:31:13 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 18 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-docs</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|hrr1pr:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>116588</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrznsf:</customfieldvalue>

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