While adding Autosys instance in WCC configuration tab we get the following error
"E190099 server name - Connection exception encountered. CAUAJM_E_00064 Return code 5 received processing request"
The server status shows not available
To troubleshoot the issue we reviewed the agent spool files created while validating the user id from WCC. They are under the following directory in the server running application server (as_server)
<AGENT INSTALL>/spool/<Instance name>_APP_<server name>/MAIN/WAAE_WF0.1
We found the following lines in the spool file which appeared to be logging off the monitor id each time.
WARNING: YOU ARE SUPERUSER !!
resize: Can't open terminal /dev/tty
This was done by some profile script which was restricting the login.
Workload Automation AE 11.3.5
Workkload Control Center 11.3.5
The agentparm.txt file in agent machine on the application server had the following entry commented out.
This parameter specifies whether the agent allows loading a .profile/.login file that is based on the usual UNIX rules for sourcing .profile/.login. The default value is false.
Setting the parameter to true (uncommenting it in this case) fixed the issue.