[MacPorts] #45434: mongodb refuses to connect on yosemite

MacPorts noreply at macports.org
Thu Oct 30 10:55:56 PDT 2014


#45434: mongodb refuses to connect on yosemite
--------------------------+--------------------------
  Reporter:  p.perroud@…  |      Owner:  ryandesign@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  mongodb      |
--------------------------+--------------------------

Comment (by mark@…):

 I think I found the issue. It's not in the mongo port - it's somewhere
 else I think. The problem is that `/opt/local/var/log` is getting created
 by some port with a `0744` permission as opposed to the proper `0755`.
 This means that the _mongo user can't get down to the
 `/opt/local/var/log/mongodb` directory to store it's logs. This means that
 `mongod` does not launch.

 As soon as I did `sudo chmod 755 /opt/local/var/log/` the `mongod`
 instance started and I was able to connect.

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


More information about the macports-tickets mailing list