Osua Agent Script for Linux 5.50 can not start. It creates a defunct process right after it starts with the name [osua_oaOsScript] <defunct>
search cancel

Osua Agent Script for Linux 5.50 can not start. It creates a defunct process right after it starts with the name [osua_oaOsScript] <defunct>

book

Article ID: 86129

calendar_today

Updated On:

Products

CA Automic Sysload

Issue/Introduction

Affects Release version(s): 5

 On the stdout log file, after executing the startup script:
#################################
PHP Fatal error: Call to undefined function posix_uname() in /produit/sysload/5.0/osua/oaOsScript/ClassOSUACommon.php on line 115 
Cmd executed: /produit/sysload/5.0/osua/oaOsScript/sld_connector_start.sh. Process terminated with exit code 0. 
oaOsScript started.
################################# 

Patch level detected:SP Analyst Agent for Script (custom)
Product Version: Sysload 5.5.0

Description :Osua Agent Script for Linux 5.50 can not start. It creates a defunct process right after it starts with the name [osua_oaOsScript]

Environment

OS: Linux
OS Version: Red Hat 6.1
Related configuration item(s): V5.50

Cause

Cause type:
Defect
Root Cause: A deprecated function (posix_uname()) was used on a class php (ClassOSUACommon.php)

Resolution

Edit the file ClassOSUACommon.php
Replace the following line:
$aTmp = posix_uname();
by this one:
$aTmp = php_uname();

The correction is included on the setup for the osua script 5.50a. available on demand.
So please open a "Delivery Request" with this reference:
/edition_internal/spanalyst/osua/ag_script/ag_script_5.50a

Fix Status: Released

Fix Version(s):
Component: Agents
Version: Sysload 5.5.0
5.50a

Additional Information

Workaround :
N/A