After a server reboot - How to ensure Database starts automatically

Hi all,
I have an Oracle9i database on Solaris 8. The Solaris server is a bit unstable at the moment ans sometimes reboots itself. I set the last column in the oratab file to Y (on Solaris, it's in /var/opt/oracle/oratab), but Oracle still doesn't automatically start after a reboot.
Does anyone know of any other settings that will enable the DB to auto-restart after a reboot?
Regards

For Auto Startup and Shutdown of Database and Listener
1)
Login as root and modify /etc/oratab file and change last character to Y for apropriate database.
ORCL:/opt/oracle/111:Y
-------->> before changing it should look like ORCL:/opt/oracle/111:N
2)
As root user create new file "oracle" (init script for startup and shutdown the database) in /etc/init.d/ directory with following content:
#!/bin/bash
# oracle Init file for starting and stopping
# Oracle Database. Script is valid for 10g and 11g versions.
# chkconfig: 35 80 30
# description: Oracle Database startup script
# Source function library.
. /etc/rc.d/init.d/functions
ORACLE_OWNER="oracle"
ORACLE_HOME="/opt/oracle/111"
case "$1" in
start)
echo -n $"Starting Oracle DB:"
su - $ORACLE_OWNER -c "$ORACLE_HOME/bin/dbstart $ORACLE_HOME"
echo "OK"
stop)
echo -n $"Stopping Oracle DB:"
su - $ORACLE_OWNER -c "$ORACLE_HOME/bin/dbshut $ORACLE_HOME"
echo "OK"
echo $"Usage: $0 {start|stop}"
esac
3)
Execute (as root) following commands (First script change the permissions, second script is configuring execution for specific runlevels):
chmod 750 /etc/init.d/oracle
chkconfig add oracle level 035

Similar Messages

  • In windows 7, how to make firefox start automatically when I turn on the computer

    In Windows 7, how to make Firefox start automatically when I turn on the computer. Note, I am asking how to do this with Windows 7, not xp, not vista.

    You need to place a shortcut to open Firefox in the Start > Programs > Startup folder.<br />
    That is basically the same in all Windows versions.

  • After downloading mountain lion the internet does not start automatically after start or restart but if I use diagnostics it starts is there a simpler solution

    After downloading mountain lion the internet does not start automatically after start or restart but if I use diagnostics it starts is there a simpler solution?

    Extensions can sometimes be the cause of problems. If the problem does not occur in Safe Mode, then you can disable your extensions one-by-one until you find out which one is causing the problem. See [[Troubleshooting extensions and themes]]

  • Outlook 2010 doesn't automatically re-connect after Exchange Server reboot - help

    We have recently upgraded from Exch 2003 to Exch 2010.  We also upgraded our users Outlook client from 2003 to 2010.  Now when an Exch 2010 server is rebooted Outlook does not re-connect automatically.  You have to close Outlook and re-open
    it and it starts working again.  Others have reported the same issue.  Outlooks shows the status in the status bar area as password is required.  I have read an article in the forums about it being an authentication problem.  What
    changes can I make in Outlook or to Exchange 2010 to make Outlook automatically reconnect after an Exchange server reboot.  thanks

    They connect internally in the LAN with their domain credentials.
    I haven't noticed any errors in the Exchange server related to this issue but I have not really looked in the logs right after this happens.
    I guess I just don't understand how when we were running Exch2003 with Outlook2003 we did not have this problem.  Now that we have spent all this money and upgraded to bigger, better, smarter software we are having a problem like this.  It seems like
    if Outlook senses the lost connection and transfers to Offline that it would keep periodically to see if the email server is back up and reconnect. 
    Sorry for the delay response.
    I would suggestyou create a new Windows profile and test it again. Some times the windows profile curropted and woithout being able to provide credentials.
    Hope it is helpful.
    Fiona Liao
    TechNet Community Support

  • Post server reboot , instance 1 crashes on starting the second one

    Hi ,
    We had a server reboot ( Solaris SPARC 64 bit) and had to shutdown the application running on RAC system on 2 servers.
    now post the activity , we are trying to bring up the instances but whenever one comes up the other goes down.
    If we try to start the second one , first goes down.
    Oracle database version : 10.2.0.3.0
    Alert logs for both have been mentioned below :
    instance1:
    Mon Jul 23 16:17:22 2012
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Interface type 1 bge3 10.0.0.0 configured from OCR for use as a cluster interconnect
    Interface type 1 bge0 58.2.35.0 configured from OCR for use as  a public interface
    Interface type 1 bge1 58.2.35.0 configured from OCR for use as  a public interface
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/orainf/product/10.2.0/dbs/arch
    Autotune of undo retention is turned on.
    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:
      processes                = 400
      __shared_pool_size       = 956301312
      shared_pool_size         = 201326592
      __large_pool_size        = 16777216
      __java_pool_size         = 150994944
      java_pool_size           = 150994944
      __streams_pool_size      = 16777216
      streams_pool_size        = 16777216
      sga_target               = 1610612736
      control_files            = /db01/asdb/asdb/control01.ctl, /db01/asdb/asdb/control02.ctl, /db01/asdb/asdb/control03.ctl
      db_block_size            = 8192
      __db_cache_size          = 452984832
      db_cache_size            = 167772160
      compatible               = 10.2.0.3.0
      db_file_multiblock_read_count= 16
      cluster_database         = TRUE
      cluster_database_instances= 2
      thread                   = 1
      instance_number          = 1
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      ldap_directory_access    = PASSWORD
      remote_login_passwordfile= EXCLUSIVE
      db_domain                = intranet.genpact.com
      remote_listener          = LISTENERS_ASDB
      job_queue_processes      = 10
      background_dump_dest     = /u01/app/orainf/admin/asdb/bdump
      user_dump_dest           = /u01/app/orainf/admin/asdb/udump
      core_dump_dest           = /u01/app/orainf/admin/asdb/cdump
      audit_file_dest          = /u01/app/orainf/admin/asdb/adump
      db_name                  = asdb
      open_cursors             = 300
      pga_aggregate_target     = 848297984
      aq_tm_processes          = 1
    Mon Jul 23 16:17:24 2012
    Oracle instance running with ODM: Veritas 5.0.30.00 ODM Library, Version 1.1
    cluster interconnect IPC version:
            VERITAS IPC '5.0MP3' 07:30:15 Jul 29 2008
    IPC Vendor 86 proto 76
      Version 1.0
    PMON started with pid=2, OS id=17279
    DIAG started with pid=3, OS id=17281
    Mon Jul 23 16:17:24 2012
    Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_diag_17281.trc:
    ORA-07445: exception encountered: core dump [_kill()+8] [SIGIOT] [unknown code] [0x438100000000] [] []
    PSP0 started with pid=4, OS id=17283
    LMON started with pid=5, OS id=17285
    LMD0 started with pid=6, OS id=17287
    LMS0 started with pid=7, OS id=17289
    LMS1 started with pid=8, OS id=17293
    MMAN started with pid=9, OS id=17297
    DBW0 started with pid=10, OS id=17299
    LGWR started with pid=11, OS id=17301
    CKPT started with pid=12, OS id=17303
    SMON started with pid=13, OS id=17333
    RECO started with pid=14, OS id=17338
    CJQ0 started with pid=15, OS id=17340
    MMON started with pid=16, OS id=17342
    MMNL started with pid=17, OS id=17344
    Mon Jul 23 16:17:26 2012
    Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_lmon_17285.trc:
    ORA-27550: Target ID protocol check failed. tid vers=%d, type=%d, remote instance number=%d, local instance number=%d
    Mon Jul 23 16:17:26 2012
    LMON: terminating instance due to error 27550
    Instance terminated by LMON, pid = 17285
    Mon Jul 23 16:18:33 2012
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Interface type 1 bge3 10.0.0.0 configured from OCR for use as a cluster interconnect
    Interface type 1 bge0 58.2.35.0 configured from OCR for use as  a public interface
    Interface type 1 bge1 58.2.35.0 configured from OCR for use as  a public interface
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/orainf/product/10.2.0/dbs/arch
    Autotune of undo retention is turned on.
    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:
      processes                = 400
      __shared_pool_size       = 956301312
      shared_pool_size         = 201326592
      __large_pool_size        = 16777216
      __java_pool_size         = 150994944
      java_pool_size           = 150994944
      __streams_pool_size      = 16777216
      streams_pool_size        = 16777216
      sga_target               = 1610612736
      control_files            = /db01/asdb/asdb/control01.ctl, /db01/asdb/asdb/control02.ctl, /db01/asdb/asdb/control03.ctl
      db_block_size            = 8192
      __db_cache_size          = 452984832
      db_cache_size            = 167772160
      compatible               = 10.2.0.3.0
      db_file_multiblock_read_count= 16
      cluster_database         = TRUE
      cluster_database_instances= 2
      thread                   = 1
      instance_number          = 1
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      remote_login_passwordfile= EXCLUSIVE
      db_domain                = intranet.genpact.com
      job_queue_processes      = 10
      background_dump_dest     = /u01/app/orainf/admin/asdb/bdump
      user_dump_dest           = /u01/app/orainf/admin/asdb/udump
      core_dump_dest           = /u01/app/orainf/admin/asdb/cdump
      audit_file_dest          = /u01/app/orainf/admin/asdb/adump
      db_name                  = asdb
      open_cursors             = 300
      pga_aggregate_target     = 848297984
      aq_tm_processes          = 1
    Mon Jul 23 16:18:35 2012
    Oracle instance running with ODM: Veritas 5.0.30.00 ODM Library, Version 1.1
    cluster interconnect IPC version:
            VERITAS IPC '5.0MP3' 07:30:15 Jul 29 2008
    IPC Vendor 86 proto 76
      Version 1.0
    PMON started with pid=2, OS id=19523
    DIAG started with pid=3, OS id=19525
    Mon Jul 23 16:18:36 2012
    Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_diag_19525.trc:
    ORA-07445: exception encountered: core dump [_kill()+8] [SIGIOT] [unknown code] [0x4C4500000000] [] []
    PSP0 started with pid=4, OS id=19527
    LMON started with pid=5, OS id=19529
    LMD0 started with pid=6, OS id=19531
    LMS0 started with pid=7, OS id=19533
    LMS1 started with pid=8, OS id=19537
    MMAN started with pid=9, OS id=19557
    DBW0 started with pid=10, OS id=19573
    LGWR started with pid=11, OS id=19576
    CKPT started with pid=12, OS id=19578
    SMON started with pid=13, OS id=19580
    RECO started with pid=14, OS id=19582
    CJQ0 started with pid=15, OS id=19584
    MMON started with pid=16, OS id=19586
    MMNL started with pid=17, OS id=19588
    Mon Jul 23 16:18:37 2012
    Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_lmon_19529.trc:
    ORA-27550: Target ID protocol check failed. tid vers=%d, type=%d, remote instance number=%d, local instance number=%d
    Mon Jul 23 16:18:37 2012
    LMON: terminating instance due to error 27550
    Instance terminated by LMON, pid = 19529
    Mon Jul 23 16:20:16 2012
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Interface type 1 bge3 10.0.0.0 configured from OCR for use as a cluster interconnect
    Interface type 1 bge0 58.2.35.0 configured from OCR for use as  a public interface
    Interface type 1 bge1 58.2.35.0 configured from OCR for use as  a public interface
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/orainf/product/10.2.0/dbs/arch
    Autotune of undo retention is turned on.
    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:
      processes                = 400
      __shared_pool_size       = 956301312
      shared_pool_size         = 201326592
      __large_pool_size        = 16777216
      __java_pool_size         = 150994944
      java_pool_size           = 150994944
      __streams_pool_size      = 16777216
      streams_pool_size        = 16777216
      sga_target               = 1610612736
      control_files            = /db01/asdb/asdb/control01.ctl, /db01/asdb/asdb/control02.ctl, /db01/asdb/asdb/control03.ctl
      db_block_size            = 8192
      __db_cache_size          = 452984832
      db_cache_size            = 167772160
      compatible               = 10.2.0.3.0
      db_file_multiblock_read_count= 16
      cluster_database         = TRUE
      cluster_database_instances= 2
      thread                   = 1
      instance_number          = 1
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      db_domain                = intranet.genpact.com
      job_queue_processes      = 10
      background_dump_dest     = /u01/app/orainf/admin/asdb/bdump
      user_dump_dest           = /u01/app/orainf/admin/asdb/udump
      core_dump_dest           = /u01/app/orainf/admin/asdb/cdump
      audit_file_dest          = /u01/app/orainf/admin/asdb/adump
      db_name                  = asdb
      open_cursors             = 300
      pga_aggregate_target     = 848297984
    Mon Jul 23 16:20:18 2012
    Oracle instance running with ODM: Veritas 5.0.30.00 ODM Library, Version 1.1
    cluster interconnect IPC version:
            VERITAS IPC '5.0MP3' 07:30:15 Jul 29 2008
    IPC Vendor 86 proto 76
      Version 1.0
    PMON started with pid=2, OS id=22860
    DIAG started with pid=3, OS id=22870
    Mon Jul 23 16:20:18 2012
    Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_diag_22870.trc:
    ORA-07445: exception encountered: core dump [_kill()+8] [SIGIOT] [unknown code] [0x595600000000] [] []
    PSP0 started with pid=4, OS id=22888
    LMON started with pid=5, OS id=22892
    LMD0 started with pid=6, OS id=22899
    LMS0 started with pid=7, OS id=22901
    LMS1 started with pid=8, OS id=22905
    MMAN started with pid=9, OS id=22909
    DBW0 started with pid=10, OS id=22911
    LGWR started with pid=11, OS id=22913
    CKPT started with pid=12, OS id=22915
    SMON started with pid=13, OS id=22917
    RECO started with pid=14, OS id=22919
    CJQ0 started with pid=15, OS id=22921
    MMON started with pid=16, OS id=22923
    MMNL started with pid=17, OS id=22933
    Mon Jul 23 16:20:20 2012
    Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_lmon_22892.trc:
    ORA-27550: Target ID protocol check failed. tid vers=%d, type=%d, remote instance number=%d, local instance number=%d
    Mon Jul 23 16:20:20 2012
    LMON: terminating instance due to error 27550
    Instance terminated by LMON, pid = 22892instance 2:
    Mon Jul 23 16:20:30 2012
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Interface type 1 bge3 10.0.0.0 configured from OCR for use as a cluster interconnect
    WARNING 10.0.0.0 could not be translated to a network address error 1
    Interface type 1 bge0 58.2.35.0 configured from OCR for use as  a public interface
    Interface type 1 bge1 58.2.35.0 configured from OCR for use as  a public interface
      WARNING: No cluster interconnect has been specified. Depending on
               the communication driver configured Oracle cluster traffic
               may be directed to the public interface of this machine.
               Oracle recommends that RAC clustered databases be configured
               with a private interconnect for enhanced security and
               performance.
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/orainf/product/10.2.0/dbs/arch
    Autotune of undo retention is turned on.
    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:
      processes                = 400
      __shared_pool_size       = 721420288
      shared_pool_size         = 201326592
      __large_pool_size        = 16777216
      __java_pool_size         = 150994944
      java_pool_size           = 150994944
      __streams_pool_size      = 16777216
      streams_pool_size        = 16777216
      spfile                   = /db01/asdb/asdb/spfileasdb.ora
      sga_target               = 1610612736
      control_files            = /db01/asdb/asdb/control01.ctl, /db01/asdb/asdb/control02.ctl, /db01/asdb/asdb/control03.ctl
      db_block_size            = 8192
      __db_cache_size          = 687865856
      db_cache_size            = 167772160
      compatible               = 10.2.0.3.0
      db_file_multiblock_read_count= 16
      cluster_database         = TRUE
      cluster_database_instances= 2
      thread                   = 2
      instance_number          = 2
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS2
      ldap_directory_access    = PASSWORD
      remote_login_passwordfile= EXCLUSIVE
      db_domain                = intranet.genpact.com
      dispatchers              = (PROTOCOL=TCP) (SERVICE=asdbXDB)
      remote_listener          = LISTENERS_ASDB
      job_queue_processes      = 10
      background_dump_dest     = /u01/app/orainf/admin/asdb/bdump
      user_dump_dest           = /u01/app/orainf/admin/asdb/udump
      core_dump_dest           = /u01/app/orainf/admin/asdb/cdump
      audit_file_dest          = /u01/app/orainf/admin/asdb/adump
      db_name                  = asdb
      open_cursors             = 300
      pga_aggregate_target     = 848297984
      aq_tm_processes          = 1
    Cluster communication is configured to use the following interface(s) for this instance
      58.2.35.93
    Mon Jul 23 16:20:32 2012
    Oracle instance running with ODM: Veritas 5.0.30.00 ODM Library, Version 1.1
    cluster interconnect IPC version:Oracle UDP/IP (generic)
    IPC Vendor 1 proto 2
    PMON started with pid=2, OS id=28537
    DIAG started with pid=3, OS id=28539
    PSP0 started with pid=4, OS id=28541
    LMON started with pid=5, OS id=28543
    Mon Jul 23 16:20:33 2012
    WARNING: Failed to set buffer limit on IPC interconnect socket
    Oracle requires that the SocketReceive buffer size be tunable upto 1MB
    Please make sure the kernel parameterwhich limits SO_RCVBUF value set by
    applications is atleast 1MB
    LMD0 started with pid=6, OS id=28545
    LMS0 started with pid=7, OS id=28547
    LMS1 started with pid=8, OS id=28551
    MMAN started with pid=9, OS id=28555
    DBW0 started with pid=10, OS id=28557
    LGWR started with pid=11, OS id=28567
    CKPT started with pid=12, OS id=28587
    SMON started with pid=13, OS id=28594
    RECO started with pid=14, OS id=28596
    CJQ0 started with pid=15, OS id=28599
    MMON started with pid=16, OS id=28605
    MMNL started with pid=17, OS id=28608
    Mon Jul 23 16:20:34 2012
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    Mon Jul 23 16:20:34 2012
    lmon registered with NM - instance id 2 (internal mem no 1)
    Mon Jul 23 16:20:35 2012
    Reconfiguration started (old inc 0, new inc 2)
    List of nodes:
    1
    Global Resource Directory frozen
    * allocate domain 0, invalid = TRUE
    Communication channels reestablished
    Master broadcasted resource hash value bitmaps
    Non-local Process blocks cleaned out
    Mon Jul 23 16:20:35 2012
    LMS 0: 0 GCS shadows cancelled, 0 closed
    Mon Jul 23 16:20:35 2012
    LMS 1: 0 GCS shadows cancelled, 0 closed
    Set master node info
    Submitted all remote-enqueue requests
    Dwn-cvts replayed, VALBLKs dubious
    All grantable enqueues granted
    Post SMON to start 1st pass IR
    Mon Jul 23 16:20:35 2012
    LMS 1: 0 GCS shadows traversed, 0 replayed
    Mon Jul 23 16:20:35 2012
    LMS 0: 0 GCS shadows traversed, 0 replayed
    Mon Jul 23 16:20:35 2012
    Submitted all GCS remote-cache requests
    Fix write in gcs resources
    Reconfiguration complete
    LCK0 started with pid=20, OS id=28770
    Mon Jul 23 16:20:36 2012
    ALTER DATABASE   MOUNT
    Mon Jul 23 16:20:36 2012
    This instance was first to mount
    Setting recovery target incarnation to 2
    Mon Jul 23 16:20:40 2012
    Successful mount of redo thread 2, with mount id 2392310356
    Mon Jul 23 16:20:40 2012
    Database mounted in Shared Mode (CLUSTER_DATABASE=TRUE)
    Completed: ALTER DATABASE   MOUNT
    Mon Jul 23 16:20:40 2012
    ALTER DATABASE OPEN
    This instance was first to open
    Mon Jul 23 16:20:40 2012
    Beginning crash recovery of 1 threads
    parallel recovery started with 2 processes
    Mon Jul 23 16:20:41 2012
    Started redo scan
    Mon Jul 23 16:20:41 2012
    Completed redo scan
    509 redo blocks read, 149 data blocks need recovery
    Mon Jul 23 16:20:41 2012
    Started redo application at
    Thread 2: logseq 1492, block 3
    Mon Jul 23 16:20:41 2012
    Recovery of Online Redo Log: Thread 2 Group 7 Seq 1492 Reading mem 0
      Mem# 0: /db01/asdb/asdb/redo07a.log
      Mem# 1: /db01/asdb/asdb/redo07b.log
    Mon Jul 23 16:20:41 2012
    Completed redo application
    Mon Jul 23 16:20:41 2012
    Completed crash recovery at
    Thread 2: logseq 1492, block 512, scn 10435264045528
    149 data blocks read, 149 data blocks written, 509 redo blocks read
    Picked broadcast on commit scheme to generate SCNs
    Mon Jul 23 16:20:42 2012
    Thread 2 advanced to log sequence 1493
    Thread 2 opened at log sequence 1493
      Current log# 8 seq# 1493 mem# 0: /db01/asdb/asdb/redo08a.log
      Current log# 8 seq# 1493 mem# 1: /db01/asdb/asdb/redo08b.log
    Successful open of redo thread 2
    Mon Jul 23 16:20:42 2012
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Mon Jul 23 16:20:42 2012
    SMON: enabling cache recovery
    Mon Jul 23 16:20:42 2012
    Successfully onlined Undo Tablespace 5.
    Mon Jul 23 16:20:42 2012
    SMON: enabling tx recovery
    Mon Jul 23 16:20:43 2012
    Database Characterset is AL32UTF8
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    QMNC started with pid=24, OS id=29088
    Mon Jul 23 16:20:46 2012
    Completed: ALTER DATABASE OPENPlease suggest
    Regards
    KK

    Hi ,
    I have used the command ifconfig -a
    below is the output :
    chaning the original IP's with alphabets for security concerns
    instance 1:
    bash-2.05$ ifconfig -a
    lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
            inet 127.0.0.1 netmask ff000000
    bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
            inet XY.M.CD.93 netmask ffffff00 broadcast XY.M.CD.255
            groupname orapub
    bge0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
            inet XY.M.CD.94 netmask ffffff00 broadcast XY.M.CD.255
    bge0:3: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4> mtu 1500 index 2
            inet XY.M.CD.151 netmask ffffff00 broadcast XY.M.CD.255
    bge1: flags=39040803<UP,BROADCAST,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,FAILED,STANDBY> mtu 1500 index 3
            inet XY.M.CD.95 netmask ffffff00 broadcast XY.M.CD.255
            groupname orapub
    bge2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
            inet ZZ.0.0.1 netmask ff000000 broadcast ZZ.255.255.255
    bge3: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
            inet 0.0.0.0 netmask 0instance 2:
    bash-2.05$ ifconfig -a
    lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
            inet 127.0.0.1 netmask ff000000
    bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
            inet XY.M.CD.96 netmask ffffff00 broadcast XY.M.CD.255
            groupname orapub
    bge0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
            inet XY.M.CD.97 netmask ffffff00 broadcast XY.M.CD.255
    bge0:2: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4> mtu 1500 index 2
            inet XY.M.CD.152 netmask ffffff00 broadcast XY.M.CD.255
    bge1: flags=69040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,STANDBY,INACTIVE> mtu 1500 index 3
            inet XY.M.CD.98 netmask ffffff00 broadcast XY.M.CD.255
            groupname orapub
    bge3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
            inet 0.0.0.0 netmask ff000000
    bge3:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
            inet 10.0.0.3 netmask ff000000 broadcast ZZ.255.255.255Regards

  • How to make servlet start automatically in tomcat

    i want to my servlet start automatically when tomcat start . Need i configure the web.xml? how to make it?

    Yes, web.xml is what you want to configure, if what you're wanting to do is browse to a particular URL and have your servlet executed. See the Tomcat site (http://jakarta.apache.org/tomcat) for examples.
    Lynn.

  • DataSource Fails to Connect After SQL Server Reboots

    I have a SQL Server which is rebooted once every week. I also have a small daemon thread running on Tomcat 4.1 that checks a database every 60 seconds for a specific setting. When something changes it sends an email to the required email address. The connection object the daemon uses is created from a datasource configured in Tomcat's server.xml specific to the daemon's application. After the reboot of the SQL Server I receive this error message "[Microsoft][SQLServer 2000 Driver for JDBC]Connection reset by peer: socket write error" ever time the daemon tries to connect to the datasource.
    Anybody have any ideas as to where the problem may lie?
    Any suggestions as to a work around?
    Thanks
    jmorrison42

    Thanks for your response 8233. Below is the Context tag of Tomcat's server.xml file...
    <Context className="org.apache.catalina.core.StandardContext" cachingAllowed="true"
                             charsetMapperClass="org.apache.catalina.util.CharsetMapper" cookies="true"
                             crossContext="false" debug="0" displayName="Forecast" docBase="forecast"
                             mapperClass="org.apache.catalina.core.StandardContextMapper" path="/forecast"
                             privileged="false" reloadable="true" swallowOutput="false" useNaming="true"
                             wrapperClass="org.apache.catalina.core.StandardWrapper">
                             <Logger className="org.apache.catalina.logger.FileLogger"
                                  prefix="localhost_forecast_log." suffix=".txt"
                                  timestamp="true"/>
                             <Resource name="jdbc/DEVSERVER" auth="Container"
                                  type="javax.sql.DataSource"/>
                             <ResourceParams name="jdbc/DEVSERVER">
                                  <parameter>
                                       <name>username</name>
                                       <value>JAVA_USER</value>
                                  </parameter>
                                  <parameter>
                                       <name>password</name>
                                       <value>JAVA_USER</value>
                                  </parameter>
                                  <parameter>
                                       <name>driverClassName</name>
                                       <value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
                                  </parameter>
                                  <parameter>
                                       <name>url</name>
                                       <value>jdbc:microsoft:sqlserver://DEVSERVER:1433</value>
                                  </parameter>
                                  <parameter>
                                       <name>removeAbandoned</name>
                                       <value>true</value>
                                  </parameter>
                                  <parameter>
                                       <name>removeAbandonedTimeout</name>
                                       <value>60</value>
                                  </parameter>
                                  <parameter>
                                       <name>logAbandoned</name>
                                       <value>true</value>
                                  </parameter>
                                  <parameter>
                                       <name>maxWait</name>
                                       <value>5000</value>
                                  </parameter>
                                  <parameter>
                                       <name>maxActive</name>
                                       <value>10</value>
                                  </parameter>
                                  <parameter>
                                       <name>maxIdle</name>
                                       <value>5</value>
                                  </parameter>
                             </ResourceParams>
                             <ResourceLink global="mail/Session" name="mail/Session" type="javax.mail.Session"/>
                        </Context>
    After my last post, I changed the Context paramater reloadable from false to true. All other tags have not been modified. (I haven't had the opportunity to test this change because my SQL Server doesn't reboot until Sunday.) Does that parameter affect the datasource's availability after a disconnect such as this?
    Thanks again for your help
    jmorrison42

  • How to make appliction server and how to make database server

    Hi all
    Release 12.1.1 software bundle are labeled as follows:
    • Start Here - Disk 1
    • APPL_TOP - Disk n
    • RDBMS - Disk n
    • Tools - Disk n
    • Databases - Disk n
    i want to make database server and other one is application server
    which one software is install in database server and which one software is install in appliction sever

    Hello,
    Please, find enclosed a link about Oracle Application Concept:
    [http://download.oracle.com/docs/cd/B40089_10/current/acrobat/120oacg.pdf]
    [http://download.oracle.com/docs/cd/B40089_10/current/html/homeset.html]
    You'll get many answers and the best practices.
    Hope it can help.
    Best regards,
    Jean-Valentin

  • Lost redo log, how can get database started?

    My redo03 log is irretriveably lost. It is never coming back. It had no data in it that I needed. All the real data I have is backed up in an EXP file. I just want to start the DB. Is there any way, short of just reinstalling the whole DB that I can tell Oracle 9.2 to change rdeo logs or rebuild the lost log? I have tried every alter or recover command I can think of.

    did you mean allowresetlogs_corruption, or is that first underscore a mistake?
    In any event, can I actually accomplish anything by changing the init.ora.somelongnumber file (there is no init.ora file), or must I use the alter system command to change the spfile. I actually tried both. The alter system command won't allow the allow_resetlogs_corruption parameter. If I use the create command to build an init.ora file the beginning of every line in the created file has a couple of stray characters. Am I supposed to put them in front of the allow_etc stuff?
    Can you give me the command for clearing the log files and the command for opening the database in resetlogs mode?
    I wish I could figure out where this stuff is documented, if any of it is. Perhaps I'm missing some manual. I've looked on the OTN documentation pages for some help, but didn't find anything.
    Long ago I worked for Oracle in Redwood City porting the database to IBM mainframes. When we ran into this kind of confusion I visited the kernel group with a large blunt object and just threatened them until I got some documentation. I'm too far away now.

  • Database Started In Restricted Mode...

    Dear Exports,
    We are using Oracle 10gR2 on Windows server 2008. My database size is approximately 2tb. Now we are going to setup Dataguard for our primary. We started the database with the changer parameters for dataguard and create spfile from pfile. And started the database with Spfile. But after some time i noticed that the database started automatically in Restricted mode. As in our database Previously dataguard was configured, due to the some problem that setup is not working and the logs are not applied in Standby server. I thought may be for this reason database going to restricted mode automatically so i set the log_archive_dest_state_2='DEFFER' and Now I scanned the whore alert.log file and found the same situation of restricted is happening from Jan 2010. Please Suggest some solution how i can over come the problem.
    The alertlog when i started the database recently...
    ALTER DATABASE CLOSE NORMAL
    ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Fri Apr 12 19:12:39 2013
    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 =97
    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.4.0.
    System parameters with non-default values:
    processes = 800
    sessions = 885
    sga_max_size = 10737418240
    __shared_pool_size = 1325400064
    __large_pool_size = 16777216
    __java_pool_size = 16777216
    __streams_pool_size = 0
    sga_target = 8589934592
    control_files = G:\ORADATA\CONTROL01.CTL, G:\ORADATA\CONTROL02.CTL, G:\ORADATA\CONTROL03.CTL
    db_block_size = 8192
    __db_cache_size = 7214202880
    compatible = 10.2.0.3.0
    log_archive_config = DG_CONFIG=(orcl,stdby)
    log_archive_dest_1 = LOCATION=I:\archive_log VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=orcl
    log_archive_dest_2 = SERVICE=stdby NOAFFIRM ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=stdby
    log_archive_dest_state_1 = enable
    log_archive_max_processes= 30
    log_archive_format = ARC%D_%s_%R.%T
    fal_client = orcl
    fal_server = stdby
    db_file_multiblock_read_count= 16
    db_recovery_file_dest = D:\oracle\product\10.2.0\flash_recovery_area
    db_recovery_file_dest_size= 2147483648
    standby_file_management = AUTO
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 5400
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
    local_listener = (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.12.86)(PORT=1521))
    job_queue_processes = 10
    audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\ADUMP
    background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\BDUMP
    user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\UDUMP
    core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\CDUMP
    db_name = orcl
    open_cursors = 500
    pga_aggregate_target = 10737418240
    PMON started with pid=2, OS id=14328
    PSP0 started with pid=3, OS id=15420
    MMAN started with pid=4, OS id=9092
    DBW0 started with pid=5, OS id=12360
    DBW1 started with pid=6, OS id=18112
    LGWR started with pid=7, OS id=18360
    CKPT started with pid=8, OS id=18448
    SMON started with pid=9, OS id=17160
    RECO started with pid=10, OS id=18512
    CJQ0 started with pid=11, OS id=19324
    MMON started with pid=12, OS id=14380
    Fri Apr 12 19:12:40 2013
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    MMNL started with pid=13, OS id=2996
    Fri Apr 12 19:12:40 2013
    starting up 1 shared server(s) ...
    Fri Apr 12 19:12:41 2013
    ALTER DATABASE MOUNT
    Fri Apr 12 19:12:45 2013
    Setting recovery target incarnation to 2
    Fri Apr 12 19:12:45 2013
    Successful mount of redo thread 1, with mount id 1340307369
    Fri Apr 12 19:12:45 2013
    Allocated 15937344 bytes in shared pool for flashback generation buffer
    Starting background process RVWR
    RVWR started with pid=17, OS id=5524
    Fri Apr 12 19:12:45 2013
    Database mounted in Exclusive Mode
    Completed: ALTER DATABASE MOUNT
    Fri Apr 12 19:12:46 2013
    ALTER DATABASE OPEN
    Fri Apr 12 19:12:46 2013
    LGWR: STARTING ARCH PROCESSES
    ARC0 started with pid=18, OS id=11964
    ARC1 started with pid=19, OS id=13472
    ARC2 started with pid=20, OS id=17960
    ARC3 started with pid=21, OS id=18548
    ARC4 started with pid=22, OS id=15660
    ARC5 started with pid=23, OS id=15548
    ARC6 started with pid=24, OS id=14720
    ARC7 started with pid=25, OS id=15780
    ARC8 started with pid=26, OS id=17992
    ARC9 started with pid=27, OS id=17988
    ARCa started with pid=28, OS id=19436
    ARCb started with pid=29, OS id=16104
    ARCc started with pid=30, OS id=6656
    ARCd started with pid=31, OS id=6900
    ARCe started with pid=32, OS id=10568
    ARCf started with pid=33, OS id=16992
    ARCg started with pid=34, OS id=14372
    ARCh started with pid=35, OS id=18084
    ARCi started with pid=36, OS id=5788
    ARCj started with pid=37, OS id=4940
    ARCk started with pid=38, OS id=18816
    ARCl started with pid=39, OS id=14588
    ARCm started with pid=40, OS id=16820
    ARCn started with pid=41, OS id=8068
    ARCo started with pid=42, OS id=18736
    ARCp started with pid=43, OS id=8316
    ARCq started with pid=44, OS id=5952
    ARCr started with pid=45, OS id=16304
    ARCs started with pid=46, OS id=14884
    Fri Apr 12 19:12:46 2013
    ARC0: Archival started
    ARCt started with pid=47, OS id=19408
    Fri Apr 12 19:12:46 2013
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC4: Archival started
    ARC5: Archival started
    ARC6: Archival started
    ARC7: Archival started
    ARC8: Archival started
    ARC9: Archival started
    ARCa: Archival started
    ARCb: Archival started
    ARCc: Archival started
    ARCd: Archival started
    ARCe: Archival started
    ARCf: Archival started
    ARCg: Archival started
    ARCh: Archival started
    ARCi: Archival started
    ARCj: Archival started
    ARCk: Archival started
    ARCl: Archival started
    ARCm: Archival started
    ARCn: Archival started
    ARCo: Archival started
    ARCp: Archival started
    ARCq: Archival started
    ARCr: Archival started
    ARCs: Archival started
    ARCt: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    Thread 1 opened at log sequence 117446
    Current log# 10 seq# 117446 mem# 0: G:\ORADATA\REDO10A.LOG
    Current log# 10 seq# 117446 mem# 1: H:\ORADATA\REDO10B.LOG
    Fri Apr 12 19:12:46 2013
    ARC0: Becoming the 'no FAL' ARCH
    Fri Apr 12 19:12:46 2013
    ARC0: Becoming the 'no SRL' ARCH
    Fri Apr 12 19:12:46 2013
    ARC8: Becoming the heartbeat ARCH
    Fri Apr 12 19:12:47 2013
    Successful open of redo thread 1
    Fri Apr 12 19:12:47 2013
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Fri Apr 12 19:12:47 2013
    SMON: enabling cache recovery
    Fri Apr 12 19:12:48 2013
    Successfully onlined Undo Tablespace 1.
    Fri Apr 12 19:12:48 2013
    SMON: enabling tx recovery
    Fri Apr 12 19:12:48 2013
    Database Characterset is WE8MSWIN1252
    Opening with internal Resource Manager plan
    where NUMA PG = 1, CPUs = 16
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    QMNC started with pid=48, OS id=10048
    Fri Apr 12 19:12:51 2013
    Completed: ALTER DATABASE OPEN
    Fri Apr 12 19:12:51 2013
    Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_mmon_14380.trc:
    ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 99.56% used, and has 9486336 remaining bytes available.
    Fri Apr 12 19:12:51 2013
    You have following choices to free up space from flash recovery area:
    1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
    then consider changing RMAN ARCHIVELOG DELETION POLICY.
    2. Back up files to tertiary device such as tape using RMAN
    BACKUP RECOVERY AREA command.
    3. Add disk space and increase db_recovery_file_dest_size parameter to
    reflect the new space.
    4. Delete unnecessary files using RMAN DELETE command. If an operating
    system command was used to delete files, then use RMAN CROSSCHECK and
    DELETE EXPIRED commands.
    Dump file d:\oracle\product\10.2.0\admin\orcl\bdump\alert_orcl.log
    Fri Apr 12 19:13:26 2013
    ORACLE V10.2.0.4.0 - 64bit Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V6.0 Service Pack 1
    CPU : 16 - type 8664, 16 Physical Cores
    Process Affinity : 0x0000000000000000
    Memory (Avail/Total): Ph:55999M/65533M, Ph+PgF:183151M/193356M
    Fri Apr 12 19:13:26 2013
    Starting ORACLE instance (restrict)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 3
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =97
    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.4.0.
    System parameters with non-default values:
    processes = 800
    sessions = 885
    sga_max_size = 10737418240
    __shared_pool_size = 1325400064
    __large_pool_size = 16777216
    __java_pool_size = 16777216
    __streams_pool_size = 0
    sga_target = 8589934592
    control_files = G:\ORADATA\CONTROL01.CTL, G:\ORADATA\CONTROL02.CTL, G:\ORADATA\CONTROL03.CTL
    db_block_size = 8192
    __db_cache_size = 7214202880
    compatible = 10.2.0.3.0
    log_archive_config = DG_CONFIG=(orcl,stdby)
    log_archive_dest_1 = LOCATION=I:\archive_log VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=orcl
    log_archive_dest_2 = SERVICE=stdby NOAFFIRM ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=stdby
    log_archive_dest_state_1 = enable
    log_archive_max_processes= 30
    log_archive_format = ARC%D_%s_%R.%T
    fal_client = orcl
    fal_server = stdby
    db_file_multiblock_read_count= 16
    db_recovery_file_dest = D:\oracle\product\10.2.0\flash_recovery_area
    db_recovery_file_dest_size= 2147483648
    standby_file_management = AUTO
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 5400
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
    local_listener = (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.12.86)(PORT=1521))
    job_queue_processes = 10
    audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\ADUMP
    background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\BDUMP
    user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\UDUMP
    core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\CDUMP
    db_name = orcl
    open_cursors = 500
    pga_aggregate_target = 10737418240
    PMON started with pid=2, OS id=18668
    PSP0 started with pid=3, OS id=17668
    MMAN started with pid=4, OS id=16896
    DBW0 started with pid=5, OS id=18204
    DBW1 started with pid=6, OS id=16976
    LGWR started with pid=7, OS id=14552
    CKPT started with pid=8, OS id=4480
    SMON started with pid=9, OS id=10236
    RECO started with pid=10, OS id=11832
    CJQ0 started with pid=11, OS id=18844
    MMON started with pid=12, OS id=15320
    Fri Apr 12 19:13:27 2013
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    MMNL started with pid=13, OS id=14944
    Fri Apr 12 19:13:27 2013
    starting up 1 shared server(s) ...
    Fri Apr 12 19:13:27 2013
    alter database orcl mount exclusive
    Fri Apr 12 19:13:31 2013
    Setting recovery target incarnation to 2
    Fri Apr 12 19:13:31 2013
    Successful mount of redo thread 1, with mount id 1340305111
    Fri Apr 12 19:13:31 2013
    Allocated 15937344 bytes in shared pool for flashback generation buffer
    Starting background process RVWR
    RVWR started with pid=17, OS id=12880
    Fri Apr 12 19:13:31 2013
    Database mounted in Exclusive Mode
    Completed: alter database orcl mount exclusive
    Fri Apr 12 19:13:31 2013
    alter database open
    Fri Apr 12 19:13:31 2013
    Beginning crash recovery of 1 threads
    parallel recovery started with 15 processes
    Fri Apr 12 19:13:31 2013
    Started redo scan
    Fri Apr 12 19:13:31 2013
    Completed redo scan
    735 redo blocks read, 211 data blocks need recovery
    Fri Apr 12 19:13:31 2013
    Started redo application at
    Thread 1: logseq 117446, block 97761
    Fri Apr 12 19:13:31 2013
    Recovery of Online Redo Log: Thread 1 Group 10 Seq 117446 Reading mem 0
    Mem# 0: G:\ORADATA\REDO10A.LOG
    Mem# 1: H:\ORADATA\REDO10B.LOG
    Fri Apr 12 19:13:31 2013
    Completed redo application
    Fri Apr 12 19:13:32 2013
    Completed crash recovery at
    Thread 1: logseq 117446, block 98496, scn 7310601900
    211 data blocks read, 211 data blocks written, 735 redo blocks read
    Fri Apr 12 19:13:33 2013
    LGWR: STARTING ARCH PROCESSES
    ARC0 started with pid=33, OS id=18508
    ARC1 started with pid=34, OS id=14692
    ARC2 started with pid=35, OS id=17728
    ARC3 started with pid=36, OS id=12476
    ARC4 started with pid=37, OS id=19228
    ARC5 started with pid=38, OS id=11552
    ARC6 started with pid=39, OS id=7576
    ARC7 started with pid=40, OS id=6244
    ARC8 started with pid=41, OS id=18468
    ARC9 started with pid=42, OS id=18492
    ARCa started with pid=43, OS id=10352
    ARCb started with pid=44, OS id=15516
    ARCc started with pid=45, OS id=18216
    ARCd started with pid=46, OS id=5660
    ARCe started with pid=47, OS id=18756
    ARCf started with pid=48, OS id=17828
    ARCg started with pid=49, OS id=8696
    ARCh started with pid=50, OS id=17736
    ARCi started with pid=51, OS id=16736
    ARCj started with pid=52, OS id=13208
    ARCk started with pid=53, OS id=12012
    ARCl started with pid=54, OS id=19180
    ARCm started with pid=55, OS id=16632
    ARCn started with pid=56, OS id=17588
    ARCo started with pid=57, OS id=11948
    ARCp started with pid=58, OS id=18416
    ARCq started with pid=59, OS id=17888
    ARCr started with pid=60, OS id=2144
    ARCs started with pid=61, OS id=14392
    Fri Apr 12 19:13:33 2013
    ARC0: Archival started
    ARCt started with pid=62, OS id=19264
    Fri Apr 12 19:13:33 2013
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC4: Archival started
    ARC5: Archival started
    ARC6: Archival started
    ARC7: Archival started
    ARC8: Archival started
    ARC9: Archival started
    ARCa: Archival started
    ARCb: Archival started
    ARCc: Archival started
    ARCd: Archival started
    ARCe: Archival started
    ARCf: Archival started
    ARCg: Archival started
    ARCh: Archival started
    ARCi: Archival started
    ARCj: Archival started
    ARCk: Archival started
    ARCl: Archival started
    ARCm: Archival started
    ARCn: Archival started
    ARCo: Archival started
    ARCp: Archival started
    ARCq: Archival started
    ARCr: Archival started
    ARCs: Archival started
    ARCt: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    Fri Apr 12 19:13:33 2013
    Thread 1 advanced to log sequence 117447 (thread open)
    Thread 1 opened at log sequence 117447
    Current log# 8 seq# 117447 mem# 0: G:\ORADATA\REDO08A.LOG
    Current log# 8 seq# 117447 mem# 1: H:\ORADATA\REDO08B.LOG
    Successful open of redo thread 1
    Fri Apr 12 19:13:33 2013
    ARC3: Becoming the 'no FAL' ARCH
    Fri Apr 12 19:13:33 2013
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Fri Apr 12 19:13:33 2013
    ARC3: Becoming the 'no SRL' ARCH
    Fri Apr 12 19:13:33 2013
    ARCr: Becoming the heartbeat ARCH
    Fri Apr 12 19:13:33 2013
    SMON: enabling cache recovery
    Fri Apr 12 19:13:33 2013
    Successfully onlined Undo Tablespace 1.
    Fri Apr 12 19:13:33 2013
    SMON: enabling tx recovery
    Fri Apr 12 19:13:33 2013
    Database Characterset is WE8MSWIN1252
    Opening with internal Resource Manager plan
    where NUMA PG = 1, CPUs = 16
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    QMNC started with pid=63, OS id=14896
    Fri Apr 12 19:13:34 2013
    Completed: alter database open
    Fri Apr 12 19:13:34 2013
    ALTER SYSTEM disable restricted session;
    Fri Apr 12 19:13:35 2013
    Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_mmon_15320.trc:
    ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 99.56% used, and has 9486336 remaining bytes available.
    Fri Apr 12 19:13:35 2013
    You have following choices to free up space from flash recovery area:
    1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
    then consider changing RMAN ARCHIVELOG DELETION POLICY.
    2. Back up files to tertiary device such as tape using RMAN
    BACKUP RECOVERY AREA command.
    3. Add disk space and increase db_recovery_file_dest_size parameter to
    reflect the new space.
    4. Delete unnecessary files using RMAN DELETE command. If an operating
    system command was used to delete files, then use RMAN CROSSCHECK and
    DELETE EXPIRED commands.
    Fri Apr 12 19:13:36 2013
    Error 12514 received logging on to the standby
    Fri Apr 12 19:13:36 2013
    Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arc0_18508.trc:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    FAL[server, ARC0]: Error 12514 creating remote archivelog file 'stdby'
    FAL[server, ARC0]: FAL archive failed, see trace file.
    Fri Apr 12 19:13:36 2013
    Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arc0_18508.trc:
    ORA-16055: FAL request rejected
    ARCH: FAL archive failed. Archiver continuing
    Fri Apr 12 19:19:33 2013
    Error 12514 received logging on to the standby
    Fri Apr 12 19:19:33 2013
    Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
    Fri Apr 12 19:22:52 2013
    PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
    Fri Apr 12 20:09:34 2013
    Error 12514 received logging on to the standby
    Fri Apr 12 20:09:34 2013
    Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
    Fri Apr 12 20:13:50 2013
    Sat Apr 13 01:54:52 2013
    Error 12514 received logging on to the standby
    Sat Apr 13 01:54:52 2013
    Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
    Sat Apr 13 12:35:12 2013
    Error 12514 received logging on to the standby
    Sat Apr 13 12:35:12 2013
    Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
    Sat Apr 13 12:37:01 2013
    ALTER SYSTEM SET log_archive_dest_state_2='DEFER' SCOPE=MEMORY;
    Sat Apr 13 12:38:23 2013
    Unable to allocate flashback log of 1946 blocks from
    current recovery area of size 2147483648 bytes.
    Current Flashback database retention is less than target
    because of insufficient space in the flash recovery area.
    Flashback will continue to use available space, but the
    size of the flash recovery area must be increased to meet
    the Flashback database retention target
    Use ALTER SYSTEM SET db_recovery_file_dest_size command
    to add space. DO NOT manually remove flashback log files
    to create space.
    Sat Apr 13 12:38:41 2013
    ALTER SYSTEM SET db_recovery_file_dest_size='5G' SCOPE=MEMORY;
    Sat Apr 13 12:38:41 2013
    db_recovery_file_dest_size of 5120 MB is 39.82% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Sat Apr 13 15:42:21 2013
    ORA-01555 caused by SQL statement below (SQL ID: 2zb70pwz9p06q, Query Duration=1365847941 sec, SCN: 0x0001.b3c0f735):
    Sat Apr 13 15:42:21 2013
    SELECT * FROM RELATIONAL("ORISSA_TRANSACTION"."SELLER_BIOMETRICS_TBL")
    Sat Apr 13 15:48:37 2013
    Thread 1 advanced to log sequence 117452 (LGWR switch)
    Current log# 10 seq# 117452 mem# 0: G:\ORADATA\REDO10A.LOG
    Current log# 10 seq# 117452 mem# 1: H:\ORADATA\REDO10B.LOG
    Sat Apr 13 20:31:00 2013
    The value (30) of MAXTRANS parameter ignored.
    kupprdp: master process DM00 started with pid=31, OS id=16196
    to execute - SYS.KUPM$MCP.MAIN('SYS_EXPORT_SCHEMA_30', 'ORISSA_TRANSACTION', 'KUPC$C_1_20130413203100', 'KUPC$S_1_20130413203100', 0);
    kupprdp: worker process DW01 started with worker id=1, pid=66, OS id=16200
    to execute - SYS.KUPW$WORKER.MAIN('SYS_EXPORT_SCHEMA_30', 'ORISSA_TRANSACTION');
    Sun Apr 14 00:00:11 2013
    Thread 1 advanced to log sequence 117453 (LGWR switch)
    Current log# 8 seq# 117453 mem# 0: G:\ORADATA\REDO08A.LOG
    Current log# 8 seq# 117453 mem# 1: H:\ORADATA\REDO08B.LOG
    Sun Apr 14 00:00:52 2013
    Thread 1 advanced to log sequence 117454 (LGWR switch)
    Current log# 9 seq# 117454 mem# 0: G:\ORADATA\REDO09A.LOG
    Current log# 9 seq# 117454 mem# 1: H:\ORADATA\REDO09B.LOG

    like you show in the alert.log:
    PROBLEM
    Unable to allocate flashback log of 1946 blocks from
    current recovery area of size 2147483648 bytes.
    Current Flashback database retention is less than target
    because of insufficient space in the flash recovery area.
    Flashback will continue to use available space, but the
    size of the flash recovery area must be increased to meet
    the Flashback database retention target
    Use ALTER SYSTEM SET db_recovery_file_dest_size command
    to add space. DO NOT manually remove flashback log files
    to create space.
    SOLUTION
    Fri Apr 12 19:12:51 2013
    You have following choices to free up space from flash recovery area:
    1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
    then consider changing RMAN ARCHIVELOG DELETION POLICY.
    2. Back up files to tertiary device such as tape using RMAN
    BACKUP RECOVERY AREA command.
    3. Add disk space and increase db_recovery_file_dest_size parameter to
    reflect the new space.
    4. Delete unnecessary files using RMAN DELETE command. If an operating
    system command was used to delete files, then use RMAN CROSSCHECK and
    DELETE EXPIRED commands.
    ************************************************************************choose one and try again. Post if you have more issues.

  • How clusterware restarts on automatically after server reboot in 11g R2

    Hi,
    I would like to know how the cluster restarts on automatically after the server reboot in 11g R2 RAC . The oracle restart feature in 11g R2 help to restart the components like databases, ASM in case of abnormal failure. But how the clusterware starts on own after the server reboot? can you share any documents or notes is really appreciated.
    Thanks,
    Robin.

    At Grid Infrastructure installation time system configuration is modified so that UNIX init daemon restarts OHASD: http://docs.oracle.com/cd/E11882_01/rac.112/e16794/intro.htm#BABIDEFI. For example with Oracle Linux 5 and Oracle RAC 11.2.0.1 you have following line in /etc/inittab:
    h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/nulland:
    [root@rac1 ~]# head /etc/init.d/init.ohasd
    #!/bin/sh
    # Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
    # init.ohasd - Control script for the Oracle HA services daemon
    # This script is invoked by the init system
    ORA_CRS_HOME=/u01/app/11.2.0/grid
    export ORA_CRS_HOMEEdited by: P. Forstmann on 11 févr. 2013 18:45

  • Cube Databases Are Deleted with Server Reboot

    We have deployed two small cubes in our SQL 2012 SSAS environment running on Windows Server 2012.  Every time the server is rebooted, the cube databases are deleted.  The database files deleted are in the default directory.  We have added
    exclusions for these directories in the AV software running on the server.  We even added NetStop commands to stop the SSAS, SQL Agent and SQL Server services before the reboot occurs to make sure SQL Server is stopped before reboot.  Has anyone
    encountered this?  If so, do you have a fix for this issue?
    Thanks in advance for your assistance.

    Hi Jbud55,
    In your description, you said that the SQL Server Analysis Services cubes were deleted after the server reboot, right? We cannot reproduce this issue in our local environment. In order to narrow down this issue, please apply the latest Cumulative Update
    and Services Pack.
    Besides, does this issue occur when you restart the services manually? As per my understanding, the issue can be caused by the server reboot. Are there any error message on the log? Under C:\Program Files\Microsoft SQL Server\MSAS11.\OLAP\Log (this could
    be different for your server), there are 3 log files that are generated:
    msmdrrv.log
    FlightRecorderCurrent.trc
    FightRecorderBack.trc
    The msmdrrv.log simply points to the other two logs. There might be some detail information for this error.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • How to let database(10.2) auto startup when linux reboot?

    Hi all,
    I installed oracle database 10.2 in linux (x86),and created a database.
    I can startup the database manually. But database can not be started up automatic when linux starts up.
    How to let database startup automatic when OS starts up?
    the details shell scripts for auto startup would be appreciated!
    Thanks

    I don't know LINUX but I know Solaris. In Solaris, you have a startup and shutdown script in $ORACLE_HOME/bin. Setting the field to Y in oratab means you startup/shutdown the instance when executing the scripts. However, it does not mean the startup script will be
    executed upon reboot. In solaris, we place a script in /etc/rc3.d. Then the script will be executed upon reboot. Guess you have similar features in Linux.

  • Node Manager not starting servicess after server reboot

    We have WLS 10.1.3.5 with IDM/OAM(two domains in same server as its TEST environment) on Oracle Linux 5(64bit),when ever server reboots node manger is not starting managed servers.
    I have enabled CrashRecoveryEnabled=true
    Here is nodemanager.properties.
    [oracle@oam nodemanager]$ cat nodemanager.properties
    #Changed NM Listen Port
    #Tue Mar 05 03:12:20 IST 2013
    DomainsFile=/u01/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.domains
    LogLimit=0
    DomainsDirRemoteSharingEnabled=false
    PropertiesVersion=10.3
    AuthenticationEnabled=true
    NodeManagerHome=/u01/Oracle/Middleware/wlserver_10.3/common/nodemanager
    javaHome=/u01/Oracle/Middleware/jdk160_24
    JavaHome=/u01/Oracle/Middleware/jdk160_24/jre
    LogLevel=INFO
    DomainsFileEnabled=true
    StartScriptName=startWebLogic.sh
    ListenAddress=
    NativeVersionEnabled=true
    ListenPort=5556
    LogToStderr=true
    SecureListener=false
    LogCount=1
    StopScriptEnabled=false
    DomainRegistrationEnabled=false
    QuitEnabled=false
    LogAppend=true
    StateCheckInterval=500
    CrashRecoveryEnabled=true
    StartScriptEnabled=true
    LogFile=/u01/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.log
    LogFormatter=weblogic.nodemanager.server.LogFormatter
    ListenBacklog=50
    here is my domain information in server.
    =========================
    [oracle@oam nodemanager]$ cat nodemanager.domains
    #Domains and directories created by Configuration Wizard
    #Tue Mar 05 05:24:37 IST 2013
    OAMDomain=/u01/Oracle/Middleware/user_projects/domains/OAMDomain
    IDMDomain=/u01/Oracle/Middleware/user_projects/domains/IDMDomain

    Hi,
    Entries in nodemanager.properties looks fine, but how are you testing this functionality?
    If you will stop servers monitored by nodemanager, stop nodemanager and then reboot physical server, on startup if nodemanager is configured as daemon it will start nm process but will do nothing to managed server process.
    To test "CrashRecoveryEnabled=true" kill the managed server pid and then stop/kill nodemanager process. Then perform physical server reboot, now if nm is configured as daemon process server reboot will start nodemanager. Once NM is up first thing it check is the server it was monitoring earlier and if under directory $WL_HOME/servers/<server>/data/nodemanager it finds "pid" and "lck" file it checks if that pid exists and if not then go for a restart of weblogic server instance.
    This has worked for me...!
    Thanks,
    Ranjan
    http://www.middlewaresupport.wordpress.com

  • Unable to bring up crs on rac node 2 after server reboot

    Hi,
    We have a 2 node rac architecture. We are only able to bring up Node 1 on the cluster, whereas node 2 is failing. Here are some points::
    1. After the server reboot, node 2 crs crs/resources weren't starting up apart from OHAS.
    2. We again stopped both the CRS and tried bringing up CRS on node 2 initially and succeeded. But now node 1 wasn't coming up.
    3. Again brought down both nodes' CRS and tried bringing up CRS on node1 and succeded but asm wasn't showing the Diskgroups. So we changed pfile to include asm_diskstring from ORCL* to /dev/oracleasm/disks and we could lsdg in asm now.So started all the instances from node 1 now. Apart from this, again node 2 CRS wasn't starting. From alertlog I saw "CRS-1714:Unable to discover any voting files, retrying discovery in 15 seconds;". But we were able to query voting disks initially. What has gone wrong now??
    ./crsctl status res -t -init
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Cluster Resources
    ora.asm
          1        OFFLINE OFFLINE
    ora.cluster_interconnect.haip
          1        ONLINE  OFFLINE
    ora.crf
          1        ONLINE  ONLINE       kusmnd0r
    ora.crsd
          1        ONLINE  OFFLINE
    ora.cssd
          1        ONLINE  OFFLINE                               STARTING
    ora.cssdmonitor
          1        ONLINE  ONLINE       kusmnd0r
    ora.ctssd
          1        ONLINE  OFFLINE
    ora.diskmon
          1        OFFLINE OFFLINE
    ora.evmd
          1        ONLINE  OFFLINE
    ora.gipcd
          1        ONLINE  ONLINE       kusmnd0r
    ora.gpnpd
          1        ONLINE  ONLINE       kusmnd0r
    ora.mdnsd
          1        ONLINE  ONLINE       kusmnd0r
    This is the history of activitites. Kindly someone throw light on this please.
    Thanks,
    Anirban.

    It is on a raw device.
    Healthy node::
    ls -ltrh /dev/vote*
    brw-rw---- 1 crsdwqa dbadwqa 120, 1057 Nov  6 11:32 /dev/vote3
    brw-rw---- 1 crsdwqa dbadwqa 120, 1025 Nov  6 11:32 /dev/vote1
    brw-rw---- 1 crsdwqa dbadwqa 120, 1041 Nov  6 11:32 /dev/vote2
    Affected Node::
    ls -ltrh /dev/vote*
    brw-rw-r-- 1 crsdwqa dbadwqa 120, 1025 Nov  4 12:06 /dev/vote1
    brw-rw-r-- 1 crsdwqa dbadwqa 120, 1041 Nov  4 12:06 /dev/vote2
    brw-rw-r-- 1 crsdwqa dbadwqa 120, 1057 Nov  5 04:42 /dev/vote3
    Regards,
    Anirban.

Maybe you are looking for