UNIX jobs take long and have SESSION_ERROR, host not found
search cancel

UNIX jobs take long and have SESSION_ERROR, host not found

book

Article ID: 278932

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Running a linux job takes a few minutes longer than it should.  The report shows the following (SESSION_ERROR...................*AGENT..................................unknown.....................*AGENT|connect/(resolve: Host not found (authoritative) [asio.netdb:1]))

***************************************************************************
**  ucxjlx6m     version 21.0.9+build.1702489267437 changelist 1702489267  **
**  JOB 0003155026 (ProcID:0000008983) START AT   07.02.2024 / 01:33:50  **
**                                     UTC TIME   07.02.2024 / 01:33:50  **
**  TEXT="        Job started             "                              **
***************************************************************************
-1 - Wrong message type
20240207/013350.950 U0009909 TRACE: (wrong type error)              0x2cccc30 01268
                    00000000  53455353 494F4E5F 4552524F 52000000  >SESSION_ERROR...<
                    00000010  00000000 00000000 00000000 00000000  >................<
                    00000020  2A414745 4E540000 00000000 00000000  >*AGENT..........<
                    00000030= 00000000 00000000 00000000 00000000  >................<
                    00000060  00000000 00000000 756E6B6E 6F776E00  >........unknown.<
                    00000070= 00000000 00000000 00000000 00000000  >................<
                    000000F0  B9851E00 2A414745 4E547C63 6F6E6E65  >....*AGENT|conne<
                    00000100  63742F28 7265736F 6C76653A 20486F73  >ct/(resolve: Hos<
                    00000110  74206E6F 7420666F 756E6420 28617574  >t not found (aut<
                    00000120  686F7269 74617469 76652920 5B617369  >horitative) [asi<
                    00000130  6F2E6E65 7464623A 315D2900 00000000  >o.netdb:1]).....<
                    00000140= 00000000 00000000 00000000 00000000  >................<
                    000004F0  00000000                             >....<
-1 - Wrong message type
20240207/013400.961 U0009909 TRACE: (wrong type error)              0x2cccc30 01268
                    00000000  53455353 494F4E5F 4552524F 52000000  >SESSION_ERROR...<
                    00000010  00000000 00000000 00000000 00000000  >................<
                    00000020  2A414745 4E540000 00000000 00000000  >*AGENT..........<
                    00000030= 00000000 00000000 00000000 00000000  >................<
                    00000060  00000000 00000000 756E6B6E 6F776E00  >........unknown.<
                    00000070= 00000000 00000000 00000000 00000000  >................<
                    000000F0  B9851E00 2A414745 4E547C63 6F6E6E65  >....*AGENT|conne<
                    00000100  63742F28 7265736F 6C76653A 20486F73  >ct/(resolve: Hos<
                    00000110  74206E6F 7420666F 756E6420 28617574  >t not found (aut<
                    00000120  686F7269 74617469 76652920 5B617369  >horitative) [asi<
                    00000130  6F2E6E65 7464623A 315D2900 00000000  >o.netdb:1]).....<
                    00000140= 00000000 00000000 00000000 00000000  >................<
                    000004F0  00000000                             >....<
-1 - Wrong message type
20240207/013410.969 U0009909 TRACE: (wrong type error)              0x2cccc30 01268
                    00000000  53455353 494F4E5F 4552524F 52000000  >SESSION_ERROR...<
                    00000010  00000000 00000000 00000000 00000000  >................<
                    00000020  2A414745 4E540000 00000000 00000000  >*AGENT..........<
                    00000030= 00000000 00000000 00000000 00000000  >................<
                    00000060  00000000 00000000 756E6B6E 6F776E00  >........unknown.<
                    00000070= 00000000 00000000 00000000 00000000  >................<
                    000000F0  B9851E00 2A414745 4E547C63 6F6E6E65  >....*AGENT|conne<
                    00000100  63742F28 7265736F 6C76653A 20486F73  >ct/(resolve: Hos<
                    00000110  74206E6F 7420666F 756E6420 28617574  >t not found (aut<
                    00000120  686F7269 74617469 76652920 5B617369  >horitative) [asi<
                    00000130  6F2E6E65 7464623A 315D2900 00000000  >o.netdb:1]).....<
                    00000140= 00000000 00000000 00000000 00000000  >................<
                    000004F0  00000000                             >....<
automic
***************************************************************************
**  ucxjlx6m     version 21.0.9+build.1702489267437 changelist 1702489267  **
**  JOB 0003155026 (ProcID:0000008983) ENDED AT   07.02.2024 / 01:34:10  **
**                                     UTC TIME   07.02.2024 / 01:34:10  **
**  TEXT="        Job ended               "       RETCODE=00             **
***************************************************************************
-1 - Wrong message type
20240207/013410.985 U0009909 TRACE: (wrong type error)              0x280ac30 01268
                    00000000  53455353 494F4E5F 4552524F 52000000  >SESSION_ERROR...<
                    00000010  00000000 00000000 00000000 00000000  >................<
                    00000020  2A414745 4E540000 00000000 00000000  >*AGENT..........<
                    00000030= 00000000 00000000 00000000 00000000  >................<
                    00000060  00000000 00000000 756E6B6E 6F776E00  >........unknown.<
                    00000070= 00000000 00000000 00000000 00000000  >................<
                    000000F0  B9851E00 2A414745 4E547C63 6F6E6E65  >....*AGENT|conne<
                    00000100  63742F28 7265736F 6C76653A 20486F73  >ct/(resolve: Hos<
                    00000110  74206E6F 7420666F 756E6420 28617574  >t not found (aut<
                    00000120  686F7269 74617469 76652920 5B617369  >horitative) [asi<
                    00000130  6F2E6E65 7464623A 315D2900 00000000  >o.netdb:1]).....<
                    00000140= 00000000 00000000 00000000 00000000  >................<
                    000004F0  00000000                             >....<
-1 - Wrong message type
20240207/013421.140 U0009909 TRACE: (wrong type error)              0x280ac30 01268
                    00000000  53455353 494F4E5F 4552524F 52000000  >SESSION_ERROR...<
                    00000010  00000000 00000000 00000000 00000000  >................<
                    00000020  2A414745 4E540000 00000000 00000000  >*AGENT..........<
                    00000030= 00000000 00000000 00000000 00000000  >................<
                    00000060  00000000 00000000 756E6B6E 6F776E00  >........unknown.<
                    00000070= 00000000 00000000 00000000 00000000  >................<
                    000000F0  B9851E00 2A414745 4E547C63 6F6E6E65  >....*AGENT|conne<
                    00000100  63742F28 7265736F 6C76653A 20486F73  >ct/(resolve: Hos<
                    00000110  74206E6F 7420666F 756E6420 28617574  >t not found (aut<
                    00000120  686F7269 74617469 76652920 5B617369  >horitative) [asi<
                    00000130  6F2E6E65 7464623A 315D2900 00000000  >o.netdb:1]).....<
                    00000140= 00000000 00000000 00000000 00000000  >................<
                    000004F0  00000000                             >....<
-1 - Wrong message type
20240207/013431.149 U0009909 TRACE: (wrong type error)              0x280ac30 01268
                    00000000  53455353 494F4E5F 4552524F 52000000  >SESSION_ERROR...<
                    00000010  00000000 00000000 00000000 00000000  >................<
                    00000020  2A414745 4E540000 00000000 00000000  >*AGENT..........<
                    00000030= 00000000 00000000 00000000 00000000  >................<
                    00000060  00000000 00000000 756E6B6E 6F776E00  >........unknown.<
                    00000070= 00000000 00000000 00000000 00000000  >................<
                    000000F0  B9851E00 2A414745 4E547C63 6F6E6E65  >....*AGENT|conne<
                    00000100  63742F28 7265736F 6C76653A 20486F73  >ct/(resolve: Hos<
                    00000110  74206E6F 7420666F 756E6420 28617574  >t not found (aut<
                    00000120  686F7269 74617469 76652920 5B617369  >horitative) [asi<
                    00000130  6F2E6E65 7464623A 315D2900 00000000  >o.netdb:1]).....<
                    00000140= 00000000 00000000 00000000 00000000  >................<
                    000004F0  00000000                             >....<

The agent ini file has UC_EX_IP_ADDR and/or UC_EX_JOB_MD_IP_ADDR filled out

Environment

21.0

Cause

The agent ini file has un unreachable UC_EX_IP_ADDR or UC_EX_JOB_MD_IP_ADDR

Resolution

Check the agent ini file that the setting in UC_EX_JOB_MD_IP_ADDR is actually reachable by the agent server.  If this is commented out, check the UC_EX_IP_ADDR setting that it is reachable by the agent server.  Note that UC_EX_JOB_MD_IP_ADDR overwrites UC_EX_IP_ADDR.

You can find the DNS or IP address that's throwing the error by enabling messenger trace - add the following in the Pre process tab:

:SET &UC_JOB_MD_TRC = '1'

The report will have additional information like the following which has the unreachable IP or DNS name bolded below:

00007F8E7F07DCC0 20240207/205106.967 - parse_arguments(467): TCP/IP address                 : '[DNS_OR_IP]'
...
00007F8E7F07DCC0 20240207/205106.967 - ccm::Connector::connect(host=[DNS_OR_IP],port=23022,endpoint=/messenger) -->
00007F8E7F07DCC0 20240207/205106.975 - ccm::Interface::interface_error(name=*AGENT,ID=0,active=true,host=[DNS_OR_IP],error=exception(nr=2000313,msginsert=*AGENT|connect/(resolve: Host not found (authoritative) [asio.netdb:1]),errno=0) -->