Having a tough time setting up trac with apache on ubuntu. Get the feeling this is more of an apache or python issue with ubuntu. Finding hard to chase down because it seems to be failing silently.
So I have ubuntu server 10.10 fresh install. Onto which I have installed apache2, svn and trac (also git and trac git plugin).
Withing this setup I have used svnadmin to create a "testRepo" and trac-admin to create a "testProj" in the /var/svn/testRepo and /var/trac/testProj
I have configured apache for the svn by creating a svn file in the sites-available and linking it to the sites-enabled. This works great.
I followed a similar way with trac + mod_python as per places on the interweb. So creating a trac file in sites-available and linking it across.
However, the trac site does not work and I am just getting 404's.
My svn setup:
My trac setup:
Logging is a little odd. So in /var/log/apache2
PythonOption TracEnvParentDir /var/trac
PythonOption TracUriRoot /trac
AuthName "Trac Auth"
Seems its moaning about the version of python, but also seems to say its ok. I'm hesitant to guess something may be up here.
[Wed Feb 23 14:29:12 2011] [error] python_init: Python version mismatch, expected '2.6.5', found '2.6.6'.
[Wed Feb 23 14:29:12 2011] [error] python_init: Python executable found '/usr/bin/python'.
[Wed Feb 23 14:29:12 2011] [error] python_init: Python path being used '/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload'.
[Wed Feb 23 14:29:12 2011] [notice] mod_python: Creating 8 session mutexes based on 6 max processes and 25 max threads.
[Wed Feb 23 14:29:12 2011] [notice] mod_python: using mutex_directory /tmp
[Wed Feb 23 14:29:13 2011] [notice] Apache/2.2.16 (Ubuntu) DAV/2 SVN/1.6.12 mod_python/3.3.1 Python/2.6.6 configured -- resuming normal operations
Whats weird is when I try to access my site at mybox/trac/testProj, the trac.error.log + trac.access.log is completly empty.
My svn.access.log is as follows:
I thought this would have been in the trac.access.log, so I am very consufed its in the svn.access.log
10.2.67.77 - - [23/Feb/2011:14:32:03 +0000] "GET /trac/testProj HTTP/1.1" 404 236
So now I am stuck, for all intents I think it should be working, there are no major errors coming up (bar the 404's ) that I can trac down, so I'm thinking there is a more fundamental problem in the way I have set the trac / apache config up that I am just not getting, or some oddness with mod_python.
I'm running a fresh ubuntu 10.10 64bit install.
Thanks for any help,