Mongod service starts with debian does not work

I created an instance of linux debian in the Google Compute Engine.

I install git, node.js, python and some other things without problems

But when I install mongodb, at the end of the installation and installation, try to start mongod, said: [FAIL] Starting the database: mongod failed!

I try: sudo service mongod start and was the same.

I try a lot of things:

rm mongodb.lock

Change data path / data / db Change permissions to mongodb.log

But nothing works.

When I run /etc/init.d/mongod start

Error: start-stop-daemon: failed to set the September value to 65534 (operation not allowed) failed!

Any idea what could be a mistake?

mongodb.log is empty, so I can insert detailed results here.

thank

+4
2

apt-get mongodb-org:

Package mongodb-org-server is not configured yet.

GII debian https://github.com/andsens/bootstrap-vz/issues/49

, :

export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
sudo locale-gen en_US.UTF-8
sudo dpkg-reconfigure locales

dpkg-reconfigure . , e_US.UTF-8

:

http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/

, , .

gce debian-7.

+8

apt-get install deb .

.

export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
sudo locale-gen en_US.UTF-8
sudo dpkg-reconfigure locales

, mongodb, debian.

.

0

Source: https://habr.com/ru/post/1540981/


All Articles