Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

oracle installation issues

760401Jan 14 2011 — edited Mar 14 2013
Hi ,
i am trying to install oracle 10g on RHEL5 for the entire installation of operating system till database creatrion i followed the following link:

http://oracleflash.com/18/Install-Oracle-10g-Release-2-on-RHEL-5.html

http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-
on-linux-centos-and-automate-the-installation-using-linux-shell-script/

i hve installed oracle10g on rhel5 .............completed the installation my db got created and all the files are there...
but now on terminal iam using commands

exporrt ORACLE_SID=orcl
bash: sqlplus command not found

then later on when executed

vi .bsah_profile in that all the enteries related to
# Oracle settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR

# If /tmp doesn't have 400mb space free then you can workaround it
# by pointing the variables TMP AND TMPDIR to a location where you
# have sufficient space. Oracle will then use this directory for
# temporary files.

ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
ORACLE_SID=orcl; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
export CLASSPATH

if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi

are not there .......... i hve inserted the entiers and even saved it but the next day the file is completely blank

and now if iam trying to execute logged in as oracle user
~/.bash_profile

it throws as
bash: /home/oracle/.bash_profile permission denied

while installing time i hve excueted
vi .bash_profile
add the enteries and save it with :wq

the next day the file is complety blank and if iam issuing
~/.bash_profile

it throws as
bash: /home/oracle/.bash_profile permission denied

i am very new to linux and commands related to oracle i google them understand and implement it but in case of
bash_profile iam getting a bit confused ........

i would have pasted the entire contents from terminal but i hcve done installation on VMWARE WORKSTATION 6.5 so in that case i am not able to paste it

kindly help .............

Thanks in advance ..............

Kavita
This post has been answered by sb92075 on Jan 15 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 11 2013
Added on Jan 14 2011
36 comments
1,835 views