I have repeatedly checked my permissions of my trac environment and I have run the following command

 

sudo chcon -R -t httpd_sys_content_t path_to_trac

 

and I keep on getting an internal server error.

 

These are the errors I get in the apache error log

 

[Sun Jun 25 21:28:52 2006] [error] [client 192.168.0.119] PythonHandler trac.web.modpython_frontend: Traceback (most recent call last):

[Sun Jun 25 21:28:52 2006] [error] [client 192.168.0.119] PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch\n    result = object(req)

[Sun Jun 25 21:28:52 2006] [error] [client 192.168.0.119] PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 199, in handler\n    env = get_environment(mpr, project_opts)

[Sun Jun 25 21:28:52 2006] [error] [client 192.168.0.119] PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 335, in get_environment\n    return _open_environment(env_path, threaded)

[Sun Jun 25 21:28:52 2006] [error] [client 192.168.0.119] PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 51, in _open_environment\n    env_cache[env_path] = open_environment(env_path)

[Sun Jun 25 21:28:52 2006] [error] [client 192.168.0.119] PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/trac/env.py", line 374, in open_environment\n    env = Environment(env_path)

[Sun Jun 25 21:28:52 2006] [error] [client 192.168.0.119] PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/trac/env.py", line 81, in __init__\n    self.verify()

[Sun Jun 25 21:28:52 2006] [error] [client 192.168.0.119] PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/trac/env.py", line 129, in verify\n    fd = open(os.path.join(self.path, 'VERSION'), 'r')

[Sun Jun 25 21:28:52 2006] [error] [client 192.168.0.119] PythonHandler trac.web.modpython_frontend: IOError: [Errno 13] Permission denied: '/srv/trac/micore/VERSION'

 

I have had a look at previous posts on this problem without any success

 

Thanks in advance

 

Danny

 

 

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to