Environment
NetIQ Access Manager 4.0.1
Access Gateway Appliance fresh installation
Situation
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/ma_install.sh: 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.
/etc/init.d/rc3.d/S13ma-config: line 27: /tmp/NAM-magappliance.tar.gz/ma_install.sh: 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.
Resolution
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 ./ma_install.sh
This should complete the installation without further errors.
If the error is encountered.
cd /tmp/NAM-magappliance-4.0.1-87
and then run ./ma_install.sh
This should complete the installation without further errors.
Cause
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/ma_install.sh 2>&1 /dev/null In certain cases this find command fails when ends with asterisk... Example: if I'm in the /tmp directory: /tmp 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 NAM-magappliance* /tmp/NAM-magappliance-4.0.1-87 /tmp/NAM-magappliance.tar.gz Because this variable doesn't get set it can't run the /tmp/NAM-magappliance-4.0.1-87/ma_install.sh script