Ok, we have progress (!)

Now the installation completes fine, and the service uwsgi exists, but 
crashes when I run it...

[root@harmonica2 ~]# service iptables status
> iptables: Firewall is not running.
> [root@harmonica2 ~]# service nginx status
> nginx (pid  1295) is running...
> [root@harmonica2 ~]# service uwsgi start
> Starting uwsgi: [uWSGI] getting INI configuration from 
> /opt/uwsgi-python/uwsgi_for_nginx.conf
>                                                            [  OK  ]
> [root@harmonica2 ~]# service uwsgi status
> uwsgi dead but pid file exists



My uwsgi.log says:

*** Starting uWSGI 1.2.4 (64bit) on [Tue Jan 29 12:00:10 2013] ***
> compiled with version: 4.4.6 20120305 (Red Hat 4.4.6-4) on 29 January 2013 
> 11:57:14
> detected number of CPU cores: 1
> current working directory: /
> writing pidfile to /var/run/uwsgi.pid
> detected binary path: /opt/uwsgi-python/uwsgi
> setuid() to 500
> your memory page size is 4096 bytes
>  *** WARNING: you have enabled harakiri without post buffering. Slow 
> upload could be rejected on post-unbuffered webservers *** 
> detected max file descriptor number: 1024
> lock engine: pthread robust mutexes
> shared area mapped at 0x7f43e2462000, you can access it with 
> uwsgi.sharedarea* functions.
> uwsgi socket 0 bound to TCP address 127.0.0.1:9001 fd 3
> Python version: 2.6.6 (r266:84292, Jan 29 2013, 11:55:29)  [GCC 4.4.6 
> 20120305 (Red Hat 4.4.6-4)]
> Python main interpreter initialized at 0x22a7510
> python threads support enabled
> your server socket listen backlog is limited to 100 connections
> *** Operational MODE: preforking ***
> added /opt/web-apps/web2py to pythonpath.
> *ImportError: No module named wsgihandler
> *unable to load app 0 (mountpoint='') (callable not found or import error)
> Loading paste environment: config:/opt/uwsgi-python/uwsgi_for_nginx.conf
> *ImportError: No module named paste.deploy*


What now?

On Tuesday, January 29, 2013 4:48:12 AM UTC+2, Massimo Di Pierro wrote:
>
> LOL
>
> On Monday, 28 January 2013 15:45:17 UTC-6, Alan Etkin wrote:
>>
>> > Alns - I don't understand - your link doesn't work (at least for me)...
>>
>> No. It's just that Simon Carr said Niphlod is like Batman, and I cannot 
>> help addressing him that way whenever I can.
>>
>> For more details, see this post
>> https://groups.google.com/d/msg/web2py/51GY81Wkp0w/QIUyFfvVsPAJ
>>
>>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to