From 46dda46cc1f4ce7bf1e1e9da9733f5bdddfe9c7a Mon Sep 17 00:00:00 2001 From: rajiff Date: Thu, 30 Aug 2012 00:48:50 +0530 Subject: [PATCH] note on dbpath when installing as Windows Service If user has choose alternative location for dbpath, same should be provided while installing as windows service, a note about same was added as nothing found currently mentioning about same --- source/tutorial/install-mongodb-on-windows.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/tutorial/install-mongodb-on-windows.txt b/source/tutorial/install-mongodb-on-windows.txt index 975ebc9bef8..fe4d592b10b 100644 --- a/source/tutorial/install-mongodb-on-windows.txt +++ b/source/tutorial/install-mongodb-on-windows.txt @@ -250,6 +250,16 @@ Run all of the following commands in :guilabel:`Command Shell` with :setting:`logpath` setting or the :option:`--logpath ` run-time option. +.. note:: + + If you had specified alternate path for \data\db, please provide dbpath option when installing + + .. code-block:: powershell + + C:\mongodb\bin\mongod.exe --config C:\mongodb\mongod.cfg --dbpath d:\test\mongodb\data --install + + else you may see error in starting service like "System error 1067 has occurred" + .. TODO fix --install link once mongod.exe manual page exists. #. To run the MongoDB Service: