On Wed, Nov 26, 2008 at 5:08 AM, Alvaro Lopez Ortega <[EMAIL PROTECTED]> wrote: > On 26-nov-08, at 08:00, Mario César wrote: > >> I was looking for setup a django site using unix socks, I write this >> script http://dpaste.com/93801/ named site.py I set up both cases: >> using unix socks and with host and port. >> >> My issue is that for some reason cherokee doesn't start up the script, >> even If I restart it, I know the script is well writed, cause If I >> manually start up the script doing "$python site.py", cherokee start >> to serve normally the django site. >> >> Why works for manage.py and not for my script ? both has the same >> permissions and both are executable. >> >> Someone can try this ? Am I missing something? > > A few things that come to my mind: > > - Is the server jailed? (chroot)
No > - Does "/usr/bin/env python" work? Yes, I can run the script with $python site.py as doing $./site.py, So, the #!/usr/bin/env python works > Cherokee executes: sh -c "<YOUR_COMMAND>". Could you please try that as > well? I did It, and works. > In case none of those question rang the bell; may you try with > CHEROKEE_TRACE, please? > > http://www.cherokee-project.com/doc/dev_debug.html Sure ! here is the output, I cut some lines and make some comments http://dpaste.com/93824/ > -- > Octality > http://www.octality.com/ > > -- Mario César Señoranis Ayala. _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
