Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-40845

mongod shutting down .

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 4.0.7
    • None
    • None

    Description

      Hi

      I am using mongo version 4.0.7 on ubutnu 18.04

      my mongod shuts down with code 100 stating that /data/db not found but my /etc/mongod.conf file has a different dbPath . Is it a bug or there is some other file where conf is defined.

      Thank you.

       

      my mongod file is as follows -

       

       

      GNU nano 2.9.3 mongod.conf
       
      # mongod.conf
       
      # for documentation of all options, see:
      # http://docs.mongodb.org/manual/reference/configuration-options/
       
      # Where and how to store data.
      storage:
       dbPath: /var/lib/mongodb
       journal:
       enabled: true
      # engine:
      # mmapv1:
      # wiredTiger:
       
      # where to write logging data.
      systemLog:
       destination: file
       logAppend: true
       path: /var/log/mongodb/mongod.log
       
      # network interfaces
      net:
       port: 27017
       bindIp: 127.0.0.1
       
       
      # how the process runs
      processManagement:
       timeZoneInfo: /usr/share/zoneinfo
       
      #security:
       
      #operationProfiling:
       
      #replication:
       
      #sharding:
       
      ## Enterprise-Only Options:
       
      #auditLog:
       
      #snmp:
      

      Attachments

        Activity

          People

            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            khushal khushal pahuja
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: