<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Thanks Jesse.&nbsp; <br>
<br>
However, now I get this error in the Apache log:<br>
<blockquote type="cite">
  <pre wrap="">Schema has no version in the database; perhaps you need to run this:
         bin/jifty schema --setup
[Fri May 12 13:56:49 2006] [warn] FastCGI: server
"/opt/Jifty-0.60221/Survey3/bin/jifty" (pid 3892) terminated by calling
exit with status '255'
[Fri May 12 13:56:52 2006] [warn] FastCGI: server
"/opt/Jifty-0.60221/Survey3/bin/jifty" restarted (pid 3894)</pre>
</blockquote>
When I select * from _db_version in the db survey3, I get:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1| 8 |
0 | 3 <br>
<br>
Which is what I expect with pg 8.0.3<br>
<br>
Mat<br>
<br>
Jesse Vincent wrote:<br>
<blockquote type="cite"
 cite="mid20060511155452.GO24532@bestpractical.com">
  <blockquote type="cite">
    <pre wrap="">It appeared that Mason was working properly enough to send the perl into 
mod-perl, but the Jifty packages did not seem accessible.

If you can tell me what settings will get Mason and Jifty working 
properly, that would help.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Ah! Ok. That's the problem. Jifty uses mason but isn't "just" mason.

You need to be using FastCGI.

"jifty help fastcgi"   shows you this:


DESCRIPTION

    When you're ready to move up to something that can handle the
    increasing load your new world-changing application is generating,
    you'll need something a bit heavier-duty than the pure-perl Jifty
    standalone server. FastCGI is what you're looking for.

    Because Apache's FastCGI dispatcher can't pass commandline flags to
    your script, you'll need to call jifty a bit differently:

     AddHandler fastcgi-script fcgi
     DocumentRoot /path/to/your/jifty/app/web/templates
     FastCgiServer /path/to/your/jifty/app/bin/jifty -initial-env JIFTY_COMMAND=fastcgi
     ScriptAlias /  /path/to/your/jifty/app/bin/jifty/

    For lighttpd (<a class="moz-txt-link-freetext" href="http://www.lighttpd.net/">http://www.lighttpd.net/</a>), use this setting:

     server.modules  = ( "mod_fastcgi" )
     server.document-root = "/path/to/your/jifty/app/web/templates"
     fastcgi.server = (
            "" =&gt; (
                "your_jifty_app" =&gt; (
                    "socket"       =&gt; "/tmp/your_jifty_app.socket",
                    "check-local"  =&gt; "disable",
                    "bin-path"     =&gt; "/path/to/your/jifty/app/bin/jifty",
                    "bin-environment" =&gt; ( "JIFTY_COMMAND" =&gt; "fastcgi" ),
                    "min-procs"    =&gt; 1,
                    "max-procs"    =&gt; 5,
                    "max-load-per-proc" =&gt; 1,
                    "idle-timeout" =&gt; 20,
                )
            )
        )

 run

    Creates a new FastCGI process.

_______________________________________________
jifty-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jifty-devel@lists.jifty.org">jifty-devel@lists.jifty.org</a>
<a class="moz-txt-link-freetext" href="http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel">http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel</a>

  </pre>
</blockquote>
</body>
</html>