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

better error message for lockfile permission denied error

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 3.5.9
    • None
    • Usability
    • Fully Compatible
    • Storage 2017-06-19

    Description

      Current message:

      Tue Apr 12 16:33:13 [initandlisten] exception in initAndListen: 10309 Unable to create/open lock file: /mnt/internal/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating
      Tue Apr 12 16:33:13 dbexit:
      Tue Apr 12 16:33:13 [initandlisten] shutdown: going to close listening sockets...
      Tue Apr 12 16:33:13 [initandlisten] shutdown: going to flush diaglog...
      Tue Apr 12 16:33:13 [initandlisten] shutdown: going to close sockets...
      Tue Apr 12 16:33:13 [initandlisten] shutdown: waiting for fs preallocator...
      Tue Apr 12 16:33:13 [initandlisten] shutdown: closing all files...
      Tue Apr 12 16:33:13 [initandlisten] closeAllFiles() finished
      Tue Apr 12 16:33:13 [initandlisten] shutdown: removing fs lock...
      Tue Apr 12 16:33:13 [initandlisten] couldn't remove fs lock errno:9 Bad file descriptor
      Tue Apr 12 16:33:13 dbexit: really exiting now

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: