Hi Kristina, I don't know who very much about windows services, but this tip is rather worthless. If your registry entry reads: ""c:\WebSite\bin\python.exe" " c:\WebSite\z2.py" -S" Zope is already running as a service, thanks to the "-S" option. As far as I can see the other options have nothing to do with it. At least I can do without. You might want to add the "-D" option (debug mode) to see what's happening. And if you add "STUPID_LOG_FILE=c:\WebSite\var\slf.log", the "slf.log" file in the "var" subdirectory of your zope installation will contain al the debugging information. Your complete entry would read then: ""c:\WebSite\bin\python.exe" "c:\WebSite\z2.py" -S -D STUPID_LOG_FILE=c:\WebSite\var\slf.log". hth Cornelis J. de Brabander ========================================== Department of Education, Leiden University P.O.Box 9555, NL-2300 RB Leiden +31 71 527 3422/3401 brabander@fsw.leidenuniv.nl ==========================================
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Kristina Quimson Buenafe Sent: maandag 24 juni 2002 17:01 To: zope@zope.org Subject: [Zope] converting a manually run zope installation to a service
Hello,
I did the following steps (from http://twsite.bizland.com/twzop0002.htm) to try to convert my manually run Zope installation to a service, but it didn't work. Is there another way to do this, or did I miss something that I was supposed to do using the TechWorld site's way?
thanks, Kristina Buenafe
Converting a Manually Run Zope Installation to a Service Open the Registry Editor (Start Menu->Run-> regedit)
Locate (or create) the following registry entry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\WebSite\Param eters\Start
Change the value from:
"c:\WebSite\bin\python.exe" " c:\WebSite\z2.py" -S
To:
"c:\WebSite\bin\python.exe" "c:\WebSite\z2.py" -S -w 8079 -f "" -p "" -m ""
Where c:\WebSite is the Zope path. An explanation of the various parameters can be found in the Z2.PY file in the Zope root.
_________________________________ Kristina Buenafe University of Virginia School of Engineering and Applied Science kqb7a@virginia.edu
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )