ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Safex error when using a non-eiamadmin id

book

Article ID: 199466

calendar_today

Updated On:

Products

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

Issue/Introduction

Safex imports have issues if a non-eiamadmin id is used

Example:

 

R12
/opt/CA/SharedComponents/EmbeddedEntitlementsManager/bin/safex -h `hostname` -u user_name -p Password -f /tmp/inpt -b

OK: action[Remove] performed on object[Policy] name[/MWOHR-gvar]
OK: action[Remove] performed on object[Policy] name[/MWOHR-resource]
ERROR: [0x7c998740] ispUtil::TcpAddress getaddrinfo returned error Name or service not known
ERROR: [0x7c998740] ispUtil::TcpConnect TcpAddress failed for host []
ERROR: [0x7c998740] ispUtil.HttpPostRequest: ObtainPC Failed
37119 [0x7f317c998740] ERROR PozFactory null - PozFactory::isFailoverRequired: Could not communicate with the EEM Server, server returned with errorcode= -3

Current XML file location: line 11 column 47
error: action[Remove] object[Policy] name[/HEIDSAPP-DYNAM-PROD] error retrieving
Safe Error: [EE_POZERROR Repository Error]
Sponsor Error: [ISE_BADFILTER bad/wrong filters supplied]
Debug [Retrieve Error: PozError]
Debug [PE_SPONSORERROR iSponsor Error]
Debug [pozObject::retrieve: error invoking iPoz::ObjectRetrieve on host ccvra96a0101]
Debug [No SessionId]
Debug [/iTechPoz/Store/WorkloadAutomationAE/HEIDSAPP-DYNAM-PROD]
OK: action[Remove] performed on object[Policy] name[/HEIDSAPP-FUNCTIONAL-PROD]

Example:

11.3.6
$ /opt/CA/SharedComponents/EmbeddedEntitlementsManager/bin/safex -h `hostname` -u user_name -p Password -f /tmp/inpt -b
...
OK:Successfully Authenticated
OK: action[Attach] with ApplicationInstance label[WorkloadAutomationAE]
OK: action[Remove] performed on object[Policy] name[/MWOHR-appl]
OK: action[Remove] performed on object[Policy] name[/MWOHR-gvar]
OK: action[Remove] performed on object[Policy] name[/MWOHR-resource]
OK: action[Remove] performed on object[Policy] name[/HEIDSAPP-DYNAM-PROD]
OK: action[Remove] performed on object[Policy] name[/HEIDSAPP-FUNCTIONAL-PROD]
33955 [0x7f92f4ba1740] ERROR PozFactory null - PozFactory::isFailoverRequired: Could not communicate with the EEM Server, server returned with errorcode= 704
Memory fault

 

Environment

Release : 11.3.6

Component : CA Workload Automation AE (AutoSys)

Resolution

When an id other than eiamadmin is used the id is checked/rechecked for each and every action taken against any and all objects in the input file.
Those checks (authentications and authorizations) of the id can be time consuming and lead to timeouts.

You can try from an AutoSys machine
1. cd to $AUTOUSER
2. vi the eiam.server.config file change sockettimeout: 120000 to 240000 or higher
3. Then perform safex using this type of syntax: safex -h -u -p XXXXXX -f -sdkconfig /opt/CA/WorkloadAutomationAE/autouser.ACE/eiam.server.config

Or use the eiamadmin user when working with safex as it is treated differently, requiring only one check.