VERIFIED SOLUTION i

'java.lang.RuntimeException: Failed to stop security Service' message in EngageOne Server

Issue

'java.lang.RuntimeException: Failed to stop security Service' message is being observed while configuring security bundle of EngageOne Server on Linux.
[INFO ] Installing security bundle as a system service
[INFO ] OpenAM setup started
[INFO ] Starting the eos-security service
[INFO ] output:
[INFO ] Stopping the eos-security service: configuration error.
[INFO ] output:
[ERROR] Failed to configure 'security' bundle please see log file 
/tmp/EngageOne_Server-4.4.4.462/install/logs/eos-security-configure-2017-12-06-114658.log
java.lang.RuntimeException: Failed to stop security Service

 

Cause

It could be caused if daemon is not reloaded before configuring the services. In some special cases, it is needed to reload the daemon before configuring the EngageOne Services.

Resolution

UPDATED: December 21, 2018
Use 'systemctl daemon-reload' command before configuring the EngageOne Service:
 
groovy eos.groovy -b <bundle> -p deploy.properties install
groovy eos.groovy -b <bundle> -p deploy.properties validate
systemctl daemon-reload
groovy eos.groovy -b <bundle> -p deploy.properties -t single configure
service <bundle> start