Yes, I know, this is an issue that has been discussed extensively
here. I've looked at the discussions plus the AlterEgo description of
Limodou's work on getting the Windows service to run, but it isn't
working for me.

Here's the story:
- I'm running windows server 2003 standard edition build 3790 service
pack 2 on a dedicated host
- I have multiple websites running ... all based on python 2.3
- web2py 1.57 is installed and runs fine when I envoke web2py.exe
manually
- python 2.5 is not installed on the machine except for what comes
with the web2py distribution

I could not follow the AlterEgo/Limodou instructions precisely.
Instead, I had to do:
    web2py.exe -W install
in order to install the service. The response was as follows:

default applications appear to be installed already
web2py Enterprise Web Framework
Created by Massimo Di Pierro, Copyright 2007-2009
Version 1.57 (2009-03-01 22:04:03)
Database drivers available: SQLite3
Installing service web2py
Service installed

So far, so good. Next, since I couldn't call python2.5 directly, I
diverged again from AlterEgo and did this:
    web2py.exe -W start -L options.py

This generated the following error message:

default applications appear to be installed already
web2py Enterprise Web Framework
Created by Massimo Di Pierro, Copyright 2007-2009
Version 1.57 (2009-03-01 22:04:03)
Database drivers available: SQLite3
Installing service web2py
Changing service configuration
Service updated
Starting service web2py
Error starting service: The service did not respond to the start or
control requ
est in a timely fashion.


The option.py file is almost exactly as it appears in AlterEgo. I
repeat it here for clarity:

import socket, os
ip = socket.gethostname()
port = 8000
password = '<recycle>' ### <recycle> means use the previous password
pid_filename = 'httpserver.pid'
log_filename = 'httpserver.log'
ssl_certificate = '' ### path to certificate file
ssl_private_key = '' ### path to private key file
numthreads = 10
server_name = socket.gethostname()
request_queue_size = 5
timeout = 10
shutdown_timeout = 5
folder = os.getcwd()



Anybody have any ideas. This is critical for me to get web2py to work
for my app, which has to be hosted on a windows server.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to