发新话题
打印

用户dba已经赋予了ORA_DBA权限。为什么connect/as sysdba没有权限?

用户dba已经赋予了ORA_DBA权限。为什么connect/as sysdba没有权限?

D:\oracle\ora90\sqlplus/nolog

SQL*Plus: Release 9.0.1.0.1 - Production on 星期三 8月 11 17:21:11 2004

(c) Copyright 2001 Oracle Corporation.  All rights reserved.

SQL> connect/as sysdba
ERROR:
ORA-01031: insufficient privileges

[ Last edited by 佳佳 on 2004-8-11 at 17:42 ]
附件: 您所在的用户组无法下载或查看附件

TOP

1,是以dba登陆操作系统的?administrator进入可以吗?
2,可能操作系统认证已关

TOP

conn sys/manager as sysdba

好象有时候,需要先以 scott/tiger 进入才可以

TOP

conn sys/口令@服务名 as sysdba

TOP

引用:
Originally posted by wind_sky at 2004-8-12 06:28 AM:
1,是以dba登陆操作系统的?administrator进入可以吗?
2,可能操作系统认证已关
操作系统认证已关?啥意思?
你是指remote_login_passwordfile=none么?
我已经修改了数据库的初始化数。initi(db_name).ora
并且也更新了spfile了。可是还是说没有权限。

TOP

引用:
Originally posted by sail2000 at 2004-8-12 08:38 AM:
conn sys/口令@服务名 as sysdba
谢谢。我在看书。书上有一节内容讲的操作系统认证。但是我却总是提示登录不成功。

TOP

引用:
Originally posted by 佳佳 at 2004-8-12 15:26:
操作系统认证已关?啥意思?
你是指remote_login_passwordfile=none么?
我已经修改了数据库的初始化数。initi(db_name).ora
并且也更新了spfile了。可是还是说没有权限。
那个参数是远程登陆使用的口令认证参数,但操作系统认证在这之前(如果有的话)
如果本地登陆,sqlnet.ora中SQLNET.AUTHENTICATION_SERVICES= (NTS)
是操作系统认证
以dba组的用户登陆后,conn / as sysdba可

TOP

引用:
Originally posted by wind_sky at 2004-8-12 03:37 PM:
那个参数是远程登陆使用的口令认证参数,但操作系统认证在这之前(如果有的话)
如果本地登陆,sqlnet.ora中SQLNET.AUTHENTICATION_SERVICES= (NTS)
是操作系统认证
以dba组的用户登陆后,conn / as sysdba可
还是不行。
会不会因为我在安装oracle9i的时候配置不完全?
我在安装的时候,进行数据库配置时选择的只安装软件。安装完毕后再利用DBCA创建的数据库。
以下是抓图:
附件: 您所在的用户组无法下载或查看附件

TOP

在win2k/nt环境下的oracle,运行菜单中有一项administrator assistant for winnt,其中可以设置让数据库能够识别操作系统用户作为数据库用户或者是管理员。可以看一下其中的帮助文件

TOP

应该是没问题的,
http://www.cnoug.org/viewthread.php?tid=15082

你是用administrator用户进去的吧,主要是sqlnet.ora文件中的设置最主要,其余可暂时忽略(NTS就可以的),然后以DBA操作系统组的用户进入就可以...

TOP

我是域用户,怎么给该用户加上ORA_DBA组的权限呢?

TOP

我把我的blog的东西给你贴出来吧,参考下。
不翻译了,自己慢慢看。
复制内容到剪贴板
代码:
CONN / AS SYSDBA give ORA-01031

In windows, If you have such error:

SQL> conn / as sysdba
ERROR:
ORA-01031: insufficient privileges

Check the sqlnet.ora first

SQLNET.AUTHENTICATION_SERVICES = (NTS)

This allows any privileged user defined in the NT user group (named ORA_<sid>_DBA or ORA_DBA) to login to database without providing a password.

To disable this, comment this line or change it to:

SQLNET.AUTHENTICATION_SERVICES = (NONE)

After solve this issue, open a new sqlplusw, you should able to see:

SQL> conn / as sysdba
Connected.
SQL>

Remarks: Following information can be found in the Application log with event viewer.

Event Type: Information
Event Source: Oracle.orcl
Event Category: None
Event ID: 34
Date: 8/8/2005
Time: 3:44:31 PM
User: N/A
Computer: AIX
Description:
The description for Event ID ( 34 ) in Source ( Oracle.orcl ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: ACTION : 'CONNECT' DATABASE USER: '/' PRIVILEGE : NONE CLIENT USER: donghua CLIENT TERMINAL: AIX STATUS: 1031 .

TOP

?????????

TOP

你在客户端上登录吧 不可以的
只能是
connect 用户名/密码 @数据库名 as sysdba

TOP

除server oracle用户外,其他用户登录必须是:connect 用户名/密码 @数据库名 as sysdba的吧

TOP

发新话题