Did you create an options.py file, as per the instructions 
here: http://web2py.com/book/default/chapter/11#Start-as-Windows-Service?

On Wednesday, October 19, 2011 10:12:19 PM UTC-4, toan75 wrote:
>
>
>
>
> HI ALL,
>
> I can't run web2py as windows server 2003 service. 
> Pls help me. Thanks very much.
>
> This error:
>
>
> C:\web2py>c:\Python27\python.exe web2py.py -W install
> No handlers could be found for logger "web2py"
> web2py Web Framework
> Created by Massimo Di Pierro, Copyright 2007-2011
> Version 1.99.2 (2011-09-26 06:55:33) stable
> Database drivers available: SQLite3, pymysql
> Starting hardcron...
> WARNING:web2py.cron:WEB2PY CRON: Disabled because no file locking
> Traceback (most recent call last):
>   File "web2py.py", line 20, in <module>
>     gluon.widget.start(cron=True)
>   File "C:\web2py\gluon\widget.py", line 886, in start
>     web2py_windows_service_handler(['', options.winservice],
> NameError: global name 'web2py_windows_service_handler' is not defined
>

Reply via email to