logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache is attempting to serve repository from error_docs
Author
travisSP



Joined: 21 Aug 2012
Posts: 1
Location: seattle, Wa

PostPosted: Tue 21 Aug '12 23:54    Post subject: Apache is attempting to serve repository from error_docs Reply with quote

I can successfully checkout a repository and do some modifications (adding directories) but cannot perform most commits. I receive the following in error_logs:
Code:
(20014)Internal error: Can't open file '/var/www/vhosts/poooblic.com/subdomains/svn2/error_docs/format': No such file or directory


I have a subdirectory to store my SVN repos. I've configured it to serve the entire directory with SVNParentPath. This is my vhost.conf file:
Code:
<location />
        DAV svn
        SVNParentPath /var/www/vhosts/poooblic.com/subdomains/svn2
        SVNListParentPath on

        AuthType Basic
        AuthName "svn2.poooblic.com"
        AuthUserFile /var/www/vhosts/poooblic.com/subdomains/svn2/conf/passwd
        Require valid-user
</location>


Before, if it was just
Code:
 SVNPath /var/www/vhosts/poooblic.com/subdomains/svn2/repos/pickles.com


I could successfully perform svn operations with it (check out, commit, mkdir, etc.). Now that I'm using ParentPath it seems to look for directories in the wrong places. My current setup is:

/var/www/vhosts/poooblic.com/subdomains/svn2/cgi-bin
/var/www/vhosts/poooblic.com/subdomains/svn2/conf
/var/www/vhosts/poooblic.com/subdomains/svn2/error_docs
/var/www/vhosts/poooblic.com/subdomains/svn2/pickles.com
/var/www/vhosts/poooblic.com/subdomains/svn2/horses.com

I don't know why it would be looking for pickles.com/format in ./error_docs/format. I created a Sym Link in error_docs to ./repos/pickles.com and the error changed to:
Code:
Internal error: Can't open file '/var/www/vhosts/poooblic.com/subdomains/svn2/error_docs/db': No such file or directory


So then I created a directory repos/ and moved my svn repositories there:
/var/www/vhosts/poooblic.com/subdomains/svn2/repos/pickles.com
/var/www/vhosts/poooblic.com/subdomains/svn2/repos/horses.com

Also, updated vhost file
Code:
SVNParentPath /var/www/vhosts/poooblic.com/subdomains/svn2/repos


Strange enough the error message changes with that:
Code:
Internal error: Can't open file '/var/www/vhosts/gutenbergpublishing.com/subdomains/svn2/repos/error_docs/format': No such file or directory


So far I've done a find for every httpd file and haven't found anything referring to error_docs.

I'm using PLESK + Linux.es 2.6 GNU/Linux + Apache 2.2.3
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 22 Aug '12 14:12    Post subject: Reply with quote

I have had that issue because of <location /> I wasn't successful until I changed the location to <location /svn>
Back to top


Reply to topic   Topic: Apache is attempting to serve repository from error_docs View previous topic :: View next topic
Post new topic   Forum Index -> Apache