Hi
I recently installed svn module (1.8.11) for apache (2.2.24). I compiled successfully everything without issue but I can’t have it working properly, I need help of advanced users.
I can create repository with svnadmin or copy repository from existing installation. I didn’t set any rights limitation for now to be able to easily test installation.
Repository checkout or update is working fine using tortoise or command line client. Repository read through web browser is also working fine.
BUT commit does nothing. When I try to commit existing or new file, from tortoise or command line, commit starts and is never done. It seems to be doing the commit until timeout occur (few minutes) or I cancel it. I don’t have any error message, nothing to debug. In httpd access log I see an OPTION request, that’s all. Nothing in error log.
My configuration is like this:
LoadModule dav_module lib/httpd/modules/mod_dav.so
LoadModule dav_fs_module lib/httpd/modules/mod_dav_fs.so
LoadModule dav_svn_module libexec/mod_dav_svn.so
LoadModule authz_svn_module libexec/mod_authz_svn.so
DavLockDB "/opt/amon/var/DavLock"
<Location /svn>
DAV svn
SVNParentPath /opt/amon/var/www/svn
SVNListParentPath On
</Location>
Apache user and group is the same as user creating the repository.
After few days searching I don’t see anything else to do, what could I check now?
Thanks for your help!
Regards
Pascal
Hi Eric
Thanks for your answer.
The repository are well created under the location ___/svn and I can access them through http, that’s fine.
Error log from apache does not show anything.
I added svn logging in httpd.conf (following this http://svnbook.red-bean.com/en/1.7/svn.serverconfig.httpd.html#svn.serverconfig.httpd.extra.logging), I see read operations being done (update, or show log from tortoise) but not the commit.
I tried to checkout and commit directly on the machine (as the same user running apache) using file:/// and commit works!
That’s a first step but I don’t see what is wrong then…
Thanks
Pascal
Hi
That’s something I was thinking about also but I am within a company that ‘probably’ don’t have firewall for internal traffic. I still need to confirm it.
I tried few other things directly from the server.
As I said in a previous message, I did a svn commit on the repository using URL file:///location/to/svn/myrepository/, that’s working fine.
I tried a svn commit on the repository using URL http://localhost:1080/svn/myrepository/, also working fine.
I tried a svn commit on the repository using URL http://hostname/svn/myrepository/ or http://hostname:1080/svn/myrepository/ which is not working (I am still able to make checkout/update from repository using any address)
I tried a svn commit on the repository using URL http://ipaddress/svn/myrepository/ or http://ipaddress:1080/svn/myrepository/ which is not working (I am still able to make checkout/update from repository using any address)
I forgot to mention that this server is listening port 1080 using global http.conf directive:
Listen 1080
But I don’t expect this to make a change.
I continue searching the solution, any idea of thing to check would be appreciated.
Hi again
In fact my previous conclusion are wrong.
What exactly works is svn commit from a client that is version 1.6. Using a svn client 1.7 or 1.8, commit does not proceed until stopped by the timeout.
svn version on server is 1.8.11.
What is different between version 1.6 and 1.7 or 1.8 during a commit that could make it fail?
Op 11-mrt.-2015 18:32 schreef "pascal....@freescale.com" <pascal....@freescale.com>:
>
> I'm in a company that use redhat as base distribution. I asked for a web server to migrate some tools from an old server. I asked for recent versions of some tools like php, perl or mysql.
> For this reason (mostly compile a newer version of php) and to be able to put all the binaries and configuration on a storage with backup they gave me a custom web stack compiled with httpd 2.2. Now I have to add svn, that's why I compiled it from source.
> I found that discussion where POST request where not handled by svn. Except I have to error, it seems I face the same kind of problem: http://grokbase.com/t/subversion/users/123tdmwx9x/subversion-1-7-server-client-issue-not-able-to-commit-e160013-path-not-found.
That doesn't sound like the same issue to me. That thread mentions a specific error message (E160013 path not found) while you said commit just does nothing (hangs until timeout or something). Or did you forget to add the tiny detail that you got an error ;-) ?
Apart from that, the thread does suggest something to try: did you test if the issue goes away if you set "SVNAdvertiseV2Protocol off"?
--
Johan
Hi
I tried to set “SVNAdvertiseV2Protocol off” and it worked!
It’s something like subversion > 1.6 and httpd 2.2 can’t work properly together.
Finally I compiled subversion 1.6 which is enough for the purpose of this installation and that is OK
Thanks a lot for your help!
Pascal
From: Johan Corveleyn [mailto:jco...@gmail.com]
Sent: Wednesday, March 11, 2015 7:37 PM
To: Sandrez Pascal-B09824