"not authorized to make connection" error on Master's local Agent
search cancel

"not authorized to make connection" error on Master's local Agent

book

Article ID: 117556

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

When starting the RmiServer and AgentService process, it starts up successfully but the java awapi does not start.

Reviewing the RmiServer and AgenService logs show that the local agent in unable to connect to the master due to an Agent Validation error with the details showing a "not authorized to make connection" error. Below is an example of the error. 

AgentService: AwE-5126
AgentService: .AxOptions: NoErrorMsgProperties=false
ErrorMsg: AwE-5126 Agent validation error 
Details: <AGENT> <host>/10.10.10.10  60010
Agent validation error : <AGENT> <host>/10.10.10.10 60010 : java.net.ConnectException: not authorized to make connection
    at com.appworx.server.data.MasterSocketManager.B(MasterSocketManager.java:480)
    at com.appworx.server.data.AxRmiServer$3$1.run(AxRmiServer.java:729)
Caused by: java.net.ConnectException: not authorized to make connection
    ... 2 more

 

Environment

Release:9.x
Component: APPMGR

Cause

This is generally an error seen between master and a remote agent. Seeing this error will generally mean that the issue is a DNS/Network issue OR that a database value may have been changed using a method outside the Java Web Client (ie sqlplus).

Resolution

Review for any database changes made outside of Applications Manager's Java Web Client such as an external API or sqlplus. The specific error seen above was due to a change to the  SO_QUEUES table.

The MONITOR's SO_QUEUE_SCHED value was change to an invalid number.

Running awinstall option 1 AFTER reverting the database change resolved the issue and Java awapi started successfully.