<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>crunchlife: Multiple Subversion Services on Windows</title>
    <link>http://crunchlife.com/articles/2009/06/10/multiple-subversion-services-on-windows</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Multiple Subversion Services on Windows</title>
      <description>&lt;p&gt;&lt;img src="/files/subversion.jpg" class="right"&gt;It&amp;#8217;s possible, but not often necessary, to run multiple instances of the &lt;a href="http://subversion.tigris.org/" target="_blank"&gt;Subversion&lt;/a&gt; service on Microsoft Windows.  At work, the source code of IT staff and Engineers is kept on two different servers with a third hosting Subversion.  Since one of our Engineering departments recently decided to test Subversion as their &lt;a href="http://en.wikipedia.org/wiki/Source_Code_Management" target="_blank"&gt;SCM&lt;/a&gt; system, I had to install an additional service to manage their repositories.&lt;/p&gt;

&lt;p&gt;I have a horrible time remembering the syntax for creating a Subversion service.  That said, I&amp;#8217;ve posted my worst case scenario for future reference.  The arguments include UNC paths, ports, and lots of slashes.  Next time, with the help of Google, I&amp;#8217;ll remember.  Oh, and if you&amp;#8217;re receiving a 1053 error, it may be that you need to run the service under an account with sufficient rights to the UNC path used as the root (-r) Subversion repository.&lt;/p&gt;

&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;sc create svnserve_it binpath= &amp;quot;\&amp;quot;C:\Program Files\CollabNet Subversion Server\svnserve.exe\&amp;quot; --service -r \&amp;quot;\\ITFILESERVER\Repositories\&amp;quot; --listen-port 3690&amp;quot; displayname= &amp;quot;Subversion Server (IT)&amp;quot; depend= tcpip start= auto&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;sc create svnserve_engineering binpath= &amp;quot;\&amp;quot;C:\Program Files\CollabNet Subversion Server\svnserve.exe\&amp;quot; --service -r \&amp;quot;\\ENGFILESERVER\Repositories\&amp;quot; --listen-port 3691&amp;quot; displayname= &amp;quot;Subversion Server (Engineering)&amp;quot; depend= tcpip start= auto&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
      <pubDate>Wed, 10 Jun 2009 13:13:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:e212a326-066b-4523-a6fe-1f75c8a3c8b1</guid>
      <author>Ryan Baxter</author>
      <link>http://crunchlife.com/articles/2009/06/10/multiple-subversion-services-on-windows</link>
      <category>Code Snippets</category>
      <category>SCM</category>
      <category>SVN</category>
      <enclosure type="image/jpeg" length="21456" url="http://crunchlife.com/files/subversion.jpg"/>
    </item>
  </channel>
</rss>
