Troubleshooting ORA-01031: insufficient privileges Error.
Created a new database and while trying to connect as SYSDBA getting the ORA-01031 error. What could be the problem and how to fix it?
-
Troubleshooting ORA-01031: insufficient privileges Error.
smallwei

smallwei 12:35 pm on November 6, 2009
Here is the official Oracle explanation regarding ORA-01031:
There are two possible areas to look at.
1. Operating System:
In Windows, install Oracle software and database as Administrator or as a group member of Administrators Group. The user also needs to belong to ORA_DBA group. Open the Groups folder under Local Users and Groups on the Computer Management console.
Expand the Computer Management window and read the descriptions of the Administrators and ORA_DBA groups. The ORA_DBA group description says: “Members can connect to the Oracle database as a DBA without a password.” Add the user to the group.
You can also use the following command to add user to ORA_DBA group:
C:\> net localgroup ora_dba rene /add2. Oracle database:
In most cases, the user receiving this error lacks a privilege to create an object (such as a table, view, procedure … etc). Use the following command in sqlplus to add privilege: