Agent can not be started, Error message AwE-5012 File read error

Document ID : KB000090499
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Agent can not be started, Error message AwE-5012 File read error
Resolution:

Symptoms

After a new installation, the local Agent can not be started and stays in status 'STOPPED'. The log file shows the following error:

ErrorMsg: AwE-5012 File read error

Details: keyfile.ini

java.lang.StringIndexOutOfBoundsException: String index out of range: -1

at java.lang.String.substring(String.java(Compiled Code))

at com.appworx.server.data.Master.F(Master.java:1093)

 

Cause

The keyfile has been uploaded/copied in ASCII mode, but has to be in BINARY mode.


Resolution

The original keyfile has to be uploaded again in BINARY mode. The processes have to be restarted afterwards, for the changes to take effect.