Solved

Oracle 10g sqlplus login problems

Posted on 2007-04-07
1
715 Views
Last Modified: 2013-12-18
I am running a server which I am connected to remotely.  The server OS is Red Hat Linux Enterprise 5 and the software giving me the problems is Oracle 10g version 10.2.0

I was originally getting this error when trying to enter sqlplus:

ERROR:
ORA-12162: TNS:net service name is incorrectly specified

However, I fixed that by running this command:
     export ORACLE_SID="system"

and now I get these problems when I try to sign into sqlplus:

ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory

I have tried restarting the server and this has not corrected any problems.  Does anyone have any ideas?
0
Comment
Question by:spitfire0010
1 Comment
 
LVL 1

Accepted Solution

by:
Blue5Wing earned 50 total points
ID: 18871693
1. Check if your Oracle database is started.

2. Check the ORACLE_HOME environment variable if it matches the ORACLE_HOME used to start the database, as it is defined in /var/opt/oracle/oratab. In oratab you will find entries like this:

DEMO:/u01/app/oracle/product/10g:Y

In this case /u01/app/oracle/product/10g is ORACLE_HOME, DEMO is the SID, Y means it is started automatically at system boot.
You also need to set ORACLE_BASE.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question