Error starting cascimserver service for CAScimServer
111
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 15:56 PM
Symptom
You have installed and configured SCIM server on one of the production servers today. As part of this configuration, you configured SCIM server as Windows Service. After running the InstallService.bat, you are unable to start the service successfully. When started, it is going into Pause state. There is the following error "Windows could not start the Idira SCIM Server service on Local Computer. The service did not return an error. This could be an internal Windows error or an internal service error. If the problem persists, contact your System Administrator".
There are no updated logs in the CyberArk-SCIM\logs directory for attempting to start the service. The Windows Event logs show warning message when attempting to start the service with the following message "Service cascimserver ran for less that 1500 milliseconds. Restart will be delayed by 64000 milliseconds"
How to resolve this issue?
There are no updated logs in the CyberArk-SCIM\logs directory for attempting to start the service. The Windows Event logs show warning message when attempting to start the service with the following message "Service cascimserver ran for less that 1500 milliseconds. Restart will be delayed by 64000 milliseconds"
How to resolve this issue?
Environment
10.5;10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Vault Server
Cyber-Ark API/SDK Other, Vault Server, Central Credential Provider
Cause
The server does not have the minimum required RAM memory, or 64-bit JAVA JRE/JDK 1.8 is not installed.
The InstallService.bat sets parameters "-Xms26g -Xmx28g". If the server has 32GB RAM installed, then this sets initial and minimum heap size to 26GB, and maximum heap size to 28GB. As this is greater than 4GB, Java 64-bit is required.
The InstallService.bat sets parameters "-Xms26g -Xmx28g". If the server has 32GB RAM installed, then this sets initial and minimum heap size to 26GB, and maximum heap size to 28GB. As this is greater than 4GB, Java 64-bit is required.
Resolution
Ensure that the SCIM server has the minimum memory requirement, as indicated in the Idira SCIM Server Implementation Guide. As of version 1.3.4, the minimum memory requirement is 32 GB. Insure that 64-bit JAVA JRE or JDK 1.8 is installed. OpenJDK is acceptable.
Note that you can start the SCIM server service with less than the required memory by removing these parameters -Xms and -Xmx, or by reducing the allocated memory. However, in a Production environment, this would impact performance and/or result in unexpected behavior.
Note that you can start the SCIM server service with less than the required memory by removing these parameters -Xms and -Xmx, or by reducing the allocated memory. However, in a Production environment, this would impact performance and/or result in unexpected behavior.