Today's Oracle research encountered this problem ora-01033: oracle initialization or shutdown in progress, after analysis and research finally solved, write down to commemorate. My database is oracle 9i, which is 90.
I. First, the cause of the problem is that I deleted a file in oracle \ oradata \ oradb by mistake.
2. symptom: SQL * Plus cannot be connected, the following error is displayed: ORA-01033: ORACLE initialization or shutdown in progress, the same error is also in the Enterprise Manager Console.
Iii. Analysis: After Oracle is started, the user needs to load the original configuration information in the solution during login. During the loading process, the location specified by the original file is not found, therefore, an error is reported.
Iv. Solution Process:
1. I used the Database Configuration Assistant tool to re-create a new Database to temporarily solve the urgent problem, at the same time, it also laid a hidden danger to solve the problem of ora-01033 in the later stage.
2. There is no svrmgrl command in 9i. Use sqlplus.
3. Run cmd in windows to enter the DOS environment.
4. Log On As a dba user. The specific command is
Sqlplus/NOLOG
SQL> connect sys/change_on_install as sysdba
Tip: Successful
SQL> shutdown normal
Tip: the database is closed.
Database uninstalled
ORACLE routine disabled
SQL> startup mount
Tip: The ORACLE routine has been started.
Total System Global Area 118255568 bytes
Fixed Size 282576 bytes
Variable Size 82886080 bytes
Database Buffers 33554432 bytes
Redo Buffers 532480 bytes
Database loaded
SQL> alter database open;
Tip:
Row 3 has an error:
ORA-01157: unable to identify/lock data file 19-see DBWR trace file
ORA-01110: Data File 19: ''' C: \ oracle \ oradata \ oradb \ FYGL. ORA''
The file part of this prompt varies depending on different situations.
Continue Input
SQL> alter database datafile 19 offline drop;
Tip: the database has been changed.
Loop through the last two steps until alter database open; then no error is prompted, "the database has been changed ".
Then enter
SQL> shutdown normal
Tip: the database is closed.
Database uninstalled
ORACLE routine disabled
SQL> startup
Tip: The ORACLE routine has been started.
Total System Global Area 118255568 bytes
Fixed Size 282576 bytes
Variable Size 82886080 bytes
Database Buffers 33554432 bytes
Redo Buffers 532480 bytes
Database loaded
You can solve the problem.
5. Finally, let's talk about the hidden danger mentioned in the first article. Because a new database is created, ORACLE_SID also changes. When a user logs on, there will be a ORA-12560 error, to solve this problem, set HKEY_LOCAL_MACHINE \ SOFTWARE \ ORACLE \ HOME0 \ ORACLE_SID in the system registry.
You can change the key value to the previous SID, and the user can log on normally.
From Special Forces-AK47