My Oracle Support Banner

SUPPORT/bin/smsCdrArchiver Broken On 12.0.2 (Doc ID 2749336.1)

Last updated on JANUARY 05, 2023

Applies to:

Oracle Communications Network Charging and Control - Version 12.0.2.0.0 and later
Information in this document applies to any platform.

Symptoms

Some issues exists with the Call Data Record (CDR) archival script on Oracle COmmunications Network Charging and Control (OCNCC / NCC)  12.0.2 for Solaris 11.4 SPARC. This script is not able anymore to create the date subdirectories where the script archives the CDR's of that date when the useDateOutDirs parameter is set to true.

This script is using gawk with the --posix flag on 12.0.2, while on older versions in NCC 5.0.2, the script was using /usr/xpg4/bin/awk

The problem is that the if statement to check for the existence of the directory with the recordDate does not work anymore in the new version:

The reason is that the if statement in the code expects a result code of 1 for the test -d "outDir"/"recordDate system call, but when using the --posix flag for gawk, the result code is not 1.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.