while connect sqlplus "/as sysdba" like this, i got message ORA-01031: insufficient privil [message #271553] |
Tue, 02 October 2007 00:48 |
dba4bank
Messages: 49 Registered: October 2007 Location: TURKEY
|
Member |
|
|
hi guru,
when I ve issued $sqlplus "/as sysdba" , i got message ORA-01031: insufficient privileges??????
$sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.3.0 - Production on Tue Oct 2 08:36:35 2007
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:
but when i use the following method i can connect
$sqlplus /nolog
SQL*Plus: Release 10.2.0.3.0 - Production on Tue Oct 2 08:42:54 2007
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
SQL> conn sys as sysdba
Enter password:
Connected.
SQL>
I wanna connect directly like first method
but how??
here is my sqlnet.ora and id
$more sqlnet.ora
sqlnet.authentication_services=(NTS)
$id
uid=1025(oracle) gid=103(dba)
thx for your help...
|
|
|
|
|
|
|
|
Re: while connect sqlplus "/as sysdba" like this, i got message ORA-01031: insufficient pr [message #271588 is a reply to message #271553] |
Tue, 02 October 2007 02:12 |
dba4bank
Messages: 49 Registered: October 2007 Location: TURKEY
|
Member |
|
|
$ more sqlnet.ora
sqlnet.authentication_services=ALL
$ sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.3.0 - Production on Tue Oct 2 10:10:45 2007
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:
but ı can connect
$ sqlplus /nolog
SQL*Plus: Release 10.2.0.3.0 - Production on Tue Oct 2 10:12:23 2007
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
SQL> conn sys as sysdba
Enter password:xxxxx
Connected.
SQL>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: while connect sqlplus "/as sysdba" like this, i got message ORA-01031: insufficient pr [message #271833 is a reply to message #271553] |
Wed, 03 October 2007 01:52 |
dba4bank
Messages: 49 Registered: October 2007 Location: TURKEY
|
Member |
|
|
hi guys,
i really appriciated for your answer and interested
i figured it out with your answers
problem was
You must create the OSDBA group. By default, the Oracle Universal Installer searches for a group called dba. If you choose to assign the OSDBA group privilege to a group with a name other than dba, then you are prompted for the group name during installation.
when oracle user group is ORADBA
$ id
uid=1001(oracle) gid=501(oradba)
$ sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.3.0 - Production on Wed Oct 3 08:51:02 2007
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
ERROR:
ORA-01031: insufficient privileges
when i change name of group DBA like this..
$ groups
dba
$ sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.3.0 - Production on Wed Oct 3 09:19:19 2007
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
REGARDS
GOKHAN DEDELER
|
|
|
|
|
Re: while connect sqlplus "/as sysdba" like this, i got message ORA-01031: insufficient pr [message #272593 is a reply to message #271617] |
Fri, 05 October 2007 12:22 |
OracleDisected
Messages: 25 Registered: September 2007 Location: Mexico
|
Junior Member |
|
|
Guys
Using conn / as sysdba is a very bad practice, do not encourage the use of it.
If you're the DBA, you should have the password for SYS... if not, then your personal DB user should have enough rights to change SYS' password. If you don't have a personal user... then you've another bad practice ... and don't have a personal door
to your DB.
Maybe you should regenerate your oracle password file (orapw{SID})... my two cents
Regards
[Edit MC: url to poster blog removed. We don't care about your blog in this post. If you have an answer on your site, post a link to this answer. If you don't, post your blog url in Marketplace]
[Updated on: Thu, 11 October 2007 12:40] by Moderator Report message to a moderator
|
|
|
|
|