Remote login as sysdba, ORA-01031

I am trying to connect to a remote database which is installed on HP-UX from Windows-XP machine, as sysdba.
1. When I try to login from sqlplus system does not prompt for the password and gives following error:
SQL> connect sys@dcoemrep as sysdba
ERROR:
ORA-01031: insufficient privileges
2. When I try to connect using Toad or on the local machine (HP-UX), I am able to connect as sysdba
3. I have configured the following parameters and other settings
a. Created the password file using orapwd utility on target box (HP-UX)
b. Changed remote_login_passwordfile to EXCLUSIVEc. Changed SQLNET.AUTHENTICATION_SERVICES to NONE in sqlnet.ora
d. I have also tried to change remote_login_passwordfile to REMOTE
e. Also tried Changing remote_login_passwordfile to EXCLUSIVE. Changed SQLNET.AUTHENTICATION_SERVICES to NTS in sqlnet.ora
Current Parameter Setting:
===========================================
SQL> show parameter remote
remote_archive_enable string true
remote_dependencies_mode string TIMESTAMP
remote_listener string
remote_login_passwordfile string SHARED
remote_os_authent boolean FALSE
remote_os_roles boolean FALSE
SQL> show parameter os
optimizer_index_cost_adj integer 100
os_authent_prefix string
os_roles boolean FALSE
remote_os_authent boolean FALSE
remote_os_roles boolean FALSE
timed_os_statistics integer 0
Current sqlnet.ora
===========================================
SQLNET.ORA Network Configuration File: C:\oracle\ora92\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
#SQLNET.AUTHENTICATION_SERVICES= (NTS)
SQLNET.AUTHENTICATION_SERVICES=(NONE)
#NAMES.DIRECTORY_PATH= (TNSNAMES)
TRACE_LEVEL_CLIENT = OFF
sqlnet.authentication_services = (NONE)
names.directory_path = (TNSNAMES, HOSTNAME)
names.default_domain = world
name.default_zone = world
automatic_ipc = off
Oracle Database Version
===========================================
Oracle9i Enterprise Edition Release 9.2.0.1.0

Hi,
i found a similar problem when we changed the sys password of a living instance of Oracle. First of all, check that the password you are typing is correct (with the pwDBNAME file). Toad saved the password? If you can see an error message restarting the db if you have a problem on this file. If you can perform all test on teh server avoiding to use the server string but just setting the SID. Are you sure that the server string points to the right db?
Hope this helps
Sam
Message was edited by:
Samuele Ghilardi

Similar Messages

  • Oracle 11R2 remote login as sysdba fails

    Hello
    i cant connect remotely as sysdba from client to server - oracle version SQL*Plus: Release 11.2.0.2.0
    the configuration is the following
    orapwd file=orapwdTESTDB entries=30 password=mypassword force=y
    on the init.ora i have the following
    remote_login_passwordfile=EXCLUSIVE
    and while going to another server i keep getting the following error message
    sqlplus sys/mypassword@testdb as sysdba
    SQL*Plus: Release 11.2.0.2.0 Production
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    What else im missing? i had this configuration in oracle 10G and worked fine
    thanks

    Did you ever get this to work? I'm having the same problem. If I remote to the server and log on directly as sys, I can do fine. If I try from my PC, I get the insuff priv error. I can connect to other databases fine from my PC, but not this particular one.
    thanks,
    Carl

  • Create a new DB and conn / as sysdba ORA-01031

    Im try to create a new DB and:
    ex[oracle@srv-orcl 9.2.0]$ export ORACLE_SID=testerms
    [oracle@srv-orcl 9.2.0]$ sqlplus /nolog
    SQL*Plus: Release 9.2.0.4.0 - Production on Tue Feb 26 15:33:49 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> conn / as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    SQL>
    Someone can help me?
    Tks,
    Elber

    [oracle@srv-orcl admin]$ ls -l $ORACLE_HOME
    total 176
    drwxr-xr-x 10 oracle oinstall 4096 Nov 27 21:32 Apache
    drwxr-xr-x 5 oracle oinstall 4096 Nov 27 21:32 assistants
    drwxr-xr-x 5 oracle oinstall 4096 Nov 27 21:32 BC4J
    drwxr-xr-x 2 oracle oinstall 4096 Feb 25 13:17 bin
    drwxr-xr-x 10 oracle oinstall 4096 Nov 27 21:33 ctx
    drwxr-xr-x 2 oracle oinstall 4096 Feb 26 15:50 dbs
    drwxr-xr-x 3 oracle oinstall 4096 Nov 27 21:30 demo
    drwxr-xr-x 10 oracle oinstall 4096 Nov 27 21:32 ds
    drwxr-xr-x 3 oracle oinstall 4096 Nov 27 21:37 install
    drwxr-xr-x 8 oracle oinstall 4096 Nov 27 21:38 inventory
    drwxr-xr-x 8 oracle oinstall 4096 Nov 27 21:34 javavm
    drwxr-xr-x 5 oracle oinstall 4096 Nov 27 21:27 jdbc
    drwxr-xr-x 9 oracle oinstall 4096 Nov 27 21:30 jdk
    drwxr-xr-x 2 oracle oinstall 4096 Nov 27 21:34 jlib
    lrwxrwxrwx 1 oracle oinstall 25 Nov 27 21:29 JRE -> /u01/app/oracle/jre/1.4.2
    drwxr-xr-x 6 oracle oinstall 4096 Nov 27 21:31 jsp
    drwxr-xr-x 16 oracle oinstall 4096 Nov 27 21:34 ldap
    drwxr-xr-x 3 oracle oinstall 4096 Feb 25 13:17 lib
    drwxr-xr-x 3 oracle oinstall 4096 Feb 25 13:26 lib32
    drwxr-xr-x 4 oracle oinstall 4096 Nov 27 21:35 md
    drwxrwxrwx 14 oracle oinstall 4096 Nov 27 21:37 network
    drwxr-xr-x 3 oracle oinstall 4096 Nov 27 21:31 oci
    drwxr-xr-x 3 oracle oinstall 4096 Nov 27 21:29 ocommon
    drwxr-xr-x 5 oracle oinstall 4096 Nov 27 21:29 ocs4j
    drwxr-xr-x 3 oracle oinstall 4096 Nov 27 21:27 oracm
    drwxr-xr-x 4 oracle oinstall 4096 Nov 27 21:27 oracore
    drwxr-xr-x 13 oracle oinstall 4096 Nov 27 21:32 ord
    drwxr-xr-x 8 oracle oinstall 4096 Nov 27 21:35 otrace
    drwxr-xr-x 4 oracle oinstall 4096 Nov 27 21:32 owm
    drwxr-xr-x 3 oracle oinstall 4096 Nov 27 21:28 pfs
    drwxr-xr-x 9 oracle oinstall 4096 Nov 27 21:35 plsql
    drwxr-xr-x 9 oracle oinstall 4096 Nov 27 21:30 precomp
    drwxr-xr-x 15 oracle oinstall 4096 Nov 27 21:35 rdbms
    drwxr-xr-x 3 oracle oinstall 4096 Nov 27 21:28 relnotes
    -rwxr-xr-x 1 oracle oinstall 5873 Nov 27 21:37 root.sh
    -rw-r--r-- 1 oracle oinstall 0 Feb 26 2004 root.sh.old
    drwxr-xr-x 3 oracle oinstall 4096 Nov 27 21:30 slax
    drwxr-xr-x 7 oracle oinstall 4096 Nov 27 21:33 soap
    drwxr-xr-x 5 oracle oinstall 4096 Nov 27 21:31 sqlj
    drwxr-xr-x 9 oracle oinstall 4096 Nov 27 21:35 sqlplus
    drwxr-xr-x 4 oracle oinstall 4096 Nov 27 21:27 srvm
    drwxr-xr-x 8 oracle oinstall 4096 Nov 27 21:33 syndication
    drwxr-xr-x 10 oracle oinstall 4096 Nov 27 21:35 ultrasearch
    drwxr-xr-x 3 oracle oinstall 4096 Nov 27 21:32 wwg
    drwxr-xr-x 8 oracle oinstall 4096 Nov 27 21:31 xdk
    [oracle@srv-orcl admin]$
    ############################################################

  • When running dbstart ,get an error "ORA-01031: insufficient privileges "

    Host :Rhel 4.6
    Oracle: Oracle 10.2.0.1
    I already modified the file /etc/oratab : db:/opt/oracle10g/OraHome:Y , sid is "db" .
    this db is installed in a vmware client, when i install it on first several days,rthe database startup well by running script "dbstart" .
    but about 1 month later,the database do not startup by running script "dbstart" ,checking log file ,found this:
    /opt/oracle10g/OraHome/bin/dbstart: Starting up database "db"
    SQL*Plus: Release 10.2.0.1.0 - Production on ÐÇÆÚÒ» 9ÔÂ 14 14:01:36 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SP2-0640: Not connected
    connect / as sysdba>ORA-01031: insufficient privileges
    I nerver change any configure of oracle since it installed ,why the "dbstart" not work ?
    I google anywhere,but no answer can resolve it .

    [root@rh4-u6 bin]# su - oracle
    [oracle@rh4-u6 ~]$ export PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/opt/oracle10g/OraHome/bin:/home/oracle/bin
    [oracle@rh4-u6 ~]$
    [oracle@rh4-u6 ~]$ dbstart
    Failed to auto-start Oracle Net Listene using /ade/vikrkuma_new/oracle/bin/tnslsnr
    Processing Database instance "db": log file /opt/oracle10g/OraHome/startup.log
    [oracle@rh4-u6 ~]$ tail -n 20 /opt/oracle10g/OraHome/startup.log
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SP2-0640: Not connected
    connect / as sysdba>ORA-01031: insufficient privileges
    connect / as sysdba>
    /opt/oracle10g/OraHome/bin/dbstart: Database instance "db" warm started.
    /opt/oracle10g/OraHome/bin/dbstart: Starting up database "db"
    ¶þ 9ÔÂ 15 09:01:52 CST 2009
    SQL*Plus: Release 10.2.0.1.0 - Production on ÐÇÆÚ¶þ 9ÔÂ 15 09:01:52 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SP2-0640: Not connected
    connect / as sysdba>ORA-01031: insufficient privileges
    connect / as sysdba>
    /opt/oracle10g/OraHome/bin/dbstart: Database instance "db" warm started.
    exporting path manualy still be unuseful .
    " I see strange thing from you last post it says that no file exists in directory /opt/oracle10g/OraHome/bin which starts with db. Is it so? but your original post says that it is
    ", the directory "/opt/oracle10g/OraHome/bin " exists :
    [root@rh4-u6 ~]# cd /opt/oracle10g/OraHome/bin
    [root@rh4-u6 bin]# pwd
    /opt/oracle10g/OraHome/bin

  • ORA-01031:  when login as sysdba

    We have Oracle 11.2 on Redhat 5.6. on the server box, I can login as sysdba by doing sqlplus / as sysdbaBut failed when I do sqlplus sys/****@cchdev as sysdba
    ERROR:
    ORA-01031: insufficient privileges or In sqlplus conn sys/****@cchdev as sysdba
    ERROR:
    ORA-01031: insufficient privilegesI suspect the password is wrong, then I changed password. But I got the same error when using new password.
    I could login all three way above last time. WHat is wrong?

    Here is the result od env|sort[oracle@cchORdev1 ~]$ env|sort
    BI_CONFIG_DIR=/u01/app/obiee/server/Config
    _=/bin/env
    BI_OC4J_DIR=/u01/app/obiee/oc4j_bi
    BI_RPD_DIR=/u01/app/obiee/server/Repository
    CLASSPATH=/u01/app/oracle/product/11.2.0/dbhome_1/JRE:/u01/app/oracle/product/11.2.0/dbhome_1/jlib:/u01/app/oracle/product/11.2.0/dbhome_1/rdbms/jlib
    CVS_RSH=ssh
    G_BROKEN_FILENAMES=1
    HISTSIZE=1000
    HOME=/home/oracle
    HOSTNAME=cchORdev1
    INPUTRC=/etc/inputrc
    KDEDIR=/usr
    KDE_IS_PRELINKED=1
    KDE_NO_IPV6=1
    LANG=en_US.UTF-8
    LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib:/lib:/usr/lib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=oracle
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/oracle
    OBI_BASE=/u01/app/obiee/
    OBI_PRESENTATION_CONFIG=/u01/app/obiee//web/config
    ORA_ALERT_DIR=/var/oracle/diag/rdbms/cchdev/CCHDEV/trace
    ORA_BI_HOME=/u01/app/obiee
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    ORACLE_SID=cchdev
    ORACLE_TERM=xterm
    ORA_DUMP_DIR=/u05/oracle/dpdump
    PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/sbin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:/u01/app/oracle/product/11.2.0/dbhome_1/jdk/bin
    PWD=/home/oracle
    SHELL=/bin/bash
    SHLVL=1
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_CLIENT=10.2.0.54 6032 22
    SSH_CONNECTION=10.2.0.54 6032 10.2.0.200 22
    SSH_TTY=/dev/pts/1
    TERM=xterm
    TMPDIR=/tmp
    TMP=/tmp
    TNS_ADMIN=/u01/app/oracle/product/11.2.0/dbhome_1/network/admin
    USER=oracle
    [oracle@cchORdev1 ~]$Edited by: user623617 on Apr 16, 2010 12:11 PM

  • ORA-01031: insufficient privileges when loggin in as sqlplus "/ as sysdba"

    I have recently got a brand new Solaris Box. Have restored the ORacle Home from a live server.
    then gone to restore a database from Tape.
    All done fine.
    However I cannot seem to login as
    $>sqlplus "/ as sysdba"
    I can only seem to login as
    $>sqlplus /nolog
    then
    SQL>connect sys/password as sysdba
    I have shut the Database down and recreated the password file
    orapwd file=$ORACLE_HOME/dbs/orapwFMZ password=passowrd entries=50
    Tried again but the same response... a spool of which is below.
    $ sqlplus "/ as sysdba"
    SQL*Plus: Release 9.2.0.8.0 - Production on Thu Apr 5 09:49:23 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name: ^C^X^Z
    SQL> connect / as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    $ sqlplus /nolog
    SQL*Plus: Release 9.2.0.8.0 - Production on Thu Apr 5 09:49:36 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> connect sys/password as sysdba
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 68386816 bytes
    Fixed Size 729088 bytes
    Variable Size 54525952 bytes
    Database Buffers 12582912 bytes
    Redo Buffers 548864 bytes
    Database mounted.
    Database opened.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    I have inlcuded a list of parameters below FYI
    SQL> show parameter remote
    NAME TYPE VALUE
    remote_archive_enable string true
    remote_dependencies_mode string TIMESTAMP
    remote_listener string
    remote_login_passwordfile string SHARED
    remote_os_authent boolean TRUE
    remote_os_roles boolean FALSE
    Please can someone help.
    Best Regards,
    M
    Edited by: user5856470 on Apr 5, 2012 2:11 AM

    I have tried what has been suggested but with no result
    SQL> alter system set remote_login_passwordfile=exclusive scope=spfile;
    SQL> show parameter remote_log
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    SQLNET.AUTHENTICATION_SERVICES = (ALL)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    Bounced the database but no result...
    $ sqlplus "/ as sysdba"
    SQL*Plus: Release 9.2.0.8.0 - Production on Tue Apr 10 15:54:37 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    I have reset the parameters back to original. As this is the parameters in the source database system which is working with sqlplus "/ as sysdba"
    As you can see, I can log in as below but not with remote authentication....
    $ sqlplus
    SQL*Plus: Release 9.2.0.8.0 - Production on Tue Apr 10 15:54:42 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Enter user-name: sys/password as sysdba
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    FYI.
    I did delete the password file and recreated it as well. But cannot still connect as sqlplus "/ as sysdba"
    Any Ideas???

  • Error:ora-01031 Insuffiecient Privileges when using "conn / as sysdba"?

    HI all,
    I used oracle to login and used dbca to create a database.
    export ORACLE_SID=db9i
    sqlplus /nolog
    conn / as sysdba
    Error:ora-01031 Insuffiecient Privileges
    Notes: I can use "conn sys/pwd as sysdba" to connect instance.

    Verify your oracle installation as of document available at this URL : http://www.oracle.com/technology/pub/articles/smiley_10gdb_install.html

  • 11.2.0.1 :ORA-01031: insufficient privileges / as sysdba

    Hi All,
    I installed 11.2.0.1 $ORACLE_HOME in process of performing database upgrade in 11i applications environment.
    Installation went successfully, while installing i have to select group name as "other" as it was not listing the dba group in installation screen. I manually changed the group to dba after Installation.
    Now when im trying to login as /sysdba its getting error-ed out:
    bash-3.00$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jun 5 08:53:35 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    - proper oracle home, sid, path is set
    - listener is up and running
    what could be the problem?
    Thanks in advance for all you inputs.

    Prathmesh wrote:
    You do this by running the utility orapwd from a command line.
    orapwd file=$ORACLE_HOME/dbs/orapwsid password=secure entries=5Dear Prathmesh "sqlplus / as sysdba" command do not use passwordfile or this is not password file authentication,this is OS authentication.Pls see http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/dba.htm#sthref149

  • ORA-01031: insufficient privileges While trying / as sysdba

    I have an Oracle user (jjcdba) through which I login to the database.
    From today morning, I am unable to login to the database and I am getting this error.
    $=> id
    uid=123(jjcdba) gid=3203(jjcdba)
    [jjcdba@jjcprd04:/jjc/orasw10/oracle/product/10.2.4]
    $=> sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Oct 5 04:22:31 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name:Could someone please tell me how to troubleshoot this issue. I need to get into the database urgently!
    Edited by: user9104898 on Oct 5, 2010 1:43 AM

    $=> sqlplus "/as sysdba"
    SQL*Plus: Release 9.2.0.5.0 - Production on Tue Oct 5 04:51:22 2010
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.5.0 - Production
    SQL> sho parameter db_name
    NAME                                 TYPE        VALUE
    db_name                              string      JJCSHRP2
    $=> sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.3.0 - Production on Tue Oct 5 04:53:17 2010
    Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> sho parameter db_name
    NAME                                 TYPE        VALUE
    db_name                              string      JJCSHRP5
    SQL> exit
    $=> sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.3.0 - Production on Tue Oct 5 04:57:26 2010
    Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> sho parameter db_name
    NAME                                 TYPE        VALUE
    db_name                              string      JJCSHRP7
    $=> sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Oct 5 04:58:01 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Oracle Label Security, OLAP, Data Mining Scoring Engine
    and Real Application Testing options
    SQL> sho parameter db_name
    NAME                                 TYPE        VALUE
    db_name                              string      JJCSHRP8
    SQL>Only when I am connecting to this database, I am facing issue.
    $=> sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Oct 5 06:36:24 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    ERROR:
    ORA-01031: insufficient privileges
    But I can connect to this database by giving the password.
    Enter user-name: sys/xxxxxxxx as sysdba
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>

  • SQL connect /as sysdba;  ERROR: ORA-01031: insufficient privileges

    wondering what could be the case, OS Solaris10
    SQL*Plus: Release 10.2.0.3.0 - Production on Thu Sep 11 13:36:17 2008
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    SQL> connect /as sysdba;
    ERROR:
    ORA-01031: insufficient privileges
    i have orapwd also setup &
    SQL> connect sys/******** as sysdba;
    Connected.
    SQL> show parameter remote
    NAME TYPE VALUE
    remote_archive_enable string true
    remote_dependencies_mode string TIMESTAMP
    remote_listener string
    remote_login_passwordfile string EXCLUSIVE
    remote_os_authent boolean FALSE
    remote_os_roles boolean FALSE
    Oracle 10.2.0.3: id -a oracle
    uid=101(oracle) gid=101(dba) groups=101(dba)

    Hi DBA2008,
    Please refer to this Metalink Notes:
    - Troubleshooting ORA-1031 Insufficient Privilege While Authentication Note [730067.1|https://metalink.oracle.com/metalink/plsql/f?p=130:14:3634364694467571378::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,730067.1,1,1,1,helvetica]
    - UNIX: Checklist for Resolving Connect AS SYSDBA Issues Note [69642.1|https://metalink.oracle.com/metalink/plsql/f?p=130:14:3634364694467571378::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,730067.1,1,1,1,helvetica]
    - UNIX:Connect Internal asks for password when TWO_TASK is set Note [1066589.6|https://metalink.oracle.com/metalink/plsql/f?p=130:14:3634364694467571378::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,1066589.6,1,0,1,helvetica]
    Regards,
    Francisco Munoz Alvarez
    www.oraclenz.com

  • ORA-01031 when connecting as sysdba after upgrading DB 10.2.0.1 to 10.2.0.3

    Hello everyone
    I have just finished upgrading my development database from 10.2.0.1.0 to 10.2.0.3.0. I have also upgraded my workstation client software to 10.2.0.3.0. Everything appears to be working fine except that I can no long access the new database "as sysdba" from my client computer. Each time I try to login using sys/password@mydb as sysdba I get an ORA-01031: Insufficient privileges error.
    I have no problem connecting to the database using any other normal user. I can connect using "/ as sysdba" from the server console and I also have no problem accessing my production database -- which is still 10.2.0.1 using the 10.2.0.3 drivers. The server is running SLES9 while my workstation runs openSUSE 10.2.
    Any help will be most welcome
    Thanks in advance.
    Thanassis.

    Ensure you have your password file inatct (recreate it if necessary).
    HTH,
    cciontu.

  • Getting ORA-01031: Insufficient privileges when connecting as sys as sysdba

    Hi There,
    I am running Linux AS version 4, oracle 102.0.1, and logginging as oracle user which belongs to dba group. I got error "ORA-01031: Insufficient privileges" when trying to connect as sys user to bring up database. I wondered what is causing the error. Here is an example
    oracle-dev>sqlplus /nolog
    SQL>conn as sys/oracle@dev as sysdba
    ERROR:
    ORA-01031: Insufficient privileges
    Any suggestions would be greatly appreciated. Thanks again.
    Rich,

    Did you create a password file ?
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b15658/admin_ora.htm#sthref142
    Message was edited by:
    Paul M.
    BTW, the syntax is
    SQL>conn sys/oracle@dev as sysdba

  • Remote connections as SYSDBA are failing with ORA-1031

    When i try connect this way:
    [oracle@greta dbs]$ sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jun 14 13:03:39 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to an idle instance.
    Don't problem
    But when i try connect this way:
    [oracle@greta dbs]$ sqlplus sys/oracle@boston as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jun 14 13:06:44 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    .-The REMOTE_LOGIN_PASSWORDFILE parameter is set to EXCLUSIVE
    .-The password on password file is the same whit the database (for user sys)
    .-I recreate the password file
    orapwd file=orapwboston password=oracle entries=5 force=y
    I'm on:
    DB: 10.2.0.1.0
    SO: RHEL 4

    [oracle@greta dbs]$ cat /u01/app/oracle/product/10.2.0/network/admin/sqlnet.ora
    # sqlnet.ora Network Configuration File: /u01/app/oracle/product/10.2.0/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    and more info
    oracle@greta dbs]$ tnsping boston
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 14-JUN-2008 16:59:13
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/10.2.0/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = greta)(PORT = 1523)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = boston.greta)))
    OK (30 msec)

  • Please Help with ORA-01031 - try to connect as sysdba

    The log of the error is as follows:
    D:\oracle\product\10.1.0\Db_ra>set oracle_sid
    Environment variable oracle_sid not defined
    D:\oracle\product\10.1.0\Db_ra>set oracle_sid=ra
    D:\oracle\product\10.1.0\Db_ra>connect "/ as sysdba"
    'connect' is not recognized as an internal or external command,
    operable program or batch file.
    D:\oracle\product\10.1.0\Db_ra>sqlplus "/ as sysdba"
    SQL*Plus: Release 9.0.1.4.0 - Production on Mon Aug 29 12:31:17 2005
    (c) Copyright 2001 Oracle Corporation. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name: sys@ra as sysdba
    Enter password:
    Connected to an idle instance.
    SQL> shutdown immediate;
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SQL> startup;
    ORACLE instance started.
    Total System Global Area 612368384 bytes
    Fixed Size 790096 bytes
    Variable Size 170127792 bytes
    Database Buffers 440401920 bytes
    Redo Buffers 1048576 bytes
    Database mounted.
    ORA-01092: ORACLE instance terminated. Disconnection forced
    I have been trying to work this out, but no success, Thanks in advance for your help.
    JA

    some part of the alert.log:
    Instance terminated by USER, pid = 1212
    ORA-1092 signalled during: ALTER DATABASE open ...
    Dump file d:\oracle\product\10.1.0\admin\ra\bdump\alert_ra.log
    Mon Aug 29 16:40:06 2005
    ORACLE V10.1.0.2.0 - Production vsnsta=0
    vsnsql=13 vsnxtr=3
    Windows Server 2003 Version V5.2 Service Pack 1
    CPU : 4 - type 586, 2 Physical Cores
    Process Affinity: 0x00000000
    Memory (A/P) : PH:3794M/4094M, PG:5823M/5973M, VA:1960M/2047M
    Mon Aug 29 16:40:06 2005
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    KCCDEBUG_LEVEL = 0
    Autotune of undo retention is turned on.
    Dynamic strands is set to TRUE
    Running with 2 shared and 18 private strand(s). Zero-copy redo is FALSE
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 10.1.0.2.0.
    System parameters with non-default values:
    processes = 150
    __shared_pool_size = 159383552
    __large_pool_size = 4194304
    __java_pool_size = 4194304
    sga_target = 612368384
    control_files = D:\ORACLE\PRODUCT\10.1.0\RA\U02\ORADATA\RA\CONTROLFILE\O1_MF_1GHVSHLJ_.CTL, D:\ORACLE\PRODUCT\10.1.0\RA\U03\ORADATA\RA\CONTROLFILE\O1_MF_1GHVSHNZ_.CTL
    db_block_size = 8192
    __db_cache_size = 440401920
    compatible = 10.1.0.2.0
    log_archive_dest_1 = LOCATION=D:\oracle\product\10.1.0\ra\flash_recovery_area
    log_archive_format = ARC%S_%R.%T
    db_file_multiblock_read_count= 8
    db_create_file_dest = D:\oracle\product\10.1.0\ra\u01\oradata
    db_create_online_log_dest_1= D:\oracle\product\10.1.0\ra\u02\oradata
    db_create_online_log_dest_2= D:\oracle\product\10.1.0\ra\u03\oradata
    db_recovery_file_dest = D:\oracle\product\10.1.0\ra\flash_recovery_area
    db_recovery_file_dest_size= 10485760000
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    remote_login_passwordfile= EXCLUSIVE
    db_domain = megatel.hn
    dispatchers = (protocol=TCP)
    shared_servers = 1
    job_queue_processes = 10
    background_dump_dest = D:\ORACLE\PRODUCT\10.1.0\ADMIN\RA\BDUMP
    user_dump_dest = D:\ORACLE\PRODUCT\10.1.0\ADMIN\RA\UDUMP
    core_dump_dest = D:\ORACLE\PRODUCT\10.1.0\ADMIN\RA\CDUMP
    sort_area_size = 65536
    db_name = ra
    open_cursors = 300
    pga_aggregate_target = 203423744
    MMAN started with pid=3, OS id=1236
    RECO started with pid=8, OS id=768
    CJQ0 started with pid=9, OS id=1260
    Mon Aug 29 16:40:08 2005
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    SMON started with pid=7, OS id=1256
    CKPT started with pid=6, OS id=1252
    Mon Aug 29 16:40:10 2005
    alter database mount exclusive
    PMON started with pid=2, OS id=1232
    LGWR started with pid=5, OS id=1248
    DBW0 started with pid=4, OS id=1244
    Mon Aug 29 16:40:13 2005
    Controlfile identified with block size 16384
    Mon Aug 29 16:40:17 2005
    Setting recovery target incarnation to 2
    Mon Aug 29 16:40:17 2005
    Successful mount of redo thread 1, with mount id 2665279661
    Mon Aug 29 16:40:17 2005
    Database mounted in Exclusive Mode.
    Completed: alter database mount exclusive
    Mon Aug 29 16:40:18 2005
    alter database open
    Mon Aug 29 16:40:18 2005
    Beginning crash recovery of 1 threads
    attempting to start a parallel recovery with 3 processes
    parallel recovery started with 3 processes
    Mon Aug 29 16:40:19 2005
    Started first pass scan
    Log resilvered from block #210 to block #212
    Mon Aug 29 16:40:19 2005
    Completed first pass scan
    210 redo blocks read, 131 data blocks need recovery
    Mon Aug 29 16:40:19 2005
    Started redo application at
    Thread 1: logseq 2213, block 3, scn 0.0
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 2213 Reading mem 0
    Mem# 0 errs 0: D:\ORACLE\PRODUCT\10.1.0\RA\U02\ORADATA\RA\ONLINELOG\O1_MF_1_1GHVSJOX_.LOG
    Mem# 1 errs 0: D:\ORACLE\PRODUCT\10.1.0\RA\U03\ORADATA\RA\ONLINELOG\O1_MF_1_1GHVSJW8_.LOG
    Mon Aug 29 16:40:20 2005
    Completed redo application
    Mon Aug 29 16:40:20 2005
    Completed crash recovery at
    Thread 1: logseq 2213, block 213, scn 0.8340211
    131 data blocks read, 131 data blocks written, 210 redo blocks read
    Mon Aug 29 16:40:21 2005
    LGWR: STARTING ARCH PROCESSES
    ARC0 started with pid=15, OS id=2064
    ARC0: Archival started
    Mon Aug 29 16:40:21 2005
    LGWR: STARTING ARCH PROCESSES COMPLETE
    ARC1 started with pid=16, OS id=2076
    ARC1: Archival started
    Mon Aug 29 16:40:21 2005
    ARC0: Becoming the 'no FAL' ARCH
    ARC0: Becoming the 'no SRL' ARCH
    Mon Aug 29 16:40:21 2005
    ARC1: Becoming the heartbeat ARCH
    Mon Aug 29 16:40:21 2005
    LGWR: Primary database is in CLUSTER CONSISTENT mode
    Thread 1 advanced to log sequence 2214
    Maximum redo generation record size = 120832 bytes
    Maximum redo generation change vector size = 116476 bytes
    Private_strands 7 at log switch
    Thread 1 opened at log sequence 2214
    Current log# 2 seq# 2214 mem# 0: D:\ORACLE\PRODUCT\10.1.0\RA\U02\ORADATA\RA\ONLINELOG\O1_MF_2_1GHVSK69_.LOG
    Current log# 2 seq# 2214 mem# 1: D:\ORACLE\PRODUCT\10.1.0\RA\U03\ORADATA\RA\ONLINELOG\O1_MF_2_1GHVSKF3_.LOG
    Successful open of redo thread 1
    Mon Aug 29 16:40:21 2005
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Mon Aug 29 16:40:21 2005
    ARC0: Evaluating archive log 1 thread 1 sequence 2213
    Mon Aug 29 16:40:21 2005
    ARC1: Evaluating archive log 1 thread 1 sequence 2213
    ARC1: Unable to archive log 1 thread 1 sequence 2213
    Log actively being archived by another process
    ARC1: Evaluating archive log 1 thread 1 sequence 2213
    Mon Aug 29 16:40:22 2005
    SMON: enabling cache recovery
    Mon Aug 29 16:40:22 2005
    ARC1: Unable to archive log 1 thread 1 sequence 2213
    Log actively being archived by another process
    ARC1: Evaluating archive log 1 thread 1 sequence 2213
    ARC1: Unable to archive log 1 thread 1 sequence 2213
    Log actively being archived by another process
    Mon Aug 29 16:40:22 2005
    Committing creation of archivelog 'D:\ORACLE\PRODUCT\10.1.0\RA\FLASH_RECOVERY_AREA\ARC02213_0564762704.001'
    Mon Aug 29 16:40:23 2005
    Successfully onlined Undo Tablespace 1.
    Mon Aug 29 16:40:23 2005
    SMON: enabling tx recovery
    Mon Aug 29 16:40:23 2005
    Database Characterset is WE8MSWIN1252
    Mon Aug 29 16:40:23 2005
    Published database character set on system events channel
    Mon Aug 29 16:40:23 2005
    All processes have switched to database character set
    Mon Aug 29 16:40:25 2005
    Starting background process QMNC
    QMNC started with pid=17, OS id=2152
    Mon Aug 29 16:40:27 2005
    replication_dependency_tracking turned off (no async multimaster replication found)
    Mon Aug 29 16:40:28 2005
    Errors in file d:\oracle\product\10.1.0\admin\ra\udump\ra_ora_1304.trc:
    ORA-00600: internal error code, arguments: [kksfbc-reparse-infinite-loop], [], [], [], [], [], [], []
    Mon Aug 29 16:40:30 2005
    Errors in file d:\oracle\product\10.1.0\admin\ra\udump\ra_ora_1304.trc:
    ORA-00600: internal error code, arguments: [kksfbc-reparse-infinite-loop], [], [], [], [], [], [], []
    Mon Aug 29 16:40:31 2005
    Errors in file d:\oracle\product\10.1.0\admin\ra\udump\ra_ora_1304.trc:
    ORA-00600: internal error code, arguments: [kksfbc-reparse-infinite-loop], [], [], [], [], [], [], []
    Mon Aug 29 16:40:32 2005
    Errors in file d:\oracle\product\10.1.0\admin\ra\udump\ra_ora_1304.trc:
    ORA-00600: internal error code, arguments: [kksfbc-reparse-infinite-loop], [], [], [], [], [], [], []
    Error 600 happened during db open, shutting down database
    USER: terminating instance due to error 600
    Mon Aug 29 16:40:33 2005
    Errors in file d:\oracle\product\10.1.0\admin\ra\bdump\ra_mman_1236.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Aug 29 16:40:33 2005
    Errors in file d:\oracle\product\10.1.0\admin\ra\bdump\ra_p002_1984.trc:
    ORA-00600: internal error code, arguments: [15784], [600], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Aug 29 16:40:33 2005
    Errors in file d:\oracle\product\10.1.0\admin\ra\bdump\ra_p001_1980.trc:
    ORA-00600: internal error code, arguments: [15784], [600], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Aug 29 16:40:33 2005
    Errors in file d:\oracle\product\10.1.0\admin\ra\bdump\ra_p000_1568.trc:
    ORA-00600: internal error code, arguments: [15784], [600], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Aug 29 16:40:33 2005
    Errors in file d:\oracle\product\10.1.0\admin\ra\bdump\ra_reco_768.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Aug 29 16:40:33 2005
    Errors in file d:\oracle\product\10.1.0\admin\ra\bdump\ra_smon_1256.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Aug 29 16:40:33 2005
    Errors in file d:\oracle\product\10.1.0\admin\ra\bdump\ra_ckpt_1252.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Aug 29 16:40:33 2005
    Errors in file d:\oracle\product\10.1.0\admin\ra\bdump\ra_lgwr_1248.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Aug 29 16:40:34 2005
    Errors in file d:\oracle\product\10.1.0\admin\ra\bdump\ra_dbw0_1244.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Instance terminated by USER, pid = 1304
    ORA-1092 signalled during: alter database open...

  • After installing MAWI error ORA-01031 when trying to connect as sysdba

    I've installed mawi 2.18 on a brand new 10.2.0.5 ORACLE_HOME.
    After installing the patch i cannot connect anymore to the database as sysdba: the error i got is:
    ORA-01031: insufficient privileges
    If i unset TWO_TASK (as stated in mawi install procedure) and replace it by ORACLE_SID it works.
    What's the correct setup to handle both sysdba connection and MAWI setup ?
    thanks
    Chris

    You could create two seperate env files. The EOF.env for TWO_TASK access and then another env file of yoru choice for SYSDBA access replacing TWO_TASK with ORACLE_SID and depending on whether you are using sysdba access or regular MW access you would execute the correct env file. I would also place the SYSDBA env file in the actual ORACLE_HOME directory.

Maybe you are looking for

  • How do i get my music back on my ipad after i upgraded it

    after upgrating my ipad i lost all my music and now i cant find it. and i found a manual but that was an old one now the programs looks differents

  • 0CO_ITEM_TX field needs to appear in the report

    Hi, I have a report which gets data from MULTI PROVIDER in turn from DSO 0CCA_O09     CO-OM-CCA: Actual - Line Items. This DSO has the field 0CO_ITEM_TX - but when I try to drag it in from dso to multi provider screen it disappears in the data fields

  • How to Rename the Dashboard name

    Hi, How to change/rename the dashboard name. Thanks, Malli

  • GR/IR PRINT

    Hi.. I have configured output type for GR/IR, when i post the dcoument using MB1A and execute the transaction MB90 system is not detecting any output type for printing GR/IR slip, every time i have to go to chnage materail document and change the mes

  • Charts in PowerPivot 2010

    I am uable to create charts out of Power Pivot.. It is only showing the table, but the data sheet for the charts is not available.  Do you have a solution for this problem?