Access Manager 4.0.1, Access Gateway Appliance failed installation

Access Manager 4.0.1, Access Gateway Appliance failed installation

There is a bug in the installation script which can cause some gateways to not install the NetIQ software on the SLES Access Gateway Appliance.

After the SLES installation the script calls on:


which is:

case "$1" in
echo "Starting MAGAppliance Configuration Script ......" > /var/log/ma-config.log
/tmp/ 2>&1 /dev/null
location_val=`find /tmp/ -name NAM-magappliance*`
location_val=`echo $location_val | cut -d ' ' -f 1`
$location_val/ 2>&1 /dev/null
echo "Stopping TcpServer " >> /var/log/sbox-config.log
#`perl /root/`
echo $"Usage: $0 {start|stop}"
exit 1
exec 1>/dev/null
chkconfig --del ma-config
exit $?

The scripts fails intermittently with:

./ma-config: line 27: /tmp/NAM-magappliance.tar.gz/ Not a directory

The reason why it fails, it because of the:

find /tmp/ -name NAM-magappliance*

Which produces two results:


The right path is: /tmp/NAM-magappliance-4.0.1-88

the find uses the first result, and in some installations the order is:




If the tar.gz is first the installation fails.

The ma-config should be modified to use:

location_val=`find /tmp/ -name NAM-magappliance-*`

Which would find the directory as a single value.

The work around is to correct that value or to run manually.

Labels (1)


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
3 of 3
Last update:
‎2020-01-31 22:08
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.