Access Manager 4.0.1 HF3 patch fails to install

  • 7016005
  • 17-Dec-2014
  • 17-Dec-2014

Environment

NetIQ Access Manager 4.0
NetIQ Access Manager 4.0 Support Pack 1 HF2 applied

Situation

Administrator trying to apply the NAM 4.0.1 HF3 patch. After downloading, copy'ing and unzip'ing the files to the Admin Console, Identity Server and Access Gateway, the install was launched from the /opt/novell/nam/patching/bin/ dir

nam40-ags:/opt/novell/nam/patching/bin # ./patch -i ~/AM_401_HF3/AM_401_HF3-130.patch

The install appeared to proceed and then error out with the following message:

Installing /root/AM_401_HF3/AM_401_HF3-130.patch...
Unable to install /root/AM_401_HF3/AM_401_HF3-130.patch. Refer to the log /tmp/novell_access_manager/patches/patching_0.log.0 for details.
The log file /tmp/novell_access_manager/patches/patching_0.log.0 has been copied to /tmp/novell_access_manager/patches/Install__1418834232259_patching_0.log.0 for future reference.


Looking at this file for more details, we can see the following patchingException:

Dec 17, 2014 1:37:05 PM com.netiq.nam.patching.PatchInstaller setupLogging
INFO: Refer to the log /tmp/novell_access_manager/patches/patching_0.log.0 for details.
Dec 17, 2014 1:37:05 PM com.netiq.nam.patching.Util logEnvironmentDetails
FINE: The operating system is Linux.
Dec 17, 2014 1:37:05 PM com.netiq.nam.patching.Util logEnvironmentDetails
FINE: Using the patch location /opt/novell/nam/patches.
Dec 17, 2014 1:37:05 PM com.netiq.nam.patching.Util logEnvironmentDetails
FINE: Using the patch log location /tmp/novell_access_manager/patches.
Dec 17, 2014 1:37:06 PM com.netiq.nam.patching.PatchInstaller installPatch
INFO: Installing /root/AM_401_HF3/AM_401_HF3-130.patch...
Dec 17, 2014 1:37:23 PM com.netiq.nam.patching.PatchConfig populateDefaultPatch
FINE: The patch patchEdir.sh is not part of a configured patch.
Dec 17, 2014 1:37:23 PM com.netiq.nam.patching.PatchInstaller installPatch
INFO: Unable to install /root/AM_401_HF3/AM_401_HF3-130.patch. Refer to the log /tmp/novell_access_manager/patches/patching_0.log.0 for details.
com.netiq.nam.patching.PatchingException: The patch patchEdir.sh is not part of a configured patch.
        at com.netiq.nam.patching.PatchConfig.populateDefaultPatch(PatchConfig.java:114)
        at com.netiq.nam.patching.PatchInstaller.readPatchConfig(PatchInstaller.java:131)
        at com.netiq.nam.patching.PatchInstaller.installPatch(PatchInstaller.java:393)
        at com.netiq.nam.patching.PatchInstaller.main(PatchInstaller.java:211)

Dec 17, 2014 1:37:23 PM com.netiq.nam.patching.Util duplicateLogFile
INFO: The log file /tmp/novell_access_manager/patches/patching_0.log.0 has been copied to /tmp/novell_access_manager/patches/Install__1418823443017_patching_0.log.0 for future referenc
e.
Dec 17, 2014 1:37:23 PM com.netiq.nam.patching.Util logInfo
INFO:

Resolution

Make sure that the patch is installed with the  ./installPatch.sh script and not using the ./patch -i approach.