Toujours a tous, je commence avec mongobd . QUand je pars mon serveur mongo. J'obtiens cette erreur
avec comme dbpath=C:\devtools\mongodb-2.2.2\data\dbTue Sep 04 14:26:26
Code : Sélectionner tout - Visualiser dans une fenêtre à part C:\devtools\mongodb-2.2.2\bin>mongod.exe --config C:\devtools\mongodb-2.2.2\mongod.conf
Tue Sep 04 14:26:26 warning: 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability.
Tue Sep 04 14:26:26
Tue Sep 04 14:26:26 [initandlisten] MongoDB starting : pid=8948 port=25656 dbpath=C:\devtools\mongodb-2.2.2\data\db 32-bit host=PC-EMMANUEL
Tue Sep 04 14:26:26 [initandlisten]
Tue Sep 04 14:26:26 [initandlisten] ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data
Tue Sep 04 14:26:26 [initandlisten] ** see http://blog.mongodb.org/post/1377889...it-limitations
Tue Sep 04 14:26:26 [initandlisten] ** with --journal, the limit is lower
Tue Sep 04 14:26:26 [initandlisten]
Tue Sep 04 14:26:26 [initandlisten] db version v2.2.2-rc0, pdfile version 4.5
Tue Sep 04 14:26:26 [initandlisten] git version: ef972b46c92510341f0a25c5f88c8a539b2a8517
Tue Sep 04 14:26:26 [initandlisten] build info: windows sys.getwindowsversion(major=6, minor=0, build=6002, platform=2, service_pack='Service Pack 2') BOOST_LIB_VERSION=1_49
Tue Sep 04 14:26:26 [initandlisten] options: { config: "C:\devtools\mongodb-2.2.2\mongod.conf", dbpath: "C:\devtools\mongodb-2.2.2\data\db", port: 25656 }
Tue Sep 04 14:26:26 [initandlisten] Unable to check for journal files due to: boost::filesystem::basic_directory_iterator constructor: The system cannot find the path specified: "C:\devtools\mongodb-2.2.2\data\db\journal"
**************
Unclean shutdown detected.
Please visit http://dochub.mongodb.org/core/repair for recovery instructions.
*************
Tue Sep 04 14:26:26 [initandlisten] exception in initAndListen: 12596 old lock file, terminating
Tue Sep 04 14:26:26 dbexit:
Tue Sep 04 14:26:26 [initandlisten] shutdown: going to close listening sockets...
Tue Sep 04 14:26:26 [initandlisten] shutdown: going to flush diaglog...
Tue Sep 04 14:26:26 [initandlisten] shutdown: going to close sockets...
Tue Sep 04 14:26:26 [initandlisten] shutdown: waiting for fs preallocator...
Tue Sep 04 14:26:26 [initandlisten] shutdown: closing all files...
Tue Sep 04 14:26:26 [initandlisten] closeAllFiles() finished
Tue Sep 04 14:26:26 dbexit: really exiting now
Et on me dit pour réparer le tout , je dois faire un repair
et la j'obtiens ceci
Code : Sélectionner tout - Visualiser dans une fenêtre à part mongod --dbpath /data/db --repair
donc je tourne en round la. Est ce qu il y a une personne qui peut m aiderWed Sep 05 13:02:01
Wed Sep 05 13:02:01 warning: 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability.
Wed Sep 05 13:02:01
Wed Sep 05 13:02:01 [initandlisten] MongoDB starting : pid=9784 port=27017 dbpath=/data/db 32-bit host=PC-EMMANUEL
Wed Sep 05 13:02:01 [initandlisten]
Wed Sep 05 13:02:01 [initandlisten] ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data
Wed Sep 05 13:02:01 [initandlisten] ** see http://blog.mongodb.org/post/1377889...it-limitations
Wed Sep 05 13:02:01 [initandlisten] ** with --journal, the limit is lower
Wed Sep 05 13:02:01 [initandlisten]
Wed Sep 05 13:02:01 [initandlisten] db version v2.2.2-rc0, pdfile version 4.5
Wed Sep 05 13:02:01 [initandlisten] git version: ef972b46c92510341f0a25c5f88c8a539b2a8517
Wed Sep 05 13:02:01 [initandlisten] build info: windows sys.getwindowsversion(major=6, minor=0, build=6002, platform=2, service_pack='Service Pack 2') BOOST_LIB_VERSION=1_49
Wed Sep 05 13:02:01 [initandlisten] options: { dbpath: "/data/db", repair: true }
Wed Sep 05 13:02:01 [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
Wed Sep 05 13:02:01 dbexit:
Wed Sep 05 13:02:01 [initandlisten] shutdown: going to close listening sockets...
Wed Sep 05 13:02:01 [initandlisten] shutdown: going to flush diaglog...
Wed Sep 05 13:02:01 [initandlisten] shutdown: going to close sockets...
Wed Sep 05 13:02:01 [initandlisten] shutdown: waiting for fs preallocator...
Wed Sep 05 13:02:01 [initandlisten] shutdown: closing all files...
Wed Sep 05 13:02:01 [initandlisten] closeAllFiles() finished
Wed Sep 05 13:02:01 dbexit: really exiting now
cordialement merci
Partager