Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8102261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:11:57+00:00 2026-06-05T23:11:57+00:00

Just installed a clean version of mongodb on Fedora 17 64-bit, but the Mongo

  • 0

Just installed a clean version of mongodb on Fedora 17 64-bit, but the Mongo service wont run.

I followed these instructions during installation

Running

service mongod start

results in

Starting mongod (via systemctl):  Job failed. See system journal and 'systemctl status' for details.  [FAILED]

So I ran

systemctl status mongod.service

which gives me

mongod.service - SYSV: Mongo is a scalable, document-oriented database.
  Loaded: loaded (/etc/rc.d/init.d/mongod)
  Active: failed (Result: exit-code) since Mon, 18 Jun 2012 13:15:56 +0200; 58s ago
 Process: 13584 ExecStart=/etc/rc.d/init.d/mongod start (code=exited, status=1/FAILURE)
  CGroup: name=systemd:/system/mongod.service

Mongo logs in /var/log/mongo/mongod.log is empty

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T23:11:59+00:00Added an answer on June 5, 2026 at 11:11 pm

    How to install mongodb and mongodb-server on fedora linux (verified on f16 & f17). All commands are intended to be run in a su session.

    1) make sure you have no mongodb installation lying around

    # yum erase mongodb
    # yum erase mongo-10gen  (if it is installed)
    

    2) install from fedora yum repository

    # yum --disablerepo=* --enablerepo=fedora,updates install mongodb mongodb-server
    

    3) start mongod (mongodb daemon)

    # systemctl start mongod.service
    

    4) verify mongod is running

    # systemctl status mongod.service
    # tail /var/log/mongodb/mongodb.log
    # nmap -p27017 localhost
    

    or running client

    # mongo
    MongoDB shell version: 2.0.2
    connecting to: test
    > db.test.save( { a: 1 } )
    > db.test.find()
    { "_id" : ObjectId("4fdf28f09d16204d66082fa3"), "a" : 1 }
    

    5) customize configuration

    # vim /etc/mongodb.conf
    # systemctl restart mongod.service
    

    6) make mongodb service automatically start at boot

    # systemctl enable mongod.service
    

    Update for Fedora 18

    When started for the first time by systemd on a slow or loaded machine, mongod service might timeout before finishing its initialization, with systemd flagging the service as failed.

    Symptoms:

    # journalctl -xn
    
    -- Unit mongod.service has begun starting up.
    10:38:43 local mongod[24558]: forked process: 24560
    10:38:43 local mongod[24558]: all output going to: /var/log/mongodb/mongodb.log
    10:40:13 local systemd[1]: mongod.service operation timed out. Terminating.
    10:40:13 local systemd[1]: Failed to start High-performance, schema-free document-oriented database.
    -- Subject: Unit mongod.service has failed
    

    Very easy cure, restart the service:

    # systemctl restart mongod.service
    

    this should finish the initialization successfully and leave the daemon in running state.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just upgraded to ubuntu 12.04 64bit (with a clean install). When I installed
I just installed Fedora in a virtual machine, and when I open vim, my
I'm new to WordPress and just installed version 3.3.1. I did some googling regarding
ORIGINAL POST I just erased and re-installed Snow Leopard. I installed MySQL 5.1.48 64-bit
A few days ago I decided to install MongoDB but, right after I installed
I am trying to install node.js following instructions. Just installed Homebrew. I tried this.
Just installed EE everything seems clear however I can't seem to find a solution
I've just done a clean install of XCode 3.2.6 on Snow Leopard, to the
Just installed Python 2.7.3 on a Windows7 machine. How do I get .py files
Just installed Jenkins in Ubuntu 12.04 and I wanted to create a simple build

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.