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?

  • 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

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.

| 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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