日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

sqlplus / as sysdba报错ORA-01031: insufficient privileges

發布時間:2025/5/22 编程问答 20 豆豆
生活随笔 收集整理的這篇文章主要介紹了 sqlplus / as sysdba报错ORA-01031: insufficient privileges 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

使用sqlplus "/ as sysdba"連DB,報錯:ORA-01031: insufficient privileges

[oracle@bej301441 lib]$ sqlplus "/ as sysdba"
SQL*Plus: Release 10.1.0.5.0 - Production on Tue Jul 3 03:58:50 2012
Copyright (c) 1982, 2005, Oracle.? All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name: system
Enter password:


解決過程:

vi /u01/oracle/mc3yd213/db/tech_st/11.1.0/rdbms/lib/config.c
/*? $Header: config_ux.tmp 120.0 2005/10/13 10:30:15 ssuraj noship $ */
/*? SS_DBA_GRP defines the UNIX group ID for sqldba adminstrative access. */
/*? Refer to the Installation and User's Guide for further information.?? */
#define SS_DBA_GRP "oinstall"
#define SS_OPER_GRP "oinstall"

說明數據庫使用的group是oinsall


[oracle@bej301441 lib]$ cat /etc/group
root:x:0:root
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,adm,daemon

......

stapusr:x:107:
fax:x:78:
fuse:x:108:
ricci:x:109:
oinstall:x:54321:
dba:x:54322:oracle
avahi-autoipd:x:110:
sabayon:x:86:
admin:x:54323:
[oracle@bej301441 lib]$

發現oracle沒有在oinstall這個組下


然后把oracle添加到oinstall組

/usr/sbin/usermod -a -G oinstall oracle


再以sysdba的身份就可以連數據庫了


轉載請注明出處:http://blog.csdn.net/pan_tian/article/details/7712975

======EOF======

總結

以上是生活随笔為你收集整理的sqlplus / as sysdba报错ORA-01031: insufficient privileges的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。