Trellix EPO 5.10 base install or upgrade fail Rollback with SQL 2022 Express
Does also happen with: EPO5100_ServicePack1_4098_LR1.zip (lATEST DOWNLOAD 01.05.2024)
Just had a case where we searched for longer, but it was NOT related to a dual install of WSUS+EPO. Because we sometimes have a dual install of EPO and WSUS roles on the same servers, you have to modify the default Port 80 of the IIS to something like 9999 or remove the default website before you install McAfee/Trellix EPO. This is necessary because EPO also uses the default Port 80. Both products run seamlessly together if you have enough RAM.
I tend to use WID (Windows Internal Database) for WSUS and SQL 2017 for EPO until now. For larger WSUS installations, we always use SQL Express or even the full version. Similarly, for larger EPO installations, we also use the full SQL version.
We tend to use a SQL Express version one release older than the latest release or even from some years back on our EPO installations. This was the first time we used SQL 2022 Express on a Server 2022, and we encountered an error during the installation of the latest EPO download (Mid-January 2024).
- Microsoft Server 2016 or 2022
same error - Microsoft SQL Server 2022 Express
- Microsoft SQL Server Managment Studio 19.3 (OR not installed)
- 20240123110122 SELECT @@VERSION returned: Microsoft SQL Server 2022 (RTM) – 16.0.1000.6 (X64)
- Express Edition (64-bit) on Windows Server 2022 Standard 10.0 <X64> (Build 20348: ) (Hypervisor)
Error:
Check logs:
You will see following error in the EPO setup logs:
C:\ProgramData\McAfee\ePolicy Orchestrator\InstallLogs\EPO5100-Error.log
[ErrorLog]
ErrorString=FAILURE: Failed to connect to the SQL server.
ActionName=MerMod_StartCurrentServices
CustomAction: MerMod_StartCurrentServices
C:\ProgramData\McAfee\ePolicy Orchestrator\\EPO5100-Install-CustomAction.log
15:47:20 EPO5100CALog (RB): Service EPOTOMCATSRV5100 is NOT running
15:47:20 EPO5100CALog (RB): End executeExternalCommand()
15:47:21 EPO5100CALog (RB): postInstallSQLConfig.err: The system cannot find the path specified.
15:47:21 EPO5100CALog (RB): End runRemoteClentCommand(postInstallSQLConfig,…) returnCode=1
15:47:21 EPO5100CALog (RB): Cleaning up C:\Program Files (x86)\Trellix\ePolicy Orchestrator after rollback
Error: Installation of fresh download install EPO 5.10 EPO5100_ServicePack1_4098_LR1 fails and does a rollback (Windows Installer Transaction rollback).
The failure/rollbacks comes around 80% of the installation without product autocheck in selcted or not. Just after starting services and then he does the Rollback.
Solution:
Install SQL Server 2012 native client from “EPO install media”\setup\SQLNativeCLient\sqlncli_x64.exe
Retry and it will work.
The Trellix KB has an entry for a similar problem. But we DID NOT find the mentioned Erros strings in EPO5100-Install-MSI.log or other logfiles.
Still the KB leads us in the correct direction.
In your Install folder search for this and install it:
**\EPO5100_ServicePack1_4098_LR1\Setup\SQLNativeClient
Solution > To get it running you need this:
Installing – SQL Server Native Client | Microsoft Learn
OK similar error but we did not find those error but it solved i too:
Please also check our: