NPS9.20 upgrade on Linux fails to create Sybase ASE content store on Linux platform.

  • KM00799486
  • 19-Mar-2014
  • 21-Mar-2014

Summary

The following error may be seen in the installer window when upgrading to NPS 9.20 INFO - Executing finalize action : Create Sybase Content Store 20 WARN - Finalize action warning.Finalize action for package HPNNMPerfSPI 9.20.000 (HP NNM iSPI Performance - Network Performance Server) (Create Sybase Content Store) was not successful.

Error

When upgrading to  Network Performance Server (NPS) 9.20 the following error may be reported:

INFO - Executing finalize action : Create Sybase Content Store 20 WARN - Finalize action warning.Finalize action for package HPNNMPerfSPI 9.20.000 (HP NNM iSPI Performance - Network Performance Server) (Create Sybase Content Store) was not successful.

Cause

The following error will be seen in the logfile which is presented in the installation window under the Detail button.

[28459] /opt/OV/nonOV/perl/a/lib/5.8.8/sybaseAse.pm(283) INFO: Creating ASE server...
[28459] /opt/OV/nonOV/perl/a/lib/5.8.8/sybaseAse.pm(286) FATAL: Failed command system(". /opt/OV/nonOV/sybasease/SYBASE.sh >/dev/null 2>&1; unset LANG;unset LC_ALL; /opt/OV/nonOV/sybasease/ASE-15_0/bin/srvbuildres -r /opt/OV/NNMPerformanceSPI/config/ASECONTENTSERVER.res  > "/var/opt/OV/NNMPerformanceSPI/logs/createASECONTENTSERVER.log" 2>&1"): 1024
Died at /opt/OV/nonOV/perl/a/lib/5.8.8/npslog.pm line 194.

FATAL ERROR: initializeNPS.ovpl -a CreateSybaseContentStore Failed. (Logfile /var/tmp/PerfSPI_RunInitializeNPS_CreateSybaseContentStore.txt)

The problem is caused by a lack of shared memory needed by Sybase.

Fix

The solution is to update the Kernel Configuration for Linux.

1.Open the /etc/rc.d/rc.local file using a text editor.

2.Modify the following command to reflect the total number of bytes (nnnnnnnnnn) that are allocated to Sybase.

3.set kernel.shmmax=nnnnnnnnnn  (The default value for operating system shared memory is typically 32 MB. For Red Hat Linux systems, 2 GB (2147483648 bytes) is the minimum requirement. The value can be set to "68719476736" which is a tested value.)

4.Add the following lines in

/etc/sysctl.conf:

kernel.exec-shield=0
kernel.exec-shield-randomize=0

5.Run /sbin/sysctl -P  as the root user

6.Reboot the server