问题现象描述:
统计 服务器 测试没问题,刚好上次配置系统的时候有点问题,故重装一次,配置好 安全 策略(最近在研究如何新配置一台 服务器 的时候,第一时间配置好相关的 安全 设置,有空再写下来)。
为了省事,直接冷备份 oracle 的数据文件,安装好 oracle 后,直接恢复到原来对应的目录。启动,出现:
SQL> startup
ORACLE 例程已经启动。
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
ORA-01991: ???????‘D:
oracle
ora92DATABASEPWDora9.ORA‘
解决方法,由于未运行在归档模式下,使用orapwd重建 oracle 的密码文件:
C:>orapwd /help
Usage: orapwd file= password= entries=
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.
SQL> host del D: oracle ora92DATABASEPWDora9.ORA
SQL> host orapwd file=D:
oracle
ora92DATABASEPWDora9.ORA password=
oracle
pass e
ntries=10
SQL> alter database open;
原文:http://www.cnblogs.com/guohu/p/4253547.html
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!