Trac "500 - Internal Server Error" for Help/Guide
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
trac (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
We are running here a trac 0.10.4-2 on Gusty 7.10 with lighttpd 1.4.18-1ubuntu1.1. An "apt-get update" and an "apt-get dist-upgrade" were used to insure an up to date system.
The URL https:/
Instead we get an "500 - Internal Server Error", whether or not we have our plugins enabled. We took the trac instance and the lighttpd.conf from an FreeBSD 6.3 with lighttpd 1.4.18_1. where it worked. Paths were adjusted of course. I create a new instance to be sure that it is not just the instance, but it is the same with a new instance.
The trac log on debug says:
2008-03-07 00:04:57,362 Trac[macros] ERROR: Failed to load wiki macro TracGuideToc.py ()
Traceback (most recent call last):
File "/var/lib/
yield name
GeneratorExit
There is this file:
ls -lah /usr/share/
-rw-r--r-- 1 root root 1.8K 2007-04-20 15:41 /usr/share/
-rw-r--r-- 1 root root 2.1K 2008-03-03 15:04 /usr/share/
Even moving it into the trac/wiki-macros/ dir, did not help.
The lighttpd log in debug mode:
2008-03-07 00:18:15: (request.c.294) fd: 8 request-len: 619
GET /trac/wiki/
User-Agent: Browser
Host: example.com
Accept: text/html, application/
Accept-Language: de,en;q=0.9
Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
Cookie2: $Version=1
Cache-Control: no-cache
Connection: Keep-Alive, TE
TE: deflate, gzip, chunked, identity, trailers
2008-03-07 00:18:15: (response.c.205) -- splitting Request-URI
2008-03-07 00:18:15: (response.c.206) Request-URI : /trac/wiki/
2008-03-07 00:18:15: (response.c.207) URI-scheme : https
2008-03-07 00:18:15: (response.c.208) URI-authority: example.com
2008-03-07 00:18:15: (response.c.209) URI-path : /trac/wiki/
2008-03-07 00:18:15: (response.c.210) URI-query :
2008-03-07 00:18:15: (response.c.260) -- sanatising URI
2008-03-07 00:18:15: (response.c.261) URI-path : /trac/wiki/
2008-03-07 00:18:15: (mod_access.c.135) -- mod_access_
2008-03-07 00:18:15: (mod_fastcgi.
2008-03-07 00:18:15: (response.c.375) -- before doc_root
2008-03-07 00:18:15: (response.c.376) Doc-Root : /var/www/
2008-03-07 00:18:15: (response.c.377) Rel-Path : /trac
2008-03-07 00:18:15: (response.c.378) Path :
2008-03-07 00:18:15: (response.c.426) -- after doc_root
2008-03-07 00:18:15: (response.c.427) Doc-Root : /var/www/
2008-03-07 00:18:15: (response.c.428) Rel-Path : /trac
2008-03-07 00:18:15: (response.c.429) Path : /var/www/trac
2008-03-07 00:18:15: (response.c.446) -- logical -> physical
2008-03-07 00:18:15: (response.c.447) Doc-Root : /var/www/
2008-03-07 00:18:15: (response.c.448) Rel-Path : /trac
2008-03-07 00:18:15: (response.c.449) Path : /var/www/trac
2008-03-07 00:18:16: (mod_fastcgi.
2008-03-07 00:18:16: (mod_fastcgi.
2008-03-07 00:18:16: (response.c.114) Response-Header:
HTTP/1.1 500 Internal Server Error
Content-Type: text/html
Content-Length: 369
Date: Thu, 06 Mar 2008 23:18:16 GMT
Server: lighttpd/1.4.18
2008-03-07 00:18:16: (request.c.294) fd: 8 request-len: 515
GET /favicon.ico HTTP/1.1
User-Agent: Browser
Host: example.com
Accept: text/html, application/
Accept-Language: de,en;q=0.9
Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
Authorization: Basic Y2hyaXN0b3A6RFd
Connection: Keep-Alive, TE
TE: deflate, gzip, chunked, identity, trailers
2008-03-07 00:18:16: (response.c.205) -- splitting Request-URI
2008-03-07 00:18:16: (response.c.206) Request-URI : /favicon.ico
2008-03-07 00:18:16: (response.c.207) URI-scheme : https
2008-03-07 00:18:16: (response.c.208) URI-authority: example.com
2008-03-07 00:18:16: (response.c.209) URI-path : /favicon.ico
2008-03-07 00:18:16: (response.c.210) URI-query :
2008-03-07 00:18:16: (response.c.260) -- sanatising URI
2008-03-07 00:18:16: (response.c.261) URI-path : /favicon.ico
2008-03-07 00:18:16: (mod_access.c.135) -- mod_access_
2008-03-07 00:18:16: (response.c.375) -- before doc_root
2008-03-07 00:18:16: (response.c.376) Doc-Root : /var/www/
2008-03-07 00:18:16: (response.c.377) Rel-Path : /favicon.ico
2008-03-07 00:18:16: (response.c.378) Path :
2008-03-07 00:18:16: (response.c.426) -- after doc_root
2008-03-07 00:18:16: (response.c.427) Doc-Root : /var/www/
2008-03-07 00:18:16: (response.c.428) Rel-Path : /favicon.ico
2008-03-07 00:18:16: (response.c.429) Path : /var/www/
2008-03-07 00:18:16: (response.c.446) -- logical -> physical
2008-03-07 00:18:16: (response.c.447) Doc-Root : /var/www/
2008-03-07 00:18:16: (response.c.448) Rel-Path : /favicon.ico
2008-03-07 00:18:16: (response.c.449) Path : /var/www/
2008-03-07 00:18:16: (response.c.466) -- handling physical path
2008-03-07 00:18:16: (response.c.467) Path : /var/www/
2008-03-07 00:18:16: (response.c.474) -- file found
2008-03-07 00:18:16: (response.c.475) Path : /var/www/
2008-03-07 00:18:16: (response.c.613) -- handling subrequest
2008-03-07 00:18:16: (response.c.614) Path : /var/www/
2008-03-07 00:18:16: (mod_access.c.135) -- mod_access_
2008-03-07 00:18:16: (mod_staticfile
2008-03-07 00:18:16: (response.c.625) -- subrequest finished
2008-03-07 00:18:16: (response.c.114) Response-Header:
HTTP/1.1 200 OK
Content-Type: application/
Accept-Ranges: bytes
Content-Length: 1718
Date: Thu, 06 Mar 2008 23:18:16 GMT
Server: lighttpd/1.4.18
Hi Christoph,
It would be a help if you could send in the configuration files for lighthttpd, and trac, so that we can look through them and find out what is going on.
Thanks,
James.