Forum Discussion

brice1's avatar
brice1
Level 4
7 years ago

insufficient space exists in /tmp

i would like to install nbu client 8.1 on AIX server but insufficient space exists in /tmp .

how shall i change default /tmp of nbu before installaion

3 Replies

Replies have been turned off for this discussion
  • Edit the install script. About 2/3 of the way down in the script you'll find this section:

    if [ "${NB_TMPDIR}" != "" ] ; then
    TMPDIR="${NB_TMPDIR}"
    else
    TMPDIR=${TMPDIR:=/tmp}
    fi
    export TMPDIR

    Change the TMPDIR to be TMPDIR="/var/log/tmp" and TMPDIR=/var/log/tmp

    If that location doesn't work well for you, then change it to whatever you need it to be. Save the edited file and run install again.

    • andrew_mcc1's avatar
      andrew_mcc1
      Level 6

      Or why not just use the NB_TMPDIR variable that the script is checking for anyway? Personally I'm not sure editing the install script is good practice... BR Andrew