8.1.5.-automate database shutdown:hepl needed

I have tried to setup the automate database shutdown by following Oracle Manual. When rebooting the Unix system(sun solaris 2.6), nothing could be recorded in the alert logfile. After manually starting up the database, alert logfile indicated always a crash recovery during the process.
Any suggestion will be appreciated on above problem!
Felix

Hi,
Below is the information from orclALRT.log:
There's a write/open error. At July 21, 21:00PM our backup is start to run.
Is it because the backup software locked some oracle's files ?
But after the error, the next morning July 22 the ORACLE instance is started with no error, even though user can't connect to the database.
TIA
Andi
Thread 1 advanced to log sequence 46212
Current log# 4 seq# 46212 mem# 0: E:\ORANT\ORADATA\ORACLE\REDO01.LOG
Sun Jul 21 21:38:26 2002
KCF: write/open error block=0x11072 online=1
file=1 E:\ORANT\ORADATA\ORACLE\SYSTEM01.DBF
error=27072 txt: 'OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 33) The process cannot access the file because
another process has locked a portion of the file.'
DBW0: terminating instance due to error 1242
Instance terminated by DBW0, pid = 248
Mon Jul 22 03:00:04 2002
Starting ORACLE instance (normal)
Dump file E:\orant\admin\oracle\bdump\orclALRT.LOG
---------

Similar Messages

  • How to automate database startup/shutdown in RHEL4

    Dear All
    I have Oracle 10gR2 database on RHEL4.
    If i want to automate database startup/shutdown with OS startup/shutdown,
    Then where i need to update about dbstart.sh & dbshut.sh
    I have already made entry in /etc/oratab as Y for database SID.
    I am using Bourn Shell.
    Thanks

    You can refer to my post in my Blog
    [Automatically StartUp and Shutdown an Oracle Database in Linux OS|http://kamranagayev.wordpress.com/2008/12/22/automatically-startup-and-shutdown-database-in-linux-os/]
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Urgent help needed; Database shutdown issues.

    Urgent help needed; Database shutdown issues.
    Hi all,
    I am trying to shutdown my SAP database and am facing the issues below, can someone please suggest how I can go about resolving this issue and restart the database?
    SQL> shutdown immediate
    ORA-24324: service handle not initialized
    ORA-24323: value not allowed
    ORA-01089: immediate shutdown in progress - no operations are permitted
    SQL> shutdown abort
    ORA-01031: insufficient privileges
    Thanks and regards,
    Iqbal

    Hi,
    check SAP Note 700548 - FAQ: Oracle authorizations
    also check Note 834917 - Oracle Database 10g: New database role SAPCONN
    regards,
    kaushal

  • ORACLE DATABASE의 AUTOMATIC STARTUP/SHUTDOWN

    제품 : ORACLE SERVER
    작성날짜 : 1995-11-21
    오라클 database의 AUTOMATIC STARTUP/SHUTDOWN
    ============================================
    시스템이 startup 하면서 오라클도 함께 startup하거나 시스템을 shutdown
    할 때 오라클도 같이 shutdown 하는 것이 가능하다. 그 방법은 OS마다 차이가
    있는데 여기서는 UNIX 에 기반한 여러 플랫폼에 대해서 알아보기로 한다.
    본 내용에서 가장 많이 사용되는 화일은 다음과 같다.
    $ORACLE_HOME/bin/dbstart
    $ORACLE_HOME/bin/dbshut
    /etc/oratab 또는 /var/opt/oracle/oratab
    dbstart 와 dbshut 은 오라클을 startup/shutdown 시키는 스크립트인데
    이것은 automatic startup/shutdown 시에만 사용하도록 하고 평상 시의
    경우에는 사용하지 않도록 한다.
    oratab 화일은 일반 텍스트 화일로서 시스템에 설치된 오라클 인스턴스에
    대한 정보를 가지고 있는데 보통 3개의 필드로 이루어져 있으며 첫번재
    필드는 ORACLE_SID, 두번째 필드는 ORACLE_HOME, 세번째 필드는 Y 또는 N
    으로 구성되어 있다. 해당 인스턴스를 autostartup 시키려면 꼭 Y로
    세팅되어 있어야 한다.
    SYSTEM V
    System V 에 기반한 시스템은 /etc/rc<n>.d 디렉토리에 초기화 스크립트를
    가지고 있다. 여기서 <n> 은 해당 스크립트의 run-level 을 의미한다.
    일반적으로 run-level 0은 power shutdown mode 이고 run-level 2는 multi-user
    mode 이다. 각각의 디렉토리에 들어있는 초기화 스크립트는 다음과 같은 형태의
    이름을 갖고 있다.
    K{two-digit number][descriptive filename]
    예를 들면 S75cron, K30tcp 등이 있을 수 있다.
    S로 시작되는 스크립트는 startup 시에 실행되는 것이고 K 로 시작하는 것은
    shutdown 시에 실행된다.
    two-digit number가 의미하는 것은 스크립트가 실행되는 순서인데 숫자가 작은
    것부터 먼저 실행된다. 따라서 오라클 스크립트는 보통 다음과 같은 이름을 갖게 된다.
    S99oracle, K01oracle
    이와 같이 설정하면 시스템이 startup 될 때 모든 초기화가 끝난 후 마지막으로
    오라클이 startup 되며 시스템을 shutdown 할 때에는 오라클을 가장 먼저 shutdown
    하게 된다.
    BSD UNIX
    BSD 에 기반한 시스템은 시스템이 startup 될 때 초기화 화일로
    /etc/rc*(예를 들면, /etc/rc, /etc/rc.local) 를 사용한다.
    시스템을 shutdown 할 때에는 보통은 /etc/shutdown 만 실행하게 되므로
    특별히 실행되는 스크립트가 없지만 /etc/rc.shutdown 이 실행되는
    플랫폼도 있다.
    이제 각 플랫폼별로 자세히 알아보기로 한다.
    주의 : <oracle_owner> 는 oracle owner id 로 대체
    <$ORACLE_HOME> 은 oracle home directory 명으로 대체
    (1)SunOS 4.1.3
    SunOS 4.1.3 에서는 /etc/rc.local 을 startup 스크립트로 사용한다. 즉
    시스템이 startup 되면서 /etc/rc.local 이 실행된다. 따라서 이 화일의 끝에
    다음과 같은 라인을 추가하면 된다.
    su <oracle_owner> -c <$ORACLE_HOME>/bin/dbstart
    예를 들어 oracle owner 가 oracle7 이고 $ORACLE_HOME 이 /home/oracle
    이라면 다음과 같이 해주면 된다.
    su oracle7 -c /home/oracle/bin/dbstart
    여기서 /home/oracle 대신에 $ORACLE_HOME 과 같은 환경변수를 이용하여
    세팅하면 안된다.
    SunOS 에서는 시스템이 shutdown 될 때 실행되는 스크립트는 따로 없다.
    따라서 dbshut 을 실행시키는 방법은 다음과 같은 스크립트를 만들어서
    시스템을 shutdown 시킬 때 /etc/shutdown 을 실행시키지 말고 대신
    이것을 실행시켜야 한다.
    #!/bin/csh
    su <oracle_owner> -c <$ORACLE_HOME>/bin/dbshut
    /etc/shutdown $*
    만약 오라클을 shutdown 하지 않고 시스템을 shutdown 하면 다음에
    오라클을 startup 하려고 할 때 startup이 되지 않는다. 이 경우에는
    $ORACLE_HOME/dbs/sgadef<SID>.dbf 화일을 지우고 startup 시키면 된다.
    (2)OSF/1(DIGITAL UNIX)
    /etc/inittab : 초기화 과정을 콘트롤
    /sbin/rc3 : run-level 3 에서 사용되는 script
    /sbin/rc0 : run-level 0 에서 사용되는 script
    /sbin/rc3.d/S99oracle : /sbin/init.d/oracle 로 link
    /sbin/rc0.d/K01oracle : /sbin/init.d/oracle 로 link
    /etc/initab 화일에는 초기화 과정에 대한 정보가 들어 있다.
    예를 들면 다음과 같다.
    s3:3:wait:/sbin/rc3 < /dev/console > /dev/console 2>&1
    이렇게 설정하면 run-level 3 일 경우 /sbin/rc3 스크립트가 실행된다.
    /sbin/rc3 은 /sbin/rc3.d 디렉토리에 들어있는 스크립트를 실행한다. 만약
    스크립트 이름이 K 로 시작하면 이것은 stop 파라미터를 갖고 실행되어서 이
    스크립트에 지정된 프로세스를 정지시킨다. 한편, 스크립트가 S 로 시작하면
    /sbin/rc3 는 이 스크립트에 startup 파라미터를 부여하고 여기서 지정된
    프로세스를 실행시킨다. 따라서 /sbin/rc3.d/S99oracle 을 사용하여
    dbstart를 실행한다.
    shutdown 과정도 거의 비슷하다. /etc/inittab 에 다음과 같은 라인을 추가
    한다.
    s0:0:wait:/sbin/rc0 off < /dev/console > /dev/console 2>&1
    이것은 /sbin/rc0 를 실행시키는데 /sbin/rc0 는 /sbin/rc0.d 디렉토리에
    들어있는 스크립트를 실행시킨다. 스크립트의 이름이 S 로 시작하면 run
    time parameter 로 start 를 사용하게 되고 K 로 시작하면 stop 을
    사용한다.
    따라서 /sbin/rc0.d/K01oracle 스크립트는 stop 파라미터를 갖고
    실행되며 이 스크립트는 $ORACLE_HOME/bin/dbshut 스크립트를 실행시켜서
    오라클을 shutdown 시킨다.
    /sbin/rc3.d/S99oracle과 /sbin/rc0.d/K01oracle은 모두 /sbin/init.d/oracle
    에 대한 symbolic link 이다. /sbin/init.d/oracle 에 대한 symbolic link 는
    이들 외에 더 있을 수 있다.
    (3)Solaris 2.3 & SCO UNIX
    /etc/inittab : 초기화 과정을 콘트롤
    /etc/rc2 : run-level 2 에서 사용되는 스크립트
    /etc/rc0 : run-level 0 에서 사용되는 스크립트
    /etc/rc2.d/S99dbstart : /etc/init.d/dbstart 에 대한 link
    /etc/rc0.d/K01dbshut : /etc/init.d/dbshut 에 대한 link
    /var/opt/oracle/oratab
    Solaris 의 경우는 OSF/1 과 매우 유사하다. 차이점이라고 한다면 /sbin
    디렉토리 대신에 /etc 디렉토리에 필요한 스크립트가 들어있다는 것이다.
    rc0.d, rc2.d 같은 디렉토리는 실제로 /etc 디렉토리에 위치하고 있으며
    rc0, rc2 와 같은 스크립트는 /etc/init.d 에 존재하는 같은 이름의 스크립트에
    대한 symbolic link이다.
    /etc/init.d/dbstart 와 /etc/init.d/dbshut 스크립트의 내용은 각각 다음과
    같이 한줄로 구성되어 있다.
    su - <oracle_owner> -c <$ORACLE_HOME>/bin/dbstart
    su - <oracle_owner> -c <$ORACLE_HOME>/bin/dbshut
    Solaris 에서는 start, stop 같은 파라미터는 /etc/init.d/dbstart,
    /etc/init.d/dbshut 에서는 무시된다.
    /etc/init.d/dbstart, /etc/init.d/dbshut 화일은 owner가 oracle owner id
    이여야 한다.
    /etc/init.d/README 를 읽어보면 좀 더 자세한 내용이 설명되어 있으니 참조하기
    바란다.
    (4)AIX
    /etc/inittab : 시스템 초기화 화일
    /etc/rc : 시스템 초기화 스크립트
    /etc/mkitab : /etc/inittab 을 수정하는 유틸리티
    /etc/shutdown : 시스템 shutdown 스크립트
    AIX 에서는 오라클 autostartup 방법은 여러가지가 가능하지만 shutdown 은
    한가지만 가능하다. 우선 autostartup 은 다음과 같은 방법 가운데 하나를
    사용하면 된다.
    a)/etc/mkitab 를 사용하여 /etc/inittab 에 entry 를 추가한다. 즉,
    /etc/mkitab "<oracle_owner>:2:wait:/bin/su <oracle_owner> -c
    <$ORACLE_HOME>/bin/dbstart > /dev/console 2>&1"
    이렇게 하면 /etc/inittab 화일에 dbstart 기능이 추가된다. 이렇게 하면
    시스템이 뜨면서 run-level 2일 경우 오라클이 자동으로 startup 된다.
    b)다음과 같은 방법도 가능하다.
    /etc/mkitab "rcoracle:2:wait:/etc/rc.oracle > /dev/console 2>&1"
    그리고, root 소유의 /etc/rc.oracle 스크립트를 다음과 같이 작성한다.
    su <oracle_owner> <<EOF
    <$ORACLE_HOME>/bin/dbstart
    EOF
    c)/etc/rc 스크립트의 마지막에 다음을 추가한다.
    /bin/su <oracle_owner> - c <$ORACLE_HOME>/bin/dbstart
    AIX 에서 시스템 shutdown 은 /etc/shutdown 에 의한다. 시스템을 내릴 때
    오라클을 shutdown 하려면 별도의 시스템 shutdown 스크립트(root 소유로)를
    다음과 같이 만들어서 /etc/shutdown 을 사용하지 말고 이것을 사용해야 한다.
    #!/bin/sh
    /bin/su <oracle_owner> -c <$ORACLE_HOME>/bin/dbshut
    /etc/shutdown $*
    (5)HP/UX
    /etc/rc : 시스템 startup 화일
    /etc/shutdown : 시스템 shutdown 실행 화일
    /etc/shutdown.d : 시스템 shutdown 디렉토리
    HP/UX 에서는 시스템 startup 시에 /etc/rc 가 실행된다. 따라서 다음 라인을
    /etc/rc 스크립트의 마지막에 추가하면 auto startup 이 가능해진다.
    su <oracle_owner> -c <$ORACLE_HOME>/bin/dbstart
    시스템의 shutdown 은 /etc/shutdown 화일을 실행하여 수행된다. 이 프로그램은
    /etc/shutdown.d 디렉토리에 들어있는 스크립트를 실행시키는데 다음과 같은
    세 가지 방법 가운데 하나로 auto shutdown 을 세팅할 수 있다.
    a)$ORACLE_HOME/bin/dbshut 화일을 /etc/shutdown.d 디렉토리 아래에 copy
    b)/etc/shutdown.d/dbshut 을 $ORACLE_HOME/bin/dbshut 으로 symbolic link 지정
    c)다음과 같은 스크립트 작성
    #!/bin/sh
    su <oracle_owner> -c <$ORACLE_HOME>/bin/dbshut
    단,이 스크립트는 root의 소유이고 root에 의해서만 실행 가능해야 한다.
    만약 V6 와 V7 을 동시에 사용하는 경우라면 V7 에서 제공하는 dbshut을
    사용하도록 한다.

    Dear Alexdelarg,
    First launch the "Services" applet from the Windows NT Control Panel. Double-click on the "OracleService<SID>" service and verify that "Startup Type" is set to "Automatic", "Log On As" is set to "System Account", and that the "Allow Service to Interact with Desktop" check box is disabled.
    Then launch REGEDIT and check that the Value String ORA_<SID>AUTOSTART within the key My Computer\HKEYLOCAL_MACHINE\SOFTWARE\ORACLE is set to "TRUE".
    If the above does not rectify your startup problem, try issuing the following command from the Command Prompt:
    <ORACLE_HOME>\bin\oradim -edit -sid <SID> -startmode auto
    where <ORACLE_HOME> is the full path of your Oracle8i Server software and <SID> is the Service Identifier of your database.
    Hope this helps!

  • Oracle 8i Automatic Startup/shutdown on NT

    After installing Oracle 8.1.6 on Win NT/2000 and creating a database a new service is created too (OracleServiceSID). My problem is that this new service (which works like oradim starting srvc,inst) does not startup the db when rebooting the machine. I need always manual startup/shutdown with a script that uses svrmgrl while in Oracle guides it seems that would be enough to start the service. Every parameter in the registry is set according to these guides to permit automatic startup/shutdown but only the service, not the db, starts and stops automatically. Where is my error?
    Thanks
    Alex
    null

    Dear Alexdelarg,
    First launch the "Services" applet from the Windows NT Control Panel. Double-click on the "OracleService<SID>" service and verify that "Startup Type" is set to "Automatic", "Log On As" is set to "System Account", and that the "Allow Service to Interact with Desktop" check box is disabled.
    Then launch REGEDIT and check that the Value String ORA_<SID>AUTOSTART within the key My Computer\HKEYLOCAL_MACHINE\SOFTWARE\ORACLE is set to "TRUE".
    If the above does not rectify your startup problem, try issuing the following command from the Command Prompt:
    <ORACLE_HOME>\bin\oradim -edit -sid <SID> -startmode auto
    where <ORACLE_HOME> is the full path of your Oracle8i Server software and <SID> is the Service Identifier of your database.
    Hope this helps!

  • Automatic database activation

    hi,
    Suppose we have two mailbox servers: Node 1 and Node 2 in a DAG with two databases: A and B.
    A is mounted on node 1 and B is mounted on node 2.
    Now Node 2 suffers a hardware failure, a windows failure or lost its connectivity to databases (their databases are located in SAN for instance); will the passive copy of database A located on Node 2 get automatically mounted or I need to run some command?

    Hi ,
    As per your scenario , database A will remain mounted on the node 1 because we have faced the failure only on node 2.
    On node 2 we have only one active copy which is called database B.So during failure database B will get automatically mounted on the node 1 unless the database copy B doesn't have any database level activation block.
    Thanks & Regards S.Nithyanandham

  • Database shutdown/startup

    Dear all,
    10.2.0.3 on Solaris 10.
    When shutting down the database, shutdown hangs after database mounted as you can see below
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1073741824 bytes
    Fixed Size                  2133800 bytes
    Variable Size             435843288 bytes
    Database Buffers          624951296 bytes
    Redo Buffers               10813440 bytes
    Database mounted.In one more session, I checked the alert log
    Fri Jan  7 10:13:16 2011
    Incremental checkpoint up to RBA [0x417a.3.0], current log tail at RBA [0x417a.87.0]
    Fri Jan  7 10:13:16 2011
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    QMNC started with pid=36, OS id=15146
    Fri Jan  7 10:13:19 2011
    Completed: ALTER DATABASE OPEN
    ^C
    bash-3.00$
    bash-3.00$
    bash-3.00$
    bash-3.00$
    bash-3.00$ sqlplus "/ as sysdba"
    SQL*Plus: Release 10.2.0.3.0 - Production on Fri Jan 7 10:16:28 2011
    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>
    SQL> select open_mode from v$database;
    OPEN_MODE
    READ WRITEAny idea ?.
    Kai

    There is no error message . Anyway alert log
    Fri Jan  7 10:13:08 2011
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 3
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =88
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.3.0.
    System parameters with non-default values:
      _trace_files_public      = TRUE
      processes                = 400
      sessions                 = 800
      timed_statistics         = TRUE
      shared_pool_size         = 419430400
      shared_pool_reserved_size= 41943040
      sga_target               = 1073741824
      control_files            = /erp/u01/medh/db/apps_st/data/cntrl01.dbf, /erp/u01/medh/db/apps_st/data/cntrl02.dbf, /erp/u01/medh/db/apps_st/data/cnt
    rl03.dbf
      db_block_checksum        = TRUE
      log_archive_dest         = /oracle/arch/medh_ARCH
      log_archive_format       = medh%t_%s_%r.arc
      log_buffer               = 10485760
      log_checkpoint_interval  = 100000
      log_checkpoint_timeout   = 1200
      db_files                 = 512
      db_file_multiblock_read_count= 8
      log_checkpoints_to_alert = TRUE
      dml_locks                = 10000
      undo_management          = AUTO
      undo_tablespace          = APPS_UNDOTS1
      db_block_checking        = FALSE
      session_cached_cursors   = 500
      utl_file_dir             = /usr/tmp, /usr/tmp, /erp/u01/medh/db/tech_st/10.2.0/appsutil/outbound/medh_sed04, /usr/tmp
      plsql_native_library_dir = /erp/u01/medh/db/tech_st/10.2.0/plsql/nativelib
      plsql_native_library_subdir_count= 149
      plsql_code_type          = INTERPRETED
      plsql_optimize_level     = 2
      job_queue_processes      = 2
      cursor_sharing           = EXACT
      parallel_min_servers     = 0
      parallel_max_servers     = 8
      background_dump_dest     = /erp/u01/medh/db/tech_st/10.2.0/admin/medh_sed04/bdump
      user_dump_dest           = /erp/u01/medh/db/tech_st/10.2.0/admin/medh_sed04/udump
      max_dump_file_size       = 20480
      core_dump_dest           = /erp/u01/medh/db/tech_st/10.2.0/admin/medh_sed04/cdump
      db_name                  = medh
      open_cursors             = 600
      ifile                    = /erp/u01/medh/db/tech_st/10.2.0/dbs/medh_sed04_ifile.ora
      _sort_elimination_cost_ratio= 5
      _b_tree_bitmap_plans     = FALSE
      _fast_full_scan_enabled  = FALSE
      _sqlexec_progression_cost= 2147483647
      _like_with_bind_as_equality= TRUE
      pga_aggregate_target     = 1073741824
      workarea_size_policy     = AUTO
      optimizer_secure_view_merging= FALSE
      aq_tm_processes          = 1
      olap_page_pool_size      = 4194304
    PMON started with pid=2, OS id=12494
    PSP0 started with pid=4, OS id=12496
    MMAN started with pid=6, OS id=12499
    DBW0 started with pid=8, OS id=12511
    DBW1 started with pid=3, OS id=12544
    DBW2 started with pid=10, OS id=12574
    LGWR started with pid=5, OS id=12604
    CKPT started with pid=12, OS id=12628
    SMON started with pid=14, OS id=12653
    RECO started with pid=16, OS id=12680
    CJQ0 started with pid=18, OS id=12712
    MMON started with pid=20, OS id=12738
    MMNL started with pid=22, OS id=12761
    Fri Jan  7 10:13:10 2011
    ALTER DATABASE   MOUNT
    Fri Jan  7 10:13:14 2011
    Setting recovery target incarnation to 2
    Fri Jan  7 10:13:14 2011
    Successful mount of redo thread 1, with mount id 3947812854
    Fri Jan  7 10:13:14 2011
    Database mounted in Exclusive Mode
    Completed: ALTER DATABASE   MOUNT
    Fri Jan  7 10:13:15 2011
    ALTER DATABASE OPEN
    Fri Jan  7 10:13:15 2011
    Beginning crash recovery of 1 threads
    parallel recovery started with 8 processes
    Fri Jan  7 10:13:15 2011
    Started redo scan
    Fri Jan  7 10:13:15 2011
    Completed redo scan
    0 redo blocks read, 0 data blocks need recovery
    Fri Jan  7 10:13:15 2011
    Started redo application at
    Thread 1: logseq 16761, block 30591, scn 30945234899
    Fri Jan  7 10:13:15 2011
    Recovery of Online Redo Log: Thread 1 Group 2 Seq 16761 Reading mem 0
      Mem# 0: /erp/u01/medh/db/apps_st/data/log02b.rdo
      Mem# 1: /erp/u01/medh/db/apps_st/data/log02a.rdo
    Fri Jan  7 10:13:15 2011
    Completed redo application
    Fri Jan  7 10:13:15 2011
    Completed crash recovery at
    Thread 1: logseq 16761, block 30591, scn 30945254900
    0 data blocks read, 0 data blocks written, 0 redo blocks read
    Fri Jan  7 10:13:15 2011
    LGWR: STARTING ARCH PROCESSES
    ARC0 started with pid=34, OS id=14889
    Fri Jan  7 10:13:15 2011
    ARC0: Archival started
    ARC1: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    ARC1 started with pid=15, OS id=14921
    Fri Jan  7 10:13:15 2011
    Thread 1 advanced to log sequence 16762
    Thread 1 opened at log sequence 16762
      Current log# 3 seq# 16762 mem# 0: /erp/u01/medh/db/apps_st/data/log03b.rdo
      Current log# 3 seq# 16762 mem# 1: /erp/u01/medh/db/apps_st/data/log03a.rdo
    Successful open of redo thread 1
    Fri Jan  7 10:13:15 2011
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Fri Jan  7 10:13:15 2011
    ARC0: Becoming the 'no FAL' ARCH
    ARC0: Becoming the 'no SRL' ARCH
    Fri Jan  7 10:13:15 2011
    ARC1: Becoming the heartbeat ARCH
    Fri Jan  7 10:13:15 2011
    SMON: enabling cache recovery
    Fri Jan  7 10:13:16 2011
    Successfully onlined Undo Tablespace 1.
    Fri Jan  7 10:13:16 2011
    SMON: enabling tx recovery
    Fri Jan  7 10:13:16 2011
    Database Characterset is AR8MSWIN1256
    Fri Jan  7 10:13:16 2011
    Incremental checkpoint up to RBA [0x417a.3.0], current log tail at RBA [0x417a.87.0]
    Fri Jan  7 10:13:16 2011
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    QMNC started with pid=36, OS id=15146
    Fri Jan  7 10:13:19 2011
    Completed: ALTER DATABASE OPEN

  • Oracle Automatic Startup & Shutdown

    My automatic Database startup/Shutdown script won't work while system reboot. I have Oracle 8.1.7/Sun solaris. When I ran the script by hand it works fine both for startup and shutdown but not while system reboot. I am putting the script in the proper run levels rc0.d and rc3.d.
    even /etc/rc0.d/K01oracle and /etc/rc3.d/S90oracle is working fine.
    Could someone please tell me what am i missing.
    Appreciate your help
    -Jay

    Hi,
    Have you settled your issue? I would think the problem was caused by the environment under which the script was run. Normally the rc scripts are run as root and the PATH will not be set to run Oracle executables. So inside the script if you run the startup script as the user who has execute permission to the Oracle executables and whose path is SET in .profile then it should work.

  • Database Shutdown Some Times

    Dear All
    I have Installed Oracle Database 10G on Windows Server 2003
    But When I need Connect To The database I Discover it shutdown then I will Startup Again to Connect.
    Please I need help To see What Happen To Oracle Because its Online Database
    There is files In Oracle That I can Trace The Error or Any Thing To Help.
    Thanks In Advance.

    user8942603 wrote:
    Dear All
    I have Installed Oracle Database 10G on Windows Server 2003
    But When I need Connect To The database I Discover it shutdown then I will Startup Again to Connect.
    Please I need help To see What Happen To Oracle Because its Online Database
    There is files In Oracle That I can Trace The Error or Any Thing To Help.
    Thanks In Advance.Duplicate post. Please do not cross post
    Database Shutdown In Some Times

  • Recover automatic database

    STARTUP MOUNT
    RECOVER AUTOMATIC DATABASE (The database automatically suggests and applies the necessary archived logs)
    From which destination DB is looking for archivedlogs?
    db_recovery_file_dest or log_archived_dest?

    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area 209715200 bytes
    Fixed Size 1248140 bytes
    Variable Size 79692916 bytes
    Database Buffers 125829120 bytes
    Redo Buffers 2945024 bytes
    Database mounted.
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1:
    'D:\ORACLE\PRODUCT\TESTDB\TESTDB\DATAFILE\O1_MF_SYSTEM_352363BQ_.DBF'
    SQL> select file# from v$recover_file;
    FILE#
    1
    2
    3
    4
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount;
    ORACLE instance started.
    Total System Global Area 209715200 bytes
    Fixed Size 1248140 bytes
    Variable Size 79692916 bytes
    Database Buffers 125829120 bytes
    Redo Buffers 2945024 bytes
    Database mounted.
    SQL> recover automatic database;
    Media recovery complete.
    SQL> alter database open;
    Database altered.
    SQL> select file# from v$recover_file;
    no rows selected
    It picked from db_recovery_file_dest
    SQL> show parameter log_archive_dest;
    NAME TYPE VALUE
    log_archive_dest string
    log_archive_dest_1 string
    log_archive_dest_10 string
    SQL> show parameter db_recovery
    NAME TYPE VALUE
    db_recovery_file_dest string D:\oracle\Product\Backups
    db_recovery_file_dest_size big integer 2G

  • Database shutdown problem

    Hi,
    My database takes quite a lot of time in shutting down, when I do normal shutdown.
    Pls help
    vip

    Hi Aman,
    F. Munoz Alvarez wrote:
    This is because Oracle terminates all sessions and does a rollback on all.Francisco,
    What does it mean by rollback here? So if I would kick in really big transaction and Oracle is shutting down, it will be rolling back my transcton? I don't think so. > My transaction info would be cleared immediately. Is there any way that I can see this happening ?
    Aman....Take a look in the Oracle Docs:
    - http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/start.htm#sthref589
    Immediate database shutdown proceeds with the following conditions:
    - No new connections are allowed, nor are new transactions allowed to be started, after the statement is issued.
    - Any uncommitted transactions are rolled back. (If long uncommitted transactions exist, this method of shutdown might not complete quickly, despite its name.)
    - Oracle Database does not wait for users currently connected to the database to disconnect. The database implicitly rolls back active transactions and disconnects all connected users.
    The next startup of the database will not require any instance recovery procedures.
    Transactional database shutdown proceeds with the following conditions:
    - No new connections are allowed, nor are new transactions allowed to be started, after the statement is issued.
    - After all transactions have completed, any client still connected to the instance is disconnected.
    - At this point, the instance shuts down just as it would when a SHUTDOWN IMMEDIATE statement is submitted.
    The next startup of the database will not require any instance recovery procedures.
    A transactional shutdown prevents clients from losing work, and at the same time, does not require all users to log off.
    Cheers,
    Francisco Munoz Alvarez
    http://www.oraclenz.com
    Sorry by the delay to answer, I'm having some issues with my internet connection :(

  • Oracle database shutdown unexpectedly

    Hi,
    My oracle database shutdown unexpectedly several times this week and the alert log shows the below errors
    database shutdown unexpectedly with the folloing messge in alert
    Fatal NI connect error 12560, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
    TNS for 64-bit Windows: Version 11.1.0.6.0 - Production
    Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.1.0.6.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.1.0.6.0 - Production
    Time: 29-JUL-2012 06:24:48
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12560
    TNS-12560: TNS:protocol adapter error
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    ORA-609 : opiodr aborting process unknown ospid (3948_1704)
    Sun Jul 29 06:26:54 2012
    Please any help ???
    Thanks

    943086 wrote:
    Thanks
    both links descriping the same oracle metalink docs, witch its not applicable
    thanksyou are not help us to help you , both metalink that i have been posted talking about windows environment , OTN thread talking about windows environment and seems to me in all links that i have been posted its same alertlog error .

  • When I try to start outlook for mac, i get the message that there is an old version of the Microsoft Database Daemon that needs to be deleted from the start up files. Where do I find the start up files???

    when I try to start outlook for mac, i get the message that there is an old version of the Microsoft Database Daemon that needs to be deleted from the start up files. Where do I find the start up files???

    In the Users & Groups pane of System Preferences.
    (66105)

  • Database shutdown tooks 20 minutes

    Hi
    We have Oracle EBS R12.0.6 running on single node configuration. I have a strange situation with database shutdown normal. When i had shutdown database normal last 2 weeks for level 0 backup, shutdown took 5 minutes. Yesterday, again for database level 0 backup, shutdown took 20 minutes. I checked alert log, there were no active calls to kill but it took 20 minutes,why? How can i make the database shutdown faster with normal option?
    Help me please, thanks.
    Ariz

    Arizuddin wrote:
    Hi
    We have Oracle EBS R12.0.6 running on single node configuration. I have a strange situation with database shutdown normal. When i had shutdown database normal last 2 weeks for level 0 backup, shutdown took 5 minutes. Yesterday, again for database level 0 backup, shutdown took 20 minutes. I checked alert log, there were no active calls to kill but it took 20 minutes,why? How can i make the database shutdown faster with normal option?
    Help me please, thanks.
    ArizYou can make shutdown faster with the normal option pretty much only by ensuring that all client sessions -- including background jobs, concurrent managers, workflow etc are shutdown and logged off
    You could however also do one of the following (in my order of preference):
    1) don't shutdown the database for backup and use hot backup. For an OLTP db whose data you care about this should be the option of choice IMO.
    2) use shutdown immediate; - this is normally faster and is guaranteed to complete after an hour - shutdown normal isn't guaranteed to shutdown ( if an active session is left open but uncommitted).
    3) use shutdown abort; This is very fast! It's no good for a cold backup though as the datafiles will be inconsistent.

  • Automatic startup/shutdown script - 3 Oracle Home

    Hi All,
    We have a server which has 3 Oracle Home - 8i/9i/10g.
    So i am confused about configuring automatic startup/shutdown scripts.
    Can you guys please let me know how to setup automatic startup/shutdown for these multiple Oracle Homes.
    Thanks,
    Kumar.

    Bellow is a HP-UX script that can help. Create three scripts like oracle8, oracle9, oracle10 with correct path values. and than decide the runlevels and create soft links for the scripts you created, for example;
    Under /sbin/rc3.d
    ln -s /sbin/init.d/oracle10 S999oracle10
    Under /sbin/rc1.d and /sbin/rc2.d
    ln -s /sbin/init.d/oracle10 C9oracle10
    AUTOMATIC STARTUP/SHUTDOWN SCRIPT
    $vi /sbin/init.d/oracle10
    #!/sbin/sh
    # NOTE: This script is not configurable! Any changes made to this
    # scipt will be overwritten when you upgrade to the next
    # release of HP-UX.
    # WARNING: Changing this script in any way may lead to a system that
    # is unbootable. Do not modify this script.
    # NOTE:
    # For ORACLE:
    PATH=/usr/sbin:/usr/bin:/sbin
    export PATH
    ORA_HOME="/oracle/app/oracle/product/10.2.0"
    ORA_OWNR="oracle"
    rval=0
    set_return() {
    x=$?
    if [ $x -ne 0 ]; then
    echo "EXIT CODE: $x"
    rval=1
    fi
    case $1 in
    start)
    # Oracle listener and instance startup
    echo -n "Starting Oracle: "
    su - $ORA_OWNR -c "$ORA_HOME/bin/dbstart /oracle/app/oracle/product/10.2.0"
    echo "OK DB started"
    stop)
    # Oracle listener and instance shutdown
    echo -n "Shutdown Oracle: "
    su - $ORA_OWNR -c "$ORA_HOME/bin/dbshut /oracle/app/oracle/product/10.2.0"
    echo "OK DB shutdown"
    reload|restart)
    $0 stop
    $0 start
    echo "usage: $0 {start|stop}"
    esac
    exit $rval

Maybe you are looking for

  • Repair Management Scenario

    Hi MM Gurus.. Have a business scenario I hope someone can help me blueprint. The scenario is to basically to just “manage” the repair process with OEMs (or one of several major airlines) being the “Customer” and all real work being done by subcontrac

  • Podcasts Can't Be Found

    Podcasts are randomly deleted from my computer from time to time. All of my settings tell iTunes to "never delete old podcasts," but every week, something else will show up in the list with the exclamation point next to it, proclaiming the podcast ha

  • Gx 740 not working - but don't know why!

    Hi everyone, this is my first post and I apologise if I've put this in the wrong forum. If so, please feel free to move it. I have an MSI GX740 and recently it stopped working and I have no idea why and was hoping someone here could help me try and d

  • Artwork doesn't match

    My coverflow art doesn't match my video viewer. In my computer iTune>album artwork, I have two folders- download & local. They look close but are not the same. I think that is my problem, so which one of the folders do I use to overwrite the other? T

  • How to show static line?

    Hi all, I try to put Two Vertical Bar and One fixes line = value 500 !http://img291.imageshack.us/img291/2725/graphsubir.png! chart: <Graph graphType="BAR_VERT_CLUST2Y" depthAngle="50" depthRadius="8" pieDepth="30" pieTilt="20" seriesEffect="SE_AUTO_