OFSAA Agentstartup.sh & Agentshutdown.sh Scripts Fail When Unix Username is Greater than 8 Characters (Doc ID 1984422.1)

Last updated on MAY 27, 2016

Applies to:

Oracle Financial Services Analytical Applications Infrastructure - Version 7.3.4.0.0 to 8.0.0 [Release 7 to 8]
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA) 7.3.4 to 8.0.0

Symptoms

Beginning in Oracle Financial Services Analytical Applications (OFSAA) Infrastructure 7.3.4, the agent scripts - agentstartup.sh and agentshutdown.sh - fail because they are searching on the Unix user id (UID) value instead of the username.  The OFSAA Unix username is more than 8 characters.  When the agent scripts are run, the username is converted into the UID value and command in the script fails to find the agent processes.  This prevents the router, am, and messageserver from starting and you get the following messages:

OLAP Data Server service is not running.
MESSAGE Server service is not running.
AM service is not running.
ROUTER service is not running.


The commands in the script like the one below appear to cause the issue:

pid=$(ps -ef | grep ./router | grep $LOGNAME | awk '!/grep/{ print $2 } ')

The ps -ef command fails to find the process.

Cause

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