ORA-01012: notloggedon Solution

Source: Internet
Author: User
Connassysdba reports ORA-01012: notloggedon, cause: shutting down the database is not followed by any of the shutdown parameters.

Conn/as sysdba reports an error ORA-01012: not logged on, cause: shutting down the database is not followed by any of the shutdown parameters.

Conn/as sysdba error ORA-01012: not logged on

Cause: shutting down the database is because the shutdown is not followed by any of the closing parameters.

Nomal ---> can be closed only when all connections are disconnected;

Transactional ---> actively disconnect after the transaction ends;

Immediate ---> proactively disconnect transactions and connections

Abort ---> immediately shut down the database. This operation is dangerous. It does not synchronize data, does not trigger checkpoints, and the rollback segment is empty directly. This operation is equivalent to power failure and the instance must be restored every time it is started.

Therefore, the database is very slow. In this case, I quit sqlplus directly, causing the Oracle file to be locked. When I start up again, the operation fails because the file is still locked. Error ORA-01012: not logged on.

After restarting the service, I can use it. I have read the oracle error explanation, which is even more confusing to me. Although the problem has been solved, the production environment cannot be down at will, so the problem is to be continued...

Kill the oracle process or disable oracle

Ps-ef | grep ora_dbw0 _ $ ORACLE_SID

Kill-9 pid

Restart oracle

Sqlplus sys as sysdba

Startup;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.