I have installed Trac and it reports the following error when I'm trying to access its page:

Internal Server Error

TracError: IOError: (13, 'Permission denied')

Any suggestions what needs to be checked?

link|improve this question

71% accept rate
1  
Since you are getting a permission denied error the probably is almost certainly related to file-system permissions somewhere. I don't know Trac, but I would guess it needs to have a temp directory or data directory somewhere to be writeable. – Zoredache Jun 16 '10 at 19:17
I have chowned its trac's directory to apache. – grigy Jun 16 '10 at 19:22
enable logging (to file, debug level); that should give a traceback that will have useful clues. – retracile Jun 16 '10 at 22:06
feedback

1 Answer

up vote 4 down vote accepted

Enable debug in trac.ini. Restart apache (usually is ran behind apache) and check for errors in trac.log
Also verify error.log from apache.

I guess you have to change the owner to apache's user for all files and dirs of your trac instance.

HTH

link|improve this answer
The trac.log is empty. It does not write anything there. – grigy Jun 23 '10 at 19:11
Changing the owner to apache's user fixed it. Thanks – grigy Jun 29 '10 at 12:55
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.