LD_LIBRARY_PATH different when logging in different ways - Why?

I am running Oracle 10.2.0.3 on RedHat Linux 32-bit.
In .bashrc file for oracle, I have set the LD_LIBRARY_PATH to $ORACLE_HOME/lib:$ORACLE_HOME/jre/1.4.2/lib/ext (need ext directory it for something I'm doing)
I have a java function, getEnvVar that returns the value of environment variables.
When I run sqlplus on the server from the oracle account using a non-system database account (i.e. SCOTT/TIGER), the LD_LIBRARY_PATH is set as above. Just what I want.
When I login as another user on the server (non-oracle) and login to sqlplus using the same DB account as above, the LD_LIBRARY_PATH is BLANK
When I go to my PC and use sqlplus on it (again using same database user as in the above two scenarios), the LD_LIBRARY_PATH is set to $ORACLE_11g_HOME/jre/1.4.2/lib/ext - no reference to $ORACLE_HOME/lib and it's looking in $ORACLE_11g_HOME for the ext directory instead of $ORACLE_HOME.
($ORACLE_11g_HOME isn't a real variable anywhere, it's just referencing /software/oracle/ora11g which is an incomplete environment we aren't even using.)
I can't figure out where all the different values for LD_LIBRARY_PATH are coming from...I thought once it was set in the oracle account's .bashrc, it would use that for all logins to the database.
Can anyone help me figure out what's going on here?
Thanks,
Laurel

I understand this...See more details about the specifics of my scenario below.
USER ORACLE on SERVER
$env
USER=oracle
LD_LIBRARY_PATH=/software/oracle/ora10g/lib:/software/oracle/ora10g/jre/1.4.2/lib/ext
ORACLE_HOME=/software/oracle/ora10g
ORACLE_SID=gdwd
$sqlplus userid/password
SQL> select getenvvar('LD_LIBRARY_PATH') from dual;
GETENVVAR('LD_LIBRARY_PATH')
/software/oracle/ora10g/lib:/software/oracle/ora10g/jre/1.4.2/lib/ext
USER LMOOD on SERVER
$env
USER=lmood
LD_LIBRARY_PATH=/software/oracle/ora10g/lib:/software/oracle/ora10g/jre/1.4.2/lib/ext
ORACLE_HOME=/software/oracle/ora10g
ORACLE_SID=gdwd
$sqlplus userid/password
SQL> select getenvvar('LD_LIBRARY_PATH') from dual;
GETENVVAR('LD_LIBRARY_PATH')
SQL> select 'X'||NVL(getenvvar('LD_LIBRARY_PATH'),'VAR IS NULL')||'X' from dual;
'X'||NVL(GETENVVAR('LD_LIBRARY_PATH'),'VARISNULL')||'X'
XVAR IS NULLX
Also, this would only address the local differences right? Not the issue when running on my PC via sqlnet.
Ideas?
Thanks,
Laurel

Similar Messages

  • Why does terminal behave differently when logged in as different users?

    when I'm logged into my mba as my regular normal user, bash behaves normally;  but when I create a new user or use any user other than my default the behavior is different.  (might be bash or sh)
    Specifically, the tab autocomplete function works fine when I'm logged in as my regular user (tab-complete;  tab twice for all available selections/options).
    But on a newly-created user (also an admin) there is no tab complete, no 'tab twice, other options' etc. 
    Has anyone else seen this?
    I searched in this forum and found some instructions for creating an .inputrc file but I don't appear to have one on my default user so not sure why I would need this on the new user ?!?!?
    p.s. here are the instructions I found previously via a post on this forum:
    http://www.ernieflores.net/osx-page-4/how-to-enable-tab-completion-in-mac-os-x-t erminal/

    Done!  Thanks!
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/6/wo/iLhrfiEtEJtPFTt J8S23O0/23.83.28.0.9
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/6/wo/iLhrfiEtEJtPFTt J8S23O0/23.83.28.1.9

  • I cannot use Yahoo's IM feature from Fire Fox when logged into Yahoo Mail; why?

    I can, and do, log into Yahoo Mail to manage my e-mail while using Fire Fox as my browser, however, if while working within Yahoo Mail I decide to use Yahoo's instant messaging feature and click on one of my contacts who is online and available, the IM panel opens but, immediately a Bing search opens in the message area and blocks all further attempts to send an instant message to the person I wish to chat with. How can I overcome this problem?

    Known issue, our QA team working on it, See
    * https://bugzilla.mozilla.org/show_bug.cgi?id=713014
    you can follow the bug by opening bugzilla account and add to CC list :)

  • Why does "Link Media" behave differently when used as a keyboard shortcut vs when right clicked???

    Not sure whether anyone else is encountering this, but the "Link Media" command behaves differently when right clicked as opposed to when used as a keyboard shortcut.
    When you right click to select that option for an offline file, you get only the corresponding disconnected source media. But when you execute "Link Media" via a keyboard shortcut, PP brings up a huge list of all other offline media. Why does it only do that when you use the keyboard shortcut for "Link Media" but not when you right click "Link Media".
    I'd like to get the Link Media command to behave via the keyboard shortcut the same way it behaves when right clicked. I don't want to have to deal with relinking a hundred other files, but just the single offline file I'm working on.

    Among the alternatives not mentioned... Using a TiVo DVR, rather than the X1; a Roamio Plus or Pro would solve both the concern over the quality of the DVR, as well as providing the MoCA bridge capability the poster so desperately wanted the X1 DVR to provide. (Although the TiVo's support only MoCA 1.1.) Just get a third-party MoCA adapter for the distant location. Why the hang-up on having a device provided by Comcast? This seems especially ironic given the opinions expressed regarding payments over time to Comcast. If a MoCA 2.0 bridge was the requirement, they don't exist outside providers. So couldn't the poster have simply requested a replacement XB3 from the local office and configured it down to only providing MoCA bridging -- and perhaps as a wireless access point? Comcast would bill him the monthly rate for the extra device, but such is the state of MoCA 2.0. Much of the OP sounds like frustration over devices providing capabilities the poster *thinks* they should have.

  • HT3819 My old computer is broken so bought new one.When logged into itunes had to reset password etc.Anyway once on all playlist were different and can't find original stuff.I thought I would just log on and it would be my playlists but not to be.Help ple

    My old computer is broken so bought new one.When logged into itunes had to reset password etc.Anyway once on, all playlists were different and can't find original stuff.I thought I would just log on and I would carry on as usual  but not to be.Help please.

    Donmcp wrote:
    I thought I would just log on and I would carry on as usual 
    Why would you think this?  That's an ignorant assumption to make.
    Your media is only where you put it.
    Either move it from the old computer or restore it from the backup of the old computer.

  • Why are my layers appearing different when previewing them?

    I have put my layer in a certain spot with an image in it and when i preview it, they appear in a different place. Does anyone know why this could be?
    Here's the code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <!-- DW6 -->
    <head>
    <!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
    <title>Palm Desert Vacation Rental</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link rel="stylesheet" href="../RanchoMirageVacRental/mm_travel2.css" type="text/css" />
    <script language="JavaScript" type="text/javascript">
    <!--
    //--------------- LOCALIZEABLE GLOBALS ---------------
    var d=new Date();
    var monthname=new Array("January","February","March","April","May","June","July","August","September","Octo ber","November","December");
    //Ensure correct for language. English is "January 1, 2004"
    var TODAY = monthname[d.getMonth()] + " " + d.getDate() + ", " + d.getFullYear();
    //---------------   END LOCALIZEABLE   ---------------
    function MM_openBrWindow(theURL,winName,features) { //v2.0
      window.open(theURL,winName,features);
    //-->
    </script>
    <style type="text/css">
    <!--
    .style2 {
        color: #ccff99;
        font-size: 18px;
        font-family: Verdana, Arial, Helvetica, sans-serif;
    body {
        background-color: #ccff99;
        margin-top: 0px;
        margin-bottom: 0px;
    .style3 {color: #660000}
    a:link {
        color: #660000;
        text-decoration: none;
    .style4 {font-size: 14px}
    .style5 {font-size: 16px}
    .style9 {font-weight: bold; color: #000000;}
    .style11 {font-size: 14px; color: #660000; font-weight: bold; }
    .style14 {font-size: 14px; color: #660000; }
    .style15 {color: #000000}
    .style16 {font-size: 12px}
    -->
    </style>
    <link href="../RanchoMirageVacRental/imgbrdrs.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    a:hover {
        color: #000000;
        text-decoration: underline;
    a {
        font-family: Verdana, Arial, Helvetica, sans-serif;
    a:visited {
        text-decoration: none;
    a:active {
        text-decoration: none;
    .style43 {font-size: 18px}
    .style44 {font-weight: bold; font-size: 14px;}
    .style45 {color: #663300; font-size: 18px; }
    .style46 {color: #FFFFFF}
    .style48 {color: #ccff99}
    body,td,th {
        color: #000000;
    -->
    </style>
    <link href="imgs.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    .style50 {color: #FF6600}
    -->
    </style>
    <link href="pagebrdr.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    #Layer1 {
        position:absolute;
        left:454px;
        top:49px;
        width:312px;
        height:63px;
        z-index:1;
    #Layer2 {
        position:absolute;
        left:54px;
        top:39px;
        width:393px;
        height:56px;
        z-index:0;
    -->
    </style>
    </head>
    <body>
    <div id="Layer1">
      <table width="305" border="0">
        <tr>
          <td width="349"><div align="center" id="logo"><span class="style48">The Crosby Estate</span></div></td>
        </tr>
        <tr>
          <td height="20"><div align="center" id="tagline">Palm Desert, California </div></td>
        </tr>
      </table>
    </div>
    <div id="Layer2"><a href="http://www.thebestspots.com" target="_blank"><img src="../RanchoMirageVacRental/BannerDream.jpg" alt="Header image" width="382" height="75" border="0" align="top" class="imgs" /></a></div>
    <table border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#99ccff" class="pagebrdr">
      <tr bgcolor="#3366CC">
        <td height="98" colspan="3" nowrap="nowrap" bgcolor="#3366cc"><a href="http://www.thebestspots.com" target="_blank"></a></td>
        <td width="187" valign="top" bgcolor="#3366cc"><p align="center" class="style2">Information <br />
          &amp; Reservations:<br />
        (800) 761.9819

    Why  do APDivs move?
    http://forums.adobe.com/message/2181263#2181263
    I think you should seriously rethink using APDivs as a primary layout method.  Use CSS default positioning (which is no positioning at all).  Then align elements with CSS Margins, Padding and Floats.
    Basic CSS Page Layout (no APDivs used & no animals harmed)
    http://alt-web.com/TEMPLATES/Basic-1-col-fixed.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Why is the word count different when I use word count from the tools menu to the number at the bottom of my mac word document

    Why is the word count different when I use word count from the tools menu to the number at the bottom of my mac word document

    This forum is for Apple's defunct office suite 'AppleWorks' - since the word count is not in the places you mention I assume you are talking about Microsoft Word? Though it's just possible someone in this forum might also use Word and know the answer, you would stand a higher chance of getting an answer in Microsoft's own forums. You could also try asking in the forum applicable to your operating system - Lion, Mavericks or whatever - on the reasonably chance of finding someone familiar with Word.

  • HT2946 Why is the contrast of my images totally different when processed and then opened in CS4?  Does anybody else have this issue?

    Why does the contrast in my images processed in Aperture look markedly different when opened in CS4?  The images look fab on the screen in Aperture - even if these are then opened in CS4 from Aperture they look different  - much flatter.  This is a new issue.  I am a wedding photographer and an album processed in Aperture has been sent back by my wedding album printer saying the images all lack contrast!  Can anybody shed any light on this!  I have checked colour spacing etc! 

    I Also have this problem!!
    In my situation, the screen simply started exhibiting the same symptoms a few weeks ago (early February) for no apparent reason.  At first I thought the screen was dead, but discovered the heat solution by accident.  Now I turn it on and keep it from going to sleep until I go to bed.  Thank goodness the battery is still awesome on this thing.
    I bought it new and still has the original screen, I keep it at home (never below 62 degrees).  Coincidentally, this happened a day or two after the expiration of the warranty!!  Any help figuring this one out would be eternally appreciated.
    iPad mini retina Wi-Fi, iOS 8.1.3

  • Why my calendar display different there is one day difference from different  when I see main screen and open the calendar

    See my Why my calendar display different there is one day difference from different  when I see main screen and open the calendar

    I too am having the same issue only I am in Regina, Canada.  iCloud appears to think Regina, Canada is in the Central time zone which it is, but it does not use Daylight Savings time.  My PC is Windows 7 and I am using Outlook 2010.  I have iCloud on iPhone 5 and iPad 2.   Terribly frustrating!

  • My zagg key board connects but the keys I type either don't type character, type 2 characters that are different when I hit only 1 key, or doesn't type at all. Is there a way to reset zagg keyboard to factory settings?

    My zagg key board connects but the keys I type either don't type character, type 2 characters that are different when I hit only 1 key, or doesn't type at all. Is there a way to reset zagg keyboard to factory settings?

    Recharging is a good thing to try. They do start to act odd when the battery gets low. Beyond that, just like Tom says, contact Zagg. I have one of their keyboards and the company has wonderful customer service.

  • Im using a macbook air and my finished edited photo is different when it the develop and library mogul why is this

    Im using a macbook air and my finished edited photo is different when it the develop and library mogul why is this

    On your iPhone ..
    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that doesn't help, tap Settings > General > Reset > Reset All Settings
    Then tap Settings > General > Date & Time
    Switch:  Set Automatically ON
    No data is lost due to a reset.

  • Why cant i log into my icloud accout, keeps saying having trouble connecting to server. I have tried on two different computers in two different locations. I am new to this and just learning, getting very frustrated with the whole smart phone thing!

    why am i having so much trouble trying to log into my icloud account. I have been trying for 2 days now on two different computers in 2 different locations. I can get to the log in screen, type in my apple id and password, then keep getting screen saying icloud showed an error connecting to server. I am very new at all this smart phone stuff and just want to check my icloud account to make sure my back ups are working and to import some photos off my phone to make some more room? Getting very frustratied, HELP am I doing something wrong?

    Hello wolfpupmp,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    iCloud: Troubleshooting web browser issues with iCloud.com
    http://support.apple.com/kb/TS4050
    Have a nice day,
    Mario

  • LabView hangs when trying to load the same VI with a different user logged onto Win2k

    When 'User A' is logged onto Win2k, a particular VI loads and runs fine. When 'User B' logs onto the same Win2k box, LabView hangs when trying to load the VI.
    I'm also not seeing the setup channels in the Data Neighborhood in MAX when logged on as 'User B'. I tried loading the configuration when logged on as 'User B' that I think is being used for 'User A', but nothing happens.
    Where are the configuration files (of whatever type) that tell LabView which user is logged on?
    Thank you!

    There are no configuration files that tells LabVIEW what users are logged on. It is Win2K permissions settings that allow different users access to different folders and applications. Try changing the permissions for the LabVIEW folder and see if that doesn't fix your problem.

  • In FF4, why does my website looks different when www is omitted

    ''locking as a duplicate - https://support.mozilla.com/en-US/questions/814715''
    My site looks different when I use www in the address and when I omit www. Look at http://www.dynapipe.co.uk and http://dynapipe.co.uk.
    This doesn't happen with FF3 or IE7, 8 or 9 or Google Chrome, only FF4

    Oops, responded to a duplicate of your post over here: https://support.mozilla.com/en-US/questions/814715

  • Time Machine: Backup folder changing size when connected to different computers

    Can someone please help me wrap my head around why the size of my Time Machine backup folder changes when connected to different computers? I tried to be as thorough as possible.  Thanks in advance for taking the time to read this.
    I made a backup of my one laptop (MacBook Pro running 10.6.8) before installing Mavericks.  The backup folder size is 258.56 GB and it is on a 1TB WD external.  There are no other computers backed up in this folder.
    Last night, I tried to copy the backup folder to another 1TB WD external and ran into the “you can’t do that” message.  After some researching, I came across articles explaining how Time Machine handles HDs and, in order for me to copy my backup folder, the drive I want to copy the folder to needs to have the “Ignore ownership on this volume” deselected.
    Okay, so here is my situation: I have the “Ignore ownership on this volume” deselected and journaling is correct on the drive I want to copy the backup folder to.  So I can continue working on my laptop, I want to use a different computer to copy the backup folder from one HD to the other.  The problem I’m having is each computer I own is showing me a different backup folder size O.o.
    (1) The computer I want to use – a Power Mac G5 Quad running 10.4.11 (non intel) – is showing a backup folder size of 592.7 MB, but the HD shows there is 258 GB being used.  When I drag copy, I only get a 592.7 MB backup folder.  For some reason, the backup folder is the only folder acting this way. I compared other folders from the same and different externals and all the sizes match up perfectly no matter the computer they were connected to. How is this possible?
    (2) My second option - Mac Pro (early 2009) running 10.9.4 – is showing a 256.15 GB backup folder size.  Very close, but not 258.56 GB.
    (3) My last option is to use the computer I’m trying to stay away from, the MacBook Pro running 10.6.8.  This is the computer I backed up and is showing me the correct folder size = 258.56GB.  As I mentioned, I'd like to work on my laptop while copying the backup folder using one of my other computers.
    I am able to drag and drop from each computer, but the folder size depends on the computer I’m using.  I don’t understand why I can't do a simple drag and drop of a 258 GB folder.
    Many thanks!!

    The directory files that you are seeing are not real. They are links to the actual backup files that are stored in a hidden directory on the drive. If you were to look at the same drive on a pc, you would see the folders and you would a list files that are in the folders but the files would all be 0 byte files and Windows will tell you the file is empty because there is nothing there but a link which Windows does not understand.
    So the point is you can't just copy the backupd files. The best solution that I know of (and maybe someone else will chime in) for copying them is to mirror the drive with something like Carbon Copy or some other program.
    See this site for more information about time machine and how it works: http://pondini.org/OSX/Home.html

Maybe you are looking for