10g upgrade_ORA-01031: Insufficient privileges
Hi,
I am upgrating the database from 9.2.0.8 to 10.2 in solaris.
I created new 10g home and copied old parameter file,password file,sqlnet.ora file from old oracle home to new oracle home.(i.e 9i home to 10g home).
My remote_login_password is set to exclusive and sqlnet.ora file contain (TNSNAMES,ONAME,HOSTNAME).
i set oracle_home pointing to new 10g home and try to start the instance and getting below error.
SQL> conn sys/password@hostname as sysdba
Error:
ORA-01031: Instufficient privileges
Is this problem with sqlnet.ora file ? do i have to set the value to (NTS) or (NONE)?
tnsping and listner are up and working fine.
Any one help is appreciate;
Thanks.
On Unix like environments don't set the authentication services, the default behavior is to authenticate a dba user as sysdba with the database privileged group declared at install time, regularly the dba group. If this user belongs to this group and the ORACLE_SID environment variable is declared and pointing to your instance then the user will connect.
~ Madrid
Similar Messages
-
Ora-01031: Insufficient Privileges error during 10g install on Suse 9.1
I have tried installing Oracle 10g on Suse 9.1 Professional several times. Although I have tried to carefully follow the instructions in the installation guide, I get the following error.
When the Database Configuration Assistant start during the initial installation, I receive the error -> Ora-01031: Insufficient Privileges.
I created the oinstall and dba group according to the installation guide and made oracle a member with oinstall being the primary group. I also ran -> chown -R oracle:oinstall -> on the Oracle_Base folder to which I want to install the software and oradata files. Similarly, I ran -> chmod -R 775 -> on that folder. During the install I ran the script -> oracle_base/oraInventory/orainstRoot.sh -> during the installation when prompted.
I would really appreciate any help that any of you could provide. Thank you so much in advance.
-DanielI'm logged in as oracle when I perform the installation but as soon as the database configuration assistant tries to create the database I get this error. I had made oracle a member of oinstall and dba just as it was desribed in the instructions. (At one point I even tried giving oracle root, which didn't seem to work either. I have since reinstalled the OS.)
Thank you for helping me with this! -
Ora-01031: Insufficient Privileges during 10g install on Suse 9.1
I have tried installing Oracle 10g on Suse 9.1 Professional several times. Although I have tried to carefully follow the instructions in the installation guide, I get the following error.
When the Database Configuration Assistant start during the initial installation, I receive the error -> Ora-01031: Insufficient Privileges.
I created the oinstall and dba group according to the installation guide and made oracle a member with oinstall being the primary group. I also ran -> chown -R oracle:oinstall -> on the Oracle_Base folder to which I want to install the software and oradata files. Similarly, I ran -> chmod -R 775 -> on that folder. During the install I ran the script -> oracle_base/oraInventory/orainstRoot.sh -> during the installation when prompted.
I would really appreciate any help that any of you could provide. Thank you so much in advance.
-DanielI'm logged in as oracle when I perform the installation but as soon as the database configuration assistant tries to create the database I get this error. I had made oracle a member of oinstall and dba just as it was desribed in the instructions. (At one point I even tried giving oracle root, which didn't seem to work either. I have since reinstalled the OS.)
Thank you for helping me with this! -
Oracle Database 10g Express Edition (ORA-01031: insufficient privileges)
Hello,
I am new to 10g Express. I am working on Windows XP and I have Oracle App Server and JDev install on my box. I just installed 10g Express. When I try to connect to the database but I get the following error msg:
SQL> connect sys/admin as sysdba;
ERROR: ORA-01031: insufficient privileges
I am also not able to see the homepage either.
Can some please help.
Thanks
etnotAre you saying you can only have one instance of an
Oracle Database install if you are going to use
Oracle XE?Yes.
Oracle Database XE is free for usage with the following limitations:
Supports up to 4GB of user data (in addition to Oracle system data)
Single instance only of Oracle Database XE on any server
May be installed on a multiple CPU server, but only executes on one processor in any server
May be installed on a server with any amount of memory, but will only use up to 1GB RAM of available memory -
ORA-01031: insufficient privileges in oracle 10.2 in windows 2008r2
Dear All,
We have install SAP ecc6 EHP4 on oracle 10.2.0.5 on windows 2008R2
whenever we schedule any activity in db13 we are getting below error .
=================================
Job started
Step 001 started (program RSDBAJOB, variant &0000000000059, user ID PARESH)
Execute logical command BRBACKUP On host IRDAECCDEV
Parameters:-u / -jid FLL__20110922104226 -c force -t online -m full -p initieq_online.sap
BR0051I BRBACKUP 7.20 (3)
BR0055I Start of database backup: begvgwgh.fnf 2011-09-22 10.42.27
BR0484I BRBACKUP log file: K:\oracle\IEQ\sapbackup\begvgwgh.fnf
BR0280I BRBACKUP time stamp: 2011-09-22 10.42.28
BR0301E SQL error -1031 at location BrInitOraCreate-2, SQL statement:
'CONNECT / AT PROF_CONN IN SYSOPER MODE'
ORA-01031: insufficient privileges
BR0303E Determination of Oracle version failed
=================================
As per sap note 400421 i have carry out all the check and all are perfect.
Also i have check below notes and every thing are fine
Note 834917 - Oracle Database 10g: New database role SAPCONN
Note 1028220 - ORA-01031: Insufficient privileges despite SAPCONN role
Note 700548 - FAQ: Oracle authorizations
Also i have check the note which suggest to run the sapdba_role.sql script
But still i am getting the same error.
Also SAPSID services is running with user id sapserviceSID and i change it to SIDadm but no lock.
Request you please help me in this regard.
Sincerely
PareshAs expected
This is really a very small problem but very weird we suffered so many times. May be we should confirm the authorizations for SAPServiceSID and sidadm users on that windows host, sometimes we miss this part in Windows to check.
Kernel folders should be proper accessible by both of the users. Also, please keep SAP instance service via SAPServiceSID itself.
Just to reconfirm - you restarted SAP and restarted SAP/Oracle services as well, right ?
Thanks -
ORA-01031: insufficient privileges While trying / as sysdba
I have an Oracle user (jjcdba) through which I login to the database.
From today morning, I am unable to login to the database and I am getting this error.
$=> id
uid=123(jjcdba) gid=3203(jjcdba)
[jjcdba@jjcprd04:/jjc/orasw10/oracle/product/10.2.4]
$=> sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Oct 5 04:22:31 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:Could someone please tell me how to troubleshoot this issue. I need to get into the database urgently!
Edited by: user9104898 on Oct 5, 2010 1:43 AM$=> sqlplus "/as sysdba"
SQL*Plus: Release 9.2.0.5.0 - Production on Tue Oct 5 04:51:22 2010
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
SQL> sho parameter db_name
NAME TYPE VALUE
db_name string JJCSHRP2
$=> sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.3.0 - Production on Tue Oct 5 04:53:17 2010
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
SQL> sho parameter db_name
NAME TYPE VALUE
db_name string JJCSHRP5
SQL> exit
$=> sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.3.0 - Production on Tue Oct 5 04:57:26 2010
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
SQL> sho parameter db_name
NAME TYPE VALUE
db_name string JJCSHRP7
$=> sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Oct 5 04:58:01 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining Scoring Engine
and Real Application Testing options
SQL> sho parameter db_name
NAME TYPE VALUE
db_name string JJCSHRP8
SQL>Only when I am connecting to this database, I am facing issue.
$=> sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Oct 5 06:36:24 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-01031: insufficient privileges
But I can connect to this database by giving the password.
Enter user-name: sys/xxxxxxxx as sysdba
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> -
ORA-01031: insufficient privileges despite oracle belonging to DBA group
DB Version : 10.2.0.4.0
OS Version : Solaris 5.10
Os user oracle already belongs to DBA group.
$ id -a
uid=1001(oracle) gid=1100(oinstall) groups=1100(oinstall),1800(dba)But, i get the following error
$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Mon Nov 29 14:33:59 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name: ^C
$
$
$ sqlplus sys/password as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Mon Nov 29 09:34:13 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, Data Mining and Real Application Testing options
SQL>Value of remote_login_passwordfile parameter
SQL> show parameter password
NAME TYPE VALUE
remote_login_passwordfile string EXCLUSIVEWhat could possibly be the reason?Hi,
Have you create the orapw file in the $ORACLE_HOME/dbs with orapwd ?
example :
orapwd file=${ORACLE_HOME}/dbs/orapw${ORACLE_SID} password=change_on_install entries=40
Then the unix user oracle will be create in the orapw${ORACLE_SID} file
after if you want to create another user :
grant sysdba to TOTO; the unix user TOTO could do : connect / as sysdba
Regards,
Mario Alcaide
http://marioalcaide.wordpress.com -
Ora-01031 insufficient privileges oracle
Hi to all,
I have installed oracle 10g and created new database. When i try to create the simple view its showing the following error.
ora-01031 insufficient privileges oracle
Note: if i have logged thru admin user, i could able to create the view (system & manager). Though i have provide the grant permission i could not able to create the view, its asking for priviledges.
say create or replace view view_name as select * from employees;
Error: ora-01031 insufficient privileges oracle
Thanks in advanceHi,
You need the CREATE VIEW system privilege in order to create a view. This is in addition to SELECT privileges on the tables granted directly to you (not to some role you have). -
ORA-01031: insufficient privileges - NOT TRUE
Oracle: 10.2.0.2.0
Os: Solaris 10 (10/08 s10x_u6wos_07b X86)
When I try to connect to db with sqlplus and not indicating SID it connets OK.
-bash-3.00$ sqlplus sys/qaz123 as sysdba
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Jun 2 00:53:34 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Release 10.2.0.2.0 - Production
SQL>...but if I indicate SID name it returns me error: ORA-01031: insufficient privileges
-bash-3.00$ sqlplus sys/qaz123@eric1 as sysdba
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Jun 2 00:44:13 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
ERROR:
ORA-01031: insufficient privilegesSo it cant be insufficient privileges because, as u all see above, sys is able to connect. So whats wrong ?
Edited by: user639256 on Jun 1, 2010 3:57 PMHi Hemant,
You didn't specify SID, you specified the TNS connection. A SYS (SYSDBA) connection via TNS is a REMOTE_LOGIN that requires additional configuration -- viz REMOTE_LOGIN_PASSWORDFILE.
Please lookup the documentation.
Hemant K Chitaleare sure this is true for connecting on local server?
SQL> conn / as sysdba
Connected.
SQL> show parameter remote
NAME TYPE VALUE
remote_archive_enable string true
remote_dependencies_mode string TIMESTAMP
remote_listener string
remote_login_passwordfile string EXCLUSIVE
remote_os_authent boolean FALSE
remote_os_roles boolean FALSE
SQL> conn sys/oracle@orcl as sysdba
Connected.
SQL> alter system set remote_login_passwordfile=none;
alter system set remote_login_passwordfile=none
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be modified
SQL> alter system set remote_login_passwordfile=none scope=spfile;
System altered.
SQL> startup force
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1253124 bytes
Variable Size 251658492 bytes
Database Buffers 813694976 bytes
Redo Buffers 7135232 bytes
Database mounted.
Database opened.
SQL> show parameter remote
NAME TYPE VALUE
remote_archive_enable string true
remote_dependencies_mode string TIMESTAMP
remote_listener string
remote_login_passwordfile string NONE
remote_os_authent boolean FALSE
remote_os_roles boolean FALSE
SQL> conn sys/oracle@orcl as sysdba
Connected.
SQL> conn sys/oracle@navneet as sysdba
Connected.
SQL>Regards -
MCOD and DB13 (ORA-01031: insufficient privileges)
Hello Oracle experts,
I have a problem with a MCOD installation.
Situation:
I have an Oracle Real Application Cluster with two database instances (DE1_1 and DE1_2). In database 1 (DE1_1) there are running two SAP systems (DE1 and DE2).
In database 2 (DE1_2) there are running also two SAP systems (QE1 and QE2).
DE1: SAPSR3 (DE1_1 )
DE2: SAPSR4 (DE1_1)
QE1: SAPSR5 (DE1_2)
QE2: SAPSR6 (DE1_2)
DE1 has been the first installation. The next one´s have been DE2 (SAPSR4), QE1 (SAPSR5) and QE2 (SAPSR6).
Complication:
Transaction DB13 is making trouble in the systems DE2, QE1 and QE2.
There is a pop-up containing this information:
SQL Errorcode: 1.031
SELECT beg, funct, sysid, obj, rc, ende, actid, line FROM sap_sdbah
WHERE beg BETWEEN '20110416000000' AND '20110524235959' AND sysid = 'DE1'
ORA-01031: insufficient privileges
I can confirm this popup and reach the DBA Planning Calendar. In the message window there are two error messages:
- An error occurred when processing system DE2
- Function ORA_LOG_READ failed with return code = Other error
Only in the first system (DE1) there are no problems when calling DB13!
Solution:
I already checked the following notes:
Note 134592 - Importing the SAPDBA role (sapdba_role.sql)
--> I executed the script from the note.
Note 834917 - Oracle Database 10g: New database role SAPCONN
--> I executed the script from the note.
And checked this:
SQL> select grantee, granted_role from dba_role_privs
where granted_role in ('SAPDBA', 'SAPCONN');
GRANTEE GRANTED_ROLE
SYS SAPDBA
OPS$SAPSERVICEDE2 SAPDBA
OPS$SAPSERVICEQE1 SAPDBA
OPS$QE1ADM SAPDBA
SAPSR6 SAPCONN
OPS$ORADE1 SAPDBA
SAPSR5 SAPCONN
OPS$QE2ADM SAPDBA
OPS$SAPSERVICEQE2 SAPDBA
SYS SAPCONN
OPS$DE1ADM SAPDBA
GRANTEE GRANTED_ROLE
SAPSR3 SAPCONN
OPS$SAPSERVICEDE1 SAPDBA
SAPSR4 SAPCONN
SYSTEM SAPDBA
OPS$DE2ADM SAPDBA
16 rows selected.
Is it correct that there is only ONE ORA<SID>?
The rest is correct regarding the note.
Note 1028220 - ORA-01031: Insufficient privileges despite SAPCONN role
Checked this statement:
SQL> select grantee, granted_role, default_role from dba_role_privs
where grantee = 'SAPSR6';
GRANTEE GRANTED_ROLE DEF
SAPSR6 SAPCONN YES
It´s correct regarding the note.
Note 91216 - BRBACKUP/SAPDBA: ORA-01031 Insufficient privileges
Checked it!
Note 400241 - Problems with ops$ or sapr3 connect to Oracle
SQL> SELECT OWNER, TABLE_OWNER, TABLE_NAME FROM DBA_SYNONYMS
WHERE SYNONYM_NAME = 'SAPUSER';
OWNER TABLE_OWNER
TABLE_NAME
OPS$SAPSERVICEDE1 OPS$DE1ADM
SAPUSER
OPS$SAPSERVICEDE2 OPS$DE2ADM
SAPUSER
OPS$SAPSERVICEQE1 OPS$QE1ADM
SAPUSER
OWNER TABLE_OWNER
TABLE_NAME
OPS$SAPSERVICEQE2 OPS$QE2ADM
SAPUSER
It´s correct regarding the note.
Note 113747 - Permissions for DBA tools BR*Tools and SAPDBA
Permissons for BR*Tools are adjusted regarding this note.
It is still not working!!
Any further suggestions? I don´t know exactly what to configure in a MCOD database. Maybe I forgot one thingu2026
Thank you in advance and kind regards,
GeraldineWell, it's up to you whether or not you consider that a problem.
And it seems SAP doesn't.
The solution for your ORA-01031 probably will be:
In the schema of Oracle user SAPSR3 there are tables SDBAH and SDBAD. Grant full access to Oracle users SAPSR4/5/6.
But afterwards you may encounter another error message.
You have been warned.
Not sure if this is documented anywhere.
And as I wrote, I doubt that it is worth the effort...
It always seemed SAP did not really like nor support MCOD installations. So by now we haven't any of them left.
regards -
ORA-01031: insufficient privileges - after upgrade from 2.1 to 3.0.1
Hi I installed 10g with APEX 2.1 and started working on an app. I had the privs needed to do all DDL.
I updated to 3.0.1 (not 3.1 because my work won't go to 3.1 yet)
I started working on the app not problem with DML but I tried to create a function and found ORA-01031: insufficient privileges
Did I miss running a script after the install? Is there a POST install?Here are the results from PL?SQL Developer:
select user from dual;
1 EDIUSER
select * from user_role_privs;
1 EDIUSER CONNECT NO YES NO
2 EDIUSER DBA NO YES NO
3 EDIUSER RESOURCE NO YES NO
select * from user_sys_privs;
1 EDIUSER UNLIMITED TABLESPACE NO
doesn't the roles give me all I need?
And as I said, in PL/SQL Developer I can do anything.
Here are the results from the APEX SQL Worksheet:
select user from dual;
ANONYMOUS
select * from user_role_privs;
EDIUSER CONNECT NO YES NO
EDIUSER DBA NO YES NO
EDIUSER RESOURCE NO YES NO
select * from user_sys_privs;
EDIUSER UNLIMITED TABLESPACE NO -
Hi, I am using DBUA to upgrade oracle 9i database to 10g. In step 1 of 7 when I select 9i datagase to upgrade I get ORA-01031: Insufficient privileges error. However, I can connect to the database from 9i as well as 10g using SQLPlus. Any idea what could be going wrong? Thanks. Manish
Edited by: user635081 on Jul 22, 2009 10:38 AMCheck your REMOTE_LOGIN_PASSWORDFILE . If it is set to NONE, then make sure that SQLNET.AUTHENTICATION_SERVICES = (NTS) in your sqlnet.ora file.
the OS user should be in ORA_DBA group.
Try connecting as SYS,
SQL> sqlplus /nolog
SQL> connect / as sysdba
HTH
Anantha -
Error: 01031-INSUFFICIENT PRIVILEGES
Hello,
am facing a problem with my database.
Whenever am trying to login with sysdba have got an error of *"01031-INSUFFICIENT PRIVILEGES"*.
am using "/ as sysdba" command in oracle 10g database.
Kindly help me.
Thanks & Regards,
Neha GuptaBelow attached is the contents of 'SQLNET.ORA'
# sqlnet.ora Network Configuration File: E:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
Regards,
Neha -
ORA-01031: insufficient privileges after changing group.
I installed oracle 10g with oracle:oinstall as owner and I was able to connect using "sqlplus / as sysdba".
But today I chaged owner of 10g software owner to oracle:dba.
Now when I am trying "sqlplus / as sysdba".
ERROR:
ORA-01031: insufficient privileges
But I am able to connect with "sqlplus sys/password as sysdba".
linux1:(oracle):DEV +-> id
uid=175(oracle) gid=115(dba) groups=115(dba)
What to do to have OS authen working?
ThanksMost probably this is what the user means :-
1. Installation was done with oracle:oinstall a year back.
oracle as the user and oinstall as the group owner.
At that time sqlplus "/ as sysdba" was working fine for him
2. He probably wanted his setting to be oracle:dba and he issued the following command:-
chown -R oracle:dba $ORACLE_HOME
Now the issue is that he cannot use sqlplus "/ as sysdba" however sqlplus sys/connpass works just fine.
He probably wants to know why his settings are not working now.
Have you read metalink for that error ORA-1031, there is a whole set of document available to diagonise this issue. -
Why do I get a "ORA-01031: insufficient privileges" in my view creation?
Why do I get a "ORA-01031: insufficient privileges" in my view creation for the table which exists in the same schema?
Oracle version is 10g R2.
connect cim/lion;
create table cim.table1 (a number, b varchar2(10));
create view cim.view1 as select * from cim.table1;
create view cim.view1 as select * from cim.table1
ERROR at line 1:
ORA-01031: insufficient privilegesThanks it works now after giving CREATE VIEW permission to user CIM.
This script was working fine in Oracle 10g R1.
Looks like i need to execute the following GRANT permission explicitly
grant create view to cim;
Maybe you are looking for
-
When using AFP we are seeing over 69,000 different images in one print file which seems excessive especially since the images should be re-used. Does the LOG2PSEG utility have to be used to create page segments from graphics (LOG files)?
-
Hi Gurus, if the uername start with stmgr6001 stmgr6002 stmgr6003.........................stmgr6250 then select the last 4characters append into the selection screen fiel
-
Imac keeps shutting down Safari and Skype
My computer was working fine* and about two weeks ago any time I opened Safari or Skype it would shut them down as soon as they opened. I have updated both programs and even deinstalled Skype and installed it again, but it keeps happening. I have als
-
Help authorizations cFolder (Roles)
Hello all, We are seeing in cFolder authorizations (roles). In principle we are all checked, but there are three authorizations (roles) us to know their use. - SAP_CFX_EMAIL_SYSTEM_USER - SAP_CFX_BP_SEARCH - SAP_CFX_EXT_USER_ADMIN Can anyone explain
-
How to generate the java classes of the database tables
Hi, I am using Sun One 4 update1 CE for generate java classes of tables from an Oracle database. I have got the database schema file. However, when I right clicked on the database schema file, there is no selection for "Generate Java...". Besides, wh