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

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

book

Article ID: 90499

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

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

Environment

Release: AAMOS499000-8.0-Automic Applications Manager-OS400 Agent
Component:

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.