We found that the service manager port had a invalid range port=(8872,8773)
The service manager log did not show port it was listening on
It started the agent mentioned in the uc4.smd file
However we were not able to start the agent using UC_EXECUTOR_END script
It failed with the error "U00003336 Connection to Service Manager cannot be established"
Automation Engine v12.3.x and 21.x
This depends on the Operating system.
On windows this will work as the servicemanager can use named-pipes.
This is the reason the service manager dialog does not need to use a port for connection to the service manager.
In the unix environment service manager needs the port to start.
This is working as designed