Database hanging on connect

Hello,
I have the problem that login attempt statement of the form:
connect user/password
is hanging.
I can connect via sys and system with no problems. I can select from any user's tables also OK. I can execute ALTER SESSION SET CURRENT_SCHEMA = user.
The database is running in archivelog mode. And this happened after the UNIX server was restarted.
Please, help how to diagnose what is going on, and most surprisingly why ??
Thanks in advance
Evgeni

Yes, I have checked that:
Since I have set log_archive_dest_10 = location=USE_DB_RECOVERY_FILE_DEST
I'm using the FRA for archived log keeping. And it is currently OK.
select * from v$flash_recovery_area_usage;
name space_limit space_used
/oralog     53687091200     15467437056     0     255
And no errors exist in the alert.log file.
BUT in the aler.log now I notice such messages that I have never seen before:
Fri Jul 20 12:13:54 2007
ALTER SYSTEM SET resource_manager_plan='INTERNAL_PLAN' SCOPE=BOTH;
Fri Jul 20 12:14:01 2007
ALTER SYSTEM SET resource_manager_plan='INTERNAL_QUIESCE' SCOPE=BOTH;
Fri Jul 20 12:17:13 2007
ALTER SYSTEM SET resource_manager_plan='SYSTEM_PLAN' SCOPE=BOTH;
Fri Jul 20 12:17:13 2007
ALTER SYSTEM SET resource_manager_plan='SYSTEM_PLAN' SCOPE=BOTH;
Fri Jul 20 12:17:24 2007
ALTER SYSTEM SET resource_manager_plan='INTERNAL_QUIESCE' SCOPE=BOTH;
Fri Jul 20 12:17:37 2007
ALTER SYSTEM SET resource_manager_plan='SYSTEM_PLAN' SCOPE=BOTH;
Fri Jul 20 12:17:43 2007
ALTER SYSTEM SET resource_manager_plan='INTERNAL_QUIESCE' SCOPE=BOTH;
Fri Jul 20 12:17:47 2007
Me, manually did not change the resource_manager_plan parameter.
Anyway, can this be the reason for not being able to connect by any users except sys/system?
regards,
Evgeni

Similar Messages

  • Database Hang Analysis

    DB:11.2.0.3
    OS :Linux 5
    My database is in hung state now. I did the below steps
    sqlplus -prelim '/as sysdba'
    SQL*Plus: Release 11.2.0.3.0 Production on Thu Oct 24 08:18:17 2013
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    SQL> oradebug setmypid
    Statement processed.
    SQL> oradebug unlimit
    Statement processed.
    SQL> oradebug hanganalyze 3
    Statement processed.
    SQL> oradebug hanganalyze 3
    Statement processed.
    SQL> oradebug tracefile_name
    /oemdwlk1/oracle/diag/rdbms/eioemd1/eioemd1/trace/eioemd1_ora_14132.trc
    SQL> exit
    Getting the below output in trace file
    Processing Oradebug command 'hanganalyze 3'
    ===============================================================================
    HANG ANALYSIS:
    ERROR: Can not perform hang analysis dump without a process
           state object and a session state object.
      ( process=(nil), sess=(nil) )
    As per oracle doc How to Collect Diagnostics for Database Hanging Issues (Doc ID 452358.1).
    Note: From 11.2.0.2 onwards, hanganalyze will not produce output under a sqlplus "preliminary connection" since it requires a process state object and a session state object. If a hanganalyze is attempted, the trace will output:
    HANG ANALYSIS:
    ERROR: Can not perform hang analysis dump without a process state object and a session state object.
    ( process=(nil), sess=(nil) )
    Is something i am missing or there is some different steps.
    ===============================================================================

    Level 3  --> will collect HANGANALYZE OUTPUT + DUMPS ONLY THE PROCESSES THOUGH TO BE IN HANG.
    This many not be a case of process hang. So check with LEVEL 10 .
    Still if you are getting the same error than , you need to contact oracle support.
    Thanks,
    <mod. action: blog ref. removed, please link to one of your blog entries when it's appropriate>
    Message was edited by: Nicolas.Gasparotto

  • On performing continuous delete operation database hangs

    Dear All,
    On performing continuous delete operation , the instance on which delete operation is performed database hangs i.e it does not allows to make new connection and some times on alert log we get ORA-3136 error
    Database version 10.2.0.3 , OS : HP-UXvi3
    Regards

    Refer this thread
    ORA-3136 while performing bulk delete

  • Help needed for MySQL 5 database DSN less connection with Oracle reports

    Hi,
    I am using Oracle Develper Suite and java (J2EE) for my application. I am using MySql 5 as database tool. I want to use Oracle reports of Oracle Develper suite. I have created some reports by first creating system DSN for MySql database and then connect Oracle reports to that DSN by "jdbc:odbc" connection string provided in Oracle Report developer wizard. This is working fine.
    I want to generate reports without creating system DSN (DSN less) so that i can use my application on any computer without creating DSN for Oracle Reports. I am deploying my application on OC4j as "EAR" file.
    Help in this regard will be highly appreciated.
    Regards.

    Using an 8i client, you will need to configure the tnsnames.ora file with appropriate connection information if you are using local naming. If you are using host naming or something like an Oracle Names server to resolve TNS aliases, you can skip the tnsnames.ora configuration. A default installation of the Oracle client, though, will probably be using local naming.
    If the tnsnames.ora file is configured, or you have configured an alternate way of resolving TNS aliases, you should be able to use the connection string
    DRIVER={Oracle ODBC Driver};DBQ=<<TNS alias>>;UID=system;PWD=managerIf you wanted to move to the 10g client (the 10g Instant Client could be useful here), there are some streamlined naming methods that could be used instead of configuring the tnsnames.ora file.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Shutting down database hangs

    Dear Gurus,
    I m facing a database hang issue while performing the scheduled offline backup.I m able to take the online backup.When the backup starts , the database starts to shutdown.When checked in the log of backup it shows in tail as shutting down database.When checked for user trace , it shows message as "Attempting to kill pid xxxxxxx" and keeps on retrying for n no. of times.Then I have to manually kill the backup and restart the application.Then again try for an offline backup.This time it happens smoothly.This activity we did for couple of weeks .But now from past 3 days even after restarting the backup, it goes to hang mode.In other words unable to perform the backup activity.
    The message had been raised to SAP from almost 15 days at very high.They every time ask the logs , and say that the data in log is nt providing much info for analysing the issue or cause of hang.Also enabled the traces of 10400 for trace level 1 ,10 some more traces also.But still the output is not helping even them to analyse the root cause.
    Its my observation that this issue is occuring only on ABAP+JAVA systems(CRM &BIW)not in ECC.We are on oracle database 10.2.0.0.4 with latest patch set as suggested by SAP for the same issue.
    This issue is h
    Please suggest me at the earliest.As need to resolve this at the earliest.
    Bye.
    Amit

    Hi,
    No "archive process shutdown avoided" message is there in the log file.
    In usertrace i get messages as mentioned below.
    bslcrmprddb #more bcp_ora_1257502.trc
    Dump file /oracle/BCP/saptrace/usertrace/bcp_ora_1257502.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Data Mining and Real Application Testing options
    ORACLE_HOME = /oracle/BCP/102_64
    System name:    AIX
    Node name:      bslcrmprddb
    Release:        3
    Version:        5
    Machine:        00C6C4024C00
    Instance name: BCP
    Redo thread mounted by this instance: 1
    Oracle process number: 0
    Unix process pid: 1257502, image: oracle@bslcrmprddb
    2009-06-05 08:01:36.875
    Oracle Instance Startup operation failed. Another process may be attempting to startup or shutdown
    Failed to acquire instance startup/shutdown serialization primitive
    bslcrmprddb #more bcp_ora_2453676.trc
    Dump file /oracle/BCP/saptrace/usertrace/bcp_ora_2453676.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Data Mining and Real Application Testing options
    ORACLE_HOME = /oracle/BCP/102_64
    System name:    AIX
    Node name:      bslcrmprddb
    Release:        3
    Version:        5
    Machine:        00C6C4024C00
    Instance name: BCP
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 0
    Unix process pid: 2453676, image: oracle@bslcrmprddb
    2009-06-06 07:04:22.494
    Dynamic strand is set to TRUE
    Running with 2 shared and 88 private strand(s). Zero-copy redo is FALSE
    bslcrmprddb #more bcp_ora_1495266.trc
    Dump file /oracle/BCP/saptrace/usertrace/bcp_ora_1495266.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Data Mining and Real Application Testing options
    ORACLE_HOME = /oracle/BCP/102_64
    System name:    AIX
    Node name:      bslcrmprddb
    Release:        3
    Version:        5
    Machine:        00C6C4024C00
    Instance name: BCP
    Redo thread mounted by this instance: 1
    Oracle process number: 213
    Unix process pid: 1495266, image: oracle@bslcrmprddb (TNS V1-V3)
    ACTION NAME:() 2009-06-06 03:00:22.223
    MODULE NAME:(sqlplus@bslcrmprddb (TNS V1-V3)) 2009-06-06 03:00:22.223
    SERVICE NAME:(SYS$USERS) 2009-06-06 03:00:22.223
    SESSION ID:(517.13229) 2009-06-06 03:00:22.223
    ksukia: Starting kill, force = 0
    ksukia: killed 274 out of 274 processes.
    ksukia: Starting kill, force = 0
    ksukia: killed 0 out of 2 processes.
    ksukia: Starting kill, force = 0
    ksukia: killed 0 out of 1 processes.
    ksukia: Starting kill, force = 0
    ksukia: killed 0 out of 1 processes.
    ksukia: Starting kill, force = 0
    Please suggest.
    Regards,
    Amit

  • Application crashes with timesten database  over  OCI connection

    Application crashes with timesten database over OCI connection
    #0 0x405e09f8 in kpudsany () from /home/oracle/TimesTen/ratingtt1121/ttoracle_home/instantclient_11_1/libclntsh.so.10.1
    #1 0x405728d0 in OCIDescribeAny () from /home/oracle/TimesTen/ratingtt1121/ttoracle_home/instantclient_11_1/libclntsh.so.10.1
    #2 0x43748a5a in GDBociDriver::StoredProcArgumentList () from /home/omni/library/libgfr_dboci.so
    #3 0x4374e865 in GDBociDriver::StoredProcCallFormat () from /home/omni/library/libgfr_dboci.so
    #4 0x4376ec9a in GDBociDriver::ExecuteStmtBind () from /home/omni/library/libgfr_dboci.so
    #5 0x4376fc69 in GDBociDriver::Execute () from /home/omni/library/libgfr_dboci.so
    #6 0x436ba240 in GDBstatement::Execute () from /home/omni/library/libgfr_dblayer.so
    #7 0x43736106 in GDBociDriver::SetModule () from /home/omni/library/libgfr_dboci.so
    #8 0x4366cb22 in GDBconnectionPool::GetConnection () from /home/omni/library/libgfr_dblayer.so
    #9 0x4367a9db in GDBdriver::LoginConnectionGet () from /home/omni/library/libgfr_dblayer.so
    #10 0x4373dbaa in GDBociDriver::Login () from /home/omni/library/libgfr_dboci.so
    #11 0x4377380f in CreateOCIDriver () from /home/omni/library/libgfr_dboci.so
    #12 0x4367bb2a in GDBdriverLoader::CreateDriver () from /home/omni/library/libgfr_dblayer.so
    #13 0x436d423d in IGDBdriverMgr::GetDriverAndLogin () from /home/omni/library/libgfr_dblayer.so
    #14 0x436d4da1 in IGDBdriverMgr::GetDriver () from /home/omni/library/libgfr_dblayer.so
    #15 0x436a5071 in GDBserverDef::InitialLogin () from /home/omni/library/libgfr_dblayer.so
    #16 0x433247cc in CcapAdbAccess::Init (this=0x9e85a88) at CcapAdbAccess.C:161
    #17 0x43331c44 in CcapMain::Run (this=0x434eeb80, sdpId=2, processName=0x9dae29c "URE61_O2") at CcapMain.C:132
    #18 0x080947d1 in ccap_thread (arg=0x0) at main.C:1588
    #19 0x080e7bd2 in ThreadManager::WrapperRoutine (ipArg=0x9e84fc0) at ThreadManager.C:176
    #20 0x0035f44a in start_thread () from /lib/libpthread.so.0
    Timesten has some limitations and it says:
    Describing objects with OCIDescribeAny() is supported only by name. Describing PL/SQL objects is not supported.
    home/omni/library/libgfr_dblayer.so
    Cloud you please tell us whit might be the reason for this

    Are you able to provide exact details of the OCIDescribeAny call being made by the application (including parameter values)?
    Chris

  • Oracle 10g Database Hanging twice a day

    My database server has 10g with MS 2003 server as OS.
    Twice a day the database hangs and does disconnects all the users from local and remote locations.
    Current SYSTEM tablespace has a size of 470 MB and is 98.86 in use, when I try to add another datafile as 'SYSTEM02.DBF' in the same path where other system data files are, I kept this operation running during weekends but datafile was not added.
    Has it anything to do with the MS 2003 server no. of users.
    Any other suggestions for SYSTEM Tablespace to be free.
    Please reply.
    Thanks
    Ajaz Ahmed

    Hi friends / sameer,
    Sorry for the delay. Here is the attached alert.log file Since the data from foxpro was loaded into oracle on to oracle 10 g from 7th may the problem of database hanging started from the next day. I joined the organization on 22nd july.
    Current SYSTEM tablespace has a size of 470 MB and is 98.86 in use, when I try to add another datafile as 'SYSTEM02.DBF' in the same path where other system data file is, it does not add. I kept this operation running during weekends but datafile was not added.
    Has it anything to do with the MS 2003 server no. of users.
    Any other suggestions for SYSTEM Tablespace to be free.
    If you can get me your mail id then I can send the
    attachment of alert.log file as [email protected] bounces back.
    Thanks
    Ajaz Ahmed

  • How to determine Which Database I am Connected to?

    hi everyone,
    10g
    I'm going to drop a database via SQL Plus.
    I forgot the command that will show which db I'm connected to. Dont want to delete the wrong database!
    Thanks, John

    Personally I prefer to use: select name from v$database
    to verify what database I am connected to if there is any doubt.
    With 10g it is possible to set the sqlpromt to your database name and have it maintained even if you issue a connect statement to another database.
    HTH -- Mark D Powell --

  • Using database link to connect to two databases

    Hi guys,
    Here's my question. I need to give a contractor Select rights on tables located in two schemas located on two different servers. One server is dev and one is prod. Let's say we have schema user: EMPLOYEE on dev and schema user: DEPARTMENT on prod. The outside contractor needs select rights on all tables in DEPARTMENT schema but only needs select on a few tables ( 4 to be exact) from EMPLOYEE schema.
    My initial train of thougth is: CREATE a user named: TEST (random name of course, just used for an example) for contractor on prod. Give user TEST select rights on all tables in DEPARTMENT schema.
    Create database link to dev server so user TEST can access EMPLOYEE schema.
    How do i go about limiting the user TEST via the database link to only view the 4 tables from EMPLOYEE instead of all teh tables?
    Should I also consider doing this scenario in reverse? Creating user TEST on dev, giving TEST rights to the 4 tables in EMPLOYEE, then creating the database link to connect to department schema on prod database??
    Any help will be appreciated. Thanks in advance.

    zephyr223 wrote:
    Hi guys,
    Here's my question. I need to give a contractor Select rights on tables located in two schemas located on two different servers. One server is dev and one is prod. Let's say we have schema user: EMPLOYEE on dev and schema user: DEPARTMENT on prod. The outside contractor needs select rights on all tables in DEPARTMENT schema but only needs select on a few tables ( 4 to be exact) from EMPLOYEE schema.
    My initial train of thougth is: CREATE a user named: TEST (random name of course, just used for an example) for contractor on prod. Give user TEST select rights on all tables in DEPARTMENT schema.
    Create database link to dev server so user TEST can access EMPLOYEE schema.
    How do i go about limiting the user TEST via the database link to only view the 4 tables from EMPLOYEE instead of all teh tables? Only grant them access to those four tables from EMPLOYEE. You have to explicitly grant privileges anyways, and since there is no GRANT SELECT ON <SCHEMA> ability it should not be that difficult.
    Should I also consider doing this scenario in reverse? Creating user TEST on dev, giving TEST rights to the 4 tables in EMPLOYEE, then creating the database link to connect to department schema on prod database?? Are you creating database links as the EMPLOYEE and DEPARTMENT users? If so, I would caution against that. Create a "current user" database link for TEST. I think you can manage privileges better that way.
    HTH!
    HTH!

  • Setup Database mail that connect with tcp/ip to the instance

    I want to setup database mail that connect to the named instance via a fixed TCP/IP port.
    This is a named instance that works with a fixed TCP/IP port
    Database mail works fine if shared memory is enabled.
    If it is disable I get the following log entry in the application log.
    Log Name:      Application
    Source:        DatabaseMail
    Date:          18/11/2014 20:56:05
    Event ID:      0
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Server.dom.be
    Description:
    1) Exception Information
    ===================
    Exception Type: Microsoft.SqlServer.Management.SqlIMail.Server.Common.BaseException
    Message: There was an error on the connection. Reason: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL
    Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified), connection parameters: Server Name: server\instance, Database Name: msdb
    Data: System.Collections.ListDictionaryInternal
    TargetSite: Void OpenConnection(Microsoft.SqlServer.Management.Common.SqlConnectionInfo)
    HelpLink: NULL
    Source: DatabaseMailEngine
    StackTrace Information
    ===================
       at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.ConnectionManager.OpenConnection(SqlConnectionInfo connectionInfo)
       at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.DataAccessAdapter.OpenConnection(String dbServerName, String dbName, String userName, String password, String appName, Int32 connectionTimeout)
       at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.DataAccessAdapter.OpenConnection(String dbServerName, String dbName, String userName, String password, Int32 connectionTimeout)
       at Microsoft.SqlServer.Management.SqlIMail.IMailProcess.QueueItemProcesser.ProcessQueueItems(String dbName, String dbServerName, Int32 lifetimeMinimumSec, LogLevel loggingLevel, Byte[] encryptionKey, Int32 connectionTimeout)
    Is there a way to change the connection parameters?
    PS the Browser Service is not running

    Hello,
    If the instance is a named instance, then SQL Server Browser service should be started to be able to connect to the instance
    using TCP/IP.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • About database's  "closed  connection"

    i have stand a database called "TMIS",but now i can't start it ,after i put in the ID and the password,it always show me a message : "closed connection",i don't know what to do to help the "TMIS" start ,i tried many methods ,such as changing the listener.ora ,but it didn't help.
    the service "TMIS" always showed the status "UNKOWN",I don't know the reasons to cause my database can't connection,here is my /etc/hosts and the listener.ora
    #/etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    #here 127.0.0.1, actually i change to my own ip address
    #listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost.localdomain)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /opt/oracle/product/9.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = TMIS)
    (ORACLE_HOME = /opt/oracle/product/9.2.0)
    (SID_NAME = TMIS)
    ###why there was another service called "PLSExtProc")
    LSNRCTL> services
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "TMIS" has 1 instance(s).
    Instance "TMIS", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    please help me solve this question ,i'm confused by this problem.
    thank you very very much!!!
    my email address is [email protected],please connect with me !!

    ORA-12705: Cannot access NLS data files or invalid environment specified
    Cause: Either an attempt was made to issue an ALTER SESSION command with an invalid NLS parameter or value; or the environment variable(s) NLS_LANG, ORA_NLSxx, or ORACLE_HOME was incorrectly specified, therefore the NLS data files cannot be located.
    Action: Check the syntax of the ALTER SESSION command and the NLS parameter, correct the syntax and retry the statement, or specify the correct directory path/values in the environment variables.
    Set your NLS environment variable Correctly
    SQL> show parameter nls
    NAME TYPE VALUE
    nls_calendar string
    nls_comp string
    nls_currency string
    nls_date_format string
    nls_date_language string
    nls_dual_currency string
    nls_iso_currency string
    nls_language string AMERICAN
    nls_length_semantics string BYTE
    nls_nchar_conv_excp string FALSE
    nls_numeric_characters string
    NAME TYPE VALUE
    nls_sort string
    nls_territory string AMERICA
    nls_time_format string
    nls_time_tz_format string
    nls_timestamp_format string
    nls_timestamp_tz_format string
    SQL>

  • How to find out which database I'm connected to

    I need to use a pl/sql to determine which database I'm connected to. I'm not using forms so I cannot use a built-in. I need to know for a report I'm building, as the display differs based on the database.
    Thanks

    In order to consult V$... views a user must have a special role (SELECT_CATALOG_ROLE). This permit to the user to access also all DBA_... views. Such things could not be desired for security.

  • Database Hanging

    Hi,
    I have Oracle database 10g my database is hanging and i want to check what locks occur on which table how can i work on this database hanging process.Kindly help...because i am new for this i need good procedure to face this problem..

    If db hangs there could be a lot of possibilities..
    eg. no more space for archive log or datafiles
    Locks on table are different. You can look on alertlog and start investigating..

  • Oracle 8i database hangs for the same amount during JDBC calls.

    Hi all,
    I have a Oracle 8i database on solaris. The database hangs for exactly 61 seconds for a random jdbc call from my Java application, i mean there is no particular pattern or a JDBC call for which the database hangs. If i choose to wait for 61 seconds it returns the results from the database but if i try to access the database with another query(SQL Plus) the first query starts executing immediately. Is that a database configuration problem or some thing else.
    And i also get some exceptions occasionally( Maximum Open Cursors exception). Are these two related?
    Any feedback is appreciated.
    Thanks
    Hugo Victor

    I have uninstalled Oracle 8i.
    Removed all the services from Windows services by deleting corresponding registry entries and deleted the Oracle folder.
    I have reinstalled Oracle 8i, this time i changed the name of global database to oracledb.
    I channged the tnsnames.ora file from DevSuite appropriately as:
    # tnsnames.ora Network Configuration File: C:\DevSuiteHome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mscserver)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORACLEDB)
    Still it can't login using scott/tiger authentication.
    What may be the problem? Please help.
    -Sameer

  • What to do when database hang

    Hi all,
    May I know what to do when database hangs after shutdown immediate command perform? Can I use kill process command to stop Oracle process?

    Hello,
    see documentation for details of immediate-clause:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/start.htm#sthref589
    You can do an shutdown abort instead, but then sql is terminated. You can read details here: http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/start.htm#sthref595
    Greets,
    Hannibal

Maybe you are looking for