Upgrade of Admin Console fails to start after upgrade from NAM 3.2 to NAM 4.0 appears to hang

  • 7014189
  • 27-Nov-2013
  • 27-Nov-2013

Environment

NetIQ Access Manager 3.2
NetIQ Access Manager 4.0
Admin Console running on SLES11 SP3
Admin Console and Identity Server on single VM version running 3.2 Sp2

Situation

Administrator tried to upgrade existing sandpit environment from 3.2.2 to 4.0. Everything was going well until it got to the point where it was going to start all the services. It appeared to simply hang there despite leaving it for up to 20 minutes. Going through the install logs indicated that we were hanging on starting the admin console. Here's the screenshot output:

Enter the Access Manager Administration Console password []:
Re-enter the password for verification []:
Stopping Access Manager services...                                                                                                                                                        done
Upgrading platforms...
Upgrading jdk:                                                                                                                                                                &a mp;a mp;nb sp;            done
Upgrading Tomcat:                                                                                                                                                                           done
Upgrading the 64-bit platform agent:                                                                                                                                                       done

Starting Administration Console upgrade...
Upgrading Adminconsole tomcat configuration rpm:                                                                                                                                           done
Upgrading Novell iManager:                                                                                                                                                               &am p;nb sp; done
Upgrading Novell Device Manager:                                                                                                                                                           done
Upgrading the Novell Access Manager Configuration Store:                                                                                                                                   done
Upgrading Novell Identity Server Administration Plug-in:                                                                                                                                   done
Upgrading the Audit Server:                                                                                                                                                                done
Installing SNMP perl Term rpm:                                                                                                                                                             done
Installing SNMP Master Agent                                                                                                                                                               done
Updating external attributes for policies:                                                                                                                                                 done
Upgrading the patch management tool:                                                                                                                                                       done

Starting Identity Server upgrade...
Upgrading the Novell Access Manager Server Communications:                                                                                                                                 done
Upgrading Identity Server tomcat configuration:                                                                                                                                            done
Upgrading the Novell Identity Server:                                                                                                                                                      done


Starting Access Manager services...



Running the installer with the 'bash -x' command to log debug statements during the install shows that we hang running the

wait_till_admin_console_starts()

command.

Resolution

Disable the Proxy service on the SLES OS - had a proxy configured through YaST so all traffic was being sent to this proxy.

The wait_till_admin_console_starts() function has a line

curl -D $rcfile -I "http://$TOMCAT_SRV_IP:8080/nps/index.html" > /dev/null 2>&1

This command appeared to hang, causing the function to hang. When we tried to execute this command manually it would just sit there, because the proxy was available. It would never timeout - even with the --noproxy option because curl doesn't seem to be honouring that for whatever reason.