我想问一下我服务器端出现这给问题 ,直接上代码,
来源:
一半火焰
2016-10-12
2016-10-12T12:05:02.794+0800 I CONTROL [initandlisten] MongoDB starting : pid=3
044 port=27017 dbpath=D:\mongodb\db\data 64-bit host=iZ11rsksrq9Z
2016-10-12T12:05:02.797+0800 I CONTROL [initandlisten] targetMinOS: Windows 7/W
indows Server 2008 R2
2016-10-12T12:05:02.797+0800 I CONTROL [initandlisten] db version v3.2.8
2016-10-12T12:05:02.798+0800 I CONTROL [initandlisten] git version: ed70e33130c
977bda0024c125b56d159573dbaf0
2016-10-12T12:05:02.801+0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL
1.0.1p-fips 9 Jul 2015
2016-10-12T12:05:02.801+0800 I CONTROL [initandlisten] allocator: tcmalloc
2016-10-12T12:05:02.802+0800 I CONTROL [initandlisten] modules: none
2016-10-12T12:05:02.802+0800 I CONTROL [initandlisten] build environment:
2016-10-12T12:05:02.803+0800 I CONTROL [initandlisten] distmod: 2008plus-ss
l
2016-10-12T12:05:02.804+0800 I CONTROL [initandlisten] distarch: x86_64
2016-10-12T12:05:02.804+0800 I CONTROL [initandlisten] target_arch: x86_64
2016-10-12T12:05:02.805+0800 I CONTROL [initandlisten] options: { storage: { db
Path: "D:\mongodb\db\data" } }
2016-10-12T12:05:02.846+0800 I STORAGE [initandlisten] exception in initAndList
en: 29 Data directory D:\mongodb\db\data not found., terminating
2016-10-12T12:05:02.847+0800 I CONTROL [initandlisten] dbexit: rc: 100
2回答
-
Scott
2016-10-12
在 D 盘下,把这几个目录创建好,再试试
D:\mongodb\db\data
012016-10-12 -
一半火焰
提问者
2016-10-12
请问 Scott老师这个是属于mongodb的坑吗
012016-10-12
相似问题