Purpose

If you have accidentally deleted the CSS service in windows or if you do not find the CSS service in the service of windows you can add the service by following command.

Applicable in CAST Version
Release
Yes/No
7.3.x(tick)
7.2.x(tick)
7.0.x(tick)
Applicable RDBMS
RDBMS
Yes/No
Oracle Server(error)
Microsoft SQL Server(error)
CSS2(tick)
CSS1(tick)
Details

*Use these commands from the Windows Command Prompt.

Command to delete the service in windows is

sc delete "servicename" Ex: sc delete CastStorageService

Command to add the service in windows is

sc create <ServiceName> binpath= "<path for CSS bin till pg_ctl.exe> runservice -N CastStorageService -D <path for DB_DATA folder>"

Example command

sc create CastStorageService binpath= "C:/Program Files/CAST/CASTStorageService2/bin/pg_ctl.exe runservice -N CastStorageService -D C:/Program Files/CAST/CASTStorageService2/db_data"

 

Notes/comments

 

Related Pages