The SAP agent does not start. The log generated for the agents having a default naming convention: DEF_LOGG_00.txt.
In this Log file the [GLOBAL] section is missing.
The log files begins with the section [TRACE] of the INI file.
Also we get the following error:
==========================
20220322/165328.778 - com.uc4.ex.cp.InitialConnectionException: Initial connection with endpoint not possible. Please check your configuration.
20220322/165328.778 - U02000379 Initiating connection to server '[AUTOMIC_SERVER]:8443' using WebSocket URI: 'wss://[AUTOMIC_SERVER]:8443/agent'.
20220322/165328.902 - U02000384 Web socket is connected.
20220322/165329.903 - U02000074 Connecting to system 'UC4' is not possible.
20220322/165329.904 - com.uc4.ex.cp.InvalidSystemException: System of the Server 'AUTOMIC' does not match the Executor configuration 'UC4'
20220322/165329.906 - U02000041 Shutdown Agent '<AGENT NAME>'.
20220322/165329.923 - U02000002 Agent <AGENT NAME>' version '21.0.0+build.54' ended abnormally.
==========================
Release : 21.0.2 and 12.3 Component : SAP Agent
The configuration file is corrupted, mostly the inconsistency concerns the [GLOBAL] section.
The INI file of this agent must be corrupted.
Please review it carefully, look for special characters, check if the EOL format suits with the current environment Linux or Windows.
If you are not sure to have identified the origin of the problem, take the original file from the installation package and configure it again carefully .
Possibly other types of Agent are concerned in the same way by this kind of problem. This has not been tested so far.