Hot answers tagged

3

As step 5 said in http://codingtip.blogspot.cz/2013/09/install-mongodb-on-ubuntu-1304-step-by.html use service mongodb start and sudo service mongodb start if not root. If the service doesn't start at boot automatically try to look at ls -la /etc/rc* | grep mongo, if no links there are present, then use update-rc.d mongodb defaults this should add links to /...


2

The error is self-explanatory, file /etc/mongodb.conf is missing on your system, so you need to create one. This simple config will allow you to start mongod systemLog: verbosity: 1 quiet: true traceAllExceptions: false path: "/opt/mongo/log/local.log" logAppend: true destination: file storage: dbPath: "/opt/mongo/db" journal: enabled: true ...


1

Your installation instructions step 5 tells how to start / stop the service. You just run sudo service start mongodb to start the server. If you want to make the service start up at boot, you can the follow instructions at askubuntu.com service command is the standard way of managing services in Debian derived Linux distributions like Ubuntu.



Only top voted, non community-wiki answers of a minimum length are eligible