Registration failed: Unknown error 251 registering ERP Agent for SAP
search cancel

Registration failed: Unknown error 251 registering ERP Agent for SAP

book

Article ID: 250154

calendar_today

Updated On:

Products

CA Single Sign On Agents (SiteMinder) SITEMINDER

Issue/Introduction


Configuring the ERP Agent for SAP, the process stops at registration and the configurator gives the error:

  Registration failed: Unknown error 251

Telnet to the Policy Server 192.168.1.1 ports from the SAP server returns Connection timed out.

 

Cause


For the registration to work, set the environment variable CAPKIHOME before running the configurator.

The ERP Agent for SAP should run on the SAP Engine, and it should point to the same environment variable:

  Set the CAPKIHOME Environment Variable

  In UNIX, the r12.51 Agent for SAP needs the CAPKIHOME environment variable.

 

Resolution

 

  • Ensure the Policy Server is up and running;
  • Ensure there's no firewall rule between SAP server and Policy Server that blocks port 44441, 44442, 44443, 44444, and 44445;
  • Run the following commands:
      
      # export CAPKIHOME=<Agent_install_dir>/sapwebas/CAPKI
      # ca-sapwebas-config.bin -i console