Я пытаюсь установить MongoDB впервые на моем компьютере с Windows 7. Я устанавливаю его по умолчанию (c: /).MongoDB не запускается после установки в первый раз
При первом запуске mongod.exe
я получаю сообщение 'the waiting for connections message in the console'
. Документация MongoDB просит подключиться по другому запросу cmd
и выполнить mongod.exe
еще раз.
Когда я делаю это я получаю следующее сообщение:
C:\Program Files\MongoDB\Server\3.0\bin>mongod.exe
2015-09-04T11:31:23.880+0530 I CONTROL Hotfix KB2731284 or later update is not installed, will zero-out data files
2015-09-04T11:31:23.905+0530 W - [initandlisten] Detected unclean shutdown - C:\data\db\mongod.lock is not empty.
2015-09-04T11:31:23.907+0530 I STORAGE [initandlisten] exception in initAndListen: 98 Unable to create/open lock file:
C:\data\db\mongod.lock errno:32 The process cannot access the file because it is being used by another process.. Is a mo
ngod instance already running?, terminating
2015-09-04T11:31:23.907+0530 I CONTROL [initandlisten] dbexit: rc: 100
C:\Program Files\MongoDB\Server\3.0\bin>mongod.exe
2015-09-04T11:33:52.437+0530 I CONTROL Hotfix KB2731284 or later update is not installed, will zero-out data files
2015-09-04T11:33:52.442+0530 W - [initandlisten] Detected unclean shutdown - C:\data\db\mongod.lock is not empty.
2015-09-04T11:33:52.445+0530 I STORAGE [initandlisten] exception in initAndListen: 98 Unable to create/open lock file:
C:\data\db\mongod.lock errno:32 The process cannot access the file because it is being used by another process.. Is a mo
ngod instance already running?, terminating
2015-09-04T11:33:52.445+0530 I CONTROL [initandlisten] dbexit: rc: 100
P.S .: Я сотворил /data/db
в C:/
.
это не 'MangoDB', это ** MongoDB ** –
re install. следуйте инструкциям по адресу http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/ –
Я использую тот же документ, который упомянул и застрял в точке 3. Подключитесь к MongoDB. –