0
I am trying to run Mongodb on Debian Jessie and apparently install everything correctly, but when I run it gives errors as indicated below. I don’t know if it’s relevant either, but following the Mongodb installation page, the command is displayed apt-get install -y mongodb-org
to install Mongodb, but I could only get it installed when running apt-get install -y mongodb
, without the -org
in the end.
NOTE: I was logged in as root.
Error running systemctl start mongodb
:
ExecStart=/usr/bin/mongod --config /etc/mongodb.conf (code=exited, status=100) Main PID: 6939 (code=exited, status=100)
Error running service mongod restart
:
Failed to restart mongod.service: Unit mongod.service not found.
What may be happening?
If you try to start Ngo direct via mongod, does it work? So you can know if the problem is in the installation or in the service configuration.
– Jorge C. Bernhard Tautz
It doesn’t work... I’ve tried before. But I think I understand the problem: I am trying to install Mongodb on a Linux device with an ARM processor, but there is no support for this processor. Anyway, I guess I’ll have to change databases.
– wBB
There is a version for ARM processors yes, on the downloads you can select this, the link from version 3.4.6 here: https://fastdl.mongodb.org/linux/mongodb-linux-arm64-ubuntu1604-3.4.6.tgz
– Jorge C. Bernhard Tautz
Hello, good morning. This also happened to me recently. In my case, I was installing on Ubuntu 14.04. One question: what is the Debian architecture? 32 or 64bit? The explanation I got was that in the repository there was only installer for the x64 version. Strong hug. I hope it helped.
– Paulo Pereira
@Paulopereira, in my case was architecture ARM 32 bits. I was in a hurry, I ended up leaving Mongodb and I used Mysql, which at that time solved everything very well, as always by the way...
– wBB