Product Name
CIS CSAT Pro - SecureSuite CIS Controls Self Assessment Tool
Product Version
v1.15.0+
Date
Use /date
to insert current date
Problem
During the CSAT Pro installation on a Windows host, the following error is displayed during the Neo4j database service setup:
Following this error, the neo4j
service is not present as expected in services.msc
.
Solution
This issue can occur if an incorrect Java path environmental variable is set, such as from a partial uninstallation of a standalone JDK/JRE or another application’s Java instance that was since then removed.
To verify that this is the case:
In an administrative
cmd.exe
or PowerShell prompt, navigate to the current CSAT Pro installation directory’sneo4j\bin
folder (which will exist even if the initial installation failed with the above error):cd "C:\Program Files\CSAT_Pro\neo4j\bin"
Run the following command:
neo4j install-service
The example output below indicates that the default system path points to a nonexistent Java binary:
C:\Program Files\CSAT_Pro\neo4j\bin>neo4j install-service Invoke-Neo4j : Could not find java at "c:\Program Files\Java\jre1.8.0_202\bin\java.exe"
One quick remediation method is installing a system-wide Java 8 / 11 Runtime Environment (JRE), which will update the path to a new valid Java instance.
Uninstall any existing JRE/JDK (if no other tools or applications rely on a specific version)
Download and deploy the free Eclipse Temurin Java 11 JRE:
https://adoptium.net/temurin/releases/?variant=openjdk11&os=windows&arch=x64
During the installation, check the “Add to PATH” and “Set JAVA_HOME variable” options:This will ensure that a compatible system-wide JRE is present, in addition to the one bundled with CSAT Pro.
Uninstall the failed CSAT Pro deployment using the following steps:
https://csat-pro.docs.cisecurity.org/en/stable/source/CSAT%20Pro%20Deployment/#uninstalling-cis-csat-proRe-run the CSAT Pro installer to begin a new deployment.
The previously failed Neo4j database setup should now complete successfully.
If you continue experiencing issues in deploying CSAT Pro, please open a case with our Product Support team at:
https://cisecurity.atlassian.net/servicedesk/customer/portal/15/group/35/create/144
Add Comment