Error : SAP ERP Agent reports Config file not found

book

Article ID: 224255

calendar_today

Updated On:

Products

CA Single Sign On Agents (SiteMinder) SITEMINDER

Issue/Introduction

 

When running an ERP Agent for SAP, this one returns error :

  com.netegrity.siteminder.sap.webas.jaas.SiteMinderLoginModule.abort()

  as

    #2.0#2021 09 08 07:45:02:961#+0200#Error#com.sap.engine.services.rfcengine#
    #BC-MID-CON-JCO#rfcengine#C0000A0B4AAD001D000000040000BADA#304935450000002311##
    com.sap.engine.services.rfcengine.handleThrowable(Throwable t)
    ####3485C019105F11EC8D6A506B8DF4C0A3#3485c019105f11ec8d6a506b8df4c0a3##0
    #Thread[JCO.ServerThread-1,5,SystemThreadGroup]#Plain##
  Server startup error on host myhost.mydomain.com with service
  mySap programID SAPS7DSA_JED_SSO. Error: Server startup failed at
    Wed Sep 08 07:45:02 CEST 2021. 

    #2.0#2021 09 08 09:36:20:388#+0200#Fatal#com.netegrity.siteminder.sap.webas.util.SMConfig#
    ##ca.com~SiteMinderLoginModule#C0000A0B4AAD001E000000010000BADA#304935450000000004
    #sap.com/irj#com.netegrity.siteminder.sap.webas.util.SMConfig.loadConfigFile()
    #Guest#0##5DFFC76C107511ECAF100000122CF21A#5dffc76c107511ecaf100000122cf21a##0
    #Thread[HTTP Worker [@1677587003],5,Dedicated_Application_Thread]#Plain##
    Config file not found#

 

Cause

 

The smwebas.home doesn't have the correct path as the webagent doesn't
exist, but rather webasagent :

    smwebas.home /mydomain/myserver/myapp/siteminder/webagent/sapwebas/conf

The OS file system shows webasagent instead of webagent :
    
ls.txt :

  /mydomain/myserver/myapp/siteminder:
  total 57M
  drwxrwxrwx 4 myuser mygroup 256 Sep  7 09:18 webasagent

 

Environment

 

  - ERP Agent 12.51 on SAP 7.50 on RedHat 7;
     (ca-erp-webas-12.51-rhas30-x86-64.bin);

  - Policy Server 12.8SP4 on RedHat 7;
     JDK jdk8u265-b01;

 

Resolution

 

- On the RedHat box, in the SAP GUI VM Parameters / System, modify the
  value of smwebas.home :

  From 

  smwebas.home /mydomain/myserver/myapp/siteminder/webagent/sapwebas/conf

  change it to 

  smwebas.home /mydomain/myserver/myapp/siteminder/webasagent/sapwebas/conf

- Restart the SAP server to solve this error;