Please use this recipe. The windows service integration has slowly stopped 
working and we're going to remove it from future releases

http://www.web2pyslices.com/slice/show/1614/nssm-webserver-and-scheduler-as-services-in-windows-oses

On Monday, September 9, 2013 11:01:47 AM UTC+2, Dmitry Ermolaev wrote:
>
>
> If I use web2py.exe from download "For Normal Users" - error on start 
> windows service:
>
> Microsoft Windows [Version 6.1.7601]
> Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
>
> C:\web2py>web2py  -W install -L options.py
> web2py Web Framework
> Created by Massimo Di Pierro, Copyright 2007-2013
> Version 2.5.1-stable+timestamp.2013.06.06.15.39.19
> Database drivers available: SQLite(sqlite3), MySQL(pymysql), 
> PostgreSQL(pg8000),
>  MSSQL(pyodbc), DB2(pyodbc), Teradata(pyodbc), Ingres(pyodbc), 
> IMAP(imaplib)
>
> Installing service web2py
> Changing service configuration
> Service updated
> Installing service web2py
> Changing service configuration
> Service updated
>
> C:\web2py>web2py  -W start
> web2py Web Framework
> Created by Massimo Di Pierro, Copyright 2007-2013
> Version 2.5.1-stable+timestamp.2013.06.06.15.39.19
> Database drivers available: SQLite(sqlite3), MySQL(pymysql), 
> PostgreSQL(pg8000),
>  MSSQL(pyodbc), DB2(pyodbc), Teradata(pyodbc), Ingres(pyodbc), 
> IMAP(imaplib)
> Starting service web2py
> *Error starting service: The service did not respond to the start or 
> control requ*
> *est in a timely fashion.*
>
> If I use web2py.py from download "For Developers" - error on install 
> service:
> C:\web2py-m>python web2py.py -W install
> No handlers could be found for logger "web2py"
> web2py Web Framework
> Created by Massimo Di Pierro, Copyright 2007-2013
> Version 2.6.0-development+timestamp.2013.09.06.16.28.32
> Database drivers available: SQLite(sqlite3), MySQL(pymysql), 
> PostgreSQL(pg8000),
>  MSSQL(pyodbc), DB2(pyodbc), Teradata(pyodbc), Ingres(pyodbc), 
> IMAP(imaplib)
> Warning, winservice is unable to install the Mark Hammond Win32 extensions
> Error: Missing python module winservice
>
> C:\web2py-m>cd ../web2py
>
> C:\web2py>web2py  -W remove
> web2py Web Framework
> Created by Massimo Di Pierro, Copyright 2007-2013
> Version 2.5.1-stable+timestamp.2013.06.06.15.39.19
> Database drivers available: SQLite(sqlite3), MySQL(pymysql), 
> PostgreSQL(pg8000),
>  MSSQL(pyodbc), DB2(pyodbc), Teradata(pyodbc), Ingres(pyodbc), 
> IMAP(imaplib)
> Removing service web2py
> Service removed
>
> C:\web2py>cd ../web2py-m
>
> C:\web2py-m>web2py  -W install -L options.py
> 'web2py' is not recognized as an internal or external command,
> operable program or batch file.
>
> C:\web2py-m>python web2py.y  -W install -L options.py
> python: can't open file 'web2py.y': [Errno 2] No such file or directory
>
> C:\web2py-m>python web2py.py -W install -L options.py
> No handlers could be found for logger "web2py"
> web2py Web Framework
> Created by Massimo Di Pierro, Copyright 2007-2013
> Version 2.6.0-development+timestamp.2013.09.06.16.28.32
> Database drivers available: SQLite(sqlite3), MySQL(pymysql), 
> PostgreSQL(pg8000),
>  MSSQL(pyodbc), DB2(pyodbc), Teradata(pyodbc), Ingres(pyodbc), 
> IMAP(imaplib)
> Cannot import config file [options]
>
> C:\web2py-m>python web2py.py -W install -L options.py
> No handlers could be found for logger "web2py"
> web2py Web Framework
> Created by Massimo Di Pierro, Copyright 2007-2013
> Version 2.6.0-development+timestamp.2013.09.06.16.28.32
> Database drivers available: SQLite(sqlite3), MySQL(pymysql), 
> PostgreSQL(pg8000),
>  MSSQL(pyodbc), DB2(pyodbc), Teradata(pyodbc), Ingres(pyodbc), 
> IMAP(imaplib)
> ip: ic-pool   server_name: ic-pool   folder: C:\web2py-m
> Warning, winservice is unable to install the Mark Hammond Win32 extensions
> Error: Missing python module winservice
>
> C:\web2py-m>
>
>

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to