ORA-01031: insufficient privileges with SYSDBA Priviliges

Hi,

Although sys user is most priviliged user in Oracle database but also you can get ORA-01031: insufficient privileges SYSDBA.

 

 

If this error is not related with the Oracle database vault, then read the following post to grant priviliges to related user.

 

How to Grant and Revoke Privileges | Create and Drop any User in Oracle Database

 

 

 

 

You can get ORA-01031: insufficient privileges error event though you use sys user if Oracle Database Vault is open like following.

SQL> create user dd identified by dew;

ORA-01031: insufficient privileges 




SQL> SELECT * FROM V$OPTION WHERE PARAMETER = 'Oracle Database Vault';

PARAMETER
----------------------------------------------------------------
VALUE
----------------------------------------------------------------
Oracle Database Vault
TRUE

 

To solve this problem you should close database and disable Oracle Database Vault option like following.

SQL> shutdown immediate

$ cd $ORACLE_HOME/rdbms/lib
$ make -f ins_rdbms.mk dv_off ioracle

 

 

SQL> startup
ORACLE instance started.

Total System Global Area 2087780352 bytes
Fixed Size 2221208 bytes
Variable Size 1577061224 bytes
Database Buffers 503316480 bytes
Redo Buffers 5181440 bytes
Database mounted.
Database opened.

 

After database opened, we can create user like following.

SQL> create user mehmet identified by salih;

User created.

SQL> SELECT * FROM V$OPTION WHERE PARAMETER = 'Oracle Database Vault';

PARAMETER
----------------------------------------------------------------
VALUE
----------------------------------------------------------------
Oracle Database Vault
FALSE

 

If this error is not related with the Oracle database vault, then read the following post to grant priviliges to related user.

 

How to Grant and Revoke Privileges | Create and Drop any User in Oracle Database

 

 

 

Do you want to learn Oracle Database for Beginners, then read the following articles.

https://ittutorial.org/oracle-database-19c-tutorials-for-beginners/

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

6 comments

  1. Hello!

    Do you know how to get +10% in bitcoins during your coffee break?
    Spend this time with benefits.

    Make fast donation to http://dc-btc.pro and get automatically payout to your wallet after two days.

    For example, you donate 100$ in btc today, so you automatically get 110$ day after tomorrow.
    Reward will come directly to your btc wallet.

    Try and get reward!

    Bowered by Blockchain technology.

  2. http://averena24.ru – где купить санкнижку – подробнее на нашем сайте https://averena24.ru – averena24.ru
    Личная https://averena24.ru – медицинская книжка (https://averena24.ru – санитарная книжка) – официальный документ строгой отчетности. В санитарной книжке отражаются все данные о результатах периодических осмотров, сдачи анализов и прививках, наличия инфекционных заболеваний, а также о прохождении курсов по гигиеническому воспитанию и аттестации.

  3. Do you have a website with more info on this?

  4. Great post, I think blog owners should larn a lot from this site its rattling user friendly.

Leave a Reply

Your email address will not be published. Required fields are marked *