Opened 10 years ago

Last modified 8 years ago

#45434 closed enhancement

mongodb refuses to connect on yosemite — at Initial Version

Reported by: p.perroud@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 2.3.5
Component: base Version:
Keywords: haspatch Cc:
Port:

Description

mongodb is building fine on yosemite with macports 2.3.2 but refuses to connect:

$ mongo
MongoDB shell version: 2.6.5
connecting to: test
2014-10-18T08:00:52.404+0200 warning: Failed to connect to 127.0.0.1:27017, reason: errno:61 Connection refused
2014-10-18T08:00:52.405+0200 Error: couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed at src/mongo/shell/mongo.js:146
exception: connect failed

A pretty generic error that does'nt mean much but this port was not configured correctly at installation time.

No log written to /opt/local/var/log/mongodb/

But this trace in system.log:

Oct 18 08:09:11 iMac27.local sudo[4559]: root : TTY=unknown ; PWD=/ ; USER=pperroud ; COMMAND=/opt/local/bin/mongod --dbpath /opt/local/var/db/mongodb --logpath /opt/local/var/log/mongodb/mongodb.log --logappend Oct 18 08:09:11 iMac27 com.apple.xpc.launchd[1] (org.macports.mongodb): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

Change History (0)

Note: See TracTickets for help on using tickets.