I've installed the tor package via homebrew, and cofigured /usr/local/etc/tor/torrc according to the documentation.
My problem is that every time I try to use launchctl I get an error, both as an admin user and via sudo.
As an admin user:
Could not open job overrides database at: /private/var/db/launchd.db/com.apple.launchd.peruser.502/overrides.plist: 13: Permission denied launch_msg(): Socket is not connected
When run via sudo it complains about "dubious owbership on file" and says "nothing found to load".
I followed whatever documentation I could find. The torrc config is on torproject.org under "configuring a relay graphically" (I know this isn't graphically), the homebrew info is linked to in the same article and looks to be from a mailing list discussion.
I wanted to set up a simple relay to run automatically when the (OS X) machine boots. It's a home server on a 30MB/sec symmetrical fiber line. Since I run the machine as a file server anyway, I figured I could allocate some bandwidth and help support the community.
Thanks, Surf Norway
On 20 Sep 2014, at 17:02, Surf Norway wrote:
I've installed the tor package via homebrew, and cofigured /usr/local/etc/tor/torrc according to the documentation.
My problem is that every time I try to use launchctl I get an error, both as an admin user and via sudo.
what OSX version you use?
what tor version you use?
where did you put the plists?
what's the output of? $ ls -la ~/Library/LaunchAgents/homebrew.mxcl.tor.plist
what happens if you just start the tor process from shell?
$ /usr/local/opt/tor/bin/tor -f /usr/local/etc/tor/torrc ?
Thanks, -mateusz
On 20 Sep 2014, at 18:02, Surf Norway surfnorway@gmail.com wrote:
I've installed the tor package via homebrew, and cofigured /usr/local/etc/tor/torrc according to the documentation.
My problem is that every time I try to use launchctl I get an error, both as an admin user and via sudo.
Ah the merits of homebrew… Please pastebin the launchd item you created and an ls -la of it as well as /private/var/db/launchd.db/com.apple.launchd.peruser.502/overrides.plist
Best regards MacLemon
tor-relays@lists.torproject.org