Oracle启动报错(ORA-01990,ORA-27037)处理方法

本文详细介绍了当执行Oracle数据库启动命令时出现ORA-01990错误的处理方法,包括查看密码文件路径、重建密码文件以及使用SQLPLUS重新启动数据库的步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[ 执行数据库启动命令报错 ]

SQL> startup
ORACLE instance started.
Total System Global Area 655854448 bytes
Fixed Size                   732016 bytes
Variable Size             419430400 bytes
Database Buffers          234881024 bytes
Redo Buffers                 811008 bytes
ORA-01990: error opening password file '/oracle/app/product/920/dbs/orapw'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3

[ 处理方法 ]

问题是因为密码文件丢失或被破坏等原因造成文件不能访问。

查看命令orapwd语法:
$ orapwd
Usage: orapwd file=<fname> password=<password> entries=<users>
where
    file - name of password file (mand),
    password - password for SYS (mand),
    entries - maximum number of distinct DBA and OPERs (opt),
There are no spaces around the equal-to (=) character.
查看密码文件所在位置:
$ pwd
/oracle/app/product/920/dbs
在指定位置重建密码文件:
$ orapwd file=/oracle/app/product/920/dbs/orapw password=sys123 entries=10
使用sqlplus重新启动oracle数据库:
$ sqlplus /nolog
sql>conn / as sysdba
sql>startup

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值