Copyright 2004 by M. Uli Kusterer Fri, 29 Nov -1901 11:06:32 GMT Comments on article blog-installing-svnserve-on-mac-os-x at Zathras.de http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm blog-installing-svnserve-on-mac-os-x Comments witness_dot_of_dot_teachtext_at_gmx_dot_net (M. Uli Kusterer) witness_dot_of_dot_teachtext_at_gmx_dot_net (M. Uli Kusterer) en-us Comment 13 by Jason http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment13 http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment13 Max, your comment about not being able to access the daemonized process because of the firewall seems not realated to just this. I found this page searching for, "lion firewall daemon" on google after having trouble with the Macports openvpn server.

The answer in that case
Comment 12 by syd http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment12 http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment12 Good, and helpful, but needs instructions for configuring apache2 located here: http://www.sonzea.com/articles/subversion-trac.html

Otherwise, you get "svn: OPTIONS of 'http://host/repo/project/trunk': 200 OK (http://host)" style errors because apache does not know what to do with the URL you give it.
Comment 11 by Max http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment11 http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment11 For those having problem connecting to svnserve, due to leopard/lion firewall:

I experienced that launching svnserve as deamon prevent him to be reached through firewall, even if added to the list of authorized applications. The workaround is to keep it as a background job by launching it this way, from terminal:
svnserve -d --foreground &
The goud point is that you can easily stop the deamon by fg'ing the job.

I did not use automatic launch trough launchd so no hint for this case.
Comment 10 by Matthew Cook http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment10 http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment10 Worked for me once I changed
/opt/subversion/bin/svnserve
to
/usr/bin/svnserve

Thanks!
Comment 9 by mapple http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment9 http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment9 When I try 'launchctl load /Library/LaunchDaemons/org.tigris.subversion.svnserve.plist' I receive the message:

launchctl: Dubious ownership on file (skipping): /Library/LaunchDaemons/org.tigris.subversion.svnserve.plist
nothing found to load

what could be the problem? what should I do now?
Comment 8 by Josh Olden http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment8 http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment8 Try websvn (www.websvn.info)
Comment 7 by Mente, Argu http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment7 http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment7 Hi. I followed your tutorial, but somehow I'm stuck with the firewall of snow leopard. When I try 'launchctl load /Library/LaunchDaemons/org.tigris.subversion.svnserve.plist' I receive the message:
bind(): Operation not permitted
bind(): Operation not permitted
and in console I can see the messages:
Firewall[1333] Deny svnserve binding to 0.0.0.0:3690 proto=6
Firewall[1333] Deny svnserve binding to :::3690 proto=6
Disabling the mac os firewall solves the problem, but is obviously not the way to do it... any hint on how to get svnserve to bind correctly?
Comment 6 by Harald http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment6 http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment6 Finally a working tutorial. Thanks a lot!
Comment 5 by Stephen Mcconnell http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment5 http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment5 Followed your EXCELLENT tutorial and had svn up and running. I didn't know svnserve was in 10.5 and 10.6 out of the box, but it worked anyway (Prior to installing it, however I was getting a "svn command not found" type error, so I'm not sure it was configured correctly).

I am using the Subclipse plug-in in Eclipse to access my repository on my
localhost. I received a:


Can't open file '<path to repositiory>/db/txn-current-lock': Permission denied

Error. Did a look up on google and came across this thread

http://www.svnforum.org/2017/viewtopic.php?t=6519

discussing the problem. I changed the permissions on my repository folder to 770 and it worked like a champ with Subclipse. I am also able to access the repository over my local home network from other computers... which is EXACTLY what my purpose was. Now to set up TRAC on my local computer and Maven and I'm set up to do most of my work at home.
Comment 4 by Uli Kusterer http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment4 http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment4 Uli Kusterer writes:
Rupert,

you are right, it seems that svnserve is now installed by the OS as well (at least on 10.6). I wasn't aware of that. Handy!
Comment 3 by Rupert http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment3 http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment3 Why installing svn on os-x?
svn is ready installed in 10.5 and 10.6 out of the box!

But your configuration-info's are very nice!
Thank you

Rupert
Comment 2 by Uli Kusterer http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment2 http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment2 Uli Kusterer writes:
Thank the Joyent guys, this plist is essentially ripped from their pages.
Comment 1 by MT http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment1 http://www.zathras.de/angelweb/blog-installing-svnserve-on-mac-os-x.htm#comment1 Hey, thanks for the plist. Worked great. Used the default _svn user/group already defined under 10.6.