Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#42290 closed defect (worksforme)

MongoDB tries to use user _mongo, which does not exist

Reported by: inDigiNeous (Sakari Lehtonen) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: mongodb

Description (last modified by mf2k (Frank Schima))

After updating to Os X Mavericks 10.9.1, mongodb no longer launches, instead I get this error message in console:

28.1.2014 15.29.26,050 sudo[25708]:     root : TTY=unknown ; PWD=/ ; USER=_mongo ; COMMAND=/opt/local/bin/mongod --dbpath /opt/local/var/db/mongodb --logpath /opt/local/var/log/mongodb/mongodb.log --logappend
28.1.2014 15.29.26,096 com.apple.launchd[1]: (org.macports.mongodb) Throttling respawn: Will start in 10 seconds

Seems that it is trying to launch as use '_mongo'.

My Mac Os X system does not have this user.

Change History (4)

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: mavericks mongo mongodb removed
Owner: changed from macports-tickets@… to ryandesign@…

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers mongodb).

comment:2 Changed 11 years ago by jul_bsd@…

I think it's probably solved. I installed mongodb on 10.9.2 and it runs fine. Portfile has _mongo user with add_users. So should be fine. probably want to use launchctl to start/stop daemon

comment:3 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: worksforme
Status: newclosed

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Nothing has changed in the port with regard to the way the users are set up in a long time.

To the original reporter: you mentioned having upgraded to Mavericks. The scenario you describe sounds like you may not have uninstalled and reinstalled MacPorts and all ports after doing so. See wiki:Migration.

Note: See TracTickets for help on using tickets.