Testing Oracle 10g installation on Red Hat Linux AS 4.0
One of my friend installed Oracle first time. After installation, he just wants to make sure everything is working fine so he called me. If you are installing oracle for Unix/Linux oses first time then it will confuse you. He wanted to know how to start oracle service and test it. He emailed me the following error:
ORA-27101: shared memory realm does not exist
ORA-01034: ORACLE not available
You need to add following line to oracle user’s .bash_profile file for testing purpose (once it is tested, you can give control to Oracle DBA) (login as a oracle user):
$ cd;vi .bash_profile
Append following lines:
export ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1
export ORACLE_SID=orcl
export PATH=$PATH:$ORACLE_HOME/bin
Save file. Just load the above settings:
$ . .bash_profile
Start oracle Net listing service:
$ lsnrctl start
ALTERNATIVELY use full path:
$ /home/oracle/oracle/product/10.2.0/db_1/bin/lsnrctl start
Start oracle database:
$ dbstart
ALTERNATIVELY, use full path:
$ /home/oracle/oracle/product/10.2.0/db_1/bin/dbstart
Connect to Oracle database with sqlplus client (test it with scott username):
$ sqlplus "scott/tiger"
sql> select * from tab;
To shutdown Oracle database:
$ lsnrctl stop
$ dbshut
Further readings:
If you are new to Oracle try out Oracle Database 10g Documentation library, especially 2 Day DBA is fantastic document. Do not forget check out John Smiley's "Installing Oracle Database 10g Release 2 on Linux x86" article. It will teach you the basics of installing Oracle Database 10g Release 2 on Red Hat Enterprise Linux or Novell SUSE Enterprise Linux, from the bare metal up.
Want to stay up to date with the latest Linux tips, news and announcements? Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
You may also be interested in other helpful articles:
- Howto configure and install Oracle on Linux
- Download of the day: Oracle Database 11g for Linux x86
- Free Oracle Unbreakable Linux CD / DVD Media Kit Giveaways
- Oracle and Linux Global File System with Oracle RAC (Real Application Clusters) software
- Download of the day: Oracle VM
Discussion on This Article:
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: dbshut, dbstart, export path, Linux, lsnrctl stop, memory, oracle, oracle database, oracle dba, oracle home, oracle product, oracle service, oracle user, orcl, path path, sid, sql, tiger, UNIX, unix linux



I was wondering for same how the hell get the rid of this error message
It is working now. thanks a lot
God bless all of you
–Ahmed
am having the same problem and i cant log in to isqlplus.can you help? pls..