mongodb - service mongod start on debian doesnt work -
i created instance of linux debian on google compute engine.
i install git, node.js, python , other things without problems
but when install mongodb, when finish installation , installation try run mongod, said: [fail] starting database: mongod failed!
i try with: sudo service mongod start , same.
i try many thing like:
rm mongodb.lock
change path of data / data / db change permisions mongodb.log
but nothing work.
when run /etc/init.d/mongod start
the error is: start-stop-daemon: unable september gid 65534 (operation not permitted) failed!
any idea error?
the mongodb.log empty so, can paste here results of verbose.
thanks
if seeing kind of error log in apt-get log of mongodb-org:
package mongodb-org-server not configured yet.
this maybe related gce debian image bug locale https://github.com/andsens/bootstrap-vz/issues/49
so way around do:
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
the dpkg-reconfigure command open dialog selecting desires locales. select generate all, choose e_us.utf-8
then can follow steps in :
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/
as have have done before.
this worked me in gce debian-7 image today.
Comments
Post a Comment