I am seeing problems that may be related to:

http://code.google.com/p/modwsgi/issues/detail?id=78

and/or

http://groups.google.com/group/modwsgi/browse_thread/thread/16d14d3672771ced?hl=en

Following are:
  1. Summary
     i. next steps
  2. log entries
  3. configuration information
     i. apache configuration
        a. global stuff
        b. per project
        b. VHost
        c. Compile Settings

1. Summary

I am not sure that this error is due to modwsgi or if it is an apache  
issue.

  - This happens for both trac and svn.
  - It starts happening when we pass 28 project confnigurations.
  - It doesn't matter if there are 28 configurations in different  
files or
all in one file.
  - I have removed all rewrite directives and the error still occurs.

   i. I next plan to look for some good places in mod_wsgi.c to print  
some debug info. Any ideas would be much appreciated. Then I may have  
to attach gdb.... Let me know if I can provide any further information.



2. The logs look like so:

Dec 12 16:56:51 winchester httpd[19157]: [info] [client xx.xx.xx.xx]  
mod_wsgi (pid=19157, process='', application=''): Loading WSGI script  
'\xb8\x86\xd6\x02'., referer: https://winchester.com/trac/project/login
Dec 12 16:56:51 winchester httpd[19157]: [error] [client xx.xx.xx.xx]  
(2)No such file or directory: mod_wsgi (pid=19157, process='',  
application=''): Call to fopen() failed for '\xb8\x86\xd6\x02'.,  
referer: https://winchester.com/trac/project/login


Dec 15 12:50:32 winchester trac.web.api: [info] [client xx.xx.xx.xx]  
mod_wsgi (pid=7217, process='', application=''): Loading WSGI script  
'\xd8G\x1c\x1d'., referer: https\
://winchester.com/trac/<project>
Dec 15 12:50:32 winchester trac.web.api: [error] [client xx.xx.xx.xx]  
(2)No such file or directory: mod_wsgi (pid=7217, process='',  
application=''): Call to fopen() faile\
d for '\xd8G\x1c\x1d'., referer: https://winchester.com/trac/<project>


Sometimes there are partial paths:

Dec 15 13:42:42 winchester httpd[8103]: [info] [client xx.xx.xx.xx]  
mod_wsgi (pid=8103, process='', application=''): Loading WSGI script '/ 
usr/loc'., referer: https://win\
chester.com/trac/<project>
Dec 15 13:42:42 winchester httpd[8103]: [error] [client xx.xx.xx.xx]  
(2)No such file or directory: mod_wsgi (pid=8103, process='',  
application=''): Call to fopen() failed\
  for '/usr/loc'., referer: https://winchester.com/trac/<project>

and sometimes none:

Dec 15 13:47:52 winchester httpd[8209]: [info] [client xx.xx.xx.xx]  
mod_wsgi (pid=8209, process='', application=''): Loading WSGI script ''.
Dec 15 13:47:52 winchester httpd[8209]: [error] [client xx.xx.xx.xx ]  
(2)No such file or directory: mod_wsgi (pid=8209, process='',  
application=''): Call to fopen() failed for\
  ''.


a. global config

    ################
    ##mod_wsgi
    WSGIScriptAlias      /trac /usr/local/stacr/etc/apache2/trac.wsgi
    WSGIApacheExtensions On

    <Directory /usr/local/trac>
         WSGIApplicationGroup %{GLOBAL}
         Order deny,allow
         Allow from all
    </Directory>
    ScriptAlias /viewvc "/usr/local/stacr/parts/viewvc//bin/cgi/ 
viewvc.cgi"

    ##################
    ## VHost
    #   General setup for the virtual host
    DocumentRoot "/usr/local/stacr/htdocs"
    ServerName server
    ServerAdmin u...@server
    ErrorLog syslog:local1
    CustomLog "|/usr/bin/logger -p local6.info" combined

    TraceEnable off
    #RewriteEngine On
    #RewriteRule  ^/$       /trac  [R]
    #RewriteRule  ^/trac/$  /trac  [R]


b. project config

### <project> project config for apache

<Location /trac/<project>>
     Order deny,allow
     Allow from all
</Location>

<Location /trac/<project>/login>
     Order deny,allow
     Allow from all
     AuthType        basic
     AuthBasicProvider wsgi
     AuthName        " (<project> trac)"
     WSGIAuthUserScript /usr/local/stacr/etc/apache2/authenticate.wsgi
     require valid-user
</Location>

<Location /svn/<project>>
     DAV        svn
     SVNPath  /usr/local/repos/<project>
     AuthType        basic
     AuthBasicProvider wsgi
     AuthName        " (<project> svn)"
     WSGIAuthUserScript /usr/local/stacr/etc/apache2/authenticate.wsgi
     WSGIAuthGroupScript /usr/local/stacr/etc/apache2/authorize.wsgi
     require group Manager <project>
## 2008-11-26 Reed. O'Brien
##Removed limitexcept per no more anonymous access
#    <LimitExcept GET PROPFIND OPTIONS REPORT>
#       require group Manager <project>
#    </LimitExcept>
   </Location>

    <Location /viewvc/<project>>
        AuthType        basic
        AuthBasicProvider wsgi
        AuthName        " (<project> ViewVC)"
        WSGIAuthUserScript /usr/local/stacr/etc/apache2/ 
authenticate.wsgi
        WSGIAuthGroupScript /usr/local/stacr/etc/apache2/authorize.wsgi
        require group Manager <project>
     </Location>


c. VHost dump

../../../parts/apache/bin/httpd -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
_default_:443          stacr.hq.nasa.gov (/usr/local/stacr/etc/apache2/ 
httpd.conf:271)
Syntax OK


d. Apache compile options

../../../parts/apache/bin/httpd -V
Server version: Apache/2.2.11 (Unix)
Server built:   Dec 15 2008 12:39:20
Server's Module Magic Number: 20051115:21
Server loaded:  APR 1.3.3, APR-Util 1.3.4
Compiled using: APR 1.3.3, APR-Util 1.3.4
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/local/stacr/parts/apache"
  -D SUEXEC_BIN="/usr/local/stacr/parts/apache/bin/suexec"
  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
  -D DEFAULT_ERRORLOG="logs/error_log"
  -D AP_TYPES_CONFIG_FILE="/usr/local/stacr/etc/apache2/mime.types"
  -D SERVER_CONFIG_FILE="/usr/local/stacr/etc/apache2/httpd.conf"




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" 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/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to