[MacPorts] #42290: MongoDB tries to use user _mongo, which does not exist
#42290: MongoDB tries to use user _mongo, which does not exist -------------------------------------+-------------------------------- Reporter: sakari@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: mavericks,mongo,mongodb | Port: mongodb -------------------------------------+-------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/42290> MacPorts <http://www.macports.org/> Ports system for OS X
#42290: MongoDB tries to use user _mongo, which does not exist -----------------------+-------------------------- Reporter: sakari@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mongodb | -----------------------+-------------------------- Changes (by macsforever2000@…): * keywords: mavericks,mongo,mongodb => * owner: macports-tickets@… => ryandesign@… Old description:
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.
New description: 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. -- Comment: In the future, please use WikiFormatting and Cc the port maintainers ({{{port info --maintainers mongodb}}}). -- Ticket URL: <https://trac.macports.org/ticket/42290#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42290: MongoDB tries to use user _mongo, which does not exist -----------------------+-------------------------- Reporter: sakari@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mongodb | -----------------------+-------------------------- Comment (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 -- Ticket URL: <https://trac.macports.org/ticket/42290#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42290: MongoDB tries to use user _mongo, which does not exist -------------------------+-------------------------- Reporter: sakari@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: worksforme | Keywords: Port: mongodb | -------------------------+-------------------------- Changes (by cal@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/42290#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42290: MongoDB tries to use user _mongo, which does not exist -------------------------+-------------------------- Reporter: sakari@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: worksforme | Keywords: Port: mongodb | -------------------------+-------------------------- Comment (by ryandesign@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/42290#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts