looking at /var/log/cherokee/error_log that is what I get:
[uWSGI] parsing config file /var/web2py/config.xml *** Starting uWSGI 0.9.6 (32bit) on [Thu Sep 9 23:37:45 2010] *** compiled with version: 4.4.4 20100630 (Red Hat 4.4.4-10) Python version: 2.6.4 (r264:75706, Jun 4 2010, 18:20:16) [GCC 4.4.4 20100503 (Red Hat 4.4.4-2)] uWSGI running as root, you can use --uid/--gid/--chroot options *** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** your memory page size is 4096 bytes *** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers *** allocated 404 bytes (0 KB) for 1 request's buffer. Setting PythonHome to /var... 'import site' failed; use -v for traceback binding on TCP port: 36986 your server socket listen backlog is limited to 64 connections initializing hooks...done. 'import site' failed; use -v for traceback added /var/web2py/ to pythonpath. interpreter for app 0 initialized. Traceback (most recent call last): File "/var/web2py/wsgihandler.py", line 20, in <module> import os ImportError: No module named os *** uWSGI is running in multiple interpreter mode *** spawned uWSGI master process (pid: 3360) spawned uWSGI worker 1 (pid: 3361) 'import site' failed; use -v for traceback added /var/web2py/ to pythonpath. interpreter for app 0 initialized. ImportError: No module named �O�^H^P^G�^H^P [pid: 3361|app: -1|req: -1/1] 127.0.0.1 () {54 vars in 879 bytes} [Thu Sep 9 23:37:46 2010] GET / => generated 46 bytes in 2 msecs (HTTP/1.1 500) 2 headers in 63 bytes (0 async switches on async core 0) Perhaps this could help. Thanks On 9 sep, 19:44, "Roberto De Ioris" <robe...@unbit.it> wrote: > > Hello, > > > This works fine: > > > uwsgi --pythonpath /var/web2py --module wsgihandler -s /tmp/ > > we2py.sock --http :9090 > > > If I point to localhost:9090 works ok and I see the welcome > > application. > > > After that: > > > If I make a config.xml file as is described on > >http://projects.unbit.it/uwsgi/wiki/Example > > and I try with the virtualserver wizard to creat a uWSGI server I get > > the following error: > > > /var/web2py/config.xml seems not to be a valid uWSGI xml configuration > > file. > > > To get these step ok my config.xml file has to be the same as this: > > > <uwsgi> > > > <pythonpath>/var/web2py/</pythonpath> > > > <app mountpoint="/"> > > > <script>wsgihandler</script> > > > </app> > > > </uwsgi> > > I fear that Cherokee has an outdated wizard, you should be able > to load every valid uWSGI xml file in it. > > I will try to send a patch to the Cherokee team ASAP. > > In the mean time do not use its wizard but simply add a remote source > specifying the address of the uWSGI server > > -- > Roberto De Iorishttp://unbit.it