ORA-01031: insufficient privileges
============================
ABOVE ERROR MAY OCCUR IN FOLLOWING SITUATIONS...
1. Absent/corrupted PASSWORD FILE (Remote connection)
===================================
The issue here is the ablity to connect to your instance remotely as
sysdba; this requires
1. a password file generated by orapwd and
2. an init.ora parameter, remote_login_passwordfile, set to shared or
exclusive .If this parameter is set to NONE then no password file is utilised and no possibility exists of a remote login with sys as sysdba.
To solve the problem:
Delete old password file manually(OS delete).
then create new one.
to create a password file :
C:\Documents and Settings\user> orapwd file=G:\oracle\product\10.2.0\db_1\database\PWDBEFTN.ora password=sys entries=5
2. Lack of privileges
====================
In most cases, the user receiving this error lacks a privilege to create an object (such as a table, view, procedure and the like).
Grant the required privilege .
grant create table to user;
3. Startup
===========
If someone receives this error while trying to startup the instance,
the logged on user must belong to the ora_dba group on Windows or dba group on Unix.
To add a user to the ora_dba group on Windows, net localgroup should help:
C:\> net localgroup ora_dba rene /add
4. In windows (Local machine)
=====================
Windows does this on occasion, usually when domain accounts are used.
Ensure you are using a local user account (even domain accounts allow local
logins when the network is absent)
Halim, a Georgia Tech graduate Senior Database Engineer/Data Architect based in Atlanta, USA, is an Oracle OCP DBA and Developer, Certified Cloud Architect Professional, and OCI Autonomous Database Specialist. With extensive expertise in database design, configuration, tuning, capacity planning, RAC, DG, scripting, Python, APEX, and PL/SQL, he combines technical mastery with a passion for innovation. Notably, Halim secured 16th place worldwide in PL/SQL Challenge Cup Playoff on the year 2010.
Saturday, October 3, 2009
Subscribe to:
Post Comments (Atom)
My Blog List
-
-
-
ASSM states3 weeks ago
-
UKOUG Discover 20241 month ago
-
-
-
-
-
-
-
-
Moving Sideways8 years ago
-
-
Upcoming Events...11 years ago
-
No comments:
Post a Comment