Sean De La Torre wrote:
I've just thought of one more thing that you can try.  Run the fcgi
script directly ("python tg_fastcgi.fcgi") and inspect the output (it
should be the output returned by the root of your app).  If something
is wrong, it will return an error.  If the output looks ok, then it is
probably a fastcgi reload issue.

Sean

It looks OK to me.  Here's something from stdout.log:

      1 2006/01/04 11:39:39 CONFIG INFO Server parameters:
      2 2006/01/04 11:39:39 CONFIG INFO   server.environment: production
      3 2006/01/04 11:39:39 CONFIG INFO   server.logToScreen: True
      4 2006/01/04 11:39:39 CONFIG INFO   server.logFile:
      5 2006/01/04 11:39:39 CONFIG INFO   server.protocolVersion: HTTP/1.0
      6 2006/01/04 11:39:39 CONFIG INFO   server.socketHost:
      7 2006/01/04 11:39:39 CONFIG INFO   server.socketPort: 8080
      8 2006/01/04 11:39:39 CONFIG INFO   server.socketFile:
      9 2006/01/04 11:39:39 CONFIG INFO   server.reverseDNS: False
     10 2006/01/04 11:39:39 CONFIG INFO   server.socketQueueSize: 5
     11 2006/01/04 11:39:39 CONFIG INFO   server.threadPool: 0
     12 2006/01/04 11:39:39 HTTP INFO  - GET / HTTP/1.0
     13 KKKKKDDDDD--->>>>pull()
     14 KKKKKDDDDD--->>>>initialize()
     15  - - [2006/01/04 11:39:39] "GET / HTTP/1.0" 200 5586
     16 Status: 200 OK^M
     17 Date: Wed, 04 Jan 2006 16:39:39 GMT^M
     18 Server: CherryPy/2.1.0^M
     19 Content-Length: 5586^M
     20 Content-Type: text/html^M
21 Set-Cookie: sessionID=61abda9fb1873ac2bf999f55f9c49c40458f9094; Max-Age=3600; Path=/; Version=1;^M
     22 ^M
23 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd";>
     24 <HTML>
25 <HEAD><META CONTENT="text/html; charset=utf-8" HTTP-EQUIV="Content-Type">
     26
     27
28 <LINK HREF="/static/css/ppp.css" TYPE="text/css" REL="stylesheet">
     29
     30

<snip>

    174                 </TD>
    175             </TR>
    176         </TABLE>
    177         <!--footer-->
    178
    179         <!--footer-->
    180
    181     </DIV>
    182
    183 </BODY>
    184 </HTML>

The KKKKKDDDDD lines are just debug statements for me to help figure out what's going wrong with Kid. And here is the stderr.log:

      1 WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI!
      2 WSGIServer: missing FastCGI param SERVER_NAME required by WSGI!
      3 WSGIServer: missing FastCGI param SERVER_PORT required by WSGI!
      4 WSGIServer: missing FastCGI param SERVER_PROTOCOL required by WSGI!

This isn't all that troubling.  It ran fine on Dreamhost with such errors.

Reply via email to