Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-7879

mongo on elementary(ubuntu based)

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      I installed per the directions, but when i run mongod, I get this.

      robert@robert-UX305LA:~$ mongod
      mongod --help for help and startup options
      Sun May 15 17:39:48.635 [initandlisten] MongoDB starting : pid=15291 port=27017 dbpath=/data/db/ 64-bit host=robert-UX305LA
      Sun May 15 17:39:48.635 [initandlisten] db version v2.4.9
      Sun May 15 17:39:48.635 [initandlisten] git version: nogitversion
      Sun May 15 17:39:48.635 [initandlisten] build info: Linux orlo 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 x86_64 BOOST_LIB_VERSION=1_54
      Sun May 15 17:39:48.635 [initandlisten] allocator: tcmalloc
      Sun May 15 17:39:48.635 [initandlisten] options: {}
      Sun May 15 17:39:48.636 [initandlisten] exception in initAndListen: 10309 Unable to create/open lock file: /data/db/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating
      Sun May 15 17:39:48.636 dbexit:
      Sun May 15 17:39:48.636 [initandlisten] shutdown: going to close listening sockets...
      Sun May 15 17:39:48.636 [initandlisten] shutdown: going to flush diaglog...
      Sun May 15 17:39:48.636 [initandlisten] shutdown: going to close sockets...
      Sun May 15 17:39:48.636 [initandlisten] shutdown: waiting for fs preallocator...
      Sun May 15 17:39:48.636 [initandlisten] shutdown: lock for final commit...
      Sun May 15 17:39:48.636 [initandlisten] shutdown: final commit...
      Sun May 15 17:39:48.636 [initandlisten] shutdown: closing all files...
      Sun May 15 17:39:48.636 [initandlisten] closeAllFiles() finished
      Sun May 15 17:39:48.636 [initandlisten] shutdown: removing fs lock...
      Sun May 15 17:39:48.636 [initandlisten] couldn't remove fs lock errno:9 Bad file descriptor
      Sun May 15 17:39:48.636 dbexit: really exiting now

      Attachments

        Activity

          People

            ravind.kumar Ravind Kumar (Inactive)
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 39 weeks, 2 days ago