Home > Database > Mysql Tutorial > body text

Oracle心得:ORA-01261:ORA-01262:错误的解决

WBOY
Release: 2016-06-07 17:03:59
Original
4735 people have browsed it

用ps -ef|grep ora_ 查看没有发现oracle的进程。进入数据库启动遇上ORA-01261:ORA-01262:错误。$ sqlplus quot;/as sysdbaquot

用ps -ef|grep ora_ 查看没有发现Oracle的进程。
进入数据库启动遇上ORA-01261:ORA-01262:错误。

$ sqlplus "/as sysdba"

SQL*Plus: Release 10.2.0.1.0 - Production on Tue Dec 15 08:25:22 2009

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Connected to an idle instance.


SQL> startup
ORA-01261: Parameter db_recovery_file_dest destination string cannot be translat
ed
ORA-01262: Stat failed on a file destination directory
IBM AIX RISC System/6000 Error: 2: No such file or directory

参照上面的说明,在系统目录中找不到db_recovery_file_dest目录。

解决:
查看了Oracle的初始化文件。
$cat /oracle/oms/102_64/dbs/initSID.ora

如:db_recovery_file_dest='/oracle/oms/flash_recovery_area'

查看系统/oracle/oms/没有该“flash_recovery_area”文件夹。

用oracle用户在/oracle/oms目录下创建一个“flash_recovery_area”文件夹
$mkdir  flash_recovery_area

SQL> startup

重新启动数据库就正常了。

linux

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!