NPS 9.20 Upgrade fails with Perl errors on Windows platform.

  • KM00798402
  • 18-Mar-2014
  • 19-Mar-2014

Summary

The following installation error may be seen in the installation window.There was a failure with this installation action for package HPNNMPerfSPI 9.00.000 (HP NNM iSPI Performance - Network Performance Server).Install Perl Modules has returned a non-zero error code.HP NNM iSPI Performance will not be installed.

Error

There was a failure with this installation action for package HPNNMPerfSPI 9.00.000 (HP NNM iSPI Performance - Network Performance Server).Install Perl Modules has returned a non-zero error code.HP NNM iSPI Performance will not be installed.

Cause

When trying to set the file permissions on the perl modules an error has occured.Run the command to verify the permissions error:

cacls.exe "%NNMINSTALLDIR%\nonOV\perl\a\lib\5.8.8" /T /E /G "Everyone":F

This will display an error such as the following, note the file may be different.

processed dir: D:\Program Files (x86)\HP\HP BTO Software\nonOV\perl\a\lib\5.8.8\Math
processed dir: D:\Program Files (x86)\HP\HP BTO Software\nonOV\perl\a\lib\5.8.8\Memoize
processed file: D:\Program Files (x86)\HP\HP BTO Software\nonOV\perl\a\lib\5.8.8\Memoize.pm
Access is denied.

The problem is caused by the permissions on the file not allowing even the administrator to have access to the file to change the file permissions.

Fix

The ownership and access permissions need to be updated on all the files under the perl directory.  Use "explorer" to reset the permissions from the perl directory downwards on all the folders and files. Confirm this is complete by running the cacls command again.  If this still fails then work with the system administrator to reset the permissions on all the files before continuing to install or upgrade to 9.20.