Maison > Questions et réponses > le corps du texte
mongod --help for help and startup options
Tue Jul 5 12:17:49.091 [initandlisten] MongoDB starting : pid=17876 port=27017 dbpath=/data/db/ 64-bit host=lvpai-db-prod
Tue Jul 5 12:17:49.091 [initandlisten] db version v2.4.9
Tue Jul 5 12:17:49.091 [initandlisten] git version: nogitversion
Tue Jul 5 12:17:49.091 [initandlisten] build info: Linux orlo 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 x86_64 BOOST_LIB_VERSION=1_54
Tue Jul 5 12:17:49.091 [initandlisten] allocator: tcmalloc
Tue Jul 5 12:17:49.091 [initandlisten] options: {}
Tue Jul 5 12:17:49.091 [initandlisten] exception in initAndListen: 10296
ERROR: dbpath (/data/db/) does not exist.
Create this directory or give existing directory in --dbpath.
See http://dochub.mongodb.org/core/startingandstoppingmongo
, terminating
Tue Jul 5 12:17:49.091 dbexit:
Tue Jul 5 12:17:49.091 [initandlisten] shutdown: going to close listening sockets...
Tue Jul 5 12:17:49.092 [initandlisten] shutdown: going to flush diaglog...
Tue Jul 5 12:17:49.092 [initandlisten] shutdown: going to close sockets...
Tue Jul 5 12:17:49.092 [initandlisten] shutdown: waiting for fs preallocator...
Tue Jul 5 12:17:49.092 [initandlisten] shutdown: lock for final commit...
Tue Jul 5 12:17:49.092 [initandlisten] shutdown: final commit...
Tue Jul 5 12:17:49.092 [initandlisten] shutdown: closing all files...
Tue Jul 5 12:17:49.092 [initandlisten] closeAllFiles() finished
Tue Jul 5 12:17:49.092 dbexit: really exiting now
这是什么情况?谢谢了!有什么影响
巴扎黑2017-05-02 09:22:03
ERREUR : dbpath (/data/db/) n'existe pas.
Créez ce répertoire ou indiquez le répertoire existant dans --dbpath.
原因很明确啊