[SERVER-11245] mongod service does not start on Debian Squeeze Created: 17/Oct/13  Updated: 11/Jul/16  Resolved: 06/Nov/13

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: None
Fix Version/s: 2.5.4

Type: Bug Priority: Major - P3
Reporter: David Storch Assignee: Ernie Hershey
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

vagrant@squeeze64:~$ uname -a
Linux squeeze64 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64 GNU/Linux

Vagrant box:
http://dl.dropbox.com/u/54390273/vagrantboxes/Squeeze64_VirtualBox4.2.4.box


Issue Links:
Gantt Dependency
Backwards Compatibility: Fully Compatible
Operating System: Linux
Steps To Reproduce:

vagrant@squeeze64:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 7F0CEB10
gpg: requesting key 7F0CEB10 from hkp server keyserver.ubuntu.com
gpg: key 7F0CEB10: public key "Richard Kreuter <richard@10gen.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
vagrant@squeeze64:~$ echo 'deb http://distro-deb2.build.10gen.cc/rebrand/debian-sysvinit dist mongodb' | sudo tee /etc/apt/sources.list.d/mongodb.list
deb http://distro-deb2.build.10gen.cc/rebrand/debian-sysvinit dist mongodb
vagrant@squeeze64:~$ sudo apt-get update &> /dev/null
vagrant@squeeze64:~$ sudo apt-get install mongodb-org-unstable-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-kbuild-2.6.32 dialog
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  mongodb-org-unstable-server
0 upgraded, 1 newly installed, 0 to remove and 34 not upgraded.
Need to get 8,096 kB of archives.
After this operation, 20.6 MB of additional disk space will be used.
Get:1 http://distro-deb2.build.10gen.cc/rebrand/debian-sysvinit/ dist/mongodb mongodb-org-unstable-server amd64 2.5.2 [8,096 kB]
Fetched 8,096 kB in 5s (1,413 kB/s)
Selecting previously deselected package mongodb-org-unstable-server.
(Reading database ... 24086 files and directories currently installed.)
Unpacking mongodb-org-unstable-server (from .../mongodb-org-unstable-server_2.5.2_amd64.deb) ...
Processing triggers for man-db ...
Setting up mongodb-org-unstable-server (2.5.2) ...
Adding system user `mongodb' (UID 104) ...
Adding new user `mongodb' (UID 104) with group `nogroup' ...
Not creating home directory `/home/mongodb'.
Adding group `mongodb' (GID 105) ...
Done.
Adding user `mongodb' to group `mongodb' ...
Adding user mongodb to group mongodb
Done.
vagrant@squeeze64:~$ sudo service mongod start
vagrant@squeeze64:~$ sudo /etc/init.d/mongod start
vagrant@squeeze64:~$ pgrep mongod
vagrant@squeeze64:~$ cat /var/log/mongodb/mongod.log
cat: /var/log/mongodb/mongod.log: No such file or directory

Participants:

 Description   

The mongodb-org-unstable-server and mongodb-enterprise-unstable-server packages install successfully on Debian Squeeze, but starting the mongod service fails silently. Both the commands "sudo service mongod start" and "sudo /etc/init.d/mongod" have no apparent effect and produce no output. See the repro steps for details.



 Comments   
Comment by Ernie Hershey [ 06/Nov/13 ]

This was fixed by this pull request - https://github.com/mongodb/mongo/pull/537

Comment by Ernie Hershey [ 17/Oct/13 ]

Here's another useful debian vagrant box for testing:

http://puppet-vagrant-boxes.puppetlabs.com/debian-607-x64-vbox4210-nocm.box

( from http://puppet-vagrant-boxes.puppetlabs.com/)

Generated at Thu Feb 08 03:25:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.