2011/5/10 Carlos Ríos Vera <[email protected]>:
> Dear webpythoners,
>
> I'm getting a strange error using spawn-fcgi with an app developed
> using webpy...
>
> Using the testing mode to run a webpy app I got no errors:
>
> % python index.py
> http://0.0.0.0:8080/
>
> But, when I'm trying to use the app in production mode -using
> spawn-fcgi- I get this:
>
> % spawn-fcgi -a 127.0.0.1 -p 9002 -- /home/lbfm/www/lbfm_web/index.py fcgi
> spawn-fcgi: child exited with: 127
>
> Has anybody experienced this before? I haven looking for information
> on the web, but it was unsuccesful.

Does the script has execute permissions? Does it have "#! /usr/bin/env
python" in the first line of the script?

Try running the script as:

$ /home/lbfm/www/lbfm_web/index.py

and see if that works.

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

Reply via email to