Edgewall Software

Ticket #5785 (closed defect: invalid)

Opened 18 months ago

Last modified 18 months ago

Internal error with trac 0.10.4 + RHEL 5 (python 2.4.3 + Apache 2.2.3 + svn 1.4.4)

Reported by: ptiwari@… Owned by: jonas
Priority: normal Milestone:
Component: version control Version: 0.10.4
Severity: normal Keywords:
Cc:

Description (last modified by eblot) (diff)

I am trying to install Trac 0.10.4 on RHEL 5 and am getting an Internal error when I try to access the trac installation using apache (http://localhost/trac). When I run tracd on port 8000, it seems to work fine. The detailed error is given below.

****************************************************************************** Oops… Trac detected an internal error:

If you think this really should work and you can reproduce it, you should consider reporting this problem to the Trac team.

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 191, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 263, in _pre_process_request
    chosen_handler = f.pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 73, in pre_process_request
    self.get_repository(req.authname).sync()
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 104, in get_repository
    repos = self._connector.get_repository(rtype, rdir, authname)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 234, in get_repository
    repos = SubversionRepository(dir, None, self.log)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 267, in __init__
    self.repos = repos.svn_repos_open(self.path, self.pool())
  File "/usr/lib/python2.4/site-packages/libsvn/repos.py", line 47, in svn_repos_open
    return apply(_repos.svn_repos_open, args)
SubversionException: ("Can't open file '/root/subversion/repos/format': Permission denied", 13)

Attachments

Change History

Changed 18 months ago by ThurnerRupert

  • status changed from new to closed
  • resolution set to invalid

what about Can't open file '/root/subversion/repos/format': Permission denied", 13??

Changed 18 months ago by eblot

  • keywords Internal error with trac 0.10.4 and RHEL 5 removed
  • priority changed from high to normal
  • component changed from general to version control
  • description modified (diff)
  • severity changed from major to normal

You forgot to give Apache the permissions to read/write from/to the SVN repository. This is an installation issue, if you can't get rid of this error and want some help from other Trac users, please post to the MailingList.

Add/Change #5785 (Internal error with trac 0.10.4 + RHEL 5 (python 2.4.3 + Apache 2.2.3 + svn 1.4.4))

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.