|
Re: Re: 密码应该没有问题
最初由 biti_rainy 发布
[B]
应该是你的密码文件的问题!
我接着不用网络连接符:
SQL> conn sys/123456 as sysdba
Connected to an idle instance.
----- 这应该是使用的 OS 认证 而不是密码文件认证,你要证明,如果是在windows下同下请将 os user 从 ora_dba 组里面去掉然后登陆,非 windows系统请使用非 DBA 同组os user 登陆。这样才是密码文件认证
所以,还是请你去搜索一下 密码文件的使用,重新创建一下密码文件吧,确保使用密码文件认证!
密码文件处理好后
在target db startyp nomount
然后确保
bash-2.05$ sqlplus "/ as sysdba"
SQL*Plus: Release 9.2.0.4.0 - Production on Thu Jan 27 11:49:26 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
SQL> show parameter pass
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
remote_login_passwordfile string EXCLUSIVE
SQL>
确保这个设置正确
然后在 rman client 登陆看看 [/B]
终于找到原因了,是这样的,我看我有若干个密码文件,orapw,orapw<sid>等,我在想是否我所建的orapw密码文件根本就没有使用呢,我就删除其余的密码文件,只留下orapw,再进行登录,
RMAN> connect target sys/oracle@test252
RMAN-06193: connected to target database (not started)
RMAN>
终于成功了.
我想可能登录时默认找的是orapw<sid>口令文件,如果不存在,才会去找orapw. |
|