Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Oracle 10g sqlplus login problems

Posted on 2007-04-07
1
Medium Priority
?
722 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
Blue5Wing earned 200 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
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…
Suggested Courses

670 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