Il giorno 30/nov/2011, alle ore 15:11, Łukasz Wróblewski ha scritto:

> Why I can't run it?
> 
> And notice the hour.
> 

Have you created a complete rootfs ? (with /dev/zero and /dev/null at least)

You have to set the timezone even in the chroot

> 
> 
> ----- Oryginalna wiadomość -----
>> Od: "Łukasz Wróblewski" <[email protected]>
>> Do: "uWSGI developers and users list" <[email protected]>
>> Wysłane: środa, 30 listopad 2011 15:08:36
>> Temat: [uWSGI] chroot
>> 
>> # uwsgi-py32 --ini config_test.ini
>> [uWSGI] getting INI configuration from config_test.ini
>> 2011-30-11 15:06:13 - *** Starting uWSGI 1.0-dev-1737 (32bit) on [Wed
>> Nov 30 15:06:13 2011] ***
>> 2011-30-11 15:06:13 - compiled with version: 4.5.2 on 30 November
>> 2011 15:04:15
>> 2011-30-11 15:06:13 - current working directory: /home/projects/test
>> 2011-30-11 15:06:13 - detected binary path: /usr/sbin/uwsgi-py32
>> 2011-30-11 15:06:13 - uWSGI running as root, you can use
>> --uid/--gid/--chroot options
>> 2011-30-11 15:06:13 - chroot() to /home/projects/test
>> 2011-30-11 14:06:13 - *** WARNING: you are running uWSGI as root !!!
>> (use the --uid flag) ***
>> 2011-30-11 14:06:13 - your memory page size is 4096 bytes
>> 2011-30-11 14:06:13 -  *** WARNING: you have enabled harakiri without
>> post buffering. Slow upload could be rejected on post-unbuffered
>> webservers ***
>> 2011-30-11 14:06:13 - uwsgi socket 0 bound to UNIX address
>> uwsgi-test.sock fd 3
>> 2011-30-11 14:06:13 - open("/dev/null"): No such file or directory
>> [uwsgi.c line 2092]
>> 2011-30-11 14:06:13 - chdir(): No such file or directory [uwsgi.c
>> line 872]
>> 2011-30-11 14:06:13 - VACUUM: unix socket uwsgi-test.sock removed.
>> 
>> 
>> 
>> [uwsgi]
>> chroot = /home/projects/test
>> socket = uwsgi-test.sock
>> master = 1
>> single-interpreter = 1
>> module = start
>> logdate = %%Y-%%d-%%m %%H:%%M:%%S
>> disable-logging = 1
>> log-5xx = 1
>> vacuum = 1
>> pep3333-input = 1
>> processes = 1
>> harakiri-verbose = 1
>> harakiri = 3
>> reload-mercy = 3
>> 
> 
> -- 
> Łukasz Wróblewski
> http://www.nri.pl/ - Nowoczesne Rozwiązania Internetowe
> http://www.hostowisko.pl/ - Profesjonalny i tani hosting
> http://www.katalog-polskich-firm.pl/ - Najlepszy darmowy katalog firm
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

--
Roberto De Ioris
http://unbit.it
JID: [email protected]

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to