ORA-1031: insufficient Privileges
Hi friends,I have an IBM AIX 5 L break with RDBMS to Oracle 9i installed.
The owner of oracle that is 'oracle' OS userid a primary group (osinstall) and secondary(sysdba,sysoper) groups
When I login to oracle user. I can connect the sqlplus / as sysdba without a password and no mistake.
Then I created another user OS called "oraprod" with similar parameters the user 'oracle', had and even the group.
Why is it when I login for user oraprod and problem sqlplus / as sysdba. .i had ORA-1031: insufficient privileges?
I need to put in Aix?
Please help me...
Thank you very much
I just tried the same thing on a linux machine, creating a user with my own name. I registered without any problems. Just check the settings of the newly created user that he is in fact a part of similar groups from the Oracle user and try to connect. After an output from the command id for Oracle user and other users here, as well as the connection attempt.
HTH
Aman...
Tags: Database
Similar Questions
-
ORA-1031 insufficient privileges error
Hi all
I have a problem finishing a tutorial on jdeveloper, one on data bases. I'm almost at the end and have a DB connection called DOM I've run and then copy the following sql code:
Connect the /(my password) system;
grant debug connect session to the DOM;
That's happened. After that, I was supposed to run this sql code:
REM
REM object create ORDER_ITEMS_REC
REM
CREATE or REPLACE type ORDER_ITEMS_REC as an object
(
ORDER_ID NUMBER (15),
LINE_ITEM_ID NUMBER (3).
PRODUCT_ID NUMBER (15),
QUANTITY NUMBER (6).
UNIT_PRICE NUMBER (8,2).
CREATED_BY VARCHAR2 (60),
CREATION_DATE DATE,
LAST_UPDATED_BY VARCHAR2 (60),
DATE OF LAST_UPDATE_DATE,
OBJECT_VERSION_ID NUMBER (15)
);
/
display errors;
However, it gave me this error:
ORA-01031: insufficient privileges
01031 00000 - "insufficient privileges".
* Cause: An attempt was made to change the user name or password
without the privilege appropriate. This error also occurs if
trying to install a database without the need for employment
access privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
If the user has been granted the privilege necessary for a higher label
that the connection is active.
* Action: Ask the database to perform the operation or grant administrator
the required privileges.
For users Trusted Oracle get this error, well that granted the
the privilege that is suitable for the top label, ask the database
administrator to grant the privilege to the appropriate label.
No errors.
I know it's a common problem but I search through threads for example these two
http://KR.forums.Oracle.com/forums/thread.jspa?MessageID=2468640
http://KR.forums.Oracle.com/forums/thread.jspa?MessageID=4224432
Unfortunately due to my lack of understanding or simple stupidity I was unable to solve the problem.
Any help would be appreciatedHello
You are supposed to create the Order_Items_Rec as system or Fod?
I would say that you must grant CREATE TYPE or CREATE ANY TYPE of user who must create the object.
HTH
Paul -
Nice day
I am trying to execute an interface in which data from a csv file must be loaded into a target table. I managed to debone the flat file and map all fields. But come running, I get this error message:
1031: 42000: java.sql.SQLException: ORA-01031: insufficient privileges
java.sql.SQLException: ORA-01031: insufficient privileges
I have already given modify and insert the user access.
Thanks in advanceLooks like your problem is solved. Why don't you close the message and give different points as useful for each answer and replied to the right answer to other users that have helped you.
-
Hello
DB version 11.2.0.3.0
We have a few views resides in the application schema, we cerated user and granted select on the view through the roles.
but the user becomes ORA-01031: insufficient privileges when accessing the content view
appreciated inputs
BR
Praaksh GR
> I issued a grant select on Z.table - X with the option grant.
This isn't what you need - you should
Grant select on Z.table y with the option grant.
Grant select on Y.view to X;
-
Create table ORA-01031: insufficient privileges
SQL > indicate user USER is 'TEST_RPT.
SQL > CREATE TABLE mytest (id NUMBER); - it does not work
CREATE TABLE mytest (id NUMBER)
* ERROR at line 1: ORA-01031: insufficient privileges
SQL > CREATE TABLE TEST_RPT.mytest (id NUMBER).
Table created. SQL >
SQL > select * from session_privs;
PRIVILEGE
----------------------------------------
ANY PROCEDURE DEBUG
DEBUGGING SESSION CONNECT
CREATE INDEXTYPE
OPERATOR TO CREATE
CREATE THE TYPE
CREATE THE TRIGGER
CREATE PROCEDURE
CREATE SEQUENCES
CREATE VIEW
CREATE SYNONYM
CREATE THE CLUSTER
CREATE TABLE
UNLIMITED TABLESPACE
ALTER SESSION STATEMENT
CREATE SESSION
Try this:
SELECT USER, SYS_CONTEXT('USERENV','CURRENT_SCHEMA') FROM DUAL;
The two identical values? CURRENT_SCHEMA is what will determine the owner of the table you create, if you do not specify an owner.
This can be changed by
ALTER SESSION SET CURRENT_SCHEMA = whatever_you_want_it_to_be;
-
Hi all
I created mail.jar is correctly loaded in the database, but while loading activation.jar I get the following error.
Version of Oracle 11.2.0.4.0 database.
loadjava.bat u sys / * o - r - v f - noverify-synonym g public D:\EXCEL_ORACLE_DIR\activation.jar
arguments: '-u' ' sys / *' 'o' '-r' '-v' '-f' '-noverify' '-synonym ' "-g' 'Public' 'D:\EXCEL_ORACLE_DIR\activation.jar'"
creation: resource META-INF/MANIFEST. MF
loading: resource META-INF/MANIFEST. MF
creation: resource META-INF/mailcap.default
loading: resource META-INF/mailcap.default
creation: resource META-INF/mimetypes.default
loading: resource META-INF/mimetypes.default
creation: javax/activation/ActivationDataFlavor class
loading: javax/activation/ActivationDataFlavor class
Error when creating class javax/activation/ActivationDataFlavor
ORA-01031: insufficient privileges
ORA-06512: at line 1
creation: class javax/activation/CommandInfo
load: class javax/activation/CommandInfo
Error when creating class javax/activation/CommandInfo
ORA-01031: insufficient privileges
ORA-06512: at line 1
Something that I missed.
Thank you all for your response.
I connect sys as sysdba.
I checked the sys schema which classes activation.jar is already there that is why it is showing error.
-
ORA-01031: insufficient privileges when granted access privileges to a new user
Hello.
When you are connected to a SYSTEM, I'm trying to create a new user and give him all the system privileges, but do so always the following error message appears:
Cannot process the SQL command
-
Error at startup to the line: 123 to orders.
SYSDBA GRANT TestUser
Error report-
SQL error: ORA-01031: insufficient privileges
01031 00000 - "insufficient privileges".
* Cause: An attempt was made to execute a database operation without
the necessary privileges.
* Action: Ask your database or the designated security administrator
administrator to grant you the required privileges
After clicking OK, the user is still being created, but it lacks many privileges to access.
How can I solve this problem?
I use Oracle SQL Developer version 4.1.2.20 and Oracle database 11g of the express edition.
Connect as SYS, not SYSTEM to grant this priv
Give him with extreme prejudice - it is powerful
Note in the 12 c database we have stopped a lot of the administrative bits of the SYSDBA role in less powerful. This gives you more flexibility on who can do what in your database
https://docs.Oracle.com/database/121/DBSEG/authorization.htm#DBSEG578
-
Service_name problem->; ORA-01031: insufficient privileges error!
I installed the database Oracle 11.2.0.1 on Oracle Linux 6.6, Virtualbox to test replication of the database.
I have oracle11g and grid of two users. User network is set to infrastructure grid on ASM.
When I prepare the database for duplication, I created a service_name as neworcl. When I connect to new oracle_sid with service name neworcl the following error has occurred!
[oracle11g@orcl11g dbs] $ sqlplus sys/222333@neworcl as sysdba
SQL * more: Production release 11.2.0.1.0 on Sun Oct 13 15:00:35 2015
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
BUT WHEN I want TO CONNECT locally without service_name then it is OK as follows
Enter the user name: sys as sysdba
Enter the password:
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > select instance_name, status from v$ instance;
STATUS INSTANCE_NAME
---------------- ------------
neworcl START
My tnsnames.ora file located in oracle11g user home as below
tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
= ORA11G
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = orcl11g) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ora11g)
)
)
NEWORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = orcl11g) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = neworcl)
)
)
Listener.ora file located user to network as below
listener.ora # Network Configuration file: /u01/app/grid/product/11.2.0/grid/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ora11g)
(ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = ora11g)
)
(SID_DESC =
(GLOBAL_DBNAME = neworcl)
(ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = neworcl)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = orcl11g) (PORT = 1521))
)
)
ADR_BASE_LISTENER = / u01/app/grid
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = WE
QUESTION: Why I can't connect to the new database with service_name = neworcl?
Net Oracle connections as sysdba usually require a password file. Have you created a password file for your database?
You can check the content of $ORACLE_HOME/dbs and see if you have a file named "orapwneworcl". If you do not, you can create it using the orapwd utility. Change your password for SYS in sqlplus must automatically synchronize the password in the password file. The password file is necessary for remote connections, since you cannot authenticate using the OSDBA group and the database may in fact not even begin to verify your password.
For more details, see https://docs.oracle.com/cd/B28359_01/server.111/b28310/dba007.htm
BTW, when you connect AS SYSDBA using Protocol inheritance, you can use any user name and password and will always connect to the SYS schema, which case authentication is made by the OSDBA group identifier. For example, you can use any user name and password, such as "humptydumpy/blablaba sqlplus as sysdba".
-
ORA-01031: insufficient privileges when connecting as SYSDBA
I am trying to connect to the database and receiving "ORA-01031: insufficient privileges". Database version is 11.2.0.3 (standalone) on Linux.
[oracle@dbserv admin] $ echo $ORACLE_HOME
/U01/app/Oracle/product/11.2.0.3/db1
[oracle@dbserv admin] $
[oracle@dbserv admin] $ which sqlplus
/U01/app/Oracle/product/11.2.0.3/db1/bin/sqlplus
[oracle@dbserv dbs] $ sqlplus sys/oracle@newdb as sysdba
SQL * more: Production release 11.2.0.3.0 Wed Aug 26 20:38:13 2015
Copyright (c) 1982, 2011, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter the user name:
Password file has been created and is in $ORACLE_HOME/dbs location.
[oracle@dbserv dbs] $ pwd
/U01/app/Oracle/product/11.2.0.3/db1/DBS
[oracle@dbserv dbs] $ ls - lrt * orapw *.
-rw - r - 1 oracle oinstall 1536 26 August to 20:38 orapwnewdb
To be clear, there is a version of GI 11.2.0.2 already installed with 11.2.0.2 RDBMS version on the same server (standalone).
In addition, 11.2.0.3 has been installed on the same machine and a new listening port has been created on 11.2.0.3 home for databases residing on this House.
Here are the details:
[oracle@dbserv dbs] $ ps - ef | grep tns
Oracle 4226 1 0 20:20? 00:00:00 /u01/app/oracle/product/11.2.0.2/grid/bin/tnslsnr EARPHONE-inherit
Oracle 4239 1 0 20:20? 00:00:00 /u01/app/oracle/product/11.2.0.3/db1/bin/tnslsnr LISTENER_NEWDB-inherit
Oracle 4599 3734 0 20:44 pts/2 00:00:00 grep tns
[oracle@dbserv dbs] $ lsnrctl status LISTENER_NEWDB
LSNRCTL for Linux: Version 11.2.0.3.0 - Production on August 26, 2015 20:44:32
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=dbserv.mydomain) (PORT = 1526)))
STATUS of the LISTENER
------------------------
Alias LISTENER_NEWDB
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start date August 26, 2015 11:20:20
Uptime 0 days 0 h 24 min 21 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /u01/app/oracle/product/11.2.0.3/db1/network/admin/listener.ora file
The listener log file /U01/app/Oracle/diag/tnslsnr/dbserv/listener_newdb/alert/log.XML
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=dbserv.mydomain) (PORT = 1526)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1526)))
Summary of services...
Service 'SLAVE_PORT_NUM' has 1 instance (s).
Instance of 'SLAVE_PORT_NUM', status UNKNOWN, has 1 operation for this service...
The command completed successfully
My bad. OP has already validated the status of the listener. I just forgot.
I suspected to be an incompatibility with SID in regard to upper and lower case letters and now seem to be confident.
The listener status indicates the name of the instance as SLAVE_PORT_NUM but OP said as slave_port_num lowercase. Let's take a look in the file of the listener.
TNS ADMIN could also be a cause, but in this case, it could lift error related to the listener (TNS).
OP, please send the contents of listener.ora crossing 11.2.0.3 House.
-Jonathan Rolland
-
Hello
Everything was running as a result with the exception of a question with ENTERPRISE MANAGER I posted on the discussion. So following the favorable response of the discussion, what I did is I tried to change the listening port, and then I got this error message ORA-01031: insufficient privileges . Then after I uninstalled the database again and tried to remove all the listener again and tried to add the listener again, but has no wok. I have the grid installed in my pc. I already uninstalled dbca database so I wonder how I could resolve the question above? I have oracle grid in my pc and here is some information that you might need.
[grid@example admin] $ echo $ORACLE_SID
+ ASM
[grid@example admin] $ echo $ORACLE_HOME
/U01/app/11.2.0/grid
[grid@example admin] $ su - oracle
Password:
[oracle@example ~] $ echo $ORACLE_SID
ORCL
[oracle@example ~] $ echo $ORACLE_HOME
/U01/app/Oracle/product/11.2.0/Db_1
[oracle@example ~] $ echo $ORACLE_UNQNAME
ORCL
[oracle@example ~] $
[grid@example admin] $ vi sqlnet.ora
#NAMES. DIRECTORY_PATH = (TNSNAMES, HOSTNAME, EZCONNECT)
SQLNET. AUTHENTICATION_SERVICES = (ALL)
NAMES. DIRECTORY_PATH = (TNSNAMES, HOSTNAME, EZCONNECT)
ADR_BASE = / u01/app/grid
Thanks Hemant K Chitale. According to your suggestion, I went through CRSCTL view of ALL... http://docs.oracle.com/cd/E11882_01/rac.112/e16794/crsref.htm#CWADD92153 ... AND it solved my problem thank you very much
CRSCTL overview
CRSCTL is an interface between you and Oracle Clusterware, analysis and requesting objects Oracle Clusterware Oracle Clusterware APIs.
Oracle Clusterware 11 g release 2 (11.2) introduced controls compatible with the cluster with which you can perform the check, start and stop operations on the cluster. You can run these commands from any node in the cluster to another node in the cluster, or on all nodes of the cluster, depending on the operation.
You can use the CRSCTL commands to perform several operations on Oracle Clusterware, such as:
- Start and stop Oracle Clusterware resources
- Activation and deactivation of the Oracle Clusterware demons
- Check the status of the cluster
- Management of the resources that are third-party applications
- Integration of Intelligent Platform Management Interface (IPMI) with Oracle Clusterware of failure isolation support and ensure the integrity of clusters
- Debug Oracle Clusterware components
[grid@example bin] $ crsctl start resources-all
CRS-2501: resource "ora.ons" is disabled
CRS-2672: attempt to start 'ora.evmd' on 'example '.
CRS-2672: attempt to start 'ora.cssd' on 'example '.
CRS-2672: attempt to start 'ora.diskmon' on 'example '.
CRS-2676: beginning of "ora.diskmon", the successful "example"
CRS-2676: beginning of "ora.evmd", the successful "example"
CRS-2676: beginning of "ora.cssd", the successful "example"
CRS-2672: attempt to start 'ora.asm' on 'example '.
CRS-2676: beginning of "ora.asm", the successful "example"
CRS-2672: attempt to start ' ora. DATA.dg' on 'example '.
CRS-2672: attempt to start ' ora. FRA.dg' on 'example '.
CRS-2676: beginning with ' ora. DATA.dg' on successful "example"
CRS-2676: beginning with ' ora. FRA.dg' on successful "example"
CRS-2672: attempt to start 'ora.orcl.db' on 'example '.
CRS-5017: the action "ora.orcl.db start" resource has met the following error:
ORA-01078: failure in the treatment of system settings
ORA-01565: error in the identification of file "+ DATA/orcl/spfileorcl.ora".
ORA-17503: ksfdopn:2 could not open the file +DATA/orcl/spfileorcl.ora
ORA-27140: attach to post/wait installation failed
ORA-27300: OS dependent operating system: invalid_egid failed with status: 1
ORA-27301: OS Error Message: operation not permitted
ORA-27302: an error occurred at: skgpwinit6
ORA-27303: additional information: current startup egid = 504 (oinstall), egid = 501 (asmadmin)
. For details, refer to "(:CLSN00107:))" "in ' / u01/app/11.2.0/grid/log/example/agent/ohasd/oraagent_grid/oraagent_grid.log '.
CRS-2674: beginning of 'ora.orcl.db', 'example' failed
CRS-2679: attempt to clean the 'ora.orcl.db' on 'example '.
CRS-2681: clean "ora.orcl.db" on successful "example"
CRS-4000: Start command has failed, or completed with errors.
[grid@example bin] $
ASM IS WATCH NOW TO THE LISTENING PORT
[grid@example bin] $ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.3.0 - Production on July 15, 2015 09:03:11
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=example.castrading.com) (PORT = 1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start date July 15, 2015 07:30:34
Uptime 0 days 1 h 32 min 36 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /u01/app/11.2.0/grid/network/admin/listener.ora file
The listener log file /U01/app/grid/diag/tnslsnr/example/listener/alert/log.XML
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=example.castrading.com) (PORT = 1521)))
Summary of services...
Service '+ ASM' a 1 instance (s).
Instance '+ ASM' READY State, has 1 operation for this service...
Service "orcl" has 1 instance (s).
Instance "orcl", status UNKNOWN, has 1 operation for this service...
The command completed successfully
[grid@example bin] $
-
Download "error: ORA-01031: insufficient privileges" when try to add relief of database
Hi all
I get insufficient privileges error when I added a standby database to dg configuration. I read some blog and he said that dgmgrl does not support os authentication, which means that I need to connect with sys and password. But I found that if I keep standby and primary SIDs are the same, the error will not occur even if I don't provide a password. Anyone know the reason? And no workaround?
The process as follows:
main SID: orcl ensures sid: prxx
connect to "dgmgrl / '.
Run ' add the database ' prxx_stby "as an identifier of connection is"prxx_stby"
Download:
Error: ORA-01031: insufficient privileges
Failed.But if sid main: orcl ensures sid: orcl
connect to "dgmgrl / '.
Run ' add the database ' orcl_stby "as an identifier of connection is"orcl_stby"
Download:
Database "orcl_stby" added
Liz
I think still you can connect as "dgmgrl /", but its recommended to use "dgmgrl sys / * '.
As rchem has said, there can be question of password. It doesn't matter whether the SID is the same or not primary and standby so different locations. So the best practice is to connect to the database from the primary server before using Oracle net service and test whether you connect or not.
Ex: Prim_host > sqlplus sys/***@stby as sysdba
There are a lot of possible issues
-Missing or invalid password file
-Service name is not registered with earphone
-service incorrect, mentioned in the tns names
and so many things, overlaps with these things.
-
ORA-01031: insufficient privileges
Hi all;
U1 > grant u1.emp to scott references;
Grant succeeded.
SCOTT > alter table u1.emp change (emp_id number constraint emp_c1_pk_eid primary key);
ALTER table u1.emp change (emp_id number constraint emp_c1_pk_eid primary key)
*
ERROR on line 1:
ORA-01031: insufficient privileges
To create a primary key or foreign in the object on the other, what a privilege devrais I need?
Thank you
To create a primary key or foreign in the object on the other, what a privilege devrais I need?
This is generally NOT a good idea.
Why do you need a primary key in a different schema from the owner of the table. If you do this, you will ALWAYS have a dependency between these two patterns.
You must be able to alter the table and create indexes of the other schema...
For the ALTER statement:
http://docs.Oracle.com/CD/B28359_01/server.111/b28286/statements_3001.htm
Prerequisites
The table must be in your own schema or you must have
ALTER
privileges of objects on the table, or you must haveALTER
ANY
TABLE
system privilege.For indexes
http://docs.Oracle.com/CD/B28359_01/server.111/b28286/statements_5011.htm#i2062403
Prerequisites
To create an index in your own schema, one of the following conditions must be true:
- The table or cluster be indexed must be in your own schema.
- You must have the
INDEX
object privilege on the table to be indexed. - You must have the
CREATE
ANY
INDEX
system privilege.
To create an index in another schema, you must have the
CREATE
ANY
INDEX
system privilege. In addition, the owner of the schema to contain the index must have either theUNLIMITED
TABLESPACE
quota privilege or space of the system on the storage space to store the index or index partitions. -
ORA-01031: insufficient privileges after the cloning of RAC
Hello.
I have 2 CARS with 2 DBs nodes and 1 OEBS with option of CARS. 5.11 for Linux. IM 11.2.0.3.9. DB 11.2.0.3.9.
Data disks when presented by iSCSI. Data, OCR, voting are in ASM on a diskgroup.
For testing purposes this RAC has been cloned, including lun data.
After that successful cloning IG has been tested and verified. Everything is ok.
DB homes have been reconfigured successfully. Unfortunately tries to connect to sqlplus / as sysdba a ccure of error:
ERROR:
ORA-01031: insufficient privileges
Any suggestions will be much appreciate.
Thank you in advance.
Finally, it works.
export NEWHOSTNAME=node1 export G01=OSDBA_GROUP=dba export G02=OSOPER_GROUP=oper export G03=OSASM_GROUP= eval "perl ${ORACLE_HOME}/clone/bin/clone.pl -silent ORACLE_BASE=$ORACLE_BASE ORACLE_HOME=$ORACLE_HOME ORACLE_HOME_NAME=OraDb11g_home1 INVENTORY_LOCATION=/u01/app/oraInventory -O'\"CLUSTER_NODES={$NEWHOSTNAME}\"' -O'\"LOCAL_NODE=$NEWHOSTNAME\"' $G01 $G02 $G03"
In this case, config.c contains appropriate Van Overstraeten:
#define SS_DBA_GRP "dba" #define SS_OPER_GRP "oper" #define SS_ASM_GRP ""
-
ORA-01031: insufficient privileges as sysdba
I can not connect as sysdba using service name
[ofssobp@ofss2311575 admin] $ sqlplus sys/welcome1@ORA2191 as sysdba
SQL * more: Production of the 11.2.0.3.0 version on Mon Jan 19 12:42:42 2015
Copyright (c) 1982, 2011, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
- SQLNET.ora
[ofssobp@ofss2311575 admin] $ cat sqlnet.ora
sqlnet.ora # Network Configuration file: /scratch/app/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
- NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
ADR_BASE = / scratch/app
#SQLNET. AUTHENTICATION_SERVICES = (NONE)
- Config.c
[lib ofssobp@ofss2311575] $ cat config.c
/ * SS_DBA_GRP sets the UNIX group for sqldba adminstrative access ID. */
/ * Refer to the Guide to Installation and usage for more information. */
/ * IMPORTANT: this file must be in harmony with
RDBMS/SRC/Server/OSDS/config.c, specifically as regards the
number of elements in the array ss_dba_grp.
*/
#define SS_DBA_GRP "dba".
#define SS_OPER_GRP "dba".
#define SS_ASM_GRP "dba".
char * ss_dba_grp [] = {SS_DBA_GRP, SS_OPER_GRP, SS_ASM_GRP};
Hello
could you please create a password oracle.
orapwd file =... and try again
Kind regards
-
create returns user ORA-01031: insufficient privileges
Hi all
I am trying to create user on Oracle 11.2.0.4 windows db.
I get the following error
create the user one identified by a
Error in the command line column: 6:28
Error report:
SQL error: ORA-01031: insufficient privileges
01031 00000 - "insufficient privileges".
* Cause: An attempt was made to change the user name or password
without the privilege appropriate. This error also occurs if
trying to install a database without the need for employment
access privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
If the user has been granted the privilege necessary for a higher label
that the connection is active.
* Action: Ask the database to perform the operation or grant administrator
the required privileges.
For users Trusted Oracle get this error, well that granted the
the privilege that is suitable for the top label, ask the database
administrator to grant the privilege to the appropriate label.
Please may I know how to solve.
I disabled Database Vault Account Management.
This allowed me to grant privileges as user sys.
C:\Users\rbastawa>sqlplus / as sysdba
SQL * more: Production release 11.2.0.4.0 on sea 12 Nov 09:56:40 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production
With partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
SQL > grant connect to one.
grant connect to a
*
ERROR on line 1:
ORA-47410: Violation of Kingdom for GRANT on CONNECT
SQL > grant connect to one.
Grant succeeded.
SQL >
Thanks for the help.
Maybe you are looking for
-
premanently store this exception is inactive
The problem is that I can't save the security exception because the box is inactive. I know that the certificate provider, and it's OK. How can I unlock this option and make it active to save the certificate?
-
I have a HP G5210UK and I was wondering if an AMD Phenom II X 4 945 work
I currently have a HP G5210UK and there a motherboard M2N68-(Narra6), so I was wondering if an AMD Phenom II X 4 945 would work.I also wonder if Corsair XMS3 CMX4GX3M2A1600C9 4 GB (2 x 2 GB) DDR3 SDRAM would work.
-
My HARD 1670 CD drive broke down
Hi, my internal hard drive (6.0 GB S.M.A.R.T.) broke down, I can't use Fdisk much anymore, it's over for me. Does anyone know what drive is inside my laptop? Anyone know if I can put more large hard drive (20 GB) in my notebook and I can run WinXP to
-
Hello guys,. I have a problem with my iPhone 6s that u can not find the icon airplay on it, and my device is up to date. and I want to connect it with my macbook pro.
-
T520 - Connecting to a Plasma TV
I want to display my computer on a Panasonic Viera TC-P50ST30. I wonder what cable I need to achieve this. My computer has a "monitor" on the side connector that looks like a regular monitor connector that laptops have had forever. It also has a conn