Removing and Reinstalling Services

To apply changes, John removes existing services and reinstalls them.

In the Acme development and test, environment the CDB is installed on the same node as Unwired Server.

  1. Stop Unwired Platform services:
    1. In Sybase Control Center, expand the Servers folder in the navigation pane, select the primary server node, then in the administration pane click Stop.
    2. In the Windows Administration Tools Services dialog, locate the CDB service and stop it.
  2. Remove Unwired Platform services by running these commands at a command prompt:
    cd c:\Sybase\UnwiredPlatform\Servers\UnwiredServer\bin
    sup-server-service remove
    
    The CDB service state changes to disabled.
  3. To correct the CDB service state, remove the CDB service by running this command at a command prompt:
    sc delete SybaseUnwiredPlatform<hostname>Database1
  4. Restart the computer.
  5. Install Unwired Platform services by running these commands at a command prompt:
    cd c:\Sybase\UnwiredPlatform\Servers\UnwiredServer\bin
    sup-server-service install auto -sampledb
    
    In Acme's environment, they use the auto option to automatically start the services. They also use the -sampledb option, so that the sampledb database is started as a service with the server and available to their developers.
  6. In the Window Administration Tools Services dialog, ensure all SUP Services (those with a SybaseUnwiredPlatform* prefix) are started.