If Not True Then False

Install MongoDB 2.4.4 on Fedora 18/17, CentOS/Red Hat (RHEL) 6.4/5.9 - Comment Page: 2

What is MongoDB? MongoDB (from “humongous”) is a scalable, high-performance, open source, schema-free, document-oriented database. Written in C++. MongoDB bridges the gap between key-value stores (which are fast and highly scalable) and traditional RDBMS systems (which provide structured schemas and powerful queries). MongoDB is very interesting document-oriented database, because it...


Leave a Comment

Your email address will not be published. Required fields are marked *

Input your comment.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Input your name.



Nice tutorial.
But I am running into a dependency problem while running the yum installation.
–> Processing Dependency: /bin/sh for package: mongo-10gen-server-2.4.4-mongodb_1.x86_64
–> Finished Dependency Resolution
mongo-10gen-server-2.4.4-mongodb_1.x86_64 from 10gen has depsolving problems
–> Missing Dependency: /bin/sh is needed by package mongo-10gen-server-2.4.4-mongodb_1.x86_64 (10gen)
Error: Missing Dependency: /bin/sh is needed by package mongo-10gen-server-2.4.4-mongodb_1.x86_64 (10gen)
But I see that sh executable is already present in the /bin directory.
Could you please help me on this?


reply Reply

Hi Deepak,

Could you first post output of following commands:

uname -a

cat /etc/redhat-release

yum repolist

rpm -qa mongo\*

yum list all mongo\*

rpm -qa bash

ls -la /bin/sh

/bin/sh --version
reply Reply

Hi JR,

Please find the details below:

$ uname -a
Linux a26 3.5.0-32-generic #53~precise1-Ubuntu SMP Wed May 29 20:33:37 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/redhat-release
cat: /etc/redhat-release: No such file or directory

$ yum repolist
10gen | 951 B 00:00
10gen 90/90
repo id repo name status
10gen 10gen Repository enabled: 90
repolist: 90

$ rpm -qa mongo\*

$ yum list all mongo\*
Installed Packages
mongo-10gen.x86_64 2.4.4-mongodb_1 @10gen
Available Packages
mongo-10gen-server.x86_64 2.4.4-mongodb_1 10gen
mongo-10gen-unstable.x86_64 2.5.0-mongodb_1 10gen
mongo-10gen-unstable-server.x86_64 2.5.0-mongodb_1 10gen
mongo18-10gen.x86_64 1.8.5-mongodb_1 10gen
mongo18-10gen-server.x86_64 1.8.5-mongodb_1 10gen
mongo20-10gen.x86_64 2.0.8-mongodb_1 10gen
mongo20-10gen-server.x86_64 2.0.8-mongodb_1 10gen

$ rpm -qa bash

$ ls -la /bin/sh
lrwxrwxrwx 1 root root 4 Mar 29 2012 /bin/sh -> dash

$ /bin/sh --version
/bin/sh: 0: Illegal option --

reply Reply


Thanks for the help.
I was doing a silly mistake. Got it.

reply Reply

Hi Deepak,

Okay, nice to hear that you got it working. Btw. this is not best method install mongodb on Ubuntu.

reply Reply

Hello, thanks for great tutorial, I tried alot of tutorials this one is simplest and easiest one.

Let people know that I was already shut down my iptables due to I have already ddos protection so when I restarted iptables accidently everything stop working, so guys dont forget to check other iptables rules.


reply Reply