Health Checkup Script for 10g R2

Hi,
Is there any health checkup script for 10.2.0.1 Instance?

Hi,
thanks i have seen
SCRIPT TO PROVIDE DATABASE PERFORMANCE HEALTHCHECK and RECOMMENDATIONS
Doc ID: Note:1019592.6
the abvoe script is for 7.x - 9.2.x
I just want to know, is there any script like that for 10.2.x instances

Similar Messages

  • Accidentally killed dbstart script for 10g

    I altered the dbstart script which a modification that was supposed to be for 8i, so it's ruined...
    Can someone please just open up their dbstart script (for 10g) with emacs or some editor and paste it here? I would greatly appreciate it. Thanks

    nope...I don't have a backup. I just installed it and was editing it for automatic start and stop, but I was following instructions for 8i and some things are no longer supported in 10g. Can someone open up their 10g dbstart and paste it here?

  • 10g Install Scripts for OS X

    Does anyone have a set of GOOD install scripts for 10g on OS X? I'm in the process of TRYING to install it and am moving incredibly slow. I've spent 99% of my time editing their files just to change the paths for various UNIX commands and scripts.
    Thanx,
    Fred

    While I don't have any install scripts per se, you may want to check out the Oracle 10g Installation Errata Information and Tools page ( see http://www.crispdata.com/oracle_osx/ ), posted by Crisp Data Solutions.
    This site lists some tips for installing Oracle 10g on Mac OS X.
    -- DekuDeku

  • Rman dataguard script for oracle10g

    Dear Friends ,
    I am going to configure oracle10g dataguard on oracle wnterprise linux  5.0 . I am trying to do this configuration
    using RMAN .
      After succesfully configuration of the PRIMARY End as well as I am going to configure standby end .
    n the standby end I have to run the below rman script and got the syntax error :
    [oracle@server dbs]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Apr 29 12:59:01 2012
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup nomount pfile=initstan.ora
    ORACLE instance started.
    Total System Global Area  217157632 bytes
    Fixed Size                  2211928 bytes
    Variable Size             159387560 bytes
    Database Buffers           50331648 bytes
    Redo Buffers                5226496 bytes
    SQL>
    6) Run RMAN and connect to the Standby database and make an auxiliary connection to the Primary database like below :
    bash-3.2$ rman target sys@prim
    Recovery Manager: Release 11.2.0.3.0 - Production on Fri Mar 24 10:54:37 2000
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    connected to target database:PRIM (DBID=1247570709)
    RMAN> connect auxiliary sys/sys123@stan
    connected to auxiliary database: STAN (not mounted)
    RMAN
    run {
          allocate channel prmy1 type disk;
      allocate channel prmy2 type disk;
      allocate channel prmy3 type disk;
      allocate channel prmy4 type disk;
            allocate channel prmy5 type disk;
      allocate auxiliary channel stby type disk;
      duplicate target database for standby from active database
      spfile
      parameter_value_convert 'prim','stan'
      set db_unique_name='prim'
      set db_file_name_convert='/u01/app/oracle/oradata/prim/','/u01/app/oracle/oradata/stan/'
      set log_file_name_convert='/u01/app/oracle/oradata/prim/','/u01/app/oracle/oradata/stan/'
      set control_files='/u01/app/oracle/oradata/stan/control01.ctl','/u01/app/oracle/oradata/stan/control02.ctl','/u01/app/oracle/oradata/stan/control03.ctl'
      set log_archive_max_processes='5'
      set fal_client='stan'
      set fal_server='prim'
      set standby_file_management='AUTO'
      set log_archive_config='dg_config=(prim,stan)'
      set log_archive_dest_2='service=prim  ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=prim'
      NOFILENAMECHECK
    Each and every time when I run the above script  got the below error :
    RMAN> 2> 3> 4> 5> 6> 7> 8>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "from": expecting one of: "dorecover, db_file_name_convert, nofilenamecheck, ;"
    RMAN-01007: at line 9 column 39 file: standard input
    RMAN>
    RMAN>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, connect, copy, convert, create, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flashback, host, {, library, list, mount, open, print, quit, recover, register, release, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, set, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport, upgrade, unregister, validate"
    RMAN-01008: the bad identifier was: parameter_value_convert
    RMAN-01007: at line 2 column 1 file: standard input
    Does anybody please correct the above script for 10g or if there any document for configuring oracle10g dataguard
    using RMAN , then please help me .
    Thx in advance .. ..

    shipon_97 wrote:
    Dear Friends ,
    I am going to configure oracle10g dataguard on oracle wnterprise linux  5.0 . I am trying to do this configuration
    using RMAN .
      After succesfully configuration of the PRIMARY End as well as I am going to configure standby end .
    n the standby end I have to run the below rman script and got the syntax error :
    You cannot use FROM ACTIVE DATABASE - option, If your database version is 10g .
    Regards
    Mahir M. Quluzade

  • Shell script for batch compilation of forms 10g on AIX 5.3L AS

    Hi All,
    Can anybody provide me the Shell script for batch compilation of forms 10g and reports 10g on AIX 5.3L AS?
    Regards,
    SAM

    Hi Alex,
    I tried with the below script as well as the one you had posted.
    ORACLE_HOME=/opt/oracle/OraHome_3
    export ORACLE_HOME
    TNS_ADMIN=$ORACLE_HOME/network/admin
    export TNS_ADMIN
    LIBPATH=$ORACLE_HOME/lib32:$ORACLE_HOME/jdk/jre/bin:$ORACLE_HOME/jdk/jre/bin/cla
    ssic:$LIBPATH
    export LIBPATH
    cd ../forms
    for i in `ls *.pll`
    do
    echo Compiling Library $i ....
    $ORACLE_HOME/bin/frmcmp module=$i userid=mydbuser/mydbuser@mydb
    batch=yes module_type=library
    compile_all=yes window_state=minimize
    done
    export ORACLE_HOME=/opt/oracle/OraHome_3
    export ORACLE_TERM=vt220
    export LD_LIBRARY_PATH=/opt/oracle/OraHome_3/lib:/opt/oracle/OraHome_3/jdk/jre/l
    ib:/opt/oracle/OraHome_3/jdk/jre/lib/i386:
    cd ../forms
    for i in `ls *.pll`
    do
    echo "Compiling Library $i ...."
    /opt/oracle/OraHome_3/bin/frmcmp module_type=form userid=mydbuser/mydbuser@mydb
    module=$i batch=yes compile_all=no
    window_state=minimize upgrade=no
    done
    echo "PLL Compilation done"
    But there was a same kind of error thst turning up all the time.
    Compiling Library Agf.pll ....
    Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
    Forms 10.1 (Form Compiler): Release - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE 10.1.0.4.0 Production
    FRM-10043: Cannot open file.
    Form not created
    I hence updated the permissions on the pll as below
    -rwxrwxrwx 1 oracle oinstall 335872 May 19 16:31 Agf.pll
    But the problem is still persisting.
    My environment details are as below.
    I am working on Win XP machine. Connected to my AS via telnet and xmanager. I have set my DISPLAY to my local IP.
    Is there any thing more that I need to do? If so then let me know.
    Regards,
    SAM

  • DB Health Check Scripts

    Hi all,
    Oracle 9i, 10g, 11g
    Can you share me your "health check" scripts which you have used in your PROD database and is proven to help you in carrying out your desired tasks being a good DBA :)
    Does AWR be able to generate health check report?
    Thanks a lot,
    Kinz

    KinsaKaUy? wrote:
    Thanks sb,
    http://www.orafaq.com/wiki/Scripts
    Wow this one site is complete, But it will take years for me to read all these. And I dont know if this is for 8i, 9i, 10g, or 11g.
    Can you tell me which of these scripts will list the Top 10 most resource consumers queries? in terms (CPU,Memory,I/O).If you enable SQL_TRACE prior to launching AWR report, then you capture EVERY SQL statement to build the report.
    You could easily observe the answer to your question if you were only willing to actually did some lilttle work instead of asking to be spoon fed.

  • Database health checkup

    Hi,
    How do we do a database health checkup?
    What are the things we need to take care of?
    Database version: 10.2.0.4
    OS: Solaris 10

    Teymur Hajiyev wrote:
    Chinar wrote:
    user13364377 wrote:
    Other than taking AWR or snapshot reports, how do we check the database health?There is good way is using AWR,other than i do not know,but in 11g introduced dbms_hm can be use for this but it is not available in 10g.
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_hm.htm
    For Health monitor as additional: http://dba.az/index.php?option=com_content&view=article&id=61
    Yes of course i know that(using dbms_hm) ;-) good article.

  • Unable to start Oracle Reports Server for 10g version 10.1.2.3.0

    Attention Oracle Reports Team or anyone else:
    I am unable to start the Oracle Reports Server for 10g version 10.1.2.3.0 of the Application Server.
    I have included the trace files see below. I marked the text in bold that might indicate the issues.
    Any help will be greatly appreciated. Thank you.
    Reports engine rwEng trace file:+
    [2010/7/8 10:11:51:626] Debug 50103 (RWEngine:init): args[0]=name=rwEng-0
    [2010/7/8 10:11:51:627] Debug 50103 (RWEngine:init): args[1]=server=myreportserver
    [2010/7/8 10:11:51:627] Debug 50103 (RWEngine:init): args[2]=ORACLE_HOME=/myoraclehomepath
    [2010/7/8 10:11:51:627] Debug 50103 (RWEngine:init): args[3]=engineimplclass=oracle.reports.engine.EngineImpl
    [2010/7/8 10:11:51:627] Debug 50103 (RWEngine:init): args[4]=traceopts=trace_all
    [2010/7/8 10:11:51:628] Debug 50103 (RWEngine:init): args[5]=tracefile=/myoraclehomepath/reports/logs/rwEng-0.trc
    [2010/7/8 10:11:51:628] Debug 50103 (RWEngine:init): args[6]=tracemode=trace_append
    [2010/7/8 10:11:51:628] Debug 50103 (RWEngine:init): args[7]=cacheDir=/myoraclehomepath/reports/cache
    [2010/7/8 10:11:51:628] Debug 50103 (RWEngine:init): args[8]=server_ior="/tmp/myreportserver_xxxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:11:51:678] Info 50128 (RWEngine:init): orb init succeeded
    [2010/7/8 10:11:52:108] Info 55007 (EngineImpl:loadLibrary): Load librw.so succeeded
    [2010/7/8 10:11:52:108] Debug 50103 (EngineImpl:init): useDataCache = null
    [2010/7/8 10:11:52:108] Debug 50103 (EngineImpl:init): ignoreDataParameter = null
    [2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): start CInitEngine()
    [2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): commandline[0] = rw
    [2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): commandline[1] = ora_rw20_3tng
    [2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): commandline[2] = myreportserver
    [2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): commandline[3] = /myoraclehomepath/reports/cache
    [2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[4] = null
    [2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[5] = null
    [2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[6] = trace_all
    [2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[7] = /myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
    [2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[8] = trace_append
    [2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[9] = null
    [2010/7/8 10:11:52:117] Debug 50103 (EngineImpl:EngineImpl): commandline[10] = null
    [2010/7/8 10:11:52:117] Debug 50103 (EngineImpl:EngineImpl): commandline[11] = null
    *[2010/7/8 10:11:58:329] Error 50103 (C Engine): 10:11:58 ERR REP-3000: Internal error starting Oracle Toolkit.*
    *[2010/7/8 10:11:58:329] Error 50103 (C Engine): 10:11:58 ERR REP-3000: Internal error starting Oracle Toolkit.*
    [2010/7/8 10:11:58:330] (C Engine)
    [2010/7/8 10:11:58:330] (C Engine)
                   | Reports Builder Profiler statistics |
    [2010/7/8 10:11:58:330] (C Engine)
    [2010/7/8 10:11:58:330] (C Engine)
    TOTAL ELAPSED Time: 6.06 seconds
    [2010/7/8 10:11:58:331] (C Engine)
    Reports Time: 6.06 seconds
    [2010/7/8 10:11:58:331] (C Engine) (100.00% of TOTAL)
    [2010/7/8 10:11:58:331] (C Engine)
    ORACLE Time: 0.00 seconds
    [2010/7/8 10:11:58:331] (C Engine) ( 0.00% of TOTAL)
    [2010/7/8 10:11:58:331] (C Engine)
    UPI: 0.00 seconds
    [2010/7/8 10:11:58:332] (C Engine)
    SQL: 0.00 seconds
    [2010/7/8 10:11:58:332] (C Engine)
    TOTAL CPU Time used by process: 1.08 seconds
    [2010/7/8 10:11:58:340] Debug 50103 (EngineImpl:EngineImpl): CInitEngine returns 3000
    [2010/7/8 10:11:59:129] Debug 50103 (RWEngine:init): args[0]=name=rwEng-0
    [2010/7/8 10:11:59:130] Debug 50103 (RWEngine:init): args[1]=server=myreportserver
    [2010/7/8 10:11:59:130] Debug 50103 (RWEngine:init): args[2]=ORACLE_HOME=/myoraclehomepath
    [2010/7/8 10:11:59:130] Debug 50103 (RWEngine:init): args[3]=engineimplclass=oracle.reports.engine.EngineImpl
    [2010/7/8 10:11:59:130] Debug 50103 (RWEngine:init): args[4]=traceopts=trace_all
    [2010/7/8 10:11:59:131] Debug 50103 (RWEngine:init): args[5]=tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
    [2010/7/8 10:11:59:131] Debug 50103 (RWEngine:init): args[6]=tracemode=trace_append
    [2010/7/8 10:11:59:131] Debug 50103 (RWEngine:init): args[7]=cacheDir=/myoraclehomepath/reports/cache
    [2010/7/8 10:11:59:131] Debug 50103 (RWEngine:init): args[8]=server_ior="/tmp/myreportserver_xxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:11:59:179] Info 50128 (RWEngine:init): orb init succeeded
    [2010/7/8 10:11:59:593] Info 55007 (EngineImpl:loadLibrary): Load librw.so succeeded
    [2010/7/8 10:11:59:593] Debug 50103 (EngineImpl:init): useDataCache = null
    [2010/7/8 10:11:59:594] Debug 50103 (EngineImpl:init): ignoreDataParameter = null
    [2010/7/8 10:11:59:597] Debug 50103 (EngineImpl:EngineImpl): start CInitEngine()
    [2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[0] = rw
    [2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[1] = ora_rw20_3tng
    [2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[2] = myreportserver
    [2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[3] = /myoraclehomepath/reports/cache
    [2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[4] = null
    [2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[5] = null
    [2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[6] = trace_all
    [2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[7] = /myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
    [2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[8] = trace_append
    [2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[9] = null
    [2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[10] = null
    [2010/7/8 10:11:59:600] Debug 50103 (EngineImpl:EngineImpl): commandline[11] = null
    *[2010/7/8 10:12:5:757] Error 50103 (C Engine): 10:12:05 ERR REP-3000: Internal error starting Oracle Toolkit.*
    *[2010/7/8 10:12:5:758] Error 50103 (C Engine): 10:12:05 ERR REP-3000: Internal error starting Oracle Toolkit.*
    [2010/7/8 10:12:5:758] (C Engine)
    [2010/7/8 10:12:5:758] (C Engine)
                   | Reports Builder Profiler statistics |
    [2010/7/8 10:12:5:758] (C Engine)
    [2010/7/8 10:12:5:759] (C Engine)
    TOTAL ELAPSED Time: 6.06 seconds
    [2010/7/8 10:12:5:759] (C Engine)
    Reports Time: 6.06 seconds
    [2010/7/8 10:12:5:759] (C Engine) (100.00% of TOTAL)
    [2010/7/8 10:12:5:759] (C Engine)
    ORACLE Time: 0.00 seconds
    [2010/7/8 10:12:5:760] (C Engine) ( 0.00% of TOTAL)
    [2010/7/8 10:12:5:760] (C Engine)
    UPI: 0.00 seconds
    [2010/7/8 10:12:5:760] (C Engine)
    SQL: 0.00 seconds
    [2010/7/8 10:12:5:760] (C Engine)
    TOTAL CPU Time used by process: 1.01 seconds
    [2010/7/8 10:12:5:769] Debug 50103 (EngineImpl:EngineImpl): CInitEngine returns 3000
    [2010/7/8 10:12:6:475] Debug 50103 (RWEngine:init): args[0]=name=rwEng-0
    [2010/7/8 10:12:6:475] Debug 50103 (RWEngine:init): args[1]=server=myreportserver
    [2010/7/8 10:12:6:475] Debug 50103 (RWEngine:init): args[2]=ORACLE_HOME=/myoraclehomepath
    [2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[3]=engineimplclass=oracle.reports.engine.EngineImpl
    [2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[4]=traceopts=trace_all
    [2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[5]=tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
    [2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[6]=tracemode=trace_append
    [2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[7]=cacheDir=/myoraclehomepath/reports/cache
    [2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[8]=server_ior="/tmp/myreportserver_xxxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:12:6:523] Info 50128 (RWEngine:init): orb init succeeded
    [2010/7/8 10:12:6:942] Info 55007 (EngineImpl:loadLibrary): Load librw.so succeeded
    [2010/7/8 10:12:6:942] Debug 50103 (EngineImpl:init): useDataCache = null
    [2010/7/8 10:12:6:942] Debug 50103 (EngineImpl:init): ignoreDataParameter = null
    [2010/7/8 10:12:6:946] Debug 50103 (EngineImpl:EngineImpl): start CInitEngine()
    [2010/7/8 10:12:6:946] Debug 50103 (EngineImpl:EngineImpl): commandline[0] = rw
    [2010/7/8 10:12:6:946] Debug 50103 (EngineImpl:EngineImpl): commandline[1] = ora_rw20_3tng
    [2010/7/8 10:12:6:946] Debug 50103 (EngineImpl:EngineImpl): commandline[2] = myreportserver
    [2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[3] = /myoraclehomepath/reports/cache
    [2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[4] = null
    [2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[5] = null
    [2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[6] = trace_all
    [2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[7] = /myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
    [2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[8] = trace_append
    [2010/7/8 10:12:6:948] Debug 50103 (EngineImpl:EngineImpl): commandline[9] = null
    [2010/7/8 10:12:6:948] Debug 50103 (EngineImpl:EngineImpl): commandline[10] = null
    [2010/7/8 10:12:6:948] Debug 50103 (EngineImpl:EngineImpl): commandline[11] = null
    *[2010/7/8 10:12:13:91] Error 50103 (C Engine): 10:12:13 ERR REP-3000: Internal error starting Oracle Toolkit.*
    *[2010/7/8 10:12:13:91] Error 50103 (C Engine): 10:12:13 ERR REP-3000: Internal error starting Oracle Toolkit.*
    [2010/7/8 10:12:13:91] (C Engine)
    [2010/7/8 10:12:13:92] (C Engine)
                   | Reports Builder Profiler statistics |
    [2010/7/8 10:12:13:92] (C Engine)
    [2010/7/8 10:12:13:92] (C Engine)
    TOTAL ELAPSED Time: 6.05 seconds
    [2010/7/8 10:12:13:92] (C Engine)
    Reports Time: 6.05 seconds
    [2010/7/8 10:12:13:92] (C Engine) (100.00% of TOTAL)
    [2010/7/8 10:12:13:93] (C Engine)
    ORACLE Time: 0.00 seconds
    [2010/7/8 10:12:13:93] (C Engine) ( 0.00% of TOTAL)
    [2010/7/8 10:12:13:93] (C Engine)
    UPI: 0.00 seconds
    [2010/7/8 10:12:13:93] (C Engine)
    SQL: 0.00 seconds
    [2010/7/8 10:12:13:93] (C Engine)
    TOTAL CPU Time used by process: 1.02 seconds
    *[2010/7/8 10:12:13:102] Debug 50103 (EngineImpl:EngineImpl): CInitEngine returns 3000*
    reports engine rwURLEng trace file:+
    *** 2010/7/8 10:11:47:306 -- Reading server config file /myoraclehomepath/reports/conf/myreportserver.conf
    *** 2010/7/8 10:11:47:307 -- <server version="10.1.2.3.0">
    <cache class="oracle.reports.cache.RWCache">
    <property name="cacheSize" value="50"/>
    <!--property name="cacheDir" value="your cache directory"/-->
    <!--property name="maxCacheFileNumber" value="max number of cache files"/-->
    <!--property name="ignoreParameters" value="parameter names to be ignored in constructing cache key, separated by comma ','"/-->
    </cache>
    <!--Please do not change the id for reports engine.-->
    <!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="4" minEngine="1" engLife="50" maxIdle="30" callbackTimeOut="90000">
    <!--property name="sourceDir" value="your reports source directory"/-->
    <!--property name="tempDir" value="your reports temp directory"/-->
    </engine>
    <engine id="rwURLEng" class="oracle.reports.urlengine.URLEngineImpl" initEngine="1" maxEngine="4" minEngine="1" engLife="50" maxIdle="30" callbackTimeOut="90000"/>
    <!--security id="rwSec" class="oracle.reports.server.RWSecurity">
    <property name="securityUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    <property name="oidEntity" value="reportsApp_myhostname_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"/>
    </security-->
    <!--destination destype="oraclePortal" class="oracle.reports.server.DesOraclePortal">
    <property name="portalUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    </destination-->
    <destination destype="ftp" class="oracle.reports.plugin.destination.ftp.DesFTP">
    <!--property name="proxy" value="proxyinfo.xml"/-->
    </destination>
    <destination destype="WebDav" class="oracle.reports.plugin.destination.webdav.DesWebDAV">
    <!--property name="proxy" value="proxyinfo.xml"/-->
    </destination>
    <!-- By default server will use rwnetwork.conf as network config file
    Use this element to override the same -->
    <!--networkConfig file="rwnetwork.conf"></networkConfig-->
    <job jobType="report" engineId="rwEng" securityId="rwSec"/>
    <job jobType="rwurl" engineId="rwURLEng" securityId="rwSec"/>
    <notification id="mailNotify" class="oracle.reports.server.MailNotify">
    <property name="succnotefile" value="succnote.txt"/>
    <property name="failnotefile" value="failnote.txt"/>
    </notification>
    <!--notification id="wfNotify" class="oracle.reports.server.WorkflowNotify">
    <property name="connStr" value="%WF_DB_USERNAME%/%WF_DB_PASSWORD%@%WF_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    </notification-->
    <log option="noJob"/>
    <!--jobStatusRepository class="oracle.reports.server.JobRepositoryDB">
    <property name="repositoryConn" value="repo_db_username/repo_db_password@repo_db_tnsname" confidential="yes" encrypted="no"/>
    </jobStatusRepository-->
    <trace traceOpts="trace_all" traceMode="trace_append"/>
    <connection maxConnect="20" idleTimeOut="15">
    <orbClient id="RWClient" publicKeyFile="clientpub.key"/>
    </connection>
    <queue maxQueueSize="1000"/>
    <!--jobRecovery auxDatFiles="yes"/-->
    <!--
    The value of the 'identifier' element is encrypted and is of the form SERVERACCESSKEY_USER/SERVERACCESSKEY_PASSWORD
    SERVERACCESSKEY_USER and SERVERACCESSKEY_PASSWORD in <server>.conf and targets.xml
    file should match for Reports EM pages to display data correctly.
    Corresponding entries of username and password in targets.xml:
    <Property NAME="Password" VALUE="SERVERACCESSKEY_PASSWORD" ENCRYPTED="FALSE"/>
    <Property NAME="UserName" VALUE="SERVERACCESSKEY_USER" ENCRYPTED="FALSE"/>
    -->
    <!--pluginParam name="mailServer">stmail.oracle.com</pluginParam-->
    <!--pluginParam name="proxy" type="file">proxyinfo.xml</pluginParam-->
    <pluginParam name="xmlpds" type="file">xmlpds.conf</pluginParam>
    <pluginParam name="jdbcpds" type="file">jdbcpds.conf</pluginParam>
    <pluginParam name="textpds" type="file">textpds.conf</pluginParam>
    </server>
    *** 2010/7/8 10:11:47:308 -- Reports Server is starting up
    *** 2010/7/8 10:11:51:982 -- Reports Server started up engine rwURLEng-0
    *** *2010/7/8 10:12:13:175 -- Shutting down engine rwURLEng-0*
    *** *2010/7/8 10:12:13:177 -- Reports Server shut down engine rwURLEng-0*
    *** 2010/7/8 10:12:13:178 -- Server is shutting down
    Why does the rwURLEng engine start up and then immediately shut down?+
    reports server trace file:+
    [2010/7/8 10:11:47:276] Debug 50103 (EnvironmentUtility:getEnvironment): XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
    [2010/7/8 10:11:47:277] Debug 50103 (EnvironmentUtility:getEnvironment): NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
    [2010/7/8 10:11:47:277] Debug 50103 (EnvironmentUtility:getEnvironment): DEBUG_SLFIND=/myapppath/log/mydebuglogfile.log
    [2010/7/8 10:11:47:277] Debug 50103 (EnvironmentUtility:getEnvironment): DISPLAY=myhostname:0.0
    [2010/7/8 10:11:47:277] Debug 50103 (EnvironmentUtility:getEnvironment): LD_LIBRARY_PATH=/myoraclehomepath/jdk/jre/lib/sparc:/myoraclehomepath/lib:/myoraclehomepath/opmn/lib:/myoraclehomepath/lib32
    [2010/7/8 10:11:47:278] Debug 50103 (EnvironmentUtility:getEnvironment): NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    [2010/7/8 10:11:47:278] Debug 50103 (EnvironmentUtility:getEnvironment): ORACLE_CONFIG_HOME=/myoraclehomepath
    [2010/7/8 10:11:47:278] Debug 50103 (EnvironmentUtility:getEnvironment): ORACLE_HOME=/myoraclehomepath
    [2010/7/8 10:11:47:278] Debug 50103 (EnvironmentUtility:getEnvironment): ORA_NLS33=/myoraclehomepath/ocommon/nls/admin/data
    [2010/7/8 10:11:47:283] Debug 50103 (EnvironmentUtility:getEnvironment): PATH=/myoraclehomepath/jdk/bin:/myoraclehomepath/bin:/myoraclehomepath/jdk/bin:/myoraclehomepath/bin:/myoraclehomepath/dcm/bin:/myoraclehomepath/bin:/myoraclehomepath/Apache/Apache/bin:/myoraclehomepath/opmn/bin:/myoraclehomepath/dcm/bin:/bin:/usr/bin:/etc:/usr/ccs/bin:/usr/local/bin:/usr/ucb:/usr/sbin:/export/home/oracle:/usr/bin:/bin
    [2010/7/8 10:11:47:283] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_CLASSPATH=/myoraclehomepath/reports/jlib/rwbuilder.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar:/myoraclehomepath/j2ee/home/oc4j.jar:/myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/oraclebarcode.jar
    [2010/7/8 10:11:47:283] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_DEFAULT_DISPLAY=NO
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_NO_DUMMY_PRINTER=TRUE
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_PATH=/myapppath/bin:/myapppath/util/bin:/myoraclehomepath/guicommon/tk/admin/TTF:/myoraclehomepath/reports/templates:/myoraclehomepath/reports/samples/demo:/myoraclehomepath/reports/integ:/myoraclehomepath/reports/printers
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_TMP=/tmp
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): RW=/myoraclehomepath/reports
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): SHELL=/usr/bin/ksh
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): TK_DEBUG_POSTSCRIPT=Func/L/Mem
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): TK_ICON=/myoraclehomepath/reports/plugins/resource
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): TMP=/tmp
    [2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): TNS_ADMIN=/myapppath
    [2010/7/8 10:11:47:285] Debug 50103 (EnvironmentUtility:getEnvironment): TZ=US/Eastern
    [2010/7/8 10:11:47:285] Debug 50103 (EnvironmentUtility:getEnvironment): X_LD_LIBRARY_PATH_64=/myoraclehomepath/lib
    [2010/7/8 10:11:47:285] Debug 50103 (EnvironmentUtility:getEnvironment): NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    [2010/7/8 10:11:47:285] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_TMP=/tmp
    [2010/7/8 10:11:47:308] Info 56025 (RWServer:startServer): Reports Server is starting up
    [2010/7/8 10:11:47:503] Debug 50103 (JobManager:start): Using Maximum Job Retry value = 0
    [2010/7/8 10:11:47:526] Info 65000 (Multicast:init): Communication channel initialized
    [2010/7/8 10:11:47:528] Debug 50103 (Multicast:registerReceiver): Packet handler registered
    [2010/7/8 10:11:47:529] Info 50103 (ServerPacketHandler:start): ServerPacketHandler started successfully
    [2010/7/8 10:11:47:532] Info 50103 (RWServer:startServer): Using multicast mechanism
    [2010/7/8 10:11:47:562] Debug 50103 (ServerPacketReceiver:handleRequestPacket): Received packets. Multicast is working
    [2010/7/8 10:11:48:561] Debug 50103 (ServerPacketReceiver:handleRequestPacket): Received packets. Multicast is working
    [2010/7/8 10:11:49:572] Debug 50103 (ServerPacketReceiver:handleRequestPacket): Received packets. Multicast is working
    [2010/7/8 10:11:50:589] Info 56023 (ServerImpl:ServerImpl): Idle thread has been started
    [2010/7/8 10:11:50:691] Info 56020 (EngineManager:spawnEngine): Launching engine rwEng-0
    [2010/7/8 10:11:50:691] Info 50103 (EngineManager:spawnEngine): OS Name = SunOS : OS Arch = sparc
    [2010/7/8 10:11:51:56] Info 50103 (RWLocaleUtility:RWLocaleUtility): Using oracle.i18n.util.LocaleMapper class
    [2010/7/8 10:11:51:58] Debug 50103 (EngineManager:spawnEngine): Start engine command line = /myoraclehomepath/bin/rwengine.sh -server -cp /myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar -Duser.language=en -Duser.region=US -Xmx256M oracle.reports.engine.RWEngine name=rwEng-0 server=myreportserver ORACLE_HOME=/myoraclehomepath engineimplclass=oracle.reports.engine.EngineImpl traceopts=trace_all tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc tracemode=trace_append cacheDir=/myoraclehomepath/reports/cache server_ior="/tmp/myreportserver_xxxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:11:51:95] Info 56021 (EngineManager:spawnEngine): Engine rwEng-0 has been launched
    [2010/7/8 10:11:51:95] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Initial
    [2010/7/8 10:11:51:97] Info 56020 (EngineManager:spawnEngine): Launching engine rwURLEng-0
    [2010/7/8 10:11:51:98] Info 50103 (EngineManager:spawnEngine): OS Name = SunOS : OS Arch = sparc
    [2010/7/8 10:11:51:99] Debug 50103 (EngineManager:spawnEngine): Start engine command line = /myoraclehomepath/bin/rwengine.sh -server -cp /myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar -Duser.language=en -Duser.region=US -Xmx256M oracle.reports.engine.RWEngine name=rwURLEng-0 server=myreportserver ORACLE_HOME=/myoraclehomepath engineimplclass=oracle.reports.urlengine.URLEngineImpl traceopts=trace_all tracefile=/myoraclehomepath/reports/logs/myreportserver/rwURLEng-0.trc tracemode=trace_append cacheDir=/myoraclehomepath/reports/cache server_ior="/tmp/myreportserver_xxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:11:51:129] Info 56021 (EngineManager:spawnEngine): Engine rwURLEng-0 has been launched
    [2010/7/8 10:11:51:129] State 56004 (EngineInfo:setState): Engine rwURLEng-0 state is: Initial
    [2010/7/8 10:11:51:131] Debug 50103 (JobStore:writePersistFile): Purge persistent file
    [2010/7/8 10:11:51:169] Debug 50103 (JobStore:writePersistFile): Purge persistent file done
    *[2010/7/8 10:11:51:981] Warning 50103 (EngineManager:registerEngine): REP-55103: API URLEngine:getEngineEnvs not applicable to URL engine*
    [2010/7/8 10:11:51:982] Info 56026 (EngineManager:registerEngine): Reports Server started up engine rwURLEng-0
    [2010/7/8 10:11:51:998] Debug 50103 (EngineManager:updateEngineState): Engine rwURLEng-0 status is 1
    [2010/7/8 10:11:51:998] State 56004 (EngineInfo:setState): Engine rwURLEng-0 state is: Ready
    [2010/7/8 10:11:58:490] Info 50103 (EngineManager:manage): Engine restart count: 1
    [2010/7/8 10:11:58:590] Info 56020 (EngineManager:spawnEngine): Launching engine rwEng-0
    [2010/7/8 10:11:58:590] Info 50103 (EngineManager:spawnEngine): OS Name = SunOS : OS Arch = sparc
    [2010/7/8 10:11:58:592] Debug 50103 (EngineManager:spawnEngine): Start engine command line = /myoraclehomepath/bin/rwengine.sh -server -cp /myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar -Duser.language=en -Duser.region=US -Xmx256M oracle.reports.engine.RWEngine name=rwEng-0 server=myreportserver ORACLE_HOME=/myoraclehomepath engineimplclass=oracle.reports.engine.EngineImpl traceopts=trace_all tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc tracemode=trace_append cacheDir=/myoraclehomepath/reports/cache server_ior="/tmp/myreportserver_xxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:11:58:623] Info 56021 (EngineManager:spawnEngine): Engine rwEng-0 has been launched
    [2010/7/8 10:11:58:624] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Initial
    [2010/7/8 10:12:5:832] Info 50103 (EngineManager:manage): Engine restart count: 2
    [2010/7/8 10:12:5:932] Info 56020 (EngineManager:spawnEngine): Launching engine rwEng-0
    [2010/7/8 10:12:5:934] Info 50103 (EngineManager:spawnEngine): OS Name = SunOS : OS Arch = sparc
    [2010/7/8 10:12:5:935] Debug 50103 (EngineManager:spawnEngine): Start engine command line = /myoraclehomepath/bin/rwengine.sh -server -cp /myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar -Duser.language=en -Duser.region=US -Xmx256M oracle.reports.engine.RWEngine name=rwEng-0 server=myreportserver ORACLE_HOME=/myoraclehomepath engineimplclass=oracle.reports.engine.EngineImpl traceopts=trace_all tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc tracemode=trace_append cacheDir=/myoraclehomepath/reports/cache server_ior="/tmp/myreportserver_xxxxxxxx_xxxxxxxxxxxxx"
    [2010/7/8 10:12:5:963] Info 56021 (EngineManager:spawnEngine): Engine rwEng-0 has been launched
    [2010/7/8 10:12:5:964] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Initial
    *[2010/7/8 10:12:13:174] Exception 56105 (): Engine rwEng-0 died with error:*
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
         at oracle.reports.utility.Utility.newRWException(Utility.java:758)
         at oracle.reports.server.EngineManager.manage(EngineManager.java:367)
         at oracle.reports.server.IdleThread.run(IdleThread.java:88)
    *[2010/7/8 10:12:13:175] Info 56029 (EngineManager:shutdownEngine): Shutting down engine rwURLEng-0*
    [2010/7/8 10:12:13:176] State 56004 (EngineInfo:setState): Engine rwURLEng-0 state is: Shutdown
    [2010/7/8 10:12:13:177] Info 56047 (EngineManager:remove): Reports Server shut down engine rwURLEng-0
    [2010/7/8 10:12:13:177] Info 50103 (ServerPacketHandler:stop): Multicastmanager stopped successfully
    [2010/7/8 10:12:13:178] Info 50002 (RWServer:shutdown): Server is shutting down
    [2010/7/8 10:12:13:178] Info 50103 (RWServer:startServer): Notify thread to exit
    Why does the trace file indicate that the rwEng engine died with error?+
    Again why does the rwURLEng engine start up and then immediately shut down?+
    Thank you for your help on this issue.+

    OK, I did this once and did not follow the oracle docs
    If you saved your targets.xml before you started you might save it by renaming it back.
    (Double check to make sure you did not miss a rename)
    Otherwise, all I have to offer is my rough notes:
    1. Backup the file $ORACLE_HOME/sysman/emd/targets.xml.
    [oracle@ias02 emd]$ pwd
    /u01/app/oracle/product/midtier/sysman/emd
    cp targets.xml targets.xmlbackup
    2. Modify the file targets.xml by changing all the occurrences of the wrong reports server name by the correct one.
    i.e. Replace rep_test_midtier with rep_new (4 places - changes)
    Copy the conf file as follows: ( this will named different from system to system )
    cp /u01/app/oracle/product/midtier/reports/conf/rep_pia_oracleas.conf /u01/app/oracle/product/midtier/reports/conf/rep_fam.conf
    run this script:
    /u01/app/oracle/product/midtier/bin/addNewServerTarget.sh rep_fam          (change rep_fam to new report server name)
    3.Update the changed configuration .
    /u01/app/oracle/product/midtier/dcm/bin/dcmctl updateconfig -ct opmn -v -d
    /u01/app/oracle/product/midtier/dcm/bin/dcmctl resyncinstance -v -d
    4. Restart the Application Server Control Console
    /u01/app/oracle/product/midtier/bin/emctl stop iasconsole
    /u01/app/oracle/product/midtier/bin/emctl start iasconsole
    In the file:
    /u01/app/oracle/product/midtier/reports/config/reportsConfig.properties
    Change the Reports_Server_Name setting from rep_test_midtier to rep_fam (change rep_fam to new report server name)
    Best Wishes (I was able to save mime)
    The other option is to reinstall

  • Shell script for DB backup

    HI,
    i have written some java code Database backup but there are some problems with that so now i need to write shell script for db backup.
    what i was doing in java code i was running command like that
    /usr/local/bin/tar cvzf /export/home/monitor/FILE_20091005.tar.gz FILES/*20091005.*which compress the all *20091005* files (myisam table files)
    but after compression file doesn't extract
    so i have to write shell script for that ..... can any body guide me how can i write that kind of script and put it in cron job.
    thanks

    soundar wrote:
    Hi all,
    I have migrated database from 8i to 10gr2.For Backup in 8i, we used a RMAN shell script (scheduled uding cron tab) to backup the database to Tape.(VERITAS BACKUP).
    I am new to 10G.I checked out the options to backup the database using Oracle Enterprise manager DB console.
    http://www.oracle.com/technology/obe/10gr2_db_single/ha/rman/rman_otn.htm#t1d
    I am planning to take a test backup using the steps mentioned inthe above url.Could any one suggest whcih is the best option for database backup,eiether to use Oracle Enterprise manager DB console or thru RMAN shell script for backup..?
    Edited by: soundar on Mar 9, 2010 10:53 PMDear soudar
    I woudn't suggest you to work with EM if you want to be a professional DBA. Start learning RMAN and use CLI instead of GUI
    Those who live by the GUI, die by the GUI

  • HACMP Clustering Script for SAP ECC 6.0 (SR1) - Automatic Failover-Oracle10

    Hello,
    I have installed the SAP ECC 6.0 (SR1) under AIX 5.3 / Oracle 10g with HACMP Clustering environment. Manual Failover is working fine. ASCS and Database instances are loaded in share drive with Virtual IP and Virtual name. Central Instance and Dialog Instance are loaded locally in Node A and Node B. I want to get HACMP Clustering script(automatic failover script) for Automation. Please help me if you have.
    Thanks
    Gautam Poddar

    Here are HA stop & start scripts that you should be able adapt for your particular circumstances. Based on earlier versions of SAP / Oracle but assume should be a reasonable guide
    Script to start SAP is start_sap_prd
    #!/bin/ksh
    Script:         /usr/local/bin/cluster/start_sap_prd
    Comments:       HACMP Application START script for PRD
    Show me obvious information in hacmp.out
    banner "Starting"
    banner "PRD SAP"
    Set the oracle and sap owner.
    ORASID="PRD"
    SAPADM="prdadm"
    ORAUSR="oraprd"
    VIRTUALHOST="vhost"
    DEVHOST="vhostdev"
    Get the volume groups for this resource group
    RG=$( /usr/es/sbin/cluster/utilities/cllsgrp | grep -i $ )
    VG_LIST=$( /usr/es/sbin/cluster/utilities/cllsres -g $ | \
            grep "VOLUME_GROUP=" | \
            awk -F\" '{ print $2 }' )
    Check the transport directory is mounted.
    if mount | grep -w "/usr/sap/trans"
      then
            print "Transport directory is already mounted."
      else
            cd /tmp
            print "Attempting a background mount of the transport directory."
            nohup mount -o intr,bg,soft :/usr/sap/trans1 /usr/sap/trans &
    fi
    #Start SAP and Oracle
    #Start listener
    su - $ -c /rprd/oracle/PRD/920_64/bin/lsnrctl start
    rc=$?
    if [ $? != 0 ]
      then
            echo "ERROR: Listener failed to start\n"
    fi
    #Start Database
    su - $ -c "/rprd/oracle/PRD/bin/start_database_PRD.sh"
    sleep 20
    Standard sapstart script
    su - $ -c startsap $
    Script:       /usr/local/bin/cluster/stop_sap_prd
    Dated:        01/11/06
    Application:  Oracle/SAP
    Comments:     HACMP Application STOP script for SAP / Oracle PRD
    Show me obvious information in hacmp.out
    Set the oracle and sap owner.
    rc=$?
    if [ $? != 0 ]
    then
            echo "ERROR: Failed to start SAP\n"
    fi
    exit 0
    Script to stop SAP is stop_sap_prd
    #!/bin/ksh
    set -x
    banner "stopping"
    banner "PRD SAP"
    ORASID="PRD"
    SAPADM="prdadm"
    ORAUSR="oraprd"
    VIRTUALHOST="vhost"
    #Stop SAP/Oracle
    su - $ -c stopsap $
    rc=$?
    if [ $? != 0 ]
    then
            echo "ERROR: Failed to stop SAP and Oracle\n"
            break
    fi
    Stop SAP collector and Oracle listener.
    su - $ -c /usr/sap/PRD/SYS/exe/run/saposcol -k
    rc=$?
    if [ $? != 0 ]
    then
            echo "ERROR: Failed to stop SAPOSCOL \n"
    fi
    su - $ -c /rprd/oracle/PRD/920_64/bin/lsnrctl stop
    rc=$?
    if [ $? != 0 ]
    then
            echo "ERROR: Listener failed to stop\n"
    fi
    if mount | grep -w "/usr/sap/trans"
      then
            print "Transport directory is mounted."
            /usr/es/sbin/cluster/events/utils/cl_nfskill -k -u /usr/sap/trans
            sleep 1
            /usr/es/sbin/cluster/events/utils/cl_nfskill -k -u /usr/sap/trans
            sleep 1
            umount -f /usr/sap/trans &
      else
            print "Transport directory is not mounted."
    fi
    exit 0

  • Startup scripts for DB in one $OH and AS in another $OH

    Hello, I am setting up Oracle Collaboration Suite 10g on a SLES9 SP3 machine. I have used the installers and followed the docs (so I ended up creating oracle users, setting kernel params, modifying limites, etc myself). I am now trying to figure out how to get this setup to start on boot. I found the orarun package but the Oracle Collaboration Suite (OCS) docs seem to recommend against this. I am willing to use it if it works, however. I have also looked at the ocsctl_sample script that is installed in the apps tier, but that doesn't seem to handle starting a db in a different $OH and can not be run by root. I wrote a wrapper to use "su oracle -c cmd" but that didn't work out either.
    The setup I have is a database instance in one $ORACLE_HOME, and then the app server and apps in a separate $ORACLE_HOME (infrastructure/OID is on another server). Both of these $OH instances are listed in /etc/oratab of course. Since OCS handles mail it listens on privileged ports (25, 143, etc), so this listener may need to be started by root. I am thinking I only want one opmn instance, one apache instance, and one em instance on the system as well. I read through the init.d/oracle script from the orarun package and it seems like it only looks at the first $OH found in /etc/oratab if the /etc/profile.d/oracle.sh file is not found (I moved it out of the way as I have two scripts I use to set oracle environments depending on whether I'm working on the db or the as).
    Has anyone either used orarun or developed other scripts for starting a db instance in one $OH and an app server in another? Any tips?
    Thanks in advance,
    Chris

    Well, the issue is really multiple ORACLE_HOMEs. The single box install of OCS is two, in OCS 9i it was three. There is no problem with it, you just have to set the environment(mr obvious).
    As far as having a single EM, you'll have two on your apps box. One for the apps, the other for the DB. Again, no problem because they are on different ports.
    So, I guess the simplest explanation is just to write your own script. You can either create a sudoer for the mail listener, or set the setuid bit. There is a note on metalink for starting the mail listener as Oracle user.
    The safest way would be to log in as root each time the mail listener needs started, it depends what you can tolerate. You will come across these very same issues if you setup the web cache etc. for reserved ports.
    Another issue for automating the startup with your environment, is the fact that it is on two boxes. The processes need started in a particular order, the DB, Infra, then the apps. I don't have a good suggestion for that. You really should have put the DB and infra on one box, and the apps on another.

  • Health check script suggestions...

    I used the health check script from metalink and it gave me few suggestion regarding my replication environment. One of them is ...
    + SUGGESTION: One or more propagation processes contain rule sets.
    + If a Propagation process will unconditionally forward all incoming
    + messages to its destination queue, and no rule-based transformations are
    + performed by the Propagation process, you should consider removing
    + the rule set for the Propagation process via dbms_propagation_adm.alter_propagation.
    + This will improve Propagation performance.
    What is get from this is since i have same rule defined in propagation also as the one in capture, So suggestion from orcale is remove the propagation rule and let everything propagted through...anyhow since i want everything a capture process captures to be replicated on destenation.. so i removed the propagation rule. ..
    But now the replication has stoped performing after that.....
    can any one suggest me if my undersanding for above healthcheck suggestion is wrong then wht does it mean?
    Kapil

    Did you remove both the rule AND the rule set, or did you remove only the rule?
    If it was a positive rule set and you removed only the rule, you left an empty rule set as a positive rule set for the propagation. This will cause it to discard all messages.
    An empty positive rule set is not the same as no (null) positive rule set. A null rule set means "forward all messages, since there is not filter rule", but an empty rule set means "there is a rule: that no message will be forwarded".
    Ilidio.

  • Order Entry Schema for 10G Express Edition

    I cannot find the schemas for the tutorial Order Entry - I did find the 8i version from several years ago but they do not seem to work - Where can I find the SQL script for installing OE schemas for 10G Express Edition
    Thanks

    Thanks - but this document only points to PDF installation instructions - the only physical sql script files I can find for Schema (OE) are for 8i and they do not seem to work - I know that the 10G database and 9i ship with them but I am using XE - I also tried to download the companion disk for 10g (where they say these schemas are located) and could not find the scripts. This has taken so long to figure out.

  • HPUX response file for 10g

    Can anyone provide example response file(s) for doing a 'silent' install ( -silent ) on an HPUX platform for Oracle 10g? Oracle provides some for Solaris, but has indicated none exist for HPUX. When we tried to use the -record feature, it failed, so that was no help in providing any further information.
    Another related question is if one can dictate such values as %increase, max_datafiles etc somewhere in the response file. This could be done in response files for Oracle 8.1.6, but the differences between the example files for 8.1.6 and 10g are substantial.
    Thank you,
    Karl Bergerson

    Why not creating the first response file using the Create script? Then use this script for your other environments.
    Greg

  • Server Health Checkup

    Hi Gurus,
    Can any give tell me what is performance tunning in SAP and What are the major steps involved in a Server Health checkup for SAP servers which has more than 2000 users.
    Regards,
    Pradeep

    u can also try this tcodes
    Server Status                            SM51
    Process Overview                            SM50
    System Log                                                  SM21
    Dump(s) Abap/4                             ST22
    Update                                                   SM13
    Lock Entries                                                   SM12
    SAP Spool                                                    SP01
    TEMSE Administration                               SP12
    SAP Jobs (TMS and SAP*)                          SM37
    Client Overview                                SCC4
    Database Performance                                DB02
    DBA Planning Calendar                                DB13
    Database Archlog  Backup                           DB12
    SAP Buffers                                                     ST02
    Operating System Monitor                                ST06
    Database Performance Monitor           ST04
    you can do this daily or weekly
    Regards
    walata

Maybe you are looking for

  • How Can I Create a Record/Report Grid on a Page

    I want to build a page on which I can display a MySQL table record grid as a report, so that a user can select certain lines for further processing (e.g. emailing "action due" information to a customer).  I've searched and searched, but everything I

  • Remote Sharing Problems with my MacBook Pro. Please help...:)

    Hi all. Could really use some advice from any network pros out there. I'll be as detailed as possible. I am about to travel overseas for a month and wanted to setup remote access to my old G5 Dual 2.5 tower in my studio. I found that the new OS, phon

  • How to call methods defined in another class ? is it possible?

    Hi all, I am new to using JNI, was wondering if this is possible and how I might be able to do this. I'm trying to call some set/get functions defined in a class that is not part of the class where I have my native code defined and called... Let me e

  • Printing - Terrible Margin Problem

    I have read all of the posts regarding margin problems. Ill tried creating the custom 'iCal' size in Safari but nothing works. When printing in week view all 4 margins spill over the edge. This occurs whether printing to paper or PDF. Any fixes to th

  • Updating itunes account problem

    I created an itunes account and when I went to sign in in itunes, it asked me to review my account, with only the 'Cancel' and 'Review' option available. I typed in all my information and pressed 'Next'. But it says something along this: 'For more as