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 6951049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:10:12+00:00 2026-05-27T14:10:12+00:00

A few days ago I decided to install MongoDB but, right after I installed

  • 0

A few days ago I decided to install MongoDB but, right after I installed it problems started happening. I outline exactly how I installed MongoDB and all the problems that ensued soon after at this post at AskUbuntu.com I do want to mention that I talked to one of the people on the #mongodb IRC channel and they told me that MongoDB needs like 10GB to run.

df -h output

Could that be why my Ubuntu’s root file system got full after MongoDB installation? Makes sense. If this is true and MongoDB is the issue, then how should I go about uninstalling MongoDB?

Also is there any way to keep MongoDB and save my Ubunutu 10.04? Or should I do a clean install of Ubuntu but give it more room thank just 10GB?

UPDATE 1

cd / && du -hcs *

8.4M …. bin
34M ….. boot
4.0K ….. cdrom
625M … data
312K … dev
17M …. etc
45G …. home
0 ……… initrd.img
0 ……… initrd.img.old
275M .. lib
13M …. lib32
0 ……… lib64
16K ….. lost + found
3.9M … media
4.0K …. mnt
442M … opt
0 ………. proc
1.2M …. root
7.3M …. sbin
4.0K …. selinux
204K … srv
0 ………. sys
12K …… tmp
5.2G …. usr
2.5G …. var
0 ………. vmlinuz
0 ………. vmlinuz.old
54G …… total

UPDATE 2

This is what happened when I tried to remove mongodb:

s3z@s3z-laptop:/$ sudo apt-get purge mongodb mongodb-server mongodb-clients mongodb-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package mongodb is not installed, so not removed
E: Couldn't find package mongodb-server

This is strange because I can start up mongoDB’s shell:

s3z@s3z-laptop:/$ mongo 
MongoDB shell version: 2.0.2
connecting to: test
> 

How come this is happening?

  • 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-05-27T14:10:12+00:00Added an answer on May 27, 2026 at 2:10 pm

    You can probably just run apt-get purge mongodb mongodb-server mongodb-clients mongodb-dev mongodb-10gen to remove almost all references to MongoDB and all its data. There will still be some references to MongoDB in the /var/lib/ and /var/log/ directories which can be deleted manually.

    For future installs of MongoDB, you might want to put its home directory (and thereby its associated data) onto your /home partition, which still has plenty of free space. Heck, you could still move its data if you wanted. Up to you.

    Do you have any idea how I could find out what is filling my disk up?

    The easiest way is the du(1) command, which will report the disk used for files and directories.

    du -mx / | sort -n | less
    

    The last lines will be the directories that have taken up the most space. The -x keeps it on one file system — I presume you don’t care so much about /home yet. The -m reports output in megabytes; if you want output in kilobytes instead, use -k. (I figure if you’re tracking down ten gigabytes of content, you’ll want to look for megabytes.)

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

Sidebar

Related Questions

A few days ago I installed tomcat 7 and decided to try building a
A few days ago, I started having problems with AdMob . They return blank
A few days ago I started programming with C after programming with C++, however,
I started learning Rails only a few days ago, but in the mean time
So far I have worked in the console and a few days ago decided
Few days ago all was ok: when I started my web-site with Silverlight 4.0
I have decided to learn (Common) Lisp a few days ago and I realize
Few days ago I started experimenting with Mercurial, and everything went great, until I
I’ve started learning Erlang a few days ago and it’s definitely a very interesting
few days ago i ask 1 question in primefaces forum but nobody reply me.

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.