Error during install of Access Gateway Appliance: /tmp/NAM-magappliance.tar.gz/ Not a directory

  • 7015186
  • 13-Jun-2014
  • 13-Jun-2014


NetIQ Access Manager 4.0.1
Access Gateway Appliance fresh installation


During installation of Access Gateway appliance there have been some reports where the installation fails with the following error:

/etc/init.d/rc3.d/S13ma-config: line 27: /tmp/NAM-magappliance.tar.gz/ Not a directory

This happens after the OS portion of the installation completes and the server restarts.  Once restarted the installation adds a script to initiate the NAM Access Gateway portion of the install and this is where it fails.


Reported issue to engineering. In the meantime a simple work-around is available.
If the error is encountered.

cd /tmp/NAM-magappliance-4.0.1-87

and then run ./

This should complete the installation without further errors.


ok, so after the appliance reboots, it runs /tmp/ma-config as a
service.....line 25 looks like this:

 25         location_val=`find /tmp/ -name NAM-magappliance*`
 26         location_val=NAM-magappliance-4.0.1-87
 27     $location_val/ 2>&1 /dev/null

In certain cases this find command fails when ends with asterisk...

if I'm in the /tmp directory:

sbunnell13:/tmp # find /tmp/ -name NAM-magappliance*
find: paths must precede expression: NAM-magappliance.tar.gz
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec]
[path...] [expression]

But oddly if I change directory to /tmp/NAM-magappliance-4.0.1-87/scripts

sbunnell13:/tmp/NAM-magappliance-4.0.1-87/scripts # find /tmp/ -name

Because this variable doesn't get set it can't run the
/tmp/NAM-magappliance-4.0.1-87/ script