Changes between Version 5 and Version 6 of Windows_startstop_Service


Ignore:
Timestamp:
01/30/12 08:30:09 (10 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Windows_startstop_Service

    v5 v6  
    3030NOTE: This whole rigamarole means that whenever the Administrator password is changed on a machine running startstop, the password must be changed again from the Services control panel. 
    3131 
    32 - There's no way I've been able to find that allows environment variables to be loaded via ew_nt.cmd (or a similar file) before startstop runs. So, any environment variables required for Earthworm functionality have to be loaded systemwide before starting the startstop service. To set environment variables, select the System control panel, select the Advanced tab, and select Environment Variables. Under the "System variables" window (NOT the "user variables for XXX User" window), make sure that any environment variables you'll need are defined here. A typical subset may include:[[BR]] 
     32- There's no way I've been able to find that allows environment variables to be loaded via ew_nt.cmd (or a similar file) before startstop runs. So, any environment variables required for Earthworm functionality have to be loaded systemwide before starting the startstop service. To set environment variables, select the System control panel, select the Advanced tab, and select Environment Variables. Under the "System variables" window ('''NOT the "user variables for XXX User" window'''), make sure that any environment variables you'll need are defined here. A typical subset may include:[[BR]] 
    3333- EW_HOME[[BR]] 
    3434- EW_INSTALLATION[[BR]] 
     
    4747Apart from running as a Windows service, startstop_service behaves just as startstop_nt. One interesting note is that if you select startstop_service in the Services control panel and click Stop or Restart, then startstop will attempt to shut down all applications attached to its ring via an Earthworm TERMINATE message. 
    4848 
    49 If you want to look at the Status of Earthworm, or if you want to Restart an Earthworm module or Reconfigure Earthworm's modules and rings, and you aren't logged in as Administrator, you can either use StartstopConsole, or you can do the following if you know the Administrator password: (Instructions for Windows XP, but may work on other versions of Windows. See below for Vista.):[[BR]] 
     49If you want to look at the Status of Earthworm, or if you want to Restart an Earthworm module or Reconfigure Earthworm's modules and rings, and you aren't logged in as Administrator, you can either use !StartstopConsole, or you can do the following if you know the Administrator password: (Instructions for '''Windows XP''', but may work on other versions of Windows. See below for Vista.):[[BR]] 
    5050- Go to the Windows Start menu, and choose "Run"[[BR]] 
    5151- Type the following: 
     
    5757- This will open up a command window which should be able to connect to the running Earthworm, and thus allow you to type "restart", "reconfigure", "status", "pidpau" or "pau" here. 
    5858 
    59 - To view what's going on in Vista or Windows Server 2008 
     59- To view what's going on in '''Vista or Windows Server 2008''' 
    6060 
    61 StartstopConsole won't work in Vista, nor will "runas" give you access to the session zero.[[BR]] 
    62 - Beforehand, add 'cmd' as a line in your startstop_nt.d with a NewConsole, and reboot so the service starts this up.[[BR]] 
     61!StartstopConsole won't work in Vista, nor will "runas" give you access to the session zero.[[BR]] 
     62- Beforehand, add 'cmd' as a line in your startstop_nt.d with a !NewConsole, and reboot so the service starts this up.[[BR]] 
    6363- if you're not at the machine, make a remote desktop connection as whatever user you like[[BR]] 
    6464- open a command prompt[[BR]] 
     
    9494(This was all tested with Vista. It _should_ work with Windows Server 2008 too, but hasn't been tested there yet. If you do it successfully or unsuccessfully please let us know.) 
    9595 
    96 With 2003 Server 
     96With '''2003 Server''' 
    9797 
    9898How to Connect to the Console Session