Installing AEM 6.5 as a windows service. Service fails to start
Hello,
I've create a windows service using the instructions describe here: https://experienceleague.adobe.com/docs/experience-manager-65/deploying/deploying/custom-standalone-install.html?lang=en
But when I go to start the service I immediately get a "service failed to start message". Looking at the windows event logs I then see this message:
The cq5 service terminated with the following service-specific error:
Incorrect function.
+ System
- Provider
[ Name] Service Control Manager
[ Guid] {555908d1-a6d7-4695-8e1e-26931d2012f4}
[ EventSourceName] Service Control Manager
- EventID 7024
[ Qualifiers] 49152
Version 0
Level 2
Task 0
Opcode 0
Keywords 0x8080000000000000
- TimeCreated
[ SystemTime] 2021-10-14T19:48:05.536393900Z
EventRecordID 103462
- Correlation
[ ActivityID] {a5f57ea4-c656-4d0a-9aae-ca072d988b14}
- Execution
[ ProcessID] 672
[ ThreadID] 2588
Channel System
Computer <XXXXXX.yyyyyyyyy.com
Security
- EventData
param1 cq5
param2 %%1
6300710035000000
I've tried modifying the instsrv.bat file, have double checked my JAVA_HOME environment variable, etc. and all looks to be in line. Any help on resolving this would be helpful.
Thanks,
Ray H.