ORA-1031 When Connecting Remotely AS SYSDBA (Doc ID 470832.1)

Last updated on SEPTEMBER 16, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.3 to 10.2.0.4 [Release 10.2]
Information in this document applies to any platform.
Checked for relevance on 15-Feb-2013

Symptoms

Remote connections as SYSDBA are failing with ORA-1031 :


[oracle@oratest3-ro dbs]$ sqlplus sys/syspassword@sidname as sysdba

SQL*Plus: Release 10.2.0.3.0 - Production on Thu Dec 13 19:37:53 2007

Copyright (c) 1982, 2006, Oracle. All Rights Reserved.

ERROR:
ORA-01031: insufficient privileges



The REMOTE_LOGIN_PASSWORDFILE parameter is set to EXCLUSIVE :



SQL> show parameter remote_login

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
remote_login_passwordfile string EXCLUSIVE



The view v$pfile_users shows that the user was not granted the sysdba role:



SQL> select * from v$pwfile_users;

USERNAME SYSDB SYSOP
-------- ----- -----
SYS      FALSE TRUE

Changes

Created a passwordfile with nosysdba=y.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms