Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#8346 closed defect (worksforme)

Trac SVN integration crashes the APACHE

Reported by: alexeyr@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.4
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

We have a collabnet SVN server installed. Trac is hosted on it's Apache server. When ever I try pointing 'repository_dir' to the repository's folder the Apache stops responding.

There are no errors in trac's log file (which is on Debug level). The only clue that i could find in the Apaches error log is: "Parent: child process exited with status 3221225477 — Restarting."

OS: Windows server 2003.

Attachments (2)

httpd.conf (18.2 KB ) - added by anonymous 16 years ago.
apache configuration
httpd-svn.conf (834 bytes ) - added by anonymous 16 years ago.
svn configuration

Download all attachments as: .zip

Change History (7)

comment:1 by anatoly techtonik <techtonik@…>, 16 years ago

You need to attach your Apache configuration for Trac setup, specify versions of Apache/Python modules and ensure that all NTFS permissions are set correctly. Then we can try to guess what can happen on Windows 2003. So far I can't remember any such issues with either XP or 2003.

by anonymous, 16 years ago

Attachment: httpd.conf added

apache configuration

by anonymous, 16 years ago

Attachment: httpd-svn.conf added

svn configuration

comment:2 by anonymous, 16 years ago

Maybe this will refine the problem a bit ?

I'm also attaching my svn and apache configuration files

Trac [D:\trac-projects\CIT-Pro]> resync
Resyncing repository history...
Traceback (most recent call last):
  File "C:\Program Files\Python2.5\Scripts\trac-admin-script.py", line 8, in <mo
dule>
    load_entry_point('Trac==0.11.4', 'console_scripts', 'trac-admin')()
  File "C:\Program Files\Python2.5\lib\site-packages\trac\admin\console.py", lin
e 1299, in run
    admin.run()
  File "C:\Program Files\Python2.5\lib\site-packages\trac\admin\console.py", lin
e 140, in run
    self.cmdloop()
  File "C:\Program Files\Python2.5\Lib\cmd.py", line 142, in cmdloop
    stop = self.onecmd(line)
  File "C:\Program Files\Python2.5\lib\site-packages\trac\admin\console.py", lin
e 123, in onecmd
    rv = cmd.Cmd.onecmd(self, line) or 0
  File "C:\Program Files\Python2.5\Lib\cmd.py", line 219, in onecmd
    return func(arg)
  File "C:\Program Files\Python2.5\lib\site-packages\trac\admin\console.py", lin
e 665, in do_resync
    repos = env.get_repository().sync(self._resync_feedback)
  File "C:\Program Files\Python2.5\lib\site-packages\trac\env.py", line 270, in
get_repository
    return RepositoryManager(self).get_repository(authname)
  File "C:\Program Files\Python2.5\lib\site-packages\trac\versioncontrol\api.py"
, line 157, in get_repository
    repos = self._connector.get_repository(rtype, rdir, authname)
  File "C:\Program Files\Python2.5\lib\site-packages\trac\versioncontrol\svn_fs.
py", line 280, in get_repository
    'branches': self.branches})
  File "C:\Program Files\Python2.5\lib\site-packages\trac\versioncontrol\svn_fs.
py", line 401, in __init__
    self.repos = repos.svn_repos_open(self.path, self.pool())
  File "C:\Program Files\Python2.5\Lib\site-packages\libsvn\repos.py", line 47,
in svn_repos_open
    return apply(_repos.svn_repos_open, args)
svn.core.SubversionException: ("Expected FS format between '1' and '3'; found fo
rmat '4'", 160043)

comment:3 by anonymous, 16 years ago

Resolution: fixed
Status: newclosed

Ok- I've figured out the problems:

  • The original problem was a misconfiguration - we were missing the dav_fs_module in Apache config (silly me :( )
  • The other problem was that we've upgraded the SVN, without upgrading the python bindings as at stackoverflow

Thank you.

comment:4 by Remy Blank, 16 years ago

Resolution: fixed
Status: closedreopened

That would be "worksforme", then.

comment:5 by Remy Blank, 16 years ago

Resolution: worksforme
Status: reopenedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.