000011515 - Installation of RSA Authentication Manager 7.1 fails on Solaris with error 'Insufficient swap space'

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000011515
Applies ToSolaris 10
RSA Authentication Manager 7.1
IssueInstallation of RSA Authentication Manager 7.1 fails on Solaris with error "Insufficient swap space"

Error appears in prereq_check.log file:

 

Please fix the following error(s) and re-run setup.sh
Insufficient swap space: 4202680 KB. RSA Authentication Manager requires at least: 24480000
KB swap space.


Insufficient swap space


#df -k

Filesystem          kbytes          used        avail        capacity   Mounted on
/dev/dsk/c1t0d0s0  12396483        10687074    1585445         88%       /
/devices                 0              0          0           0%        /devices
ctfs                     0              0          0           0%        /system/contract
proc                     0              0          0           0%        /proc
mnttab                   0              0          0           0%        /etc/mnttab
swap               31198712          1624      31197088        1%        /etc/svc/volatile
objfs                    0              0          0           0%        /system/object
sharefs                  0              0          0           0%        /etc/dfs/sharetab
/platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr/libc_psr_hwcap2.so.1
                   12396483        10687074    1585445         88%       /platform/sun4v/lib/libc_psr.so.1
/platform/SUNW,SPARC-Enterprise-T5220/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
                   12396483        10687074    1585445         88%       /platform/sun4v/lib/sparcv9/libc_psr.so.1
fd                       0              0          0           0%        /dev/fd
swap               31197208             120   31197088         1%        /tmp
swap               31197136             48    31197088         1%        /var/run
/dev/dsk/c1t1d0s6  140307082         4051219  134852793        3%        /apps
/dev/lofi/1        3488730           3462754  25976            100%      /apps/ace71

CauseThe install script verifies the swap prior to installation and stops after find a first swap size.
Resolution

The installation script can be modified and force the installation without checking for the prerequisite conditions. 

1. Edit the setupSolaris.sh file and incorporate below described changes.

2. Copy the setupSolaris.sh to auth_mgr directory.

3. Run the installation with below command:

./setupSolaris.sh -V FORCE_CONTINUE=true

Modified portion of the install script:

#swap=`$AWK '/SwapTotal/{printf ("%d", $2)}' /usr/sbin/swap -s | grep "available"`;
swap=0
lines=`/usr/sbin/swap -l | awk '{ print $4 } ' | grep '[0-9][0-9]*'`
for LINE in $lines
do
swap=$[$LINE+$swap];
done
swap=`expr $swap / 2`
# minimum swap space enforced = 4 GB (4 * 1024 * 1024)
swap_total=4194304;

if [[ $* == *"-V FORCE_CONTINUE=true"* ]]; then
swap_total=0;
fi

if [ $swap -lt $swap_total ]; then
report_error "Insufficient swap space: $swap KB. RSA Authentication Manager requires at least: $swap_total KB swap space.";
fi

tmp=`$DF -k /tmp | $GREP -v Filesystem | $TR '\n' ' ' | $AWK '/\//{print $4}'`;
if [ $tmp -lt 400000 ]; then
report_error "Insufficient disk space in /tmp. RSA Authentication Manager requires at least 400 MB of free disk space in /tmp"
fi

Please contact RSA Technical Support at 1-800-995-5095 to obtain the modified installation script.

Legacy Article IDa47472

Attachments

    Outcomes