Operating System - HP-UX
1844066 Members
2448 Online
110227 Solutions
New Discussion

Re: Is there a VARIABLE to use tempspace other then /tmp

 
SOLVED
Go to solution
Frank de Vries
Respected Contributor

Is there a VARIABLE to use tempspace other then /tmp

I need to install Oracle9i.
It requires more /tmp free than I can give
at the moment.

Is there a variable i can use to
use another path of filesytstem like
/backup/tmp.

Would the Oracle universal Installer acknowledge this parameter and think that
tempspace will be /backup/tmp instead of
the default /tmp

Look before you leap
7 REPLIES 7
Marcel Boogert_1
Trusted Contributor

Re: Is there a VARIABLE to use tempspace other then /tmp

Frank de Vries
Respected Contributor

Re: Is there a VARIABLE to use tempspace other then /tmp

I followed your link and used the
variable TEMP, I tried TMPDIR and TEMPDIR as well, but to no avail I am afraid.

see ouput from telnet screen:

[oratst@orasrv2:]/tstnew/backup/9207/Disk1<>>> export TMPDIR=/tstnew/backup/tmp
[oratst@orasrv2:]/tstnew/backup/9207/Disk1<>>> print $TEMP
/tstnew/backup/tmp
[oratst@orasrv2:]/tstnew/backup/9207/Disk1<>>> export TEMPDIR=/tstnew/backukp/tmp
[oratst@orasrv2:]/tstnew/backup/9207/Disk1<>>>
[oratst@orasrv2:]/tstnew/backup/9207/Disk1<>>> print $TMPDIR
/tstnew/backup/tmp
[oratst@orasrv2:]/tstnew/backup/9207/Disk1<>>> print $TEMPDIR
/tstnew/backukp/tmp
[oratst@orasrv2:]/tstnew/backup/9207/Disk1<>>>
[oratst@orasrv2:]/tstnew/backup/9207/Disk1<>>>
[oratst@orasrv2:]/tstnew/backup/9207/Disk1<>>> ./runInstaller
Starting Oracle Universal Installer...


Preparing to launch Oracle Universal Installer from /tmp/OraInstall2006-09-27_10-23-58AM.
Look before you leap
Ninad_1
Honored Contributor
Solution

Re: Is there a VARIABLE to use tempspace other then /tmp

Hi,

Try setting TMP as well as TMPDIR variables to the new tmp path
TMP=/tstnew/backup/tmp
TMPDIR=/tstnew/backup/tmpexport TMP TMPDIR

and then try installing.

Regards,
Ninad
Ninad_1
Honored Contributor

Re: Is there a VARIABLE to use tempspace other then /tmp

Hi,

Sorry the previous post was missing an enter before the xport command.

Try setting TMP as well as TMPDIR variables to the new tmp path
TMP=/tstnew/backup/tmp
TMPDIR=/tstnew/backup/tmp
export TMP TMPDIR

and then try installing.

Regards,
Ninad
Peter Godron
Honored Contributor

Re: Is there a VARIABLE to use tempspace other then /tmp

Krank,
include your definitions in the .profile file for the user used for the installation.
Log out and then log back on.
env | grep -i tmp should show you the new locations

If all else fails you can create a link to your new location with ln

see man ln
Peter Godron
Honored Contributor

Re: Is there a VARIABLE to use tempspace other then /tmp

Frank,
include your definitions in the .profile file for the user used for the installation.
Log out and then log back on.
env | grep -i tmp should show you the new locations

If all else fails you can create a link to your new location with ln

see man ln
Frank de Vries
Respected Contributor

Re: Is there a VARIABLE to use tempspace other then /tmp

on hpux it is :
export TMP=/other/tmpdir

Look before you leap