[MacPorts] #49290: mongodb does not start after upgrade to El Capitan

MacPorts noreply at macports.org
Thu Oct 15 01:22:21 PDT 2015


#49290: mongodb does not start after upgrade to El Capitan
-----------------------+--------------------------
  Reporter:  coviex@…  |      Owner:  ryandesign@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.4
Resolution:            |   Keywords:  elcapitan
      Port:  mongodb   |
-----------------------+--------------------------

Comment (by ryandesign@…):

 Looking into this a little further, it looks like /data/db is the default
 directory where mongod looks for databases, if not told otherwise. You
 just ran "mongod" without any arguments, so it used the default database
 directory /data/db.

 In MacPorts, you're not intended to run "mongod" manually. Instead, you're
 intended to use "sudo port load mongod" which will launch mongod with a
 number of arguments, one of which specifies that databases should go in
 /opt/local/var/db/mongodb. The port has already created this directory for
 you with the correct ownership.

-- 
Ticket URL: <https://trac.macports.org/ticket/49290#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list