Il giorno 03/mar/2011, alle ore 12.02, Łukasz Wróblewski ha scritto: > $ ./uwsgi --emperor /home/test > *** Starting uWSGI 0.9.7-dev (32bit) on [Thu Mar 3 11:58:29 2011] *** > compiled with version: 4.4.5 > *** WARNING: you are running uWSGI without its master process manager *** > your memory page size is 4096 bytes > *** starting uWSGI Emperor *** > c_ui->ui_next = 0x94ef088 > Python version: 3.1.2 (release31-maint, Sep 17 2010, 20:54:03) [GCC 4.4.5] > execvp(): No such file or directory [emperor.c line 167] > Python main interpreter initialized at 0x94e89d8 > The -s/--socket option is missing and stdin is not a socket. > c_ui->ui_next = 0x94e7068 > removed uwsgi instance cos.ini > execvp(): No such file or directory [emperor.c line 167] > c_ui->ui_next = 0x94e7198 > removed uwsgi instance cos.ini > execvp(): No such file or directory [emperor.c line 167] > ^C > > in /home/test is only cos.ini > [uwsgi] > socket=tmp.sock > chdir=/home/proj > master=1 > processes=3 > single-interpreter=1 > module=start > logdate=%%Y-%%d-%%m %%H:%%M:%%S > disable-logging=1 > log-5xx=1 > vacuum=1 > harakiri=3 > reload-mercy=3 > > > what is wrong here? >
Emperor does not find the uwsgi binary (it chdir to /home/test after startup). If you do not have uwsgi in system path you can specify it with --binary-path ./uwsgi --emperor /home/test --binary-path /opt/uwsgi/uwsgi I would like to add a way to specify a different uwsgi binary for every vassal app -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
