Failed to start service "Sitecore Marketing Automation Engine"

I have done multiple installations of various versions of Sitecore starting 9.0 to 9.3 but this is the most usual issue that occurs during the installation. Below is the error screen:





Solution:

Basically, this issue occurs because of certificates, hence please follow the below steps to resolve your issue.

Execute below PowerShell script to find out if there are any non-self-signed certificates:
Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject}


If you found any result item from the above PowerShell script then execute below PowerShell command this helps to move the non-self-signed certificates into the Intermediate Certification Authorities store:

Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject} | Move-Item -Destination Cert:\LocalMachine\CA
Once done with the above scripts, please recheck with the first PowerShell script to ensure no non-self-signed certificates are leftover and then close the PowerShell.

Before starting the installation script again, it is good to do clean up of previous Sitecore installation files like Sites, Application pools, DB's, Physical files, services to ensure no more errors for consecutive installation.

To delete service, type below command in CMD

sc delete [ServiceName]

*[ServiceName] should be replaced with the exact service name.

restart the installation of Sitecore.

Even after all the changes, still you see the same error then replace the values of the site then it would work.

There could be other reasons for this issue but in most of the scenarios, these will fix the issue.

All the best 😊😊

Comments

  1. Bardzo ciekawie to zostało opisane.

    ReplyDelete
  2. you are definitely a life saver! Thanks so much

    ReplyDelete

Post a Comment

Please do not enter any spam link in the comment box