After configuring the Siteminder Policy Server to prepare Administrative Audit Logs for import into the Audit Store DB, XPSSweeper shows the following errors when it attempts to process the Siteminder Administrative Audit Logs:
[root@smlab01 audit]# XPSSweeper
[XPSSweeper - XPS Version 12.8.0500.2546]
Log output: /opt/siteminder/log/XPSSweeper.2021-06-01_120043.log
Initializing XPS, please wait...
Can't locate Date/Parse.pm in @INC (you may need to install the Date::Parse module) (@INC contains: /opt/siteminder/CLI/lib/perl5/site_perl/5.24.3/x86_64-linux-thread-multi /opt/siteminder/CLI/lib/perl5/site_perl/5.24.3 /opt/siteminder/CLI/lib/perl5/5.24.3/x86_64-linux-thread-multi /opt/siteminder/CLI/lib/perl5/5.24.3 /opt/siteminder/CLI/lib/perl5/site_perl/5.24.3/ /opt/siteminder/CLI/lib/perl5/site_perl .) at ProcessAudit.pl line 8.
BEGIN failed--compilation aborted at ProcessAudit.pl line 8.
Release : 12.8..
Component : SITEMINDER -POLICY SERVER
The 'Harvest.sh' script calls the 'processaudit.pl', which includes the following:
Use Date::Parse
This error will occur if Date::Parse is not installed on the Policy Server host.
1) Logon to the Policy Server
2) Change to the Siteminder Directory
EXAMPLE: cd /opt/CA/siteminder
3) Set the Siteminder Environment Variables
EXAMPLE: . ./ca_ps_env.ksh
4) Browse to the Perl directory within Siteminder
EXAMPLE: cd /opt/CA/siteminder/Perl
5) Install CPAN
EXAMPLE: perl -MCPAN -e shell
6) When prompted with : "Would you like to configure as much as possible automatically?" Type "yes", then hit <ENTER>
7) When prompted with: "What approach do you want?" Type "sudo", then hit <ENTER>
8) At the 'CPAN' prompt type "install Date::Format", then hit <ENTER>
EXAMPLE: cpan[1]> install Date::Format
9) At the 'CPAN' prompt type "install Date::Parse", then hit <ENTER>
EXAMPLE: cpan[2]> install Date::Parse