Solved

ORA-01012: not logged on

Posted on 2012-03-28
9
860 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
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: 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 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
selective queries 7 27
Problem with duplicate records in Oracle query 16 25
migration MS SQL database to Oracle 30 59
Oracle collections 15 17
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
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
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…

785 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