cancel
Showing results for 
Search instead for 
Did you mean: 

insufficient space exists in /tmp

brice1
Level 4

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

1 ACCEPTED SOLUTION

Accepted Solutions

andrew_mcc1
Level 6
   VIP   

Try setting NB_TMPDIR as per https://www.veritas.com/support/en_US/article.100023461 

I know the Technote says Solaris and NBU 7.5.0.x but I believe it works for all Unix and Linux installs and I needed to use recently for NBU 8.1 on Solaris 11.

BR Andrew

View solution in original post

3 REPLIES 3

andrew_mcc1
Level 6
   VIP   

Try setting NB_TMPDIR as per https://www.veritas.com/support/en_US/article.100023461 

I know the Technote says Solaris and NBU 7.5.0.x but I believe it works for all Unix and Linux installs and I needed to use recently for NBU 8.1 on Solaris 11.

BR Andrew

DPeaco
Moderator
Moderator
   VIP   

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.

Thanks,
Dennis

andrew_mcc1
Level 6
   VIP   

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