Execution of check-SLEE.sh and ps_list.sh Scripts Fail with "arithmetic syntax error" or Throws Warning "escape sequence `\/' treated as plain `/'"
Last updated on FEBRUARY 12, 2018
Applies to:Oracle Communications Convergent Charging Controller - Version 6.0.0 and later
Information in this document applies to any platform.
On all versions of Oracle Communications Convergent Charging Controller (OC3C), after installing nawk, the check-SLEE.sh script will begin to fail and throw the following error when executed:
./check-SLEE.sh: line 316: : arithmetic syntax error
If the nawk package is not installed, then by default nawk is a softlink to gawk:
bash-4.2$ ls -lh /usr/bin/nawk
lrwxrwxrwx 1 root root 4 Sep 2 2016 /usr/bin/nawk -> gawk
This results in the following warning being thrown, but the script will still execute correctly (as opposed to the error and failing):
This article will cover the necessary changes to be made to both the check-SLEE.sh and ps_list.sh scripts in order to prevent these alarms from being thrown.
- Installation of OC3C on Linux
- Installation of nawk
- Both of the above
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms