setup Script included in web2py, is not working properly. I get a nice post, which work perfect.(https://www.digitalocean.com/community/tutorials/how-to-deploy-web2py-python-applications-with-uwsgi-and-nginx-on-centos-7) By using Nginx, web2py working fine from last 4 weeks.
Regards Narendra On Thursday, October 12, 2017 at 7:06:15 PM UTC+5:30, Narendra Kumar wrote: > > Hi, > > I try to create setup web2py-nginx, using script > *setup-web2py-nginx-uwsgi-on-centos.sh* exists in web2py /script folder. > During setup Error occur and need to stop setup, Below are the few line of > error: > > > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall > -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o > Objects/funcobject.o Objects/funcobject.c > In file included from Include/Python.h:125:0, > from Objects/funcobject.c:4: > Include/modsupport.h:27:1: warning: ‘PyArg_ParseTuple’ is an unrecognized > format function type [-Wformat=] > PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) > Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3); > ^ > gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall > -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o > Objects/intobject.o Objects/intobject.c > In file included from Include/Python.h:125:0, > from Objects/intobject.c:4: > Include/modsupport.h:27:1: warning: ‘PyArg_ParseTuple’ is an unrecognized > format function type [-Wformat=] > PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) > Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3); > ^ > gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall > -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o > Objects/iterobject.o Objects/iterobject.c > In file included from Include/Python.h:125:0, > from Objects/iterobject.c:3: > Include/modsupport.h:27:1: warning: ‘PyArg_ParseTuple’ is an unrecognized > format function type [-Wformat=] > PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) > Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3); > ^ > gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall > -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o > Objects/listobject.o Objects/listobject.c > In file included from Include/Python.h:125:0, > from Objects/listobject.c:3: > Include/modsupport.h:27:1: warning: ‘PyArg_ParseTuple’ is an unrecognized > format function type [-Wformat=] > PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) > Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3); > > > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > I am using OS: > *Oracle Linux Server release 7.3*Python: > > *Python 2.7.5 (default, Sep 5 2016, 02:30:38) [GCC 4.8.5 > 20150623 (Red Hat 4.8.5-9)]*And this server is empty, having no other > setup/plug-in/application, which may create problem. > > Please help. > > Regards > Narendra > > On Wednesday, October 11, 2017 at 10:28:49 PM UTC+5:30, Massimo Di Pierro > wrote: >> >> we stopped recommending and supporting apache long ago. The world has >> moved to nginx and so have we. >> these problems are apache problems not web2py problems and that is why we >> stopped supporting it. >> >> On Friday, 15 September 2017 00:40:46 UTC-5, Narendra Kumar wrote: >>> >>> Hi, >>> >>> As suggested in previous posts, I deploy my web2py application on apache >>> sever. I use scripts/setup-web2py-debian-sid.sh file to make setup on local >>> server, which exists in web2py folder and follow steps defined on URL >>> http://web2py.com/books/default/chapter/29/13/deployment-recipes#One-step-production-deployment >>> . >>> But Still I get the server down issue. >>> >>> >>> Regards >>> Narendra >>> >>> >>> On Monday, September 4, 2017 at 7:17:25 PM UTC+5:30, Narendra Kumar >>> wrote: >>>> >>>> Hi, >>>> >>>> I stuck on the problem, as web2py server freezes/hang frequently. >>>> Almost daily. >>>> I tried to track the reason, but I did not get any possible reason. >>>> Because I think this happen due to large amount of data processing and >>>> create file with large data or try to download big files. But later I >>>> found >>>> that It freezes/hangs any time. >>>> >>>> Please help me. >>>> >>>> Regards >>>> Narendra Kumar >>>> >>> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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/d/optout.