Code Monkey home page Code Monkey logo

Comments (10)

romandev avatar romandev commented on July 30, 2024

+1 but is there no existing configuration file in mongo db?

from absolute.

coconutperm avatar coconutperm commented on July 30, 2024

no existing configuration in mongo db. it`s local configuration.

from absolute.

romandev avatar romandev commented on July 30, 2024
  1. dbPath= ./database
  2. logPath= ./log
  3. 'make config file and commit to absolute repo'

from absolute.

coconutperm avatar coconutperm commented on July 30, 2024

Run all of the following commands in Command Prompt with “Administrative Privileges”.
mongod.exe --config "C:\Program Files\MongoDB\Server\3.4\mongod.cfg" --install

from absolute.

coconutperm avatar coconutperm commented on July 30, 2024

sc.exe create MongoDB binPath= ""C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe" --service --config="C:\Program Files\MongoDB\Server\3.4\mongod.cfg"" DisplayName= "MongoDB" start= "auto"

from absolute.

coconutperm avatar coconutperm commented on July 30, 2024

Refer below link:
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/#install-and-run-the-mongodb-service

from absolute.

coconutperm avatar coconutperm commented on July 30, 2024

Configuration Link:
https://docs.mongodb.com/manual/reference/configuration-options/

from absolute.

coconutperm avatar coconutperm commented on July 30, 2024
  • Problem :
  1. 2017-02-20T17:24:51.207+0900 F CONTROL [main] Failed global initialization: BadValue: dbPath requires an absolute file path with Windows services
    => dbPath set only absolute path on config file.

  2. 2017-02-20T17:26:57.365+0900 I CONTROL [main] Error connecting to the Service Control Manager: 액세스가 거부되었습니다. (5)
    => run mongod.exe to only admin privilege.

from absolute.

coconutperm avatar coconutperm commented on July 30, 2024
  • Config file
    systemLog:
    destination: file
    path: ../../../log/mongod.log
    storage:
    dbPath: c:/Workspace/git/absolute/database
    processManagement:
    windowsService:
    serviceName: AbsoluteDB
    displayName: AbsoluteDB
    description: AbsoluteDB

from absolute.

coconutperm avatar coconutperm commented on July 30, 2024

https://github.com/christkv/node-mongodb-native

from absolute.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.