1) What version of trac do you have installed?

2) Have you done aptitude update, aptitude dist-upgrade?  Sometimes
everything doesn't get upgraded.

3) I have had problems with permissions sometimes changing after upgrade. 
Check the permissions on all relevant folders such as where trac is
installed and /etc/apache2/

4) Check your apache2.conf file (/etc/apache2/apache2.conf).  It may have
been overwritten.  If you are lucky, the old one might be there as a ~ file. 
Also, why is the client 127.0.0.1?  You may need to set your ServerName in
apache2.conf, or in /etc/hosts.



Dan King-3 wrote:
> 
> 
> Hi everyone,
> 
> I recently upgraded ubuntu from 8.10 to 9.04 and can't seem to access
> trac anymore. When I navigate to the site on my browser I get an
> internal server error. Here are the logs from apache
> 
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] mod_python
> (pid=23592, interpreter='main_interpreter', phase='PythonHandler',
> handler='trac.web.modpython_frontend'): Application error
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] ServerName:
> '127.0.1.1'
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] DocumentRoot: '/
> var/www/'
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] URI: '/projects/
> supermarker'
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] Location: '/'
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] Directory: None
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] Filename: '/var/
> www/projects'
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] PathInfo: '/
> supermarker'
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] Traceback (most
> recent call last):
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1]   File "/usr/lib/
> python2.6/dist-packages/mod_python/importer.py", line 1537, in
> HandlerDispatch\n    default=default_handler, arg=req,
> silent=hlist.silent)
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1]   File "/usr/lib/
> python2.6/dist-packages/mod_python/importer.py", line 1202, in
> _process_target\n    module = import_module(module_name, path=path)
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1]   File "/usr/lib/
> python2.6/dist-packages/mod_python/importer.py", line 304, in
> import_module\n    return __import__(module_name, {}, {}, ['*'])
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] ImportError: No
> module named trac.web.modpython_frontend
> d...@chimp:/var/log/apache2$
> 
> > 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problems-after-ubuntu-distribution-upgrade-tp23222201p23337926.html
Sent from the Trac Users mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to