Writing About Our Experiences With Oracle Databases
Friday May 18th 2012

Latest Topics

Using current_scn for RMAN incremental ? Think again..

I am bloging about experience we had using rman incremental backup for syncing standby database. We had a standby [Read More]

Poll on Sql Plan Management

Dominic is conducting poll on SPM and Sql Profiles usage on his website. Link can be found here  I have been using SPM [Read More]

Oracle Direct connector for HDFS

Some time back oracle had announced Oracle Big Data appliance. Along with this Oracle released Big Data Connectors to [Read More]

ORA-7445 core dump [kokscold()+849] from EM 12c

The first problem reported by my EM 12c is an ORA-7445 error. After checking the alert log following is the exact [Read More]

Copying Oracle Scheduler jobs with Arguments

Oracle provides dbms_scheduler.copy_job function to copy oracle scheduler jobs which works great. But problem is that [Read More]

Oracle10g

Oracle 10g Articles

This page contains articles related to Oracle Database 10g

Latest  articles

  • Copying Oracle Scheduler jobs with Arguments - Oracle provides dbms_scheduler.copy_job function to copy oracle scheduler jobs which works great. But problem is that it cannot copy  jobs which have  arguments. Need to copy jobs can arise due to following scenarios 1)Runaway jobs – When Scheduler job is running without any SID. This means OS session is not present and this will not [...]
  • 10gR2 Silent Install with 11gr2 CRS fails - I was trying to perform a 10.2 silent install with 11gR2 CRS. While doing pre-checks installer failed with following error Check complete: Failed <<<< Problem: The 'active' version of Oracle Clusterware is not 10g Release 2 (10.2). Recommendation: You must upgrade all nodes of the cluster to Oracle Clusterware 10g Release 2. If you have [...]
  • 10.2 CRS startup issue - Today I faced a strange issue with CRS  post host reboot. CRS was not coming up and we could see following message in $ORA_CRS_HOME/log/<hostname>/client/clsc*.log cat clsc26.log Oracle Database 10g CRS Release 10.2.0.4.0 Production Copyright 1996, 2008 Oracle. All rights reserved. 2011-07-01 21:00:14.345: [ COMMCRS][2541577376]clsc_connect: (0x6945e0) no listener at (ADDRESS=(PROTOCOL=IPC)(KEY=CRSD_UI_SOCKET)) 2011-07-01 21:00:14.345: [ COMMCRS][2541577376]clsc_connect: (0x695020) no [...]
  • Performance Management Guide on AIX - While trying to find the amount of physical memory used by oracle process on AIX, I got reference of a document from Metalink: Performance Management Guide It tell us about which process is using how much memory and how to interpret the output of commands like: vmstat, svmon, ps on AIX. Also, to get more [...]
  • Effect Of Multiple SHMMAX Settings - Last week I saw a warning message at database startup time saying: WARNING: EINVAL creating segment of size 0x000000000f0020xx fix shm parameters in /etc/system or equivalent It is an Oracle 10204 database running on Solaris. Searching MOS for exact meaning for this warning, it states that a new shared memory segment is getting created to [...]

General database Administration

Corruption

One Comment for “Oracle10g”

  • Prashanth says:

    #!/bin/ksh
    #Script to Perform incremental backup every day at 11 am
    ################################################################
    #Change History
    #================
    #DATE AUTHOR CHANGE
    #——— ———————– ——————-
    #08-mar-2012 Prashanth Kumar H New Script Created
    #
    ################################################################
    export ORACLE_HOME=/home/oracle10g/oracle/product/10.2.0/db_1
    export ORACLE_SID=soft
    export PATH=$PATH:$ORACLE_HOME/bin
    rman target sys/soft
    run {
    ALLOCATE CHANNEL RMAN_BACK_CH01 TYPE DISK;
    CROSSCHECK BACKUP;
    BACKUP incremenatal level 1 AS COMPRESSED BACKUPSET FORMAT ‘/home/oracle10g/SOFT/backupsset/databasefiles_%d_%u_%s_%T’;
    sql ‘ALTER SYSTEM ARCHIVE LOG CURRENT’;
    BACKUP AS COMPRESSED BACKUPSET ARCHIVELOG ALL FORMAT ‘/home/oracle10g/SOFT/archivelog/archivelogs_%d_%u_%s_%T’ DELETE INPUT;
    BACKUP AS COMPRESSED BACKUPSET CURRENT CONTROLFILE FORMAT ‘/home/oracle10g_SOFT/controlfile_%d_%u_%s_%T’;
    CROSSCHECK BACKUP;
    DELETE NOPROMPT OBSOLETE;
    DELETE NOPROMPT EXPIRED BACKUP;
    RELEASE CHANNEL RMAN_BACK_CH01;
    }
    EXIT;

    #Script Used To backup the incremental database using rman
    ###############################################################
    * 11 * * * /home/oracle10g/rman_inc_bk.sh

    but the i am getting the below error…

    From oracle10g@localhost.localdomain Tue Mar 13 11:42:06 2012
    Return-Path:
    Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
    by localhost.localdomain (8.13.1/8.13.1) with ESMTP id q2D6C6uq008864
    for ; Tue, 13 Mar 2012 11:42:06 +0530
    Received: (from oracle10g@localhost)
    by localhost.localdomain (8.13.1/8.13.1/Submit) id q2D6C1xn008857;
    Tue, 13 Mar 2012 11:42:01 +0530
    Date: Tue, 13 Mar 2012 11:42:01 +0530
    Message-Id:
    From: root@localhost.localdomain (Cron Daemon)
    To: oracle10g@localhost.localdomain
    Subject: Cron /home/oracle10g/rman_inc_bk.sh
    X-Cron-Env:
    X-Cron-Env:
    X-Cron-Env:
    X-Cron-Env:
    X-Cron-Env:

    Recovery Manager: Release 10.2.0.1.0 – Production on Tue Mar 13 11:42:01 2012

    Copyright (c) 1982, 2005, Oracle. All rights reserved.

    connected to target database: SOFT (DBID=3725122068)

    RMAN>

    Recovery Manager complete.
    /home/oracle10g/rman_inc_bk.sh[22]: run: not found
    /home/oracle10g/rman_inc_bk.sh[23]: ALLOCATE: not found
    /home/oracle10g/rman_inc_bk.sh[24]: CROSSCHECK: not found
    /home/oracle10g/rman_inc_bk.sh[25]: BACKUP: not found
    /home/oracle10g/rman_inc_bk.sh[26]: sql: not found
    /home/oracle10g/rman_inc_bk.sh[27]: BACKUP: not found
    /home/oracle10g/rman_inc_bk.sh[28]: BACKUP: not found
    /home/oracle10g/rman_inc_bk.sh[29]: CROSSCHECK: not found
    /home/oracle10g/rman_inc_bk.sh[30]: DELETE: not found
    /home/oracle10g/rman_inc_bk.sh[31]: DELETE: not found
    /home/oracle10g/rman_inc_bk.sh[32]: RELEASE: not found
    /home/oracle10g/rman_inc_bk.sh[33]: syntax error: `}’ unexpected


Leave a Comment

*

Recent Comments

Amit had this to say

hi Bhushan, Em should be pretty easy. I will try to do it in my test setup and document it. cheers Amit Read the post

bhushan had this to say

Hey Amit, Any Document to Setup the Dataguard using EM12C? Any tips any suggestion? Regards Bhushan Read the post

Amit had this to say

By default window is created with LOW prioirty. If there are two overlapping windows with low and high priority. High Read the post

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 11 other subscribers

asd123