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 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.

Leave a Reply

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