Re: Bug ? With SVN 1.8.4 on Mac

2014-01-17 Thread Karl Heinz Marbaise

Hi Mark,

> Transmitting file data ..

Committed revision 19310.


It looks like the commit worked.


So this mean in other words the whole transaction on the server side
is done




svn: E120108: Commit failed (details follow):
svn: E120108: Error running context: The server unexpectedly closed
the connection.
svn: E120108: Additional errors:
svn: E120108: Error running context: The server unexpectedly closed
the connection.


And the failure came in the post-commit updating of your working copy to
reflect this.


But this is only on the client side which failed...(for whatever reason)...

Apart from the wrong message saying: "Commit failed..." from my 
point of view ..


Thanks for helping.

Kind regards
Karl-Heinz Marbaise
--
SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl-Heinz MarbaiseICQ#: 135949029
Hauptstrasse 177 USt.IdNr: DE191347579
52146 Würselen   http://www.soebes.de


Invalid command 'SVNMasterURI' in configuring svn write-through

2014-01-17 Thread WilliamBai
Hi:

I encounter the following error when configuring the slave machine of svn
write-through, Could you give some suggestions?

[root@FiOS-DL120-10 ~]# apachectl start
[Fri Jan 17 22:51:19 2014] [warn] module dav_svn_module is already loaded,
skipping
[Fri Jan 17 22:51:19 2014] [warn] module authz_svn_module is already loaded,
skipping
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

I have loaded mod_dav_svn.so, mod_authz_svn.so, mod_proxy.so,
mod_proxy_http.so.

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so

LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

And My added configuration part

[root@FiOS-DL120-10 ~]# cat /etc/httpd/conf/extra/httpd-svn.conf

DAV svn
SVNListParentPath On
SVNParentPath /data/svn_repo
SVNMasterURI  http://192.168.2.12/svn
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/subversion/conf/svn_passwdfile
AuthzSVNAccessFile /etc/subversion/conf/svn_accessfile
Require valid-user



DAV svn
SVNListParentPath On
SVNParentPath /data/svn_repo
Order deny,allow
Deny from all
Allow from 192.168.2.12

--
When I use commented the SVNMasterURI, httpd could start normally, and I
could see the required modules have been loaded(apachectl -M).
--
 dav_module (shared)
 proxy_module (shared)
 proxy_balancer_module (shared)
 proxy_ftp_module (shared)
 proxy_http_module (shared)
 proxy_connect_module (shared)
 dav_svn_module (shared)
 authz_svn_module (shared)
--

The httpd version is 2.4.7 and the subversion(1.7.14 and 1.8.5) all have
such problems. My System is REHL5.3. And I use the following commands to
compile httpd and subversion.
httpd:
./configure --prefix=/usr --sysconfdir=/etc --enable-so --enable-dav
--enable-dav-fs --enable-maintainer-mode --with-included-apr
--enable-rewrite --enable-ssl --enable-proxy --enable-proxy-http

subversion
./configure --prefix=/usr --with-apxs=/usr/bin/apxs
--with-apr=/usr/bin/apr-1-config --with-apr-util=/usr/bin/apu-1-config

Have you encounter such problems before or could you give me some
suggestions? Thank you.

BRs
William







--
View this message in context: 
http://subversion.1072662.n5.nabble.com/Invalid-command-SVNMasterURI-in-configuring-svn-write-through-tp186659.html
Sent from the Subversion Users mailing list archive at Nabble.com.


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

2014-01-17 Thread Ben Reser
On 1/17/14, 8:07 PM, WilliamBai wrote:
> I encounter the following error when configuring the slave machine of svn
> write-through, Could you give some suggestions?
> 
> [root@FiOS-DL120-10 ~]# apachectl start
> [Fri Jan 17 22:51:19 2014] [warn] module dav_svn_module is already loaded,
> skipping
> [Fri Jan 17 22:51:19 2014] [warn] module authz_svn_module is already loaded,
> skipping
> 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

Based on this I suspect that you are loading the SVN modules from a version of
Subversion before 1.5.0.  Given the warning about the svn modules already
having been loaded I'd look through all your configuration files for other
LoadModule directives loading different svn modules.