ORA-01033 error solutions

 

Today linux login sqlplus in a test environment, you can not log in normally report: ORA-01033 errors, fiddle for a long time, refer to some online experience, and finally resolved, sum up the experience.

I. First of all: the cause of the problem, this error is because the file under the opt on the public test environment we use / oracle / oradata directory is deleted by mistake, then try to do some file recovery, or does not work.
Second, the phenomenon: SQL * Plus can not connect, the following error: ORA-01033: ORACLE initialization or shutdown in progress
III analysis: Oracle should be after the start, when the user logs you want to program is loaded into the original configuration information, loading encountered in the original file is not found on the specified location, so they reported the error.
Fourth, the resolution process:
a DBA user logs on, the specific command is
sqlplus / NOLOG
> Connect sysdba / sysdba AS sysdba
Tip: Successfully
> shutdown normal

(Such a long time not stopped)

So execution

>shutdown immediate

Tip: The database has been shut down already uninstalled ORACLE database instance shut down
> startup mount
Note: ORACLE instance started
Total Area System, Ltd. Free Join 118 255 568 bytes Fixed Size
282 576 bytes Variable Size
82.88608 million bytes Database Buffers
33554432 bytes Redo Buffers
532480 bytes
Database finished loading
> alter database open;
Tip: error on line 1 appears: ORA-01157: can not identify / lock data file 7-- see DBWR trace file
ORA-01110: data file 7: '' / opt / oracle / db / oradata / ora232 / test01 .dbf 'section of this document prompted a bit different according to each person in different situations.
Continue Enter
> alter database datafile 7 offline drop;
Tip: The database has been changed.
Recycling last two steps until alter database open; no more after an error, a "database has changed."
Then you can then enter
> shutdown normal
Tip: The database has been shut down already uninstalled ORACLE database instance shut down
> startup
Note: ORACLE instance started
Area System, Ltd. Free Join 118 255 568 bytes Total Fixed Size
282 576 bytes Variable Size
82.88608 million bytes Database Buffers
33554432 bytes Redo Buffers
532480 bytes
Database completion of the loading
can be solved.

Reference article http://tubaluer.iteye.com/blog/1377826

Tags: database , the Oracle , Linux

Guess you like

Origin blog.csdn.net/wojiuguowei/article/details/93633885