Solved

Oracle Connection Closed

Posted on 2004-04-17
8
5,636 Views
Last Modified: 2007-12-19
I am using oracle 9i release 2.Am not able to connect to the databse using sql plus or login to the databse from dba studio.When i connect to dba studio i get a message - CONNECTION CLOSED.Pls help.
0
Comment
Question by:kpprasanth
8 Comments
 
LVL 8

Expert Comment

by:annamalai77
Comment Utility
hi

1. have u created the database.
2. have u created the connect string in TNSNAMES.ora file.

if not create it and try connecting to the database.

regards
annamalai
0
 
LVL 13

Expert Comment

by:riazpk
Comment Utility
Are you behined a firewall ???

Or Probably you have installed an Antivirus with buit-in Firewall (like Mcafee) which is not allowing you to connect to Oracle.
0
 
LVL 8

Expert Comment

by:william_jwd
Comment Utility
Check you Oracle Home Path.  Check whether you have TNS Entry.  Post the error message you get when you connect to SQL Plus...
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 23

Expert Comment

by:seazodiac
Comment Utility
can you post your listener.ora file in the Server?
0
 

Author Comment

by:kpprasanth
Comment Utility
I set the oracle_home to that of the one i used.Also i set the oracle_sid.And i tryied connecting as sysdba.I got the following error
SP2-0642 : SQL*Plus internal error state 2165, context
4294967295:0:0.Unable to proceed.
The listener and db instance is set to start automatically in the server.And both the services are up.
The db was working fine till friday eve and suddenly i got this probs on saturday morning.Strange !.
In the same serve we have two 8i dbs running and two 9i dbs running.Both the 9i dbs are showing probs.
0
 
LVL 8

Accepted Solution

by:
baonguyen1 earned 500 total points
Comment Utility
This may help:

When trying to run SQLPLUS via command prompt the following error is returned-  SP2-0642: SQL*Plus internal error state 2167, context 4294967294:2:0 Unable to proceed

Solution Description
--------------------
 
This is due an incorrect NLS_DATE_FORMAT setting in either -
SYSTEM ENVIRONMENT SETTINGS
USER  ENVIRONMENT SETTINGS
Or  
REGISTRY SETTINGS:
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\<ORACLE_HOME> (NLS_DATE_FORMAT)
 
If a date other than the normal DD-MON-RR , DD/MM/YY, etc..then the above occurs.
 
Set the NLS_DATE_FORMAT date to a correct format and all Oracle executables or utilities will work correctly again.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now