Sqlplus / as sysdba hung state

Hi All,
When we try to do a sqlplus / as sysdba it gets into hung state.
sapkxqap03:oraqs9 2> sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Feb 16 19:06:28 2011
Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
We dont get anything after this prompt.Is there a way we can get to know as to what might be the issue.Thanks.

Hi Michael,
Nice to hear from you Michael.Long time.Thanks for the response
Checked no archiver struck since the file systems have enough space.The problem is that alter log has not been updated for the past 1 week.R3trans also gets struck since it also uses sqlplus to login.Thanks.,
4 ETW000 R3trans version 6.05 (release 46D - 04.12.08 - 14:43:00).
4 ETW000 ===============================================
4 ETW000
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 date&time   : 16.02.2011 - 21:11:13
4 ETW000  trace at level 2 opened for a given file pointer
4 ETW000  [developertra,00000]  Wed Feb 16 21:11:13 2011
     232  0.000232
4 ETW000  [developertra,00000]  db_con_init called
      14  0.000246
4 ETW000  [developertra,00000]  create_con (con_name=R/3)
      34  0.000280
4 ETW000  [developertra,00000]  Loading DB library '/usr/sap/QS9/SYS/exe/run/dbo
raslib.so' ...
4 ETW000
      30  0.000310
4 ETW000  [developertra,00000]  load shared library (/usr/sap/QS9/SYS/exe/run/db
oraslib.so), hdl 0
4 ETW000
   15933  0.016243
4 ETW000  [developertra,00000]  Library '/usr/sap/QS9/SYS/exe/run/dboraslib.so'
sapkxqap03:qs9adm 3> more trans.log
4 ETW000 R3trans version 6.05 (release 46D - 04.12.08 - 14:43:00).
4 ETW000 ===============================================
4 ETW000
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 date&time   : 16.02.2011 - 21:11:13
4 ETW000  trace at level 2 opened for a given file pointer
4 ETW000  [developertra,00000]  Wed Feb 16 21:11:13 2011                             232  0.000232
4 ETW000  [developertra,00000]  db_con_init called                                    14  0.000246
4 ETW000  [developertra,00000]  create_con (con_name=R/3)                             34  0.000280
4 ETW000  [developertra,00000]  Loading DB library '/usr/sap/QS9/SYS/exe/run/dboraslib.so' ...
4 ETW000                                                                              30  0.000310
4 ETW000  [developertra,00000]  load shared library (/usr/sap/QS9/SYS/exe/run/dboraslib.so), hdl 0
4 ETW000                                                                           15933  0.016243
4 ETW000  [developertra,00000]  Library '/usr/sap/QS9/SYS/exe/run/dboraslib.so' loaded
4 ETW000                                                                              18  0.016261
4 ETW000  [developertra,00000]  function DbSlExpFuns loaded from library /usr/sap/QS9/SYS/exe/run/dboraslib.so
4 ETW000                                                                              22  0.016283
4 ETW000  [developertra,00000]  Version of library '/usr/sap/QS9/SYS/exe/run/dboraslib.so' is "46D.00", patchlevel (0.2438)
4 ETW000                                                                              99  0.016382
4 ETW000  [developertra,00000]  function dsql_db_init loaded from library /usr/sap/QS9/SYS/exe/run/dboraslib.so
4 ETW000                                                                              12  0.016394
4 ETW000  [developertra,00000]  function dbdd_exp_funs loaded from library /usr/sap/QS9/SYS/exe/run/dboraslib.so
4 ETW000                                                                              19  0.016413
4 ETW000  [developertra,00000]  New connection 0 created                              17  0.016430
4 ETW000  [developertra,00000]  db_con_connect (con_name=R/3)                         13  0.016443
4 ETW000  [developertra,00000]  find_con found the following connection for reuse:
4 ETW000                                                                              10  0.016453
4 ETW000  [developertra,00000]  Got ORACLE_HOME=/oracle/QS9/102_64 from environment
4 ETW000                                                                             434  0.016887
4 ETW000  [developertra,00000]  -->oci_initialize                                     23  0.016910
4 ETW000  [developertra,00000]  Got ORACLE_SID=QS9 from environment                   24  0.016934
4 ETW000  [developertra,00000]  Got NLS_LANG=AMERICAN_AMERICA.WE8DEC from environment
4 ETW000                                                                              13  0.016947
4 ETW000  [developertra,00000]  Logon as OPS$-user to get SAPR3's password            11  0.016958
4 ETW000  [developertra,00000]  Connecting as /@QS9 on connection 0 ... (dbsl 46D 220209)
4 ETW000                                                                              15  0.016973
4 ETW000  [developertra,00000]  -->oci_logon(con_hdl=0, user='', dbname='QS9')        15  0.016988

Similar Messages

  • Sqlplus / as sysdba

    Dears
    i would like to log in sqlplus (user)/(password) as sysdba without writing the user and password just want to write " sqlplus / as sysdba "
    any help???
    thank you dears

    Hi,
    In the Oracle server you are able to connect using sqlplus / as sysdba. From a client, you can create a Wallet in order to use the Secure External Password Store
    When clients are configured to use the secure external password store, applications can connect to a database with the following CONNECT statement syntax, without specifying database login credentials: connect /@db_connect_string where db_connect_string is a valid connect string to access the intended database, such as the service name, URL, or alias as illustrated in the earlier examples.
    Cheers
    Legatti

  • Use of sqlplus / as sysdba in oracle 11g

    What is purpose of sqlplus / as sysdba
    if the database is at client place he can see the data by modifying the existing users password right?
    how to restrict logging under sqlplus / as sysdba by giving some password for it to login

    933663 wrote:
    How to track the no of log-in attempts made for this database either success or failure.
    Any sys table is there to track the records
    Thanks!Unless you have changed the defaults, all connect attempts by normal users are logged to the sys.ayd$ table, and all connects as sysdba are logged to files in audit_file_dest (Unix) or the application log (Windows).
    Edited by: JohnWatson on Jan 24, 2013 9:56 AM
    Typo: for ayd$ read aud$

  • 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???

  • Sqlplus / as sysdba error

    I am looged in as a one of admin group user and from the command prompt when I type sqlplus / as sysdba gives me ORA-01031 insufficient privileges.
    My sqlbet.ora has the following entry:
    SQLNET.AUTHENTICATION_SERVICES = (NTS).
    I have similar configuration on another machine, do not have any issue. Please guide me, what else I need to check.
    Thanks
    Raj

    This has got to be the most asked question in the last seven days.
    What is the name of the 'admin' group to which you refer. Your OS account must be a member of the group 'ora_dba' on windows, or 'dba' on *nix.                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • 'sqlplus /' v.s. 'sqlplus / as sysdba'

    I have a RAC with two nodes. on one node I can log in as 'sqlplus /'; on the other, it doesn't work. I can only log in as 'sqlplus / as sysdba'. I compared the parameters and they are the same on both nodes. Why is that? Thanks.

    As a minimum you should always include the 4-digit version number and the full O/S name and version, in everyone of your posts, in order to allow people to help you. No one here keeps track of here configuration and will remember what you are running.
    sqlplus / is a legitimate login when you have an externally identified oracle account with the same name as the current O/S user.
    Sybrand Bakker
    Senior Oracle DBA

  • Sqlplus "/as sysdba" is not working

    We created oinstall group & oracle user (group is oinstall) on Solaris 10, 64bit SPARC box. And installed oracle 10g release 2. From the UNIX box sqlplus "/as sysdba" is not working.
    sqlplus
    Enter user-name: sys as sysdba
    Enter password:
    is working fine.
    What could be the problem? Please help.
    Thanks,
    Prasad

    For any of a number of reasons, you do not have 'operating system authentication' enabled.
    This setup is fairly well described here http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/dba.htm#sthref149

  • "sqlplus / as sysdba" and "sqlplus /nolog;conn / as sysdba"

    Hi,
    What is the difference between "sqlplus / as sysdba"
    and
    "sqlplus /nolog;conn / as sysdba"?
    when "sqlplus / as sysdba", it could not "alter user system identified by password;
    when "sqlplus /nolog;conn / as sysdba", it could "alter user system identified by password"
    why??
    Thanks.

    What is the difference between "sqlplus / as sysdba"
    and
    "sqlplus /nolog;conn / as sysdba"?
    No difference.
    when "sqlplus / as sysdba", it could not "alter user system identified by password;
    when "sqlplus /nolog;conn / as sysdba", it could "alter user system identified by password"
    why??
    Don't know what you mean :
    $ sqlplus /nolog
    SQL*Plus: Release 11.2.0.3.0 Production on Wed Sep 25 15:31:58 2013
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    SQL> conn / as sysdba
    Connected.
    SQL> alter user system identified by manager;
    User altered.
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    $ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.3.0 Production on Wed Sep 25 15:32:20 2013
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> alter user system identified by manager;
    User altered.
    SQL>

  • Oracle instance is running but sqlplus "/as sysdba" says connected to idle.

    Hi,
    Oracle RAC is running(started the RAC using "srvctl start database -d hacmp") but when i am trying to connect to database using sqlplus "/as sysdba" it says "connected to idle instance".
    Any idea what could be the issue here?
    I have ORACLE_SID exported.
    bash-3.00$ ps -ef | grep pmon
    oracle 507946 798870 0 17:23:42 pts/0 0:00 grep pmon
    oracle 872584 1 0 17:03:16 - 0:00 ora_pmon_hacmp1
    bash-3.00$ echo $ORACLE_HOME
    /u01/app/oracle/
    bash-3.00$
    bash-3.00$ echo $ORACLE_SID
    hacmp1
    bash-3.00$
    bash-3.00$
    bash-3.00$ sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.4.0 - Production on Mon Sep 14 17:24:43 2009
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected to an idle instance.
    SQL

    It's not a SQL*Plus bug but a Oracle feature: when you try to connect to a local Oracle instance Oracle computes the shared memory key (used by the instance SGA) using ORACLE_HOME and ORACLE_SID: if you add a character to ORACLE_HOME, the shared memory key will be different and Oracle does not find the instance and says "connected to an idle instance".

  • Sqlplus / as sysdba--how it works

    When we login as
    sqlplus / as sysdba
    we login as SYS user, but how no userid or password is given but still we login as SYS user ??

    Try this :-
    [timepass@adc2110341 bin]$ ./sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 7 04:57:28 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> show user
    USER is "SYS"And then this :-
    [timepass@adc2110341 bin]$ ./sqlplus /
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 7 04:57:51 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> show user
    USER is "OPS$TIMEPASS"Thanks.

  • Unable to connect to Oracle using OS authentication (sqlplus / as sysdba)

    Hello,
    When I try to connect locally ,using OS authentication ( sqlplus / as sysdba ), on a Oracle database, I get "ORA-01031: insufficient privileges" error.
    OS: Windows XP
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod.
    connecting as sysdba using sys/pasword works.
    I have setup :
    -> Log on as a batch job
    -> Log on as a service
    I am also member of ORA_DBA group.
    I mention that connecting "/ as sysdba" worked many months after I've installed the Oracle database. But at some moment in time connecting "/ as sysdba" was no longer possible.
    C:\>sqlplus / as sysdba
    SQL*Plus: Release 10.1.0.3.0 - Production on Wed May 23 11:08:52 2007
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges.
    Thank you for any suggestion.

    Hi,
    I have the same issues from the beginning..
    I have two Oracle homes ( One for earlier installed SOA10g, and another for current installing SOA11g).
    I have the right sqlora.net file. I have removed the old path and reset to point the new oracle home. I have this home entry as the first entry in my Universal installer too.
    I AM ABLE TO CONNECT WITH sys USER AS SYSDBA on THE SAME SYSTEM ( I MEAN WHERE i INSTALLED THE DATABASE) USING THE command prompt.
    But I am not able to connect as the SYSDBA with sys ACCOUNT through the SQLDeveloper tool. or RCU tool? Any help please. Again I am able to connect as a normal user through the SQL developer using the SYSTEM account.
    -- Khaleel

  • Sqlplus / as sysdba on command prompt

    Hi
    I am new to oracle db on Windows environment. I did a set ORACLE_SID=cddg
    then a sqlplus / as sysdba
    I got insufficient privileges error . Can anyone Please let me knwo where the problem is ?

    Is the os user you logged in with a member of the ORA_DBA group? If not then give that a try.
    You may also consider, if not needed, to comment out the following line in the sqlnet.ora and try to connect (or you could set it to NONE):
    SQLNET.AUTHENTICATION_SERVICES= (NTS)

  • Sqlplus as sysdba takes 3-4 mins

    Hi,
    I am trying to login to the database by using sqlplus as sysdba but it takes 3 to 4 mins to get the sql prompt. But for other users it does not take that much time.
    Could any one suggest me on this?
    Thanks
    Venkat

    user12052260 wrote:
    My problem has solved. Thanks.May be u should tell what exactly solved your problem, so that other users can also benefit from what you did. Just a suggestion.

  • Why sqlplus / as sysdba create 4 connections?

    Hi all,
    I have a 4 node rac set-up running 11.2.0.2.
    If I log on to one of the 4 servers and connect to the database using sqlplus "/ as sysdba" it connects to the local database but also
    creates another 4 connections (one on each instance) so I end up with 5 connections. I wanted to know
    a) why it does this,
    b) how it does this
    c) can I stop it doing this (if I just so wanted to?)
    Many thanks

    Hi Billy,
    your response made me dig a bit deeper, and I found out what it was!
    My query to return sessions was from gv$session, and I was using the gv$session.module column to show the connection.
    However, if I changed this from module to gv$session, it returned the oracle PZ99 process.
    Looking on Metalink, I see this process is used to return data from remote nodes and was introduced in 10g RAC.
    Looking at the columns together, you will see way I thought the way I did originally!
    Inst   SID    SERIAL# USERNAME  MODULE                      PROGRAM
        1    35      17861 SYS      sqlplus@db01 (TNS V1-V3)    sqlplus@db01 (TNS V1-V3)
        3   324      34635 SYS      sqlplus@db01 (TNS V1-V3)    oracle@db03 (PZ99)
        2   320      46165 SYS      sqlplus@db01 (TNS V1-V3)    oracle@db02 (PZ99)
        1   641      36247 SYS      sqlplus@db01 (TNS V1-V3)    oracle@db01 (PZ99)
        4   639      39893 SYS      sqlplus@db01 (TNS V1-V3)    oracle@db04 (PZ99)Thanks

  • What could be the reason for Crawl process to take long time or get in to a hung state.

    Hi All,
    What could be the reason for Crawl process to take long time or get in to a hung state? Is it something also related to the DB Server resources crunch? Does this lead to Index file corruption?
    What should be the process to be followed when index file is corrupted? How do we come to know about that?
    Thanks in Advance.

    "The crawl time depends on what you are crawling -- the number of items, the size of the items, the location of the items. If you have a lot of content that needs to be crawled, it will take much time".
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/f4cad578-f3bc-4822-b660-47ad27ce094a/sharepoint-2007-crawl-taking-long-time-to-complete?forum=sharepointgeneralprevious
    "The only clean and recommended way to recover from an index corruption is to completely rebuild the index on all the servers in the farm."
    http://blogs.technet.com/b/victorbutuza/archive/2008/11/11/event-id-4138-an-index-corruption-was-detected-in-component-shadowmerge-in-catalog-portal-content.aspx
    Whenever search index file got corrupted it will got the details to Event logs
    http://technet.microsoft.com/en-us/library/ff468695%28v=office.14%29.aspx
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

Maybe you are looking for

  • IPod Classic Screen still black after restoring it

    After dropping my iPod classic, the screen went black and I could no longer get it to work.  I was able to restore it however the screen is still black. I can hear it clicking when I spin the will and it connects to iTunes but the screen is still bla

  • How do you display your music from iTunes in Ventrilo?

    Not sure how many people use or are familiar with the program Ventrilo (online - chat program, used in video games, etc) - there is a way to display the song you are listening to beside your User Name in the chat window on Ventrilo, however I cannot

  • Wrong assignment of plant to asset

    Dear Expert During the asset creation we assigned the plant no 1296 but the actual required was 1210 user changed after certain time and faced a problem of difference in amount. Is there any way to sort out the problem. Thanks - VG

  • Why does NiVisaServer.exe is running when Labview is running??

    I am running two identical test setups for some system testing.  The PC configuration and test cases are same on both the setups. I am using  Labview version 8.5 . I observe the setup running with NiVisaServer.exe is slow as compared to the other set

  • IDOC PORTS

    Hi, what r the different types of ports in idoc. how to activate change pointers globally? differnt types of IDCOS ? what is difference between basic idoc and communication idoc? with regards' m.srikanth.