#5785 closed defect (invalid)
Internal error with trac 0.10.4 + RHEL 5 (python 2.4.3 + Apache 2.2.3 + svn 1.4.4)
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | version control | Version: | 0.10.4 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
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 (0)
Change History (2)
comment:1 by , 18 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 by , 18 years ago
| Component: | general → version control |
|---|---|
| Description: | modified (diff) |
| Keywords: | Internal error with trac 0.10.4 and RHEL 5 removed |
| Priority: | high → normal |
| Severity: | major → 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.



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