problem with Apache permissions and TRAC

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


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-15-2004
catcher39@www.com
 
Posts: n/a
Default problem with Apache permissions and TRAC

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?

  #2 (permalink)  
Old 12-15-2004
HansH
 
Posts: n/a
Default Re: problem with Apache permissions and TRAC

<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


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:18 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0