Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#9920 closed defect (invalid)

PythonHandler trac.web.modpython_frontend: OSError: [Errno 2] No such file or directory: '/var/trac'

Reported by: hm2k Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Apache HTTPD is giving the following error in the error_log file:

PythonHandler trac.web.modpython_frontend: OSError: [Errno 2] No such file or directory: '/var/trac'

I have discovered that this is from the "/etc/httpd/conf.d/trac.conf" file which says:

  PythonOption TracEnvParentDir /var/trac

The directory does not exist…

[root@vps112 /]# ls /var/trac
ls: /var/trac: No such file or directory

My issue is either that this is wrong by default or the documentation lacks detail of this during installation.

The installation guide followed is found here: http://trac.edgewall.org/wiki/TracOnRhel5

From what I've seen, there is limited detail on this issue.

What directory should TracEnvParentDir be?

Attachments (0)

Change History (2)

comment:1 by hm2k, 14 years ago

I set it to "/home/trac/projects", but now I get the error:

Permission denied: '/home/trac/projects'

My initial reaction to this was to simply chown the "projects" directory to the apache group, but this resulted in the same error.

Any ideas?

comment:2 by Remy Blank, 14 years ago

Resolution: invalid
Status: newclosed

Please ask questions about InstallationIssues on the MailingList or IrcChannel. Thank you.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.