Solved

ORA-01012: not logged on

Posted on 2012-03-28
9
1,021 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
[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
  • 7
  • 2
9 Comments
 
LVL 77

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 77

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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 77

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 77

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 77

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 77

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 77

Expert Comment

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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
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…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
Suggested Courses

623 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