On Jan 3, 2008, at 12:24 PM, Jebus wrote:
> >> Trac detected an internal error: >> >> (22, 'Invalidargument') >> >> Traceback (most recent call last): >> File "/var/www/trac.example.com/cgi-bin/trac.fcgi", line 21, in ? >> fcgi_frontend.run() >> File "/usr/lib64/python2.4/site-packages/trac/web/ >> fcgi_frontend.py", >> line22, in run >> _fcgi.WSGIServer(dispatch_request).run() >> File "/usr/lib64/python2.4/site-packages/trac/web/_fcgi.py", line >> 1077, in run >> clientSock, addr = sock.accept() >> error: (22, 'Invalidargument') >> >> I've tried putting the log level up to debug but the error must be >> happening before it gets that far. If anyone can help me debug it I'd >> really appreciate it! >> >> Some system info in case it helps: >> >> trac 0.10.4 >> >> Linux example.com 2.6.16.29-xen #1 SMP Sun Sep 30 04:00:13 UTC 2007 >> x86_64 Dual Core AMD Opteron(tm) Processor 270 AuthenticAMD GNU/Linux >> >> Server version: Apache/2.2.6 (Unix) >> Server built: Dec 4 2007 00:14:04 >> Server's Module Magic Number: 20051115:5 >> Server loaded: APR 1.2.11, APR-Util 1.2.10 >> Compiled using: APR 1.2.11, APR-Util 1.2.10 >> Architecture: 64-bit >> Server MPM: Worker >> threaded: yes (fixed thread count) >> forked: yes (variable process count) >> Server compiled with.... >> -D APACHE_MPM_DIR="server/mpm/worker" >> -D APR_HAS_SENDFILE >> -D APR_HAS_MMAP >> -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) >> -D APR_USE_SYSVSEM_SERIALIZE >> -D APR_USE_PTHREAD_SERIALIZE >> -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT >> -D APR_HAS_OTHER_CHILD >> -D AP_HAVE_RELIABLE_PIPED_LOGS >> -D DYNAMIC_MODULE_LIMIT=128 >> -D HTTPD_ROOT="/usr" >> -D SUEXEC_BIN="/usr/sbin/suexec" >> -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" >> -D DEFAULT_ERRORLOG="logs/error_log" >> -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types" >> -D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf" >> >> in my vhost I have: >> ScriptAlias /project /var/www/trac.example.com/cgi-bin/ >> trac.fcgi >> <Location /project > >> SetEnv TRAC_ENV "/var/lib/trac/project" >> </Location> >> >> It sort of works with tracd - no css or images, but everything else >> seems to work. >> >> Thanks >> >> Jon > > I'm having this exact same error on a newly built gentoo box... TRAC > 0.10.3.1 here (the latest stable version) on Apache 2.2.6. I'm sorry > that I don't understand enough about python to troubleshoot this. > Turned on debug level logging in apache, but nothing is mentioned. > > This is using mod_fcgid (not mod_fastcgi). This is the preferred > gentoo way (fastcgi isn't supported). I managed to set up Trac/ > mod_fcgid just fine a few months back, but I'm having trouble now > (rebuild due to a hard drive crash). I can confirm that mod_fcgid is > active. > > my vhost is only setting the ScriptAlias. I'm setting TRAC_ENV in > trac.fcgi. For what it is worth though, the error comes up with or > without it set. The environment for the FastCGI script isn't being setup correctly. You might want to double check your mod_fcgid config or just use mod_python or (better yet) mod_wsgi. Also the latest stable version of Trac is 0.10.4 and has been for a long time. --Noah --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
