Thanks for the reply Lance.  I wondered the same thing the other day, but I
just rechecked to be sure.

Apache is running as a service under the LOCAL SYSTEM account.  The SVN
directory tree allows the SYSTEM account full control.  I changed the Apache
service to Log On using my username and password to be sure, but I still see
the same behavior.

Are the authz_file and authz_module_name necessary for the initial
connection of trac to SVN?  I currently have those lines unset in trac.ini,
but I'm using an svnaccessfile to control user permissions on SVN.

>From my Apache httpd.conf:
...
  LoadModule authz_svn_module modules/mod_authz_svn.so
...
WSGIScriptAlias /trac /svn/trac/test/apache/trac.wsgi
<Directory /svn/trac/test/apache>
    WSGIApplicationGroup %{GLOBAL}
    Order deny,allow
    Allow from all
</Directory>

Thanks - Dave


On Wed, Jun 3, 2009 at 11:37 AM, Lance Hendrix <[email protected]>wrote:

>
> Sounds like it might be a permissions issue with Apache and the SVN
> directory.  I assume you are running as (or in) the administrator
> (group) when you are using trac-admin, so when you do command line
> stuff, it is accessing SVN with credentials as an administrator;
> however, I also assume that the account that Apache is running under is
> not a member of the administrators group, so this "sounds" like a
> typical permissions problem.
>
> Check the account that Apache is running under and ensure that the
> directory your SVN repository is located in has the proper permissions
> (and subdirectories, so your subdirectories should inherit permissions
> from the parent) for the account that Apache is running under.
>
> This would be my first guess, but let me know if you have already
> checked this or if this is not the issue.
>
> Lance
>
> raiderdav wrote:
> > Configuration:
> >   Trac 0.11.4
> >   SVN 1.5.6 (r36142)
> >   Python 2.5.4
> >   Apache 2.2.11
> >   Windows Small Business Server 2008
> >
> > I'm installing Trac for the first time on this server, and am having
> > issues connecting to the SVN repository.  I believe I have the Trac
> > environment established successfully, and can connect via Apache using
> > the mod_wsgi approach with the repository_dir cleared.
> >
> > With my Trac.ini file set with the following I can view the generic
> > "Welcome to Trac" page and local documentation:
> >    repository_dir =
> >    repository_type = svn
> >
> > When I change it to
> >      repository_dir = c:\svn\ltm
> > the Trac URL is no longer accessible and I get a "Connection
> > Interrupted. The connection to the server was reset while the page was
> > loading." in the browser.  I turned on debug logging to file, and the
> > last line of the log reads:
> >
> >    2009-06-02 14:25:03,322 Trac[main] DEBUG: Dispatching <Request "GET
> > u''">
> >
> >
> > With the repository_dir set with the correct path, I can run trac-
> > admin resync and the repository history counts through all 292
> > revisions successfully.  This leads me to believe that the connection
> > to SVN is established properly, but I still can't view anything with
> > the repository path included.
> >
> > Any ideas on what to check or test next?
> >
> > Thanks - Dave
> >
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to