|
Hello.please help me.
I created a folder on the drive c:\data\db.
But when mongod.exe start,Error was
C:\>mongodb\bin\mongod.exe
mongodb\bin\mongod.exe --help for help and startup options
Fri Jul 05 17:01:07.125 [initandlisten] MongoDB starting : pid=1532 port=27017 d
bpath=\data\db\ 64-bit host=hamid-pc-PC
Fri Jul 05 17:01:07.169 [initandlisten] db version v2.4.4
Fri Jul 05 17:01:07.171 [initandlisten] git version: 4ec1fb96702c9d4c57b1e06dd34
eb73a16e407d2
Fri Jul 05 17:01:07.172 [initandlisten] build info: windows sys.getwindowsversio
n(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1') BOOST
_LIB_VERSION=1_49
Fri Jul 05 17:01:07.173 [initandlisten] allocator: system
Fri Jul 05 17:01:07.174 [initandlisten] options: {}
Fri Jul 05 17:01:07.254 [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
Fri Jul 05 17:01:07.263 dbexit:
Fri Jul 05 17:01:07.263 [initandlisten] shutdown: going to close listening socke
ts...
Fri Jul 05 17:01:07.264 [initandlisten] shutdown: going to flush diaglog...
Fri Jul 05 17:01:07.265 [initandlisten] shutdown: going to close sockets...
Fri Jul 05 17:01:07.267 [initandlisten] shutdown: waiting for fs preallocator...
Fri Jul 05 17:01:07.268 [initandlisten] shutdown: lock for final commit...
Fri Jul 05 17:01:07.269 [initandlisten] shutdown: final commit...
Fri Jul 05 17:01:07.270 [initandlisten] shutdown: closing all files...
Fri Jul 05 17:01:07.272 [initandlisten] closeAllFiles() finished
Fri Jul 05 17:01:07.273 dbexit: really exiting now
Reporter: bavafa
E-mail: bavafahamidreza@yahoo.com
|