Solution for ORA-01012: not logged on

Source: Internet
Author: User


ORA-01012: not logged on solution conn/as sysdba error ORA-01012: not logged on cause: shutting down the database is not followed by any of the close parameters.
Nomal ---> the database can be closed only when all connections are disconnected; transactional ---> actively disconnects after the transaction ends; immediate ---> actively disconnects the transaction and www.2cto.com abort ---> closes the database immediately, this operation is dangerous. It does not synchronize data, does not trigger the checkpoint, and the rollback segment is directly empty. It is equivalent to power failure, and the instance must be restored each 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. Therefore, this problem is to be continued... Www.2cto.com kill the oracle process or disable oracle ps-ef | grep ora_dbw0 _ $ ORACLE_SIDkill-9 pid restart oraclesqlplus sys as sysdbastartup;
 

Related Article

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.