[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Invalid command 'SVNMasterURI' in configuring svn write-through

From: Ben Reser <ben_at_reser.org>
Date: Mon, 20 Jan 2014 08:58:27 -0800

On 1/19/14, 6:03 PM, WilliamBai wrote:
> Now executing "apachectl restart" and get the result:
> ----------------------------------------------------------------------------------------------------
> apachectl: Configuration syntax error, will not run "restart":
> Syntax error on line 5 of /etc/httpd/conf/extra/httpd-svn.conf:
> Invalid command 'SVNMasterURI', perhaps misspelled or defined by a module
> not included in the server configuration
> -----------------------------------------------------------------------------------------------------
> Not sure what causes this.

The error absolutely means you either don't have the mod_dav_svn module loaded
(which doesn't seem to be the case) or you have too old of a version, so you
need to dig into why that is. It's really hard to debug this with limited info
over email.

Now I suspect you're not starting the version of httpd and subversion that you
built and are instead using one that was already installed on the system.

Use type or which to see the path of the apachectl you are running.

Looking at your previous email you set the prefix to /usr, so you should be
running /usr/bin/apachectl. One possible gotcha is your OS may have had an
httpd/apachectl in /usr/sbin and you're using that instead.

Another possibility is that you forgot to run make install.
Received on 2014-01-20 18:21:38 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.