safex error during security Policy Import
search cancel

safex error during security Policy Import

book

Article ID: 8804

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent

Issue/Introduction

safex import command timeout with an ERROR during policy import:


#safex -h eemserver1 -u EiamAdmin -p ********** -f policies.xml

Setting Translation file:/opt/CA/SharedComponents/EmbeddedEntitlementsManager/bin/safex.tr
OK:Successfully Authenticated
OK: action[Attach] with ApplicationInstance label[WorkloadAutomationAE]
OK: action[Add] performed on object[Policy] name[/KIRKT-cycle]
OK: action[Add] performed on object[Policy] name[/KIRKT-calendar]
OK: action[Add] performed on object[Policy] name[/KIRKT-appl]
OK: action[Add] performed on object[Policy] name[/KIRKT-gvar]
ERROR: [0xeff15720] ispUtil::TcpAddress getaddrinfo returned error Name or service not known
ERROR: [0xeff15720] ispUtil::TcpConnect TcpAddress failed for host []
ERROR: [0xeff15720] ispUtil.HttpPostRequest: ObtainPC Failed
Setting back end to "eemserver1"

Setting locale to "en_us"

34639 [0x7fbceff15720] ERROR PozFactory null - PozFactory::isFailoverRequired: Could not communicate with the EEM Server, server returned with errorcode= -3

Current XML file location: line 109 column 11
error: action[Add] object[Policy] name[/KIRKT-resource]
Safe Error: [EE_POZERROR Repository Error]
Sponsor Error: [ISE_BADFILTER bad/wrong filters supplied]
Debug [Insert Error: PozError]
Debug [PE_SPONSORERROR iSponsor Error]
Debug [pozObject::insert: error invoking iPoz::ObjectInsert on host eemserver1]
Debug [No SessionId]
Debug [/iTechPoz/Store/WorkloadAutomationAE/KIRKT-resource]
OK: action[Detach] from ApplicationInstance label[WorkloadAutomationAE]
Encountered [1] error(s) processing XML data.
OK:Total objects Added 4
OK:Total objects Modified 0
OK:Total objects Removed 0
OK:Total objects Skipped 0
OK:Total objects Exported 0

Environment

All the CA Embedded Entitlement Manager supported platforms

Cause

The ERROR is due to problem in the EEM hostname resolution over the network from the server where safex command is being executed.

ERROR: [0xeff15720] ispUtil::TcpAddress getaddrinfo returned error Name or service not known
ERROR: [0xeff15720] ispUtil::TcpConnect TcpAddress failed for host []
ERROR: [0xeff15720] ispUtil.HttpPostRequest: ObtainPC Failed
Setting back end to "eemserver1"

Resolution

Ensure the DNS resolution returns successful(hostname, FQDN, IP) between the servers, where safex is being executed and the EEM host server.

Important!: It is recommended to always use the fully qualified domain name for the CA EEM back end server in the safex command syntax.

Additional Information

CA EEM Security Data Replication, Backup, and Migration