重建密码文件报错,不知是哪里问题。

[复制链接]
查看11 | 回复7 | 2010-3-1 11:06:28 | 显示全部楼层 |阅读模式
我利用备份重建数据库,重建后在建立密码文件时报错
C:\Documents and Settings\Administrator>orapwd file='e:\oracle\ora92\database\PW
Dshiyan.ora' password=wwj entries=10;
OPW-00001: 无法打开口令文件
请问是哪里出了问题呢?
[ 本帖最后由 wwjfeng 于 2009-5-6 10:43 编辑 ]
回复

使用道具 举报

千问 | 2010-3-1 11:06:28 | 显示全部楼层
确认口令文件正确,force=y
回复

使用道具 举报

千问 | 2010-3-1 11:06:28 | 显示全部楼层
C:\Documents and Settings\asus>orapwd file='f:\oracle\ora92\database\PWDtest.ora
' password=wwj entries=10 force=y;
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.
我这样写了好像还是不行
回复

使用道具 举报

千问 | 2010-3-1 11:06:28 | 显示全部楼层
orapwd file="f:\oracle\ora92\database\PWDtest.ora" password=wwj entries=10 force=y;
回复

使用道具 举报

千问 | 2010-3-1 11:06:28 | 显示全部楼层
还是不行
C:\Documents and Settings\asus>orapwd file="f:\oracle\ora92\database\PWDtest.ora
" password=wwj entries=10 force=y;
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.
回复

使用道具 举报

千问 | 2010-3-1 11:06:28 | 显示全部楼层
已经搞定了 file应该是不加引号的 小白了啊 呵呵
谢谢大家
回复

使用道具 举报

千问 | 2010-3-1 11:06:28 | 显示全部楼层
学习了
回复

使用道具 举报

千问 | 2010-3-1 11:06:28 | 显示全部楼层
学习
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行