NetIQ Access Manager Gateway Appliance upgrade from 3.2 SP2 to 4.0 fails

  • 7015847
  • 30-Oct-2014
  • 30-Oct-2014

Environment


  • NetIQ Access Manager 3.2
  • NetIQ Access Manager 3.2SP2
  • NetIQ Access Manager 4.0

Situation

  • Installing the "novell-nacm-apache-2.2.24-400023.x86_64.rpm" and "novell-ag-meta-4.0.0-110.rpm failed"

  • running "rpm -Uvh ./mag/rpms/novell-nacm-apache-2.2.24-400023.x86_64.rpm" returns:

    preparing...                ###########################################
    [100%] 1:novell-nacm-apache     warning: /etc/opt/novell/apache2/conf/httpd.conf created as /etc/opt/novell/apache2/conf/httpd.conf.rpmnew
    ########################################### [100%]
    error: unpacking of archive failed on file /opt/novell/apache2/cacerts: cpio: rename failed - Is a directory

Resolution

  • remove the " /etc/opt/novell/apache2/conf/cacerts" directory
  • run: "rpm -Uvh ./mag/rpms/novell-nacm-apache-2.2.24-400023.x86_64.rpm""
  • run: "rpm -Uvh novell-ag-meta-4.0.0-110.rpm"

Cause

The rpm install post script tries to create the following symbolic links:
  • lrwxrwxrwx 1 root root   XX Oct 15 12:00 cacerts -> /etc/opt/novell/apache2/conf/cacerts
  • lrwxrwxrwx 1 root root   XX Oct 15 12:00 certs -> /etc/opt/novell/apache2/conf/certs
  • lrwxrwxrwx 1 root root   XX Oct 15 12:00 clientcerts -> /etc/opt/novell/apache2/conf/clientcerts
On the Access Gateway Appliance which failed to upgrade the "/etc/opt/novell/apache2/conf/cacerts" directory already exists as real directory