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

mongod doesn't load automatically the default config file

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.8.2
    • Component/s: Internal Code
    • Labels:
    • Environment:
      Linux Mint 11 Katya x64
    • Linux

      mongod doesn't load automatically the default config file; if I run

      mongod --repair

      it prints

      Wed Jun 22 17:33:08 [initandlisten] MongoDB starting : pid=3878 port=27017 dbpath=/data/db/ 64-bit

      when in /etc/mongodb.conf I have

      dbpath=/var/lib/mongodb

      While, if I run

      mongod -f /etc/mongodb.conf

      the daemon starts correctly and in /var/log/mongodb/mongodb.log I have:

      Wed Jun 22 17:37:03 [initandlisten] MongoDB starting : pid=3905 port=27017 dbpath=/var/lib/mongodb 64-bit

            Assignee:
            Unassigned Unassigned
            Reporter:
            mareizio Maurizio De Santis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: