NT Service doesn't respond on stop request
I have Zope 2.4.2 running as service on Windows 2000. The service starts okay, but when I stop it from the Management Console, the service stops and then about a minute later I get the message "Could not stop the Zope (WebSite) service on Local Computer. Error 1053: The service did not respond to the start or control request in a timely fashion." If I enter the "NET STOP WebSite" command from a command window, the service stops and the command completes without any error messages in about 20 seconds. Any idea why I'm getting the error message when stopping the service from the Management Console? Thanks Mark Snellings
Within a DTML Method, how do I access the name of the host that the portal is running on? The URL printed by <dtml-var &dtml-portal_url> includes not only the hostname but also the port and top level directory. Is there a variable for accessing just the hostname? (hostname maybe localhost, an IP address or a fully qualified DNS registry name) Thanks Mark
Hi. Don't have that on top of my head currently. But i can tell you that you will find it as part of the REQUEST. Exactly of REQUEST.env. Which key it exactly represents is written in the CGI-Environment "Specification". You will find it if you enter Zope-Help on your ZMI, go to "Zope Help" -> API -> REQUEST -> then look for the link to the CGI Ref. Greetings, and please, take a deeper look at the help in the ZMI it currently really answers most of my questions too. Christian On Wed, Mar 06, 2002 at 02:45:24PM -0500, Mark Snellings wrote:
Within a DTML Method, how do I access the name of the host that the portal is running on?
The URL printed by <dtml-var &dtml-portal_url> includes not only the hostname but also the port and top level directory. Is there a variable for accessing just the hostname?
(hostname maybe localhost, an IP address or a fully qualified DNS registry name)
Thanks Mark
-- Christian Theune - ct@gocept.com gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt tel.+49 3496 3099112 - fax.+49 3496 3099118 mob. - 0178 48 33 981 reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b'])
participants (2)
-
Christian Theune -
Mark Snellings