SiteMinder : Logging Issue in AG siteminder server
search cancel

SiteMinder : Logging Issue in AG siteminder server

book

Article ID: 401306

calendar_today

Updated On:

Products

CA Single Sign On Agents (SiteMinder)

Issue/Introduction

Customer was unable to write logs in the AG HTTP server logs.

The Access and Error logs for one virtual host is working, however the other is not.  Neither Access nor Error logs are being generated.

===================================
*** WORKING ***

[/opt/netegrity/secure-proxy/Internal/httpd/conf/extra/vhosts]

ErrorLog /metlife/log/qa.disability.intake.servicing.online.metlife.com/apache/error_log

TransferLog /metlife/log/qa.disability.intake.servicing.online.metlife.com/apache/access_log

--------------------------------------------
*** NOT-WORKING ***

[/opt/netegrity/secure-proxy/httpd/conf/extra/vhosts]

ErrorLog "|'/opt/netegrity/secure-proxy/httpd/bin/rotatelogs' '/metlife/log/qa.identity.metlife.com/apache/error_log_%Y-%m-%d-%H_%M_%S' 10M"

LogFormat "\"%{X-Forwarded-For}i\" \"%h\" \"%l\" \"%u\" \"%t\" \"%r\" \"%>s\" \"%b\" \"%{Referer}i\" \"%{User-Agent}i\" \"%D\""

TransferLog "|'/opt/netegrity/secure-proxy/httpd/bin/rotatelogs' '/metlife/log/qa.identity.metlife.com/apache/access_log_%Y-%m-%d-%H_%M_%S' 10M"

Environment

R12.8.x

OS : Linux

Cause

As the customer was unable to transfer the configuration file from the  working server for updating the expression for the log format.

Customer tried coping the content in to text file and updated the conf file which caused the DOS conversion issue.

Resolution

Customer to execute below command to convert the dos to Unix compatible file to execute.

dos2unix <file_name>