This discussion is archived
9 Replies Latest reply: Oct 30, 2012 1:53 PM by Nicolas.Gasparotto RSS

PRCS: TMP directory ?

Nicolas.Gasparotto Oracle ACE
Currently Being Moderated
Hi all,

During a new install of PT8.52.11, all done fine.
Creating the process scheduler went also fine except that warning:
----------------------------------------------
Quick-configure menu -- domain: hcmdemo1
----------------------------------------------
      Features                      Settings
     ==========                    ==========
  1) App Engine        : Yes    6) DBNAME     :[hcmdemo1]
  2) Master Scheduler  : Yes    7) DBTYPE     :[ORACLE]
                                8) PrcsServer :[PSUNX]
                                9) UserId     :[PS]
                               10) UserPswd   :[PS]
                               11) ConnectID  :[people]
                               12) ConnectPswd:[peop1e]
                               13) ServerName :[]
                               14) Log/Output Dir:[%PS_SERVDIR%/log_output]
                               15) SQRBIN     :[%PS_HOME%/bin/sqr/%PS_DB%/bin]
                               16) AddToPATH  :[]

      Actions
     =========
  3) Load config as shown
  4) Custom configuration
  5) Edit environment settings
  h) Help for this menu
  q) Return to previous menu

Enter selection (1-16, h, or q): 3
Performing load prechecks ...
Loading validation table...
  setting DBName=hcmdemo1
  setting DBType=ORACLE
  setting UserId=PS
  setting UserPswd=PS
  setting ConnectId=people
  setting ConnectPswd=peop1e
  setting ServerName=
  setting PrcsServerName=PSUNX
  setting Log/Output Directory=%PS_SERVDIR%/log_output
  setting Add to PATH=
  setting SQRBIN=%PS_HOME%/bin/sqr/%PS_DB%/bin
New CFG file written with modified Startup parameters

Log Directory entry not found in configuration file.
Setting Log Directory to the default... [PS_SERVDIR/LOGS]
Spawning disabled for server PSDSTSRV.
Configuration file successfully created.
CFG setting changes completed
Loading configuration...


==============WARNING!================
The domain does not appear to have a TMP directory set in the configuration.
Your environment will inherit the value of TMP from the parent environment
==============WARNING!================
Domain configuration complete.


--------------------------------------------
PeopleSoft Process Scheduler Administration
--------------------------------------------
     Domain Name: hcmdemo1

  1) Boot this domain
  2) Domain shutdown menu
  3) Domain status menu
  4) Configure this domain
  5) TUXEDO command line (tmadmin)
  6) Edit configuration/log files menu
  7) Clean IPC resources of this Domain
  q) Quit

Command to execute (1-7, q) :
Note that the processes work well on this server, just this warning is coming out each time I reconfigure the domain.
I'm wondering where it is coming from, and what I've missed.
Anyone ?

NB:
OS = Oracle Linux 6.3
user = all onstall done with one user
PS_CFG_HOME != PS_HOME

NB2: reconfigure the apps does not produce this warning.

Nicolas.

Edited by: N Gasparotto on Oct 29, 2012 4:46 PM
  • 1. Re: PRCS: TMP directory ?
    Nicolas.Gasparotto Oracle ACE
    Currently Being Moderated
    Regarding that problem, not sure it's linked with my problem above, but I've read someting about temporary and output directories from the Peoplebooks below
    http://docs.oracle.com/cd/E28394_01/pt852pbh1/eng/psbooks/tsvt/book.htm?File=tsvt/htm/tsvt15.htm#_6032A1E0_1355AB78519__4301
    on the footnote :
    +"When implementing a read-only PS_HOME, consider that environment locations to which processes write files can't be in a read-only location. Settings for "temporary" directories and "output" directories should not be located within the PS_HOME directory structure. For example, the default temporary directory locations are C:\Documents and Settings\<user>.PEOPLESOFT\Local Settings\Temp (Windows) and %root%\TMP (UNIX)."+
    I'm really not sure what is it about, and what are those settings.

    Nicolas.
  • 2. Re: PRCS: TMP directory ?
    HakanBiroglu Oracle ACE
    Currently Being Moderated
    I patched my environment recently to 8.52.11, running on windows. Had no issues with the process scheduler on windows.
  • 3. Re: PRCS: TMP directory ?
    mmaller0319 Newbie
    Currently Being Moderated
    I have the same message.

    My PS_HOME is same as PS_CFG_HOME.It comes when i configure Process Scheduler in Windows.
  • 4. Re: PRCS: TMP directory ?
    Michel Journeyer
    Currently Being Moderated
    I have this exact warning message as well and I think there's a line in the domain configuration file somewhere where you can specify a temp directory. I'm not sure which line it is, but I'm confident that it is because of the domain configuration file.
  • 5. Re: PRCS: TMP directory ?
    Nicolas.Gasparotto Oracle ACE
    Currently Being Moderated
    It should have been introduced somewhere between patch 8.52.03 and 8.52.11.
    I've just done an exact same install with patch 8.52.03 and this warning is not there... hmmm

    Nicolas.
  • 6. Re: PRCS: TMP directory ?
    Michel Journeyer
    Currently Being Moderated
    Searched for "TMP/TEMP" through those patches and found this entry in .11:

    14301709     IDENTIFY A DIRECTORY TO WRITE INTERMEDIATE FILES INSTEAD WRITING INSECURE TMPDIR     Post Windows 2008 Server, Windows appends the session ID with the User Temp Path which is deleted once user logs off. This causes certain sub-process which relies on Windows Temp Path like Pagelet Wizard to crash. This resolution would add the possibility of other non-volatile Temporary Path Location like {LOGDIR}.
  • 7. Re: PRCS: TMP directory ?
    Nicolas.Gasparotto Oracle ACE
    Currently Being Moderated
    Michel,
    Nice catch. Thanks. I should have read the readme file from patch much earlier. However it seems to address a (Unpublished) bug on Windows introducing warning I would not want to see on Linux (whatever my OS, I don't like warning).

    Nicolas.
  • 8. Re: PRCS: TMP directory ?
    Michel Journeyer
    Currently Being Moderated
    I agree. It raised some alarm bells with me as well, since I've never seen that warning message.
  • 9. Re: PRCS: TMP directory ?
    Nicolas.Gasparotto Oracle ACE
    Currently Being Moderated
    And finally the answer is here :
    *E-AS: Windows 2008 TEMP Directory and the Use of XSL Transformation PeopleCode API [ID 1486978.1]*+
    Special thanks to Yvonne who sent me an email about that.
    To make it short, for the existing domains, add the following two lines containg temp reference in the .ubx file of your domain ($PS_CFG_HOME/appserv/prcs/<your_domain>/psprcsrv.ubx) :
    *PS_ENVFILE
    TEMP={LOGDIR}{FS}tmp
    TMP={LOGDIR}{FS}tmp
    And magically, warning just gone. It will create subdirectory like $PS_CFG_HOME/appserv/prcs/<your_domain>/{LOGDIR}/tmp, most of the time {LOGDIR} is named LOGS.
    It works for Windows as well as for Linux.

    If you want to make it working for the new domain, do it also in the file $PS_HOME/appserv/prcs/psprcsrv.ubx.

    It seems it will be solve in Peopletools 8.53 and back ported in PT8.52.

    Nicolas.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points