You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jens Theeß <je...@gero-mess.de> on 2006/09/28 13:06:58 UTC
pre-revprop-change failed
Hi,
I'm having problems editing the svn:log property. My setup:
Suse Linux 9.1
Subersion 1.4.0 compiled from source
Apache 2.0.49 from the Suse 9.1 distribution
When editing a log message I get the following error in the apache
error.log:
[Thu Sep 28 15:13:17 2006] [error] [client 192.168.1.1] Could not
execute PROPPATCH. [500, #206]
[Thu Sep 28 15:13:17 2006] [error] [client 192.168.1.1]
'pre-revprop-change' hook failed with error output:\n [500, #165001]
The following is my pre-revprop-change hook:
server1:/srv/svn/repos/christopher1/hooks # ls -l pre-revprop-change
-rwxr-xr-x 1 wwwrun www 17 Sep 28 15:06 pre-revprop-change
server1:/srv/svn/repos/christopher1/hooks # cat pre-revprop-change
#!/bin/sh
exit 0
As clients I tried the command-line client as well as tortoisesvn 1.4.0.
E.g.
jens@server1:~/svn/christopher1> svn pe -r 44 --revprop svn:log .
svn: DAV request failed; it's possible that the repository's
pre-revprop-change hook either failed or is non-existent
svn: At least one property change failed; repository is unchanged
I don't know how to debug this problem any further. Any ideas?
Thanks,
Jens
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: pre-revprop-change failed
Posted by Jens Theeß <j....@tu-bs.de>.
Yes indeed, Suse 9.1 ships with apr 0.9.5. That's why I replaced it with
apr 0.9.12 compiled from source. But this might be a problem, as I
didn't recompile apache. ldd at least shows that everything links to the
same libapr:
server1:~ # ldd /usr/sbin/httpd2-prefork | grep apr
libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x40034000)
libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x40144000)
server1:~ # ldd /usr/lib/apache2/mod_dav_svn.so
linux-gate.so.1 => (0xffffe000)
libsvn_repos-1.so.0 => /usr/local/lib/libsvn_repos-1.so.0
(0x40027000)
libsvn_fs-1.so.0 => /usr/local/lib/libsvn_fs-1.so.0 (0x40043000)
libsvn_delta-1.so.0 => /usr/local/lib/libsvn_delta-1.so.0
(0x40048000)
libsvn_subr-1.so.0 => /usr/local/lib/libsvn_subr-1.so.0 (0x40052000)
libz.so.1 => /lib/libz.so.1 (0x4007c000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4008d000)
libc.so.6 => /lib/tls/libc.so.6 (0x4009d000)
libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x401b2000)
libdb-4.2.so => /usr/lib/tls/libdb-4.2.so (0x401c7000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x4029d000)
libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x402bc000)
librt.so.1 => /lib/tls/librt.so.1 (0x402dc000)
libm.so.6 => /lib/tls/libm.so.6 (0x402e4000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40306000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40337000)
libdl.so.2 => /lib/libdl.so.2 (0x4034d000)
libsvn_fs_fs-1.so.0 => /usr/local/lib/libsvn_fs_fs-1.so.0
(0x40350000)
libsvn_fs_base-1.so.0 => /usr/local/lib/libsvn_fs_base-1.so.0
(0x40366000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
server1:~ # ldd /usr/local/lib/libsvn_fs-1.so | grep apr
libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x4007c000)
libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x40246000)
server1:~ # ldd /usr/local/lib/libsvn_ra_dav-1.so | grep apr
libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x40069000)
libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x40173000)
server1:~ # ldd /usr/local/bin/svn | grep apr
libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x40144000)
libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x4022f000)
server1:~ # ls -l /usr/lib/libapr-0.so.0
lrwxrwxrwx 1 root root 18 Sep 11 19:28 /usr/lib/libapr-0.so.0 ->
libapr-0.so.0.9.12
Greetings,
Jens
John Szakmeister schrieb:
> ----- Jens Theeß <je...@gero-mess.de> wrote:
>
>> Hi,
>>
>> I'm having problems editing the svn:log property. My setup:
>>
>> Suse Linux 9.1
>> Subersion 1.4.0 compiled from source
>> Apache 2.0.49 from the Suse 9.1 distribution
>>
>
> Something isn't right here. If you're using 1.4.0, then you need to have APR >0.9.6. IIRC, 2.0.49 comes with <= APR 0.9.6. You're probably failing because you built Subversion against a different APR than the webserver is using. You can verify this fact by taking a look at ldd /location/of/mod_dav_svn.so and ldd /location/of/svn (the client).
>
> -John
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: pre-revprop-change failed
Posted by John Szakmeister <jo...@szakmeister.net>.
----- Jens Theeß <je...@gero-mess.de> wrote:
> Hi,
>
> I'm having problems editing the svn:log property. My setup:
>
> Suse Linux 9.1
> Subersion 1.4.0 compiled from source
> Apache 2.0.49 from the Suse 9.1 distribution
Something isn't right here. If you're using 1.4.0, then you need to have APR >0.9.6. IIRC, 2.0.49 comes with <= APR 0.9.6. You're probably failing because you built Subversion against a different APR than the webserver is using. You can verify this fact by taking a look at ldd /location/of/mod_dav_svn.so and ldd /location/of/svn (the client).
-John
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org