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

MacPorts noreply at macports.org
Thu Oct 15 01:36:46 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 coviex@…):

 I guess my bug report is misleading.
 I do use
 {{{
 sudo port load mongodb
 }}}
 but then I get
 {{{
 $ mongo
 MongoDB shell version: 3.0.6
 connecting to: test
 2015-10-15T11:30:31.052+0300 W NETWORK  Failed to connect to
 127.0.0.1:27017, reason: errno:61 Connection refused
 2015-10-15T11:30:31.053+0300 E QUERY    Error: couldn't connect to server
 127.0.0.1:27017 (127.0.0.1), connection attempt failed
     at connect (src/mongo/shell/mongo.js:179:14)
     at (connect):1:6 at src/mongo/shell/mongo.js:179
 exception: connect failed
 }}}
 so I unload mongodb and launch it manually.

 I did not know that port's and mongodb's default data paths were
 different.
 I do have /opt/local/var/db/mongodb.

 So I guess the only problem is I cannot connect to mongod whatever is the
 reason.

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


More information about the macports-tickets mailing list