search cancel

Web UI ECLI showing "Unable to load the CA Secure Sockets Adapter shared library dynamically. Process terminating"

book

Article ID: 212414

calendar_today

Updated On:

Products

CA Workload Automation AE

Issue/Introduction

Error:

CAUAJM_E_00179 Unable to load the CA Secure Sockets Adapter shared library dynamically. Process terminating.
Library "libcasocket" has not been loaded

sh: line 1: 24594 Killed                  chk_auto_up -saml "UserSession;Version-1.0;253eae2add2df0d53283440d4f060fa3-605b2bcd-e430e1a0-3f32"

StatusCode: 200, URL: https://dlt-eu4-a749.abc.com:9443/AEWS

CA-wcc log:


INFO   | jvm 1    | 2021/04/07 09:31:40 |      451 | @ecli <      Thread-35> []  INFO #CommandProcess                     # Executing request for AutoSys
INFO   | jvm 1    | 2021/04/07 09:31:40 |      451 | @ecli <      Thread-35> []  INFO #CommandProcess                     # command: autorep -J AY%
INFO   | jvm 1    | 2021/04/07 09:31:40 |      451 | @ecli <      Thread-35> []  INFO #WebServerCommandClientReq          # URL: https://dlt-eu4-a749.abc.com:9443/AEWS
INFO   | jvm 1    | 2021/04/07 09:31:40 |      451 | @ecli <      Thread-35> []  INFO #WebServerCommandClientReq          # Body:
INFO   | jvm 1    | 2021/04/07 09:31:40 |      451 |  <commandRequest><command>autorep -J AY% -saml &quot;UserSession;Version-1.0;ac55341031ab809e696917a71cfcef9b-605b2bcd-e430e1a0-3ade&quot;</command><osUser>ayacpt1</osUser><osPassword>08336E590F4FBAF62C5C15D5173FCEFF</osPassword><timeout>300000</timeout></commandRequest>
INFO   | jvm 1    | 2021/04/07 09:31:41 |      452 | @ecli <      Thread-35> []  INFO #WebServerCommandClientReq          # Status: 200
INFO   | jvm 1    | 2021/04/07 09:31:41 |      452 | @ecli <      Thread-35> []  INFO #WebServerCommandClientReq          # Response: {"stdErr":["sh: line 1:  4981 Killed                  autorep -J AY% -saml \"UserSession;Version-1.0;ac55341031ab809e696917a71cfcef9b-605b2bcd-e430e1a0-3ade\""],"stdOut":["CAUAJM_E_00179 Unable to load the CA Secure Sockets Adapter shared library dynamically. Process terminating.","Library \"libcasocket\" has not been loaded"]}
INFO   | jvm 1    | 2021/04/07 09:31:41 |      452 | @ecli <      Thread-35> [] ERROR #WebServerCommandClientReq          # Server Error:
INFO   | jvm 1    | 2021/04/07 09:31:41 |      452 | com.ca.wcc.command.client.webserver.WebServerException: sh: line 1:  4981 Killed                  autorep -J AY% -saml "UserSession;Version-1.0;ac55341031ab809e696917a71cfcef9b-605b2bcd-e430e1a0-3ade"
INFO   | jvm 1    | 2021/04/07 09:31:41 |      452 |
INFO   | jvm 1    | 2021/04/07 09:31:41 |      452 | StatusCode: 200
INFO   | jvm 1    | 2021/04/07 09:31:41 |      452 |    at com.ca.wcc.command.client.webserver.WebServerCommandClientReq.processResponse(WebServerCommandClientReq.java:158)
INFO   | jvm 1    | 2021/04/07 09:31:41 |      452 |    at com.ca.wcc.command.client.webserver.WebServerCommandClientReq.executeCommand(WebServerCommandClientReq.java:85)

Environment

Release : 12

Component : WORKLOAD CONTROL CENTER

Resolution

When the client used /etc/init.d/waae_webserver.$AUTOSERV to start the product as autosys the environment was set correctly.

When they used root it did not. 

The issue appeared isolated to something in the client's environment as it is not reproducible else where.

Case was not pursued further.

NOTE - look into sourcing $AUTOUSER/autosys.sh.<hostname> as that should set the environment needed for the product.

 

Check into permissions of  /etc/profile.CA too, the web server startup does a run_as_user  so, if the user cannot source /etc/profile  or /etc/profile.CA  the needed environment will be missing