- 论坛徽章:
- 0
|
原帖由 camham 于 2008-6-14 23:15 发表 ![]()
Version 10.2.0.1.0 windows32bit
直接连接
问题出在我把administrator从ora_dba组里删除,然后再加进来,结果就不能用了。
现在把oracle重装已经没问题,但这个问题还是不知道原因在哪。
还有一个疑问,在windows是不是只能用操作系统做用户验证?如果不用操作系统验证,sqlplus都没法登录,也就没法启动服务了。
|
不是的!通过配置sqlnet.ora,注释掉SQLNET.AUTHENTICATION_SERVICES = (NTS)一行,就可以该用口令文件验证,看我的:
C:\Documents and Settings\Administrator>sqlplus "/as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on 星期日 6月 15 08:43:44 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
连接到:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL> shutdown immediate
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> exit
从Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production中断开
注释了“SQLNET.AUTHENTICATION_SERVICES = (NTS)”一行后
C:\Documents and Settings\Administrator>sqlplus "/as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on 星期日 6月 15 08:44:14 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
请输入用户名:
C:\Documents and Settings\Administrator>sqlplus "sys/sys as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on 星期日 6月 15 08:44:40 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
已连接到空闲例程。
SQL> startup
ORACLE 例程已经启动。
Total System Global Area 143727516 bytes
Fixed Size 453532 bytes
Variable Size 109051904 bytes
Database Buffers 33554432 bytes
Redo Buffers 667648 bytes
数据库装载完毕。
数据库已经打开。
SQL>
当然,remote_login_passwordfile的值要是exclusive
[ 本帖最后由 gthboy 于 2008-6-15 09:00 编辑 ] |
|