ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Error : failed dirpath = filename = forms Web Agent Password Services

book

Article ID: 237036

calendar_today

Updated On:

Products

SITEMINDER CA Single Sign On Agents (SiteMinder) CA Single Sign On Secure Proxy Server (SiteMinder)

Issue/Introduction

 

When running a Web Agent, this ones returns error 500 to the browser and
the Web Agent log shows the error :

    [03/02/2022][10:47:06][*10.68.107.183]
    [0000000000000000000000005b489f0a-7501-621f3d1a-a97ea700-0f0cc15c6b0]
    [][][][][][SmFcc::GetDirPathAndName][, failed dirpath = /opt/CA/webagent, filename = forms][]

 

Cause

 

At first glance, this issue happens when the Web Agent can't find the
file it looks for on the disk.

The request wants this file :

/siteminderagent/forms/myapp/smpwservices_MYAPP.fcc

and Apache is configured to :

   Alias /siteminderagent/ "/opt/CA/webagent/forms/"
   <Directory "/opt/CA/webagent/forms/">

So it tries to find the file here :

  /opt/CA/webagent/forms/forms/myapp/smpwservices_MYAPP.fcc

More, looking at the access log, 2 different paths for the same
file can be seen :

  /siteminderagent/forms/myapp/smpwservices_MYAPP.fcc

  and 

  /siteminderagent/myapp/smpwservices_MYAPP.fcc

  10.68.107.183 - - [02/Mar/2022:10:47:06 +0100] "GET
  /siteminderagent/forms/myapp/smpwservices_MYAPP.fcc?SMENC=UTF-8
  &USERNAME=myuser&SMENC=UTF-8&SMTOKEN=-SM-%7bRC2%7duSFUHPBXZPQUDb0f
  %2bRIodVP9yxBIL5wjN%2b0JhdFMz%2fbKcpjiVW45oVAn4n%2f9y1ucfkgREqaJlPvAioGDwb%2bBse9Ua
  J581fxPUA%3d&SMAUTHREASON=24&SMAGENTNAME=-SM-l%2fxZWcszlrWnYxBZyUpONFzwBmNEY
  c9OemS2uRq0wWZj1vni7X8jZacRsa1&TARGET=-SM-%2fmysite
  HTTP/1.1" 500 531
  "http://myserver.mydomain.com/siteminderagent/myapp/smpwservices_MYAPP.fcc"
  "PostmanRuntime/7.29.0" Client-ip=- COL="-" Por-Proxy="-"
  EXECTIME=825 "text/html" Forwarded-For="-"

 

Environment

 

  Web Agent 12.52SP1CR11 on Apache 2.4 on Linux;

 

Resolution

 

Correct the Password Policy Redirection URL to

  /siteminderagent/myapp/smpwservices_MYAPP.fcc 

to solve the issue.