Default environment for user Oracle when launched from Scheduler?

Hi:
This is probably pretty basic but I haven't found the answer yet. I'm trying to run an import job using imp from Scheduler. I've modified the file $ORACLE_HOME/rdbms/admin/externaljob.ora so that the jobs are running as user oracle. If I echo the result of 'whoami' in the program it indeed says I'm oracle, but ORACLE_HOME etc. are not set. Is this intentional? I would think that it runs the .bashrc etc. to get the proper environment for the user.
Thanks.

You can not rely on any variable set in the environment.
Ronald
http://ronr.blogspot.com

Similar Messages

  • How to properly set the environment for user oracle under Linux

    Hi,
    Every time I install XE on Linux somewhere, I repeat these steps (along with [fixing the /etc/init.d/oracle-xe startup script|http://forums.oracle.com/forums/thread.jspa?threadID=843780&tstart=0]), so I thought, why not contribute this to the community.
    Those who have installed XE on Linux know that, after installation, logging in as user oracle gets you in a
    $cryptic prompt. On top of that, none of the essential environment variables are set. Not amusing. That's because the oracle user lacks the proper configuration files for the bash prompt. Log in as user oracle and create these:
    .bashrc
    if [ -f /etc/bashrc ]; then
      . /etc/bashrc
    fi.bash_profile
    if [ -f ~/.bashrc ]; then
      . ~/.bashrc
    fi
    . /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh
    unset USERNAME.bash_logout
    clearNow log out and then log in again - a nicer prompt, and all environment variables are set, ready to run sqlplus, imp, etc.
    This should help make your overall XE experience on Linux easier. Regards,
    Georger

    Nice. I checked the .bash_profile of my oracle installation and this is what I can contribute (I got the additional stuff from some tests with other Oracle Versions):
    # /etc/skel/.bash_profile
    # This file is sourced by bash for login shells.  The following line
    # runs your .bashrc and is recommended by the bash info pages.
    [[ -f ~/.bashrc ]] && . ~/.bashrc
    # Oracle Profile Settings
    if [ $USER = "oracle" ]; then
       source /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh
       if [ $SHELL = "/bin/ksh" ]; then
          ulimit -p 16384
          ulimit -n 65536
       else
          ulimit -u 16384 -n 65536
       fi
    fiC.

  • How To Set Third Party Media App Is Default When Launched From Default File Manager

    I use rock media player, which can encode & decode The Video and audio files i use, unlike the phone i have, i don't receive the option to set the app as the default media player. I would really like to be able to use this app on the thrive as it is some much a better media player than the thrives defaulty app. Rock player is the name of the app, who do set it as the default player when launched from the default file manager.

    From my experience playing with the Thrive, when you attempt to watch a media file, it will open a menu asking you what application to use. From that popup, you can set a default.
    - Peter

  • Developer Server 6.0 hanging when launched from Netscape 4.6

    Hi, simple question to ask about OAS and Developer Server.
    My Developer Server 6.0 hanging when launched from Netscape 4.61,
    I am currently running...
    Pentium PII 200Mz running NT sp5
    Forms Server version 6.0.5.31.0 (Patch 3 applied)
    OAS version 4.0.7.1.0 (Patch applied)
    Jinitiator 1.1.7.18
    Netscape 4.61 browser
    I have all the latest versions of everything that is available,
    I have followed the instructions.
    I successfully connect to the OAS admin utility and have setup
    all the virtual to physical directory mappings under the default
    listener www. I successfully start all website OAS services.
    I have Forms server successfully started up as a process
    listening on port 9000.
    I have two statics html files created:
    a) with Jinititator 1.1.7.18
    The very first time I connected to this static html file it
    installed Jinitiator as expected. The Forms server splashscreen
    then appears.
    Jinitiator then starts up successfully, no errors appear in the
    Java console. This has proved I am talking to the listener and
    my virtual directory mappings are working.
    At this point there is a lot of disk activity and then all
    stops, the splashscreen remains and appears in the discussion
    area:
    FRM-9999 cannot access "koala.ilaco.gov.bo:9000" and
    a series of java exceptions
    I am pointing to the correct java directories (I think)
    b) with out Jinitiator
    When I try to call using URL with Netscape 4.61 I get a
    message on the status bar saying...
    Applet oracle.forms.engine.Main class oracle/forms/engine/Main
    got a security violation: Method verification error
    Can you help ?
    If you know the answer, please let me know as soon as
    posible.
    Thanks for the answer....
    Rgds,
    Polo
    null

    Bart LEBOEUF (guest) wrote:
    : Hi,
    : I've the same problem during this week. I've resolve the
    : problem by replace DLL's
    : in %ORACLE_HOME%\bin by the ifwcm60.dll from Developer CD-Rom
    : (\extras\sp4\ifwcm60.dll) and vgs60.dll
    (\extras\vgs\vgs60.dll).
    : At first time, it doesn't work. I remove my environnement
    : variables
    : FORMS60_MAPPING and FORMS60_TIMEOUT from my System Control in
    the
    : Config panel, then I reboot and surprise, it works !!!
    : (Look also in database registry of Windows with regedit
    utility
    : in
    : [HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE] and remove the two
    : variables if you found them.)
    : I try on my two servers and it worked now perfectly.
    : : Bart.
    I respond your email, with my actual server configuration my
    problem is now: I get the splash screen and after form is hanged.
    My server configuration is:
    Compaq PC, with Pentium II, the software is:
    - Windows NT, with Service Pack 5
    - Oracle Application Server, v.4.0.7.1.0 Enterprice Edition,
    pathset 1
    - Developer Server v.6 patchset 3
    - My browser in this machine is Netscape 4.61
    - Jinitiator 1.1.7.18 is also used.
    My developer server is installed and running on the same machine
    that OAS is. I am using other browser in other machine (IE5)
    and trying to connect to the OAS on the first machine.
    My problems begin when I launch ifsrv60.exe. I copied
    ifwcm60.dll v.6.0.5.0.2, and other files required in the %
    ORACLE_HOME%\bin
    I forced listener Developer Server Port (
    c:\orant\bin\ifsrv60.exe -listen port=9000 )
    Now, I can connect with this process, with the following line:
    telnet koala 9000. The listener is working now.
    I tried to work with my (NonCartride-static html)forms60 form on
    WEB without Jinitiator, but I couldn't.
    With Netscape, in the status bar: Applet
    oracle.forms.engine.Main can3t stop ERROR
    With IE5, I get the splash screen and after the forms is hanged.
    If I use Jinitiator:
    With Netscape, in the status bar: Oracle Jinitiato: applet
    oracle.forms.engine.Main inited then form is hanged.
    With IE5, I get the splash screen and after that, the screen
    freezes and looks like the form is hanged.
    Any further suggestions on this?
    Polo
    null

  • Runcluvfy.sh failed on user equivalence check for user "oracle"

    I have user oracle set up on both nodes -RHEL5 as:
    uid=505(oracle) gid=87(oinstall) groups=87(oinstall),88(dba)
    but when run the runcluvfy.sh stage -pre crsinst -n node1,node2 -verbose
    get the ERROR:
    user equivalence check failed for user "oracle"
    user equivalence unavailable on all the nodes.
    Help appreciated!

    When you test this, are you using the fully qualified domain name (FQDN) like node1.domain.com or just node1? Oracle is most likely using the FQDN, so if you did "ssh node1 date" and that worked fine, I'll bet that "ssh node1.domain.com date" will result in a prompt to authorize the host first and that's probably the issue.
    I also usually ssh over the private interface as well. That is, do both of these from the node where the installer runs:
    ssh node2.domain.com date
    ssh node2-priv.domain.com date ### assuming that node2-priv is the name of the private network interface
    Let us know if that's the issue.
    Dan

  • User equivalence check failed for user "oracle".

    Hi,
    I am trying to install the Oracle Clusterware 10g as part of my RAC setup.
    I have configured RHEL 4 in 2 nodes (rac and rac2). But when I run the runcluvfy utility, I get the below error:
    [oracle@rac cluvfy]$ ./runcluvfy.sh stage -pre crsinst -n rac,rac2
    Performing pre-checks for cluster services setup
    Checking node reachability...
    Node reachability check passed from node "rac".
    Checking user equivalence...
    User equivalence check failed for user "oracle".
    Check failed on nodes:
    rac
    WARNING:
    User equivalence is not set for nodes:
    rac
    Verification will proceed with nodes:
    rac2
    The problem is only with the first node(rac). The second node passes succesfully.
    ssh works fine. Not sure what is wrong!
    Thanks!

    Did you do Configure SSH for User Equivalence ?
    Or
    Did you Establish User Equivalence ?
    If yes.. please check...
    $ ssh rac hostname
    rac
    $ ssh rac2 hostname
    rac2
    You should Establish User Equivalence before...
    exec /usr/bin/ssh-agent $SHELL
    /usr/bin/ssh-add
    If You don't configure ssh for user equivalence
    http://www.oracle.com/technology/pub/articles/smiley_rac10g_install.html
    Or
    read SSH User equivalence is not set up on the remote nodes

  • Using fonts when launching from JNLP

    Hello,
    I followed the directions in this link http://fxexperience.com/2010/05/how-to-embed-fonts/ and was able to add and use fonts in my javafx program when launched from Netbeans. But when I try to launch from JNLP, the fonts do not show up (the text shows up as Arial).
    Is there something special I need to do to access the fonts in the jar and utilize them?
    As the link directed I created a fonts folder in my src folder where I store all the .ttf file, and created a fonts.mf file in META-INF where I map a name to the font file. Works fine when launching from netbeans.
    thanks in advance for your help
    jose

    I've found the problem! It's the timestamp for the JNLP file. But unfortunately I can't figure out the workaround as yet.
    To explain the problem it would be best to start with my application's installation procedure:
    The applcation is installed by way of CD (using javaws -import) as downloading an 8mb jar file over dialup is unwieldy. Subsequent updates are retrieved from the server. Jardiffs are sent back to the webstart client so updates over dialup becomes manageble.
    The application jar file in the CD is version 1.0. Let's say the server is now at version 1.3 with the timestamp 2005-10-01 00:00:00.
    The user installs the application using the CD today which gives his JNLP file the timestamp of 2005-10-03 00:00:00.
    When the application is started, it calls the server to check for updates. Although the JNLP file returned from the server specifically states that the current version is at version 1.3 Java Web Start insists on using the timestamp to perform the comparison first.
    Since the timestamp of the JNLP file in the user's pc is dated later than the JNLP file in the server, Java Web Start ignores the version checking and assumes that the application in the server is the latest and greatest.
    Has anyone encountered a similiar situation? The only solution I can think of is to hack the JNLPDownloadServlet to return a date that's way in the future so that Java Web Start picks up the changes... sigh.
    Is it possible to disable the timestamp checking for the JNLP files? As again, help is mucho appreciated and there are 10 duke dollars at stake too :)

  • Default parameter for users

    Hi gurus,
    I'd like to know how to assign default values for user parameters in CRM web UI.
    For instance I want that each time during navigation an editable field for sales organization is found, my default sales organization (maintained as paramenter in TX SU01) should be automatically filled out.
    I tryed with CRM_SALES_ORG, HH_SALES_ORG, WAP_SALES_ORG, BBP_ORG but it does not work.
    Any suggestions?
    Thanks in advance.
    Points for useful answers.
    Fabrizio

    Hello,
    I fear this is will be completely up to you.
    The only means I can think of are:
    1. Client Side: When the BSP is constructed use JS to fill the fields. However I can not imagine how one could possibly identify a sales org field on the UI?
    2. Server Side: You could hook yourself into the API that is reading the data from the databases. Whenever a field is empty prefill it. This leads to serious problems as you do not know if the field is readonly on the UI.
    Anyway, both ideas are just thoughts and there is absolutely no substance behind them. From my point of view it is simply not possible.
    However I would be glad if you came up with a solution, this should be interesting.
    cheers Carsten

  • DNG files will not open in photoshop when launched from lightroom

    This just started, I can't open DNG files in photoshop when launching from within lightroom.  Not sure how to fix this.  the dng files launch fine from bridge.

    As for your issue with DNGs in CS, did you bother to update ACR to version 2.4?
    See the detailed instructions on the download page.
    >What I need to know is whether or not my PS CS will work with files converted by Adobe DNG.
    Of course ACR will, if you correctly install Adobe Camera Raw 2.4.
    No version of Photoshop opens raw or DNG files, only ACR does, hosted by Photoshop. But you do need at least version 2.4 of ACR, which was the first to support DNGs.

  • Result: User equivalence check failed for user "oracle".

    While installing on Solaris-10, ssh, rlogin, scp works fine.
    Running runcluvfy.sh stage -post hwos -n rac-1,rac-2 -verbose returns the above error.
    Result: User equivalence check failed for user "oracle".
    ERROR:
    User equivalence unavailable on all the nodes.
    Verification cannot proceed.
    /bin/ssh & /bin/scp is in use.

    Hello,
    I am facing User equivalence check failed for user "oracle" error on my newly to be built RAC cluster.
    The Oracle users have been created identically and ssh have been setup as per RAC installation manual.
    Still I am facing the below problem. Please help me out
    Node1 > uname -a
    Linux purple-rac-node2 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
    Node2 > uname -a
    Linux purple-rac-node1 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
    clusterware/cluvfy/runcluvfy.sh stage -post hwos -n purple-rac-node1,purple-rac-node2 -verbose
    Performing post-checks for hardware and operating system setup
    Checking node reachability...
    Check: Node reachability from node "purple-rac-node1"
      Destination Node                      Reachable?
      purple-rac-node2                         yes
      purple-rac-node1                         yes
    Result: Node reachability check passed from node "purple-rac-node1".
    Checking user equivalence...
    Check: User equivalence for user "oracle"
      Node Name                             Comment
      purple-rac-node2                         failed
      purple-rac-node1                         failed
    Result: User equivalence check failed for user "oracle".
    ERROR:
    User equivalence unavailable on all the nodes.
    Verification cannot proceed.
    [oracle@purple-rac-node1 ~]$ id oracle
    uid=501(oracle) gid=501(dba) groups=501(dba),502(oper),503(oinstall)
    [oracle@purple-rac-node2 ~]$ id oracle
    uid=501(oracle) gid=501(dba) groups=501(dba),502(oper),503(oinstall)

  • Result: PRVF-4007 : User equivalence check failed for user "oracle"

    Hi
    I get below error everytime I run ./cluvfy stage -pre crsinst -n node01,node02 -fixup -verbose > a.log
    Checking user equivalence...
    Check: User equivalence for user "oracle"
    Node Name Comment
    node02 passed
    node01 failed
    Result: PRVF-4007 : User equivalence check failed for user "oracle"
    WARNING:
    User equivalence is not set for nodes:
    node01
    Verification will proceed with nodes:
    node02
    node01 is the local node, if I run from node02 It comes back saying the same thing about node2!
    I have checked oracle uid and groups all set correctly and ssh working fine ...
    I have ran the same command for grid user and getting the same error !!

    i know what it was, i should have done ssh localnode date for once at least!!
    I only did ssh remotenode date :)

  • User equivalence check failed for user "oracle" while running cluvfy

    Hi All,
    I am getting User equivalence error as follows while executing cluvfy. I want to install CRS on this server.
    oracle@node200$ ./runcluvfy.sh stage -pre crsinst -n node200,node201,node202
    Performing pre-checks for cluster services setup
    Checking node reachability...
    Node reachability check passed from node "node200".
    Checking user equivalence...
    User equivalence check failed for user "oracle".
    Check failed on nodes:
    node202,node201,node200
    ERROR:
    User equivalence unavailable on all the nodes.
    Verification cannot proceed.
    Pre-check for cluster services setup was unsuccessful on all the nodes.
    I have sucessfully configured ssh and able to do ssh from all the nodes without prompting for the password. Also oracle uid and gid on all the servers are same.
    I also checked in .kshrc file and there is no tty entry in that file. and I have also setup /etc/hosts.equiv file on all the node.
    I still get the user equivalance error. Can anybody help me in this ?
    Regards,
    Raj.

    Hi,
    thanks.
    i need some more help because first time i am working on RAC,
    i am also having User equivalence check failed for user "oracle"
    i got two machines, one is IBM machine and one is DELL machine installed with solais 10 (AIX installation). both machines are not connected by private network now. and no shared external HDD available now. it will take one week time to set up the HW. the user equivalence check depends the above two factors?
    now public network is available and node reachability test "passed"
    could you please tell me what may be the reason for the user equivalence check in my case. details are given below
    i have oracle user in both machine. user creation done through SMC. home directory is /export/home/oracle
    the following are the details.
    1) $ ssh pc000905 id -a oracle
    Enter passphrase for key '/home/oracle/.ssh/id_rsa':
    uid=100(oracle) gid=300(oinstall) groups=301(dba)
    $ ssh pc026376 id -a oracle
    Enter passphrase for key '/home/oracle/.ssh/id_rsa':
    uid=100(oracle) gid=300(oinstall) groups=301(dba)
    2) user nobody exists.
    3) all files n .ssh directory have same permissions.
    4) ssh and scp is working with out password(rsa and dsa keys generated).
    5) oracle user is using bourne shell
    6)soft link of /usr/bin/ssh and /usr/bin/scp are created to /export/home/oracle/bin
    7)ForwardX11 is "yes" in sshd_config
    8) created a config file in .ssh directory and ForwardX11 is "no" in that file
    8) umask =022 in both nodes.
    error displaying is
    $/export/gome/cluvfy/runcluvfy.sh stage -pre crsinst -n pc026376,pc000905
    Performing pre-checks for cluster services setup
    Checking node reachability...
    Node reachability check passed from node "PC026376".
    Checking user equivalence...
    User equivalence check failed for user "oracle".
    Check failed on nodes:
    pc026376,pc000905
    ERROR:
    User equivalence unavailable on all the nodes.
    Verification cannot proceed.
    Pre-check for cluster services setup was unsuccessful on all the nodes.
    $

  • No color toolbar icons from standard launch, ok when launched from another app.

    When launched from another app like google earth the toolbar icons are in color.
    When launched normally the icons have no colors.
    Currently Thunderbird 24.6.0

    another experiment.
    When you have the colour icons, Select Help menu > about (what version is this) when you have the black do the same and see if it is different versions. (pressing F10 will make them menu bar visible if it is not.)
    Thunderbirds icons changes from living colour to black and white quite a few versions ago.
    Reasons for color are;
    * An old version
    * An add-on by way of a Theme
    * The running of Thunderbird in XP compatibility mode in Windows

  • [SOLVED] GTK2 apps have wrong theme when launched from desktop entry.

    So I'm setting up KDE and I want to use the QtCurve theme for all applications where possible. I have set (via kde-gtk-config) the GTK2 theme to QtCurve and it half works. GTK2 applications are using the QtCurve theme when they are launched via a command, but they are using what appears to be an ugly version of the Oxygen theme when launched from a .desktop file. I previously installed gtk-qt-engine from the AUR, but have since removed it along with it's files, and as I was using the Oxygen theme at the time, this appears to be what has caused the issue. Does anyone know what is causing this and how to fix it?
    EDIT: Solved by removing ~/.themes folder (obviously only remove the KDE-QT theme if there are other themes in the folder).
    Last edited by RibShark (2013-09-23 17:26:41)

    Thanks, but lxappearance made things rather worse.
    A friend of mine had told me to put "gtk-toolbar-style=GTK_TOOLBAR_ICONS" into settings.ini and my problem is solved now.

  • Default Dashboard for user

    Hi!
    i am facing the problem to give default Dashboard for user.i can set my default dashboard from "my account" but is there any other way so that Administrator can give diffrent dashboard to diffrent user as default dashboard ???as in i want user1 can have dashboard1 as default dashboard whereas user2 can have Dashboard2 as default, which admin can set.
    Regards,
    Deepak

    Is this helpful?
    http://obiee101.blogspot.com/2008/06/obiee-directing-user-to-default.html

Maybe you are looking for