Today, a colleague encountered ORA-01126 when opening an oracle database for archiving. The prompt clearly indicated that the problem was that the database opened for archiving
Must be in mount state. However, local query instance status, the current instance status is indeed mount, however, we need to pay attention to
Is the database a rac cluster, if it is a rac cluster, the database must be opened for archiving, then all nodes of the cluster must be closed, only keep
One node performs the opening operation of the archive. If any node instance of the oracle cluster is in the open state, none of the oracle cluster databases
Method to open the archive.
The case error message is as follows:
From the above prompt, we can see that the instance to open the archive is indeed in the MOUNTED state, but the execution of alter databae archivelog fails.
Show ORA-01126.
Troubleshooting, we need to verify whether the current database is a cluster database and the status of other related instances of the database:
After investigation, we found that the current database is an oracle two-node rac cluster, and the database instance of node 2 is in the open state, so in the node
1 Error ORA-01126 is reported when the file is opened.
Problem handling:
Shut down the 2 node database instance
Node 1 successfully opened the archive again
After the node 1 archive is successfully opened, then open the instance of node 2
So far, the opening and archiving operation of the oracle cluster rac database is successfully completed!