Operating System - HP-UX
1748275 Members
3828 Online
108761 Solutions
New Discussion юеВ

Re: *.TMP files in /tmp re: Oracle Financials

 
SOLVED
Go to solution
TwoProc
Honored Contributor

*.TMP files in /tmp re: Oracle Financials

Does anyone know what variable defines the output of the *.TMP files that are landing in /tmp for Oracle Forms server tiers hosting Oracle Applications ?

I'd like them a) gone or b) moved to another directory.
We are the people our parents warned us about --Jimmy Buffett
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor
Solution

Re: *.TMP files in /tmp re: Oracle Financials

Hi:

One would hope that temporary files are created using the TMPDIR variable's value. See the manpages for 'mktemp(1 and 3C)' for more information.

Regards!

...JRF...
Steven E. Protter
Exalted Contributor

Re: *.TMP files in /tmp re: Oracle Financials

Shalom,

Check the date on those files, if they are old, you may be able to delete right away.

Question: Do you have a daily job that gets rid of old files in /tmp ? Thats standard in Linux but you actually have to write, borrow or steal one with HP-UX.

I think redirecting the files by setting the TMPDIR variable should best be done in the startup script for the Oracle Forms server.

Pesky little product those app servers. Ate a couple of years out of my life in my last job.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
TwoProc
Honored Contributor

Re: *.TMP files in /tmp re: Oracle Financials

Steven and James,

Thanks for the tip, I'll give it a try today.
I don't have "TMPDIR" defined, so I'm guessing that it is defaulting to /tmp.

To answer your question Steven, I do delete them every hour for any file over 1 day old (find -mtime +0). I really don't like them in a public area - If I have to have them, I'd prefer them in a directory of my own choosing. It's one of those things that have been bugging me that I'm finally getting around to addressing. Too bad that the list is sooo long...
We are the people our parents warned us about --Jimmy Buffett
A. Clay Stephenson
Acclaimed Contributor

Re: *.TMP files in /tmp re: Oracle Financials

I don't know specifically about Oracle Financials but I have seen Oracle use TMPDIR, TEMP, and TMP as envionment variables. You should check your documentation but I would set all three of those variables. No harm is done if you simply do:
export TEMP=${TMPDIR}
export TMP=${TMPDIR}
If it ain't broke, I can fix that.
Yogeeraj_1
Honored Contributor

Re: *.TMP files in /tmp re: Oracle Financials

hi John,

You would normally set the environment variable TMP which is most of the time used by Oracle.

We run something similar Oracle Application Server. Here we had to edit our OPMN.XML to get the info about temp files location:

e.g.
SLAX1:$ORACHLE_HOME/opmn/conf>grep -i tmpdir opmn.xml


hope this helps!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
John Brooks_1
Advisor

Re: *.TMP files in /tmp re: Oracle Financials

If your system is autconfig enabled, then you should be able to use editcontext to view all the enviromental settings and make changes.

Editcontext is found $COMMON_TOP/util/editcontext

You will need to know the location of your context file usually found under $APPL_TOP/admin. The file name has the form of (INSTANCE_NAME)_(HOST_NAME).xml

See oracle notes 165195.1 and 218089.1 for help with autoconfig.
TwoProc
Honored Contributor

Re: *.TMP files in /tmp re: Oracle Financials

Thanks all, I just added TMPDIR to the customized environment files that I use to startup those tiers, and it is working great.

Really appreciate the help,

thank you!
We are the people our parents warned us about --Jimmy Buffett