Installing MongoDB on Debian

0

I'm trying to run MongoDB on Debian Jessie and apparently installs everything correctly, but when I run it gives errors as indicated below. I do not know if it is relevant either, but following the MongoDB installation page, the apt-get install -y mongodb-org command is displayed to install MongoDB, but I was only able to install it by running apt-get install -y mongodb , without -org at the end. NOTE: I was logged in as root.

Error executing systemctl start mongodb :

ExecStart=/usr/bin/mongod --config /etc/mongodb.conf (code=exited, status=100) Main PID: 6939 (code=exited, status=100)

Error executing service mongod restart :

Failed to restart mongod.service: Unit mongod.service not found.

What could be happening?

    
asked by anonymous 15.07.2017 / 04:12

0 answers