1

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?

3
  • 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, 2010 at 19:17
  • I have chowned its trac's directory to apache.
    – grigy
    Jun 16, 2010 at 19:22
  • enable logging (to file, debug level); that should give a traceback that will have useful clues.
    – retracile
    Jun 16, 2010 at 22:06

1 Answer 1

5

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.

2
  • The trac.log is empty. It does not write anything there.
    – grigy
    Jun 23, 2010 at 19:11
  • Changing the owner to apache's user fixed it. Thanks
    – grigy
    Jun 29, 2010 at 12:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .