Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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
up vote 5 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.

share|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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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