Oracle SYSDBA user gets ORA-01031: insufficient privileges

Hi,

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

 

 

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

Mehmet Salih Deveci

I am Founder of 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 mehmetsalih.deveci@outlook.com.-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  mehmetsalih.deveci@outlook.com a mail atabilirsiniz.

6 thoughts on “Oracle SYSDBA user gets ORA-01031: insufficient privileges

  • March 6, 2019 at 7:01 pm
    Permalink

    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.

    Reply
  • March 7, 2019 at 4:41 am
    Permalink

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

    Reply
  • May 19, 2019 at 4:15 pm
    Permalink

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

    Reply

Leave a Reply

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