This is a discussion on problem with Apache permissions and TRAC within the Apache Web Server forums, part of the Web Server and Related Forums category; I am trying to get the Trac SCM, Wiki and Issue Tracker application running on our RH9 pc with Apache ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am trying to get the Trac SCM, Wiki and Issue Tracker application
running on our RH9 pc with Apache 2.x Apache belongs to the gopher group and following is output of ls: ]# ls -l misc/projects/db/trac.db -rw-rw-r-- 1 root gopher 129024 Dec 12 11:04 misc/projects/db/trac.db BUT ... When I go to the page http://s2com:89/cgi-bin/trac.cgi I get the following: Oops... Trac detected an internal error: The web server user requires read _and_ write permission to the database /misc/projects/db/trac.db and the directory this file is located in. Traceback (most recent call last): File "/usr/lib/python2.2/site-packages/trac/core.py", line 475, in cgi_start real_cgi_start() File "/usr/lib/python2.2/site-packages/trac/core.py", line 453, in real_cgi_start env = open_environment() File "/usr/lib/python2.2/site-packages/trac/core.py", line 169, in open_environment version = env.get_version() File "/usr/lib/python2.2/site-packages/trac/Environment.py", line 160, in get_version cnx = self.get_db_cnx() File "/usr/lib/python2.2/site-packages/trac/Environment.py", line 84, in get_db_cnx raise EnvironmentError, \ EnvironmentError: The web server user requires read _and_ write permission to the database /misc/projects/db/trac.db and the directory this file is located in. ---------------------- What do I have configure and figured wrong? |
|
|||
|
<catcher39@www.com> schreef in bericht
news:1103093833.711068.199890@z14g2000cwz.googlegr oups.com... > Apache belongs to the gopher group and following is output of ls: > ]# ls -l misc/projects/db/trac.db > -rw-rw-r-- 1 root gopher 129024 Dec 12 11:04 > misc/projects/db/trac.db I wonder why your ls show what looks like a full path as a file name ... > BUT ... > When I go to the page http://s2com:89/cgi-bin/trac.cgi I get the > following: > Oops... > Trac detected an internal error: > The web server user requires read _and_ write permission > to the database /misc/projects/db/trac.db and the directory this file > is located in. > What do I have configure and figured wrong? .... did you upload the file from a 'foreign' filesystem causing slashes _inside_ the name ??? HansH |