Edgewall Software

Opened 19 years ago

Closed 19 years ago

Last modified 10 years ago

#1000 closed defect (fixed)

even after recovery I get the following error — at Version 3

Reported by: badri@… Owned by: Jonas Borgström
Priority: highest Milestone:
Component: version control/browser Version: 0.8
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Ryan J Ollos)

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 525, in cgi_start
    real_cgi_start()
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 520, in real_cgi_start
    dispatch_request(path_info, args, req, env)
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 433, in dispatch_request
    module = module_factory(args, env, database, req)
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 175, in module_factory
    pool, rep, fs_ptr = open_svn_repos(repos_dir)
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 452, in open_svn_repos
    rep = repos.svn_repos_open(repos_dir, pool)
SubversionException: ('Berkeley DB error while opening environment for filesystem /home/bp/subversion/br/db:\nPermission denied', 160029)

Change History (3)

comment:1 by Jonas Borgström, 19 years ago

If you're using a berkeley-db repository you have to make sure the web-server user has write access to the whole repository directory tree.

 $ chown -R apache /home/bp/subversion/br

Did this help?

comment:2 by badr@…, 19 years ago

Resolution: fixed
Status: newclosed

Thanks for the fast response.

In the mean time I found the problem.

Since the files are in my home directory and the umask is 002, after some changes to repository the permissions of files under repository got changed and Apache had problems.

Cheers,

Badri

comment:3 by Ryan J Ollos, 10 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.