I can not cd "LaunchAgents" on macbook

Posted by why on Server Fault See other posts from Server Fault or by why
Published on 2011-01-12T09:31:52Z Indexed on 2011/01/12 9:55 UTC
Read the original article Hit count: 192

Filed under:
|

after installing mongdb on my macbook-pro, it tells me:

If this is your first install, automatically load on login with: cp /usr/local/Cellar/mongodb/1.6.3-x86_64/org.mongodb.mongod.plist ~/Library/LaunchAgents launchctl load -w ~/Library/LaunchAgents/org.mongodb.mongod.plist

If this is an upgrade and you already have the org.mongodb.mongod.plist loaded: launchctl unload -w ~/Library/LaunchAgents/org.mongodb.mongod.plist cp /usr/local/Cellar/mongodb/1.6.3-x86_64/org.mongodb.mongod.plist ~/Library/LaunchAgents launchctl load -w ~/Library/LaunchAgents/org.mongodb.mongod.plist

Or start it manually: mongod run --config /usr/local/Cellar/mongodb/1.6.3-x86_64/mongod.conf

but after i copy org.mongodb.mongod.plist to ~/Library/LaunchAgents, it tells me

launchctl load -w ~/Library/LaunchAgents/org.mongodb.mongod.plist launchctl: Couldn't stat("/Users/liuqiang/Library/LaunchAgents/org.mongodb.mongod.plist"): Not a directory

and also i can not cd "~/Library/LaunchAgents", but i can ls the directory!

"~/Library/LaunchAgents" is a strange directory in mac.

© Server Fault or respective owner

Related posts about mac

Related posts about install