Ubuntu Oracle ORA-01031: insufficient privileges


1: 在Ubuntu终端中输入 slqplus sytem/password as sysdba 报如下的错误:

ORA-01031: insufficient privileges,网上google下找到了

ORA-01031: insufficient privileges
Oracle  安装完成后系统有一个ora_dba组,系统登陆的用户不再这个组里边。所以才导致了上边的问题。
解决办法:吧db2admin 添加到ora_dba 这个组里边。

这位朋友的贴子,但感觉说得不太清楚。但还是明白来这位朋友的意思,还算要感想您。

2:自己在这位朋友的基础上补充下:"oracle  安装完成后系统有一个ora_dba组",应该改成oracle安装后有一个dba的组,

当然可以在终端中用groups oracle查看 oracle用户真实对应的组名称,然后再将当前系统用户添加到oracle用户所在的组中去即可。如 sudo gpasswd -a username dba

3:再次输入 sqlplus system/miles123 as sysdba

4:输出:

SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 3 09:51:18 2010

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Connected to an idle instance.

相关内容