RDBMS - CAST Storage Service - CAST Storage Service Starting Issues

Purpose (problem description)

This page will help you to troubleshoot any starting issues you may face when using the CAST Storage Service (CSS).

For more information, refer to :

Observed in CAST AIP

ReleaseYes/No
8.3.x
8.2.x

Observed on RDBMS

RDBMSYes/No
Oracle Server
Microsoft SQL Server
CSS2
CSS3
CSS1

Action Plan

  1. Check if there is a Antivirus program active. If yes deactivate it and try to start the service again.
  2. Try to start the service manually first
    1. Try to start the service manually from the command line with the following command from an administrator’s command prompt window:

      1. \bin\pg_ctl” start -w -D “\db_data”

“C:\Program Files\CAST\CASTStorageService2\bin\pg_ctl” start -w -D “C:\Program Files\CAST\CASTStorageService2\db_data”

      2. If having permissions issues when starting, see the following page for how to set permissions correctly:  [Permission\_denied\_with\_postgres\_startup](https://stackoverflow.com/questions/8798134/fatal-could-not-create-lock-file-postmaster-pid-permission-denied)
   2. If the manual command line started the service:

      1. Open the Services windows
      2. Select the CastStorageService Service
      3. Right click and select properties
      4. Change the user starting the service:

         ![](https://doc-data.castsoftware.com/TG/attachments/566531088/566531087.png)
      5. Start the service again.
   3. You should also check the system event log and postgres logs to see the if there are any messages on them.  There have been cases when there are IT system policies in place that limit access and cause issues with installed services starting and you may need to discuss with them in regards to these issues.
3. If the above do not resolve the issue, then see if one of the specific error pages below will resolve the issue:
4. If the above points do not help you, contact [CAST Technical Support](https://help.castsoftware.com/hc/en-us/requests/new) with the below [Relevant input](#RDBMSCASTStorageServiceCASTStorageServiceStartingIssues-RelevantInput).

#### Relevant Input

1. [PostgreSQL log file](#RDBMSCASTStorageServiceCASTStorageServiceStartingIssues-GettingtheCSSLogFile)
2. The file **postgresql.conf** that is in <Your CAST Storage Service 3 Installation Folder>\db\_data folder
3. Screenshot showing the issue
4. System event log for the time of the error

**Notes/Comments**

**Related Pages**