Solved

ORA-01012: not logged on

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
Via a live example, show how to take different types of Oracle backups using RMAN.

821 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