<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:24:17 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-10871] starting mongodb as a service fails on ubuntu (precise) with new separated packages</title>
                <link>https://jira.mongodb.org/browse/SERVER-10871</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;vagrant@precise64:~$ sudo service mongodb start&lt;br/&gt;
mongodb: unrecognized service&lt;/p&gt;

&lt;p&gt;Starting mongodb as a service does not work when installing new mongodb-org-unstable package from &lt;a href=&quot;http://distro-deb2.build.10gen.cc/rebrand/ubuntu-upstart/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://distro-deb2.build.10gen.cc/rebrand/ubuntu-upstart/&lt;/a&gt;. See &quot;Steps to Reproduce&quot; for more information.&lt;/p&gt;

&lt;p&gt;It looks like the control script is missing: there is no /etc/init.d/mongodb.&lt;/p&gt;</description>
                <environment>Ubuntu, precise 64</environment>
        <key id="91323">SERVER-10871</key>
            <summary>starting mongodb as a service fails on ubuntu (precise) with new separated packages</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="ernie.hershey@mongodb.com">Ernie Hershey</assignee>
                                    <reporter username="david.storch@mongodb.com">David Storch</reporter>
                        <labels>
                            <label>26qa</label>
                    </labels>
                <created>Tue, 24 Sep 2013 19:05:59 +0000</created>
                <updated>Mon, 11 Jul 2016 17:38:14 +0000</updated>
                            <resolved>Fri, 4 Oct 2013 23:46:26 +0000</resolved>
                                                    <fixVersion>2.5.3</fixVersion>
                                    <component>Build</component>
                    <component>Packaging</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="763433" author="dogmatic69" created="Thu, 13 Nov 2014 15:49:32 +0000"  >&lt;p&gt;Hi Ernie, looks like that might just be the issue. Thanks&lt;/p&gt;</comment>
                            <comment id="763410" author="ernie.hershey@10gen.com" created="Thu, 13 Nov 2014 15:38:02 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dogmatic69&quot; class=&quot;user-hover&quot; rel=&quot;dogmatic69&quot;&gt;dogmatic69&lt;/a&gt; - it looks like you may be installing the Ubuntu packages in Debian. What are the contents of /etc/apt/sources.list.d/mongodb.list on your system? Based on your uname, you should be using this 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;/p&gt;

&lt;p&gt;This ticket is quite old and probably not actually related to the problem you&apos;re having. You&apos;ll probably get more/better help if you post to the mongodb-user mailing list instead - &lt;a href=&quot;https://groups.google.com/forum/#!forum/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://groups.google.com/forum/#!forum/mongodb-user&lt;/a&gt;. &lt;/p&gt;</comment>
                            <comment id="763226" author="dogmatic69" created="Thu, 13 Nov 2014 10:36:48 +0000"  >&lt;p&gt;I just installed using the guide on the site and have the same issue. Not using unstable, just the latest stable&lt;/p&gt;

&lt;p&gt;apt-get install mongodb-org&lt;/p&gt;

&lt;p&gt;$ uname -a&lt;br/&gt;
Linux hostname.dh.bytemark.co.uk 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2 x86_64 GNU/Linux&lt;/p&gt;

&lt;p&gt;$ mongo --version&lt;br/&gt;
MongoDB shell version: 2.6.5&lt;/p&gt;

&lt;p&gt;$ ls -al /etc/init.d/mongod&lt;br/&gt;
lrwxrwxrwx 1 root root 21 Oct  8 18:25 /etc/init.d/mongod -&amp;gt; /lib/init/upstart-job&lt;/p&gt;

&lt;p&gt;$ cat /etc/init.d/mongod&lt;br/&gt;
(nothing here)&lt;/p&gt;


&lt;p&gt;The output from the install:&lt;/p&gt;

&lt;p&gt;$ sudo apt-get install mongodb-org&lt;br/&gt;
Reading package lists... Done&lt;br/&gt;
Building dependency tree&lt;br/&gt;
Reading state information... Done&lt;br/&gt;
The following packages were automatically installed and are no longer required:&lt;br/&gt;
  libaudio2 libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libmng1 libmysqlclient18.1 libnet-daemon-perl liborc-0.4-0 libplrpc-perl libqt4-network libqt4-xml libqtcore4 libqtdbus4 libqtgui4 libqtwebkit4 ruby-trollop&lt;br/&gt;
Use &apos;apt-get autoremove&apos; to remove them.&lt;br/&gt;
The following extra packages will be installed:&lt;br/&gt;
  mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools&lt;br/&gt;
The following NEW packages will be installed:&lt;br/&gt;
  mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools&lt;br/&gt;
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.&lt;br/&gt;
Need to get 0 B/115 MB of archives.&lt;br/&gt;
After this operation, 290 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;
Selecting previously unselected package mongodb-org-shell.&lt;br/&gt;
(Reading database ... 67628 files and directories currently installed.)&lt;br/&gt;
Unpacking mongodb-org-shell (from .../mongodb-org-shell_2.6.5_amd64.deb) ...&lt;br/&gt;
Selecting previously unselected package mongodb-org-server.&lt;br/&gt;
Unpacking mongodb-org-server (from .../mongodb-org-server_2.6.5_amd64.deb) ...&lt;br/&gt;
Selecting previously unselected package mongodb-org-mongos.&lt;br/&gt;
Unpacking mongodb-org-mongos (from .../mongodb-org-mongos_2.6.5_amd64.deb) ...&lt;br/&gt;
Selecting previously unselected package mongodb-org-tools.&lt;br/&gt;
Unpacking mongodb-org-tools (from .../mongodb-org-tools_2.6.5_amd64.deb) ...&lt;br/&gt;
Selecting previously unselected package mongodb-org.&lt;br/&gt;
Unpacking mongodb-org (from .../mongodb-org_2.6.5_amd64.deb) ...&lt;br/&gt;
Processing triggers for man-db ...&lt;br/&gt;
Setting up mongodb-org-shell (2.6.5) ...&lt;br/&gt;
Setting up mongodb-org-server (2.6.5) ...&lt;br/&gt;
insserv: script mongod is not an executable regular file, skipped!&lt;br/&gt;
Setting up mongodb-org-mongos (2.6.5) ...&lt;br/&gt;
Setting up mongodb-org-tools (2.6.5) ...&lt;br/&gt;
Setting up mongodb-org (2.6.5) ...&lt;/p&gt;</comment>
                            <comment id="450142" author="auto" created="Fri, 1 Nov 2013 15:29:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;shunwen&apos;, u&apos;name&apos;: u&apos;shunwen&apos;, u&apos;email&apos;: u&apos;hsiaoshunwen@gmail.com&apos;}
&lt;p&gt;Message: Fixed debian/init.d typo introduced by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10871&quot; title=&quot;starting mongodb as a service fails on ubuntu (precise) with new separated packages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10871&quot;&gt;&lt;del&gt;SERVER-10871&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Signed-off-by: Matt Kangas &amp;lt;matt.kangas@mongodb.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/991e6a89e5b05b4c6adb5252cb7f803785742f8d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/991e6a89e5b05b4c6adb5252cb7f803785742f8d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="435913" author="auto" created="Fri, 4 Oct 2013 17:26:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ehershey&apos;, u&apos;name&apos;: u&apos;Ernie Hershey&apos;, u&apos;email&apos;: u&apos;ernie.hershey@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10871&quot; title=&quot;starting mongodb as a service fails on ubuntu (precise) with new separated packages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10871&quot;&gt;&lt;del&gt;SERVER-10871&lt;/del&gt;&lt;/a&gt; Change &apos;mongodb&apos; to &apos;mongo&apos; to mean the mongod process and service&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/09ffdcc9274e20b879710cdb5d1271a65e6c6470&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/09ffdcc9274e20b879710cdb5d1271a65e6c6470&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="433151" author="tyler@10gen.com" created="Mon, 30 Sep 2013 15:47:32 +0000"  >&lt;p&gt;Given my recent discussion with Ernie it seems like the &quot;--&quot; is appropriate and necessary to ensure that start-stop-daemon does not interpret the flags for mongo as its own. However the chuid user is incorrect: mongod vs mongodb (which we decided with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=akshay&quot; class=&quot;user-hover&quot; rel=&quot;akshay&quot;&gt;akshay&lt;/a&gt; was better). Starting mongod fails because the logging directory, etc give permissions to the mongodb user instead of mongod as we previously had it.&lt;/p&gt;</comment>
                            <comment id="433124" author="tyler@10gen.com" created="Mon, 30 Sep 2013 15:24:26 +0000"  >&lt;p&gt;Starting mongod still doesn&apos;t work with the latest packages.&lt;/p&gt;

&lt;p&gt;It seems that there is an extra &quot;--&quot; in the init script exec line.&lt;/p&gt;</comment>
                            <comment id="432104" author="ernie.hershey@10gen.com" created="Thu, 26 Sep 2013 22:17:58 +0000"  >&lt;p&gt;I think this has to do with the filename on the upstart config file, both in the repo and in the intermediate packaging staging directory packager.py and packager-enterprise.py use. I have a change I&apos;m re-generating packages with now. I&apos;ll also put up a code review to see what changes I made after I get new packages generated. &lt;/p&gt;</comment>
                            <comment id="430668" author="ernie.hershey@10gen.com" created="Tue, 24 Sep 2013 20:01:45 +0000"  >&lt;p&gt;Okay, thanks. &lt;/p&gt;

&lt;p&gt;I&apos;ll look at this more. &lt;/p&gt;</comment>
                            <comment id="430655" author="david.storch" created="Tue, 24 Sep 2013 19:49:50 +0000"  >&lt;p&gt;&quot;sudo service mongod start&quot; also does not work. The mongodb init.d script is entirely missing, so I don&apos;t think it&apos;s a naming problem. The same problem does not appear on Redhat, so maybe it has to do with the code that was moved into the rpm/mongo-10gen-unstable.spec file as shown in the code review for the original server ticket (&lt;a href=&quot;http://codereview.10gen.com/10571011&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://codereview.10gen.com/10571011&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;See below for the uname and lsb_release output.&lt;/p&gt;

&lt;p&gt;vagrant@precise64:~$ uname -a&lt;br/&gt;
Linux precise64 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux&lt;/p&gt;

&lt;p&gt;vagrant@precise64:~$ lsb_release -a&lt;br/&gt;
No LSB modules are available.&lt;br/&gt;
Distributor ID:	Ubuntu&lt;br/&gt;
Description:	Ubuntu 12.04 LTS&lt;br/&gt;
Release:	12.04&lt;br/&gt;
Codename:	precise&lt;/p&gt;</comment>
                            <comment id="430641" author="ernie.hershey@10gen.com" created="Tue, 24 Sep 2013 19:38:30 +0000"  >&lt;p&gt;Nice, thanks!&lt;/p&gt;

&lt;p&gt;Can you include the output of &apos;uname -a&apos; and &apos;lsb_release -a&apos; in general to make it easier to correlate &quot;precise&quot; to &quot;12.04&quot; ? I always use numbers and forget which version is which. Also we&apos;ll have exact versions on record that way. &lt;/p&gt;

&lt;p&gt;It should work as &quot;mongod&quot; instead of &quot;mongodb&quot; which is a change as part of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3579&quot; title=&quot;Standardize package &amp;amp; service names across installers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3579&quot;&gt;&lt;del&gt;SERVER-3579&lt;/del&gt;&lt;/a&gt;. If that works then I think all we need is documentation. &lt;/p&gt;</comment>
                            <comment id="430588" author="david.storch" created="Tue, 24 Sep 2013 19:07:30 +0000"  >&lt;p&gt;Discovered while performing testing for QA-223&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10020">
                    <name>Gantt Dependency</name>
                                            <outwardlinks description="has to be done before">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>12.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 24 Sep 2013 19:38:30 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 13 weeks, 6 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="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>dogmatic69</customfieldvalue>
            <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>ernie.hershey@mongodb.com</customfieldvalue>
            <customfieldvalue>tyler@10gen.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmfgn:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5227</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;On a fresh vagrant vm:&lt;br/&gt;
1) vagrant ssh&lt;br/&gt;
2) sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10&lt;br/&gt;
3) echo &apos;deb &lt;a href=&quot;http://distro-deb2.build.10gen.cc/rebrand/ubuntu-upstart/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://distro-deb2.build.10gen.cc/rebrand/ubuntu-upstart/&lt;/a&gt; dist mongodb&apos; | sudo tee /etc/apt/sources.list.d/mongodb.list&lt;br/&gt;
4) sudo apt-get update&lt;br/&gt;
5) sudo apt-get install mongodb-org-unstable&lt;br/&gt;
6) sudo service mongodb start&lt;/p&gt;

&lt;p&gt;Expected result: mongodb service starts&lt;/p&gt;

&lt;p&gt;Actual result:&lt;br/&gt;
vagrant@precise64:~$ sudo service mongodb start&lt;br/&gt;
mongodb: unrecognized service&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10166" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Tests Written</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10154"><![CDATA[Complete]]></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_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|hshz1j:</customfieldvalue>

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