Re: [web2py] Re: web2py as Windows service

2012-11-14 Thread Tim Richardson
> use something external, web2py binary and services doesn't really get > along. I use personally the http://nssm.cc/ package and I'm really happy > with that. > I "voted" for removing services support within web2py, the code (as all > code around windows services with python programs) is a c

Re: [web2py] Re: web2py as Windows service

2012-11-14 Thread Derek
The log file should tell you what the issue is. You might also want to look in the windows event logs, it may have more details as to what failed. On Wednesday, November 14, 2012 12:30:38 AM UTC-7, David Sorrentino wrote: > > Hello Derek and Tim, > > First of all thanks for your reply. :) > > @De

Re: [web2py] Re: web2py as Windows service

2012-11-14 Thread David Sorrentino
NSSM is just what I was looking for. Simple and effective. I also agree for the use of third-party software in cases like this. Thank you one more time for your help and availability. Saluti, David On 14 November 2012 14:09, Niphlod wrote: > > > Il giorno mercoledì 14 novembre 2012 11:52:36 UT

Re: [web2py] Re: web2py as Windows service

2012-11-14 Thread Niphlod
Il giorno mercoledì 14 novembre 2012 11:52:36 UTC+1, David Sorrentino ha scritto: > > Ok, I managed to make it work. > I set the *ip* variable to '127.0.0.1'. > > So, the ActivePython environment made the trick. > Thank you very much for your help Tim. ;) > > Did anyone else try to run web2py as

Re: [web2py] Re: web2py as Windows service

2012-11-14 Thread David Sorrentino
Thanks to Niphlod, too. I hadn't seen your post! ;) Cheers, David On 14 November 2012 11:52, David Sorrentino wrote: > Ok, I managed to make it work. > I set the *ip* variable to '127.0.0.1'. > > So, the ActivePython environment made the trick. > Thank you very much for your help Tim. ;) > > D

Re: [web2py] Re: web2py as Windows service

2012-11-14 Thread David Sorrentino
Ok, I managed to make it work. I set the *ip* variable to '127.0.0.1'. So, the ActivePython environment made the trick. Thank you very much for your help Tim. ;) Did anyone else try to run web2py as a Windows service using the .exe install? I'd rather to use the .exe install because in that way I

Re: [web2py] Re: web2py as Windows service

2012-11-14 Thread Niphlod
nope interfaces is a list of tuples of ip,port,key,cert where the webserver replies . like the -i option on cmdline it helps to let the webserver reply on different ports. I think "interfaces" trumps "ip" and "port" parameters Il giorno mercoledì 14 novembre 2012 11:07:50 UTC+1, David

Re: [web2py] Re: web2py as Windows service

2012-11-14 Thread David Sorrentino
I just tried with ActivePython 2.7 and it works. I mean, at least the task manager says that the service is running. :) However I do not manage to make web2py work. I am pretty sure that the problem is in my* option.py* file. Now it looks like that: import socket > import os > > ip = socket.gethos

Re: [web2py] Re: web2py as Windows service

2012-11-14 Thread Tim Richardson
Hi David, for me the service installation has worked every time I've used it ... but that's with the ActivePython 2.7 distribution on the windows boxes, and therefore with a source installation of web2py. My practical advice is go for this set up and see if that fixes the problem. You get a con

Re: [web2py] Re: web2py as Windows service

2012-11-13 Thread David Sorrentino
Hello Derek and Tim, First of all thanks for your reply. :) @Derek: I do not see any log in the logs folder, but logging is not enabled. This morning I will enable it and tell you the results. @Tim: I am testing my app on Windows 7. I did not install any Python distribution on Windows, since I h

[web2py] Re: web2py as Windows service

2012-11-13 Thread Tim Richardson
what kind of Windows is it? How did you install Python, and which distribution is it? Is your Web2py a source code install, or the .exe install? --

[web2py] Re: web2py as Windows service

2012-11-13 Thread Derek
Check your log files. Are you getting any errors? On Monday, November 12, 2012 3:32:07 AM UTC-7, David Sorrentino wrote: > > Hello folks! :) > > I am trying to run web2py as Windows service, but no positive results. > Following the recipe on the online book, I edited the file "options.py". > The f

[web2py] Re: web2py as windows service

2011-02-08 Thread Panupat Chongstitwattana
Checking out web2py service from windows service manager. Turns out web2py service stops itself right after it starts. Any assistance please? On Wed, Feb 9, 2011 at 11:13 AM, Panupat Chongstitwattana wrote: > A couple questions. > > I can't seem to get web2py to load the options. Either > pytho