Issue:
After installing or upgrading to the 12.51 Single Sign-On Agent for PeopleSoft, the PeopleSoft agent logs an error “Agent API init failed” despite the policy server being verified as reachable, and no failed handshake message is logged at the policy server.
Environment:
12.51 Agent for PeopleSoft
Any version of PeopleSoft
Operating System and PeopleTools versions:
All unix operating systems listed, and all PeopleTools versions listed in the 12.51 Agent for PeopleSoft platform support matrix, located at:
https://support.ca.com/phpdocs/7/5262/5262_CA_Single_Sign_On_Agent_12_51_For_ERP_PSM.pdf
Cause:
Unlike previous versions of the Agent for PeopleSoft, environment variables must be set in your shell prior to starting the PeopleSoft server in order for the Single Sign-On agent API to function.
Resolution:
After installation of the agent, and before starting or restarting the PeopleSoft server to enable the agent, you must execute the following commands in your shell:
Note the notation of the second command, being dot space dot slash and then the ca_peoplesoft_env.sh file name. This sources the environment variables within the file into your shell. You can then proceed with starting the PeopleSoft server process.