首先祝 各位节日快乐。
环境: linux AS4 ,Oracle10.2 , 是data guard的 standby 数据库,是mount 状态。
不加别名是可以连接的
$ sqlplus sys/orademo1 as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Oct 3 01:30:41 2005
Copyright (c) 1982, 2005, Oracle.All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL>
加了别名就有
$ sqlplus sys/orademo1@demo1 as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Oct 3 01:30:16 2005
Copyright (c) 1982, 2005, Oracle.All rights reserved.
ERROR:
ORA-01031: insufficient privileges
tnsping demo1 , 可以
sqlnet.ora 也修改过。
--补充:
当初安装时用了oinstall , 但现在把所有的文件都改成oracle:dba 了
。
数据库是用rman duplicate过来的
REMOTE_LOGIN_PASSWORDFILE=' none'也不行。
passwordfile起作用了
|