After i ran mongorestore the mongo service fail to start automatically, But if i open the terminal and run mongod the service is running perfectlly. if i close the terminal i get. Any suggestions?
Error: couldn't connect to server 127.0.0.1 shell/mongo.js:79
when i'm running the mongod i get:
MongoDB starting : pid=1875 port=27017 dbpath=/data/db/ 64-bit Thu Jul 25 12:16:40 [initandlisten] db version v1.8.2, pdfile version 4.5 Thu Jul 25 12:16:40 [initandlisten] git version: nogitversion Thu Jul 25 12:16:40 [initandlisten] build sys info: Linux allspice 2.6.24-28-server #1 SMP Wed Aug 18 21:17:51 UTC 2010 x86_64 BOOST_LIB_VERSION=1_46_1 Thu Jul 25 12:16:40 [initandlisten] * warning: spider monkey build without utf8 support. consider rebuilding with utf8 support Thu Jul 25 12:16:40 [initandlisten] waiting for connections on port 27017 Thu Jul 25 12:16:40 [websvr] web admin interface listening on port 28017 Thu Jul 25 12:17:05 [initandlisten] connection accepted from 127.0.0.1:38257 #1
mongod --config=/path/to/your/config
(/etc/mongodb.conf by default) from shell and check the mongodb log after execution – Vitaly Muminov/data/mongodb/mongod.lock
but/data/db/mongod.lock
– Vitaly Muminov