Description

This page will help you to resolve the issue you may face while starting the CastStorageService service when the log on As ID is not Local System but another one like shown in the below screenshot:

Figure 1

Observed in CAST AIP
Release
Yes/No
8.3.x(tick)
8.2.X(tick)
Observed on RDBMS
RDBMS
Yes/No
Oracle Server(error)
Microsoft SQL Server(error)
CSS2(tick)
Step by Step Scenario
  1. In the Windows Services, right click CastStorageService2 Service, select properties, go to the Log on Tab. Select This account and add a new account to run the CastStorageService2 service like shown in the below screenshot
    Figure 2
  2. Then Run the CastStorageService2 service.
  3. The CastStorageService2 service stops with the below error message :
    Figure 3
  4. Open the Event Viewer log (start menu, following error message appear : FATAL: could not create file "postmaster.pid": Permission denied)
    Figure 4
Action Plan

To fix this, grant your specific Windows user full permission to access all CSS files located by default under C:\Program Files\CAST\CASTStorageService2.
To do this follow the below steps:

  1. While logged as an Administrator, open a File Explorer
  2. Expand the C:\Program Files\CAST\CASTStorageService2 folder
  3. Right-click the CASTStorageService2 folder and select “Properties” then select the “Security” tab.
  4. Click the “Add” button, select the specific Windows User supposed to run the CSS Service
  5. Check the “Full Control” checkbox then press the “Apply” button (see screenshots below)
    Figure 5
  6. Start the CSS service again.

If you have configured your Cast Storage Service to store datafiles on a separate folder, you have to grant the Windows user full access right to that folder as well.

Notes/comments

Related Pages