I just tried to run Apache as an application (with Run As Administrator)
instead of a service, and noticed that the app crashes when I go to the trac
URL.  I went back into the Event Viewer and the Apache service crashes every
time I try to connect to Trac:

Faulting application httpd.exe, version 2.2.11.0, time stamp 0x493f5d44,
faulting module libapr.dll, version 0.9.17.0, time stamp 0x4878c068,
exception code 0xc0000005, fault offset 0x000139c1, process id 0x15d8,
application start time 0x01c9e495a599432c.

That explains why the page load error appears and I get a "interrupted"
notice instead of a 401 or 404 or whatever.

Has anyone seen this happen before?

Thanks - David


On Wed, Jun 3, 2009 at 2:11 PM, David Headley <[email protected]> wrote:

> 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