Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ORA-01012: not logged on

Posted on 2012-03-28
9
Medium Priority
?
1,463 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 78

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 78

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
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 
LVL 78

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
 
LVL 78

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 78

Accepted Solution

by:
slightwv (䄆 Netminder) earned 2000 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 78

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 78

Expert Comment

by:slightwv (䄆 Netminder)
ID: 37781767
Please return to this question and respond to my question.
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
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…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

916 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