Do i need any changes after upgrade of LINUX machine ?
Hi All,
I upgraded my Linux Machine to OEL 5.11 from 5.5 >> OEL 5.5 kernal - BEFORE UPGRADE OS VERSION PHP Code:
>> OEL 5.11 kernal - AFTER UPGRADE OS VERSION PHP Code:
PHP Code:
Wihout any changes of .bash_profile, some commands are NOT worked in 5.11 for oracle user which already worked fine. $ . .bash_profile [oracle@AUSUAT ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.4.0 Production on Tue Mar 28 05:08:05 2017 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to an idle instance. SQL> exit Just comment before oraenv PHP Code:
$ . .bash_profile PHP Code:
1) If i remove oraenv from .bash_profile, why i cannot access db ? 2) can i use above setup for OEL 5.11 also ? 3) My confusions are LD_LIBRARY_PATH and $PATH. PHP Code:
|
dupe reported
|
The duplicate is actually a newer question and this thread is the original question. Any members who have insight into the OP's problem, please offer your answers in this thread, the other one has been closed.
@Joy Stick: You cite certain commands which are no longer working after your upgrade. Perhaps you should cite which commands they are and see also if you have those commands (binaries) on your system. For running commands, the PATH variable matters. The LD_LIBRARY_PATH is a reference for other things, but the actual PATH variable is what controls how to find binary executable files. |
Should PATH contain $ORACLE_HOME or $ORACLE_HOME/bin?
|
Hi,
My straight questions are if we upgrade linux machines from one version to another , Without any changes , can we proceed ? My confusions are , on OEL 5.5 everything was fine but problems are in 5.11. After upgrade to 5.11, problems are coming for oracle user. Problems are described above |
Hi,
I am seeing lots of examples. As a experienced person, can you suggest me where can i make changes in .bash_profile for oracle user ? Thanks. |
Post the contents of the oraenv file.
The dot in the command . oraenv is the source or dot operator. It reads and executes the commands in the oraenv file. I assume that the path for sqlplus is added in that file but it could change the existing path. There is nothing sacred about the path environment and you can change it as desired in your .bash_profile. Code:
export PATH=$ORACLE_HOME/bin:$PATH:/sbin |
All times are GMT -5. The time now is 03:46 PM. |