Solved

ORA-01012: not logged on

Posted on 2012-03-28
9
854 Views
Last Modified: 2012-03-29
I am getting the below error. I couln't find any thing in the log and trace files.

ORA-01012: not logged on

Please advice.
0
Comment
Question by:dba1234
  • 7
  • 2
9 Comments
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 37777416
You have either not logged in or something closed your connection.

What application/program/??? is generating that error?
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 37777423
Have you checked the description for that error:
http://ora-01012.ora-code.com/
0
 

Author Comment

by:dba1234
ID: 37777481
I am trying to login on sqlplus "/as sysdba"
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 37777548
Is the databsae started and 'open'?

from the sqlplus prompt type: startup

If it says it is already started try: alter database open;
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 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 37777568
I've seen a few posts on other sites that indicate this can also be caused by exceeding the number fo processes.

check the processes spfile parameter.  You might need to increase the value:
http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams198.htm
0
 

Author Comment

by:dba1234
ID: 37777598
I tried but getting error.

SQL*Plus: Release 9.2.0.8.0 - Production on Wed Mar 28 10:48:05 2012

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

Connected.
SQL> startup
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown
ORA-24324: service handle not initialized
ORA-24323: value not allowed
ORA-27140: attach to post/wait facility failed
SQL> shutdown abort
ORA-01031: insufficient privilegesseelct * from v%


and after kiiling some of the processes
now I am stucked

SQL> shutdown abort
ORACLE instance shut down.
SQL> startup
ORA-00445: background process "DBW0" did not start after 120 seconds
0
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 37777630
Did I ask you to shutdown?  Why did you attempt to shut down in the first place?

Also, you should never use ABORT unless there is absolutely no other way to shut down.

>>and after kiiling some of the processes

This is worse that a shutdown abort.


To get back, might was well abort again:
shutdown abort;

Then from the OS kill any remaining oracle processes.

Then try to startup.
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 37778814
What was the final solution to the problem?

I doubt the accepted answer actually solved the question asked.
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 37781767
Please return to this question and respond to my question.
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

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
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 how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

747 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

9 Experts available now in Live!

Get 1:1 Help Now