MAXL - Database Note

Hi There,
Hopefully this is a fairly straightforward question! Using MAXL how do you add a database note that contains a new line/row. This works for a single sentence...
alter database '+App+'.'+Db+' set note 'Test Message';
Results in Test Message
However, I would want to show...
Test
Message
Thanks in advance.
Mark

Hi,
*1.* open notepad and type as given below and save it as newmaxl.msh
Login 'Username' 'password' on 'servername';
alter database 'Appname'.'dbname' set note 'its archived data';
Logout;
*2.* open notepad and type as given below and save it as runmaxl.bat
C:\Program~1\Hyperion\Essbase\Bin\Essmsh.exe C:\Progra~1\Hyperion\calcscripts\newmaxl.msh
3. please double on batch file.
Regards,
Sita G.

Similar Messages

  • I need the code to delete record in the database not in the form???

    I need the code to delete record in the database not in the form...
    because when i execute a form always insert the datas in the data base but i want insert value on a text file and delete in the data base the record whith this value of text file.
    i'm spanish an my english is bad sorry.
    thank, javier

    Well, I fail to understand why you want to complicate easy things, but anyway you can do that by using TEXT_IO within Forms to create text file (see Forms builder help), and UTL_FILE package to read it within Pl/Sql : you could create a stored procedure, and call it from Forms passing the file name as parameter. See UTL_FILE documentation

  • Add current Date/Time to a database note?

    If we set the database note when we are loading the cube, what would be the syntax to set the current date/time?<BR><BR>For example...<BR><BR>ALTER DATABASE <NAME> SET NOTE <COMMENT><BR><BR>What would go in <COMMENT> in order to set current date/time?<BR><BR>Cheers!

    Hi Philip,
    There is an SAP formula variable to supply the current date in a formula. I think it is 0F_ADAY...install it from business content if you cannot see it in the query designer (formula box, under formula variables) and try using it.
    Hope this helps...

  • Oracle Database Not Starting Up Properly

    On VMware there's a known issue with Oracle databases on a Windows client not starting up properly all the time and a manual startup using oradim -start -sid <whatever> is required to get it fully running. I kinda figured that I wouldn't run into the exact same issue on Oracle VM. I created a brand new Oracle VM Windows 2003 32-bit server, installed the Oracle drivers for paravirtualization, and whammo, the problem is still here. I didn't find anything in this forum about the database not starting up, so I'm wondering if others are running into the same problem and how to resolve the issue. Thanks a bunch for your help.

    keithrust wrote:
    On VMware there's a known issue with Oracle databases on a Windows client not starting up properly all the time and a manual startup using oradim -start -sid <whatever> is required to get it fully running. Hmmm, doing it several time, and never seen such issue. Which "known issue" and by who are you talking about ?
    I created a brand new Oracle VM Windows 2003 32-bit server, installed the Oracle drivers for paravirtualization, and whammo, the problem is still hereI'm sure, you miss something somewhere in the config. Right now, you're on supported configuration, you could either raise a SR to the support, or get help from your peer on Oracle Database General forum.
    Ah, but it's not a Windows issue. On a non-VM Windows box the database starts just fine all the time. Again, this is a known issue acknowledged by Oracle on the VMware side, I'm just surprised it exists on the Oracle VM side.Again, give more details about this "known issue". Never heard about that, eventhough I've been around for years.
    I was afraid you were going to ask that. I'll have to search for it again, but I think you can do the same as well....Well, I doubt you could find a Metalink note about Oracle on VMWare. So far, Oracle has always refused to support database on OS virtualized on VMWare (or any VM software other than Oracle VM). Based on that, you could be sure, your "known issue" is not an issue on Oracle VM.
    If you want more help, again, give more details about your issue.
    Nicolas.

  • Standby Database not succeeded

    Hi experts, I need your assistance.
    I am configuring physical stby database on the same host on oracle Release 11.1.0.6.0 win xp. But not not succeeded.
    These are the steps I followed
    Host name = sumanr
    Primary database = orcl
    Stby database = stby
    1. On the same host I created the instance as 'stby' for the standby database using oradim
    2. created the password file using orapwd
    3. added the entry for stby databse in tnsnames and listener files
    4. created the initstby.ora file with the single entry for db_name=orcl
    5. started the stby database in nomount mode.
    -------On Primary created the stby redologs
    alter database add standby logfile group 4
    ('C:\app\oracle\oradata\orcl\sby_redo01.rdo') size 50M;
    alter database add standby logfile group 5
    ('C:\app\oracle\oradata\orcl\sby_redo02.rdo') size 50M;
    alter database add standby logfile group 6
    ('C:\app\oracle\oradata\orcl\sby_redo03.rdo') size 50M;
    alter database add standby logfile group 7
    ('C:\app\oracle\oradata\orcl\sby_redo04.rdo') size 50M;
    --------OnStandby
    sqlplus / as sysdba
    startup nomount
    ------On Primary  RMAN
    connect target sys/oracle@orcl
    connect auxiliary sys/oracle@stby
    run {
       allocate channel c1 type disk;
       allocate auxiliary channel s1 type disk;
    duplicate target database
            for standby
            from active database
            dorecover
            spfile
            parameter_value_convert 'orcl','stby'
            set db_unique_name='stby'
            set db_file_name_convert='orcl','stby'
            set log_file_name_convert='orcl','stby'
            set control_files='C:\app\oracle\oradata\stby\control01.ctl','C:\app\oracle\oradata\stby\control02.ctl','C:\app\oracle\oradata\stby\control03.ctl'
            set fal_client='stby'
            set fal_server='orcl'
            set standby_file_management='AUTO'
            set log_archive_config='dg_config=(orcl,stby)'
            set log_archive_dest_2='service=orcl LGWR ASYNC valid_for=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=stby'
            set log_archive_dest_state_2='enable'
            set log_archive_format='stby_%t_%s_%r.arc';
      sql channel c1 "alter system archive log current";
    run {
       allocate auxiliary channel s1 type disk;
       sql channel s1 "alter database recover managed standby database using current logfile disconnect";
    }Now in stby when I check v$log, it gives
    SQL> select * from v$log;
        GROUP#    THREAD#  SEQUENCE#      BYTES    MEMBERS ARC STATUS
    FIRST_CHANGE# FIRST_TIM
             1          1          0   52428800          1 YES UNUSED
          2064244 17-AUG-09
             2          1          0   52428800          1 NO  CURRENT
          2064280 17-AUG-09
             3          1          0   52428800          1 YES UNUSED
          2063000 17-AUG-09where as in primary it is
    SQL> select * from v$log;
        GROUP#    THREAD#  SEQUENCE#      BYTES    MEMBERS ARC STATUS
    FIRST_CHANGE# FIRST_TIM
             1          1         67   52428800          1 NO  CURRENT
          2067534 17-AUG-09
             2          1         65   52428800          1 YES INACTIVE
          2067226 17-AUG-09
             3          1         66   52428800          1 YES INACTIVE
          2067532 17-AUG-09dont know what I am missing. Pl. help me.
    Thnaks

    Hello SYbrand
    Thanks for your resply. I have created the stby redologs in the primary and RMAN is creating them in the standby database.As I checked in the standby
    SQL> select type,member
      2  from v$logfile;
    TYPE
    MEMBER
    ONLINE
    C:\APP\ORACLE\ORADATA\STBY\REDO03.LOG
    ONLINE
    C:\APP\ORACLE\ORADATA\STBY\REDO02.LOG
    ONLINE
    C:\APP\ORACLE\ORADATA\STBY\REDO01.LOG
    TYPE
    MEMBER
    STANDBY
    C:\APP\ORACLE\ORADATA\STBY\SBY_REDO01.RDO
    STANDBY
    C:\APP\ORACLE\ORADATA\STBY\SBY_REDO02.RDO
    STANDBY
    C:\APP\ORACLE\ORADATA\STBY\SBY_REDO03.RDO
    TYPE
    MEMBER
    STANDBY
    C:\APP\ORACLE\ORADATA\STBY\SBY_REDO04.RDO
    7 rows selected.
    SQL>This is my RMAN outcome
    Recovery Manager11.1.0.6.0
    RMAN> connect auxiliary sys/oracle@stby
    connected to auxiliary database: ORCL (not mounted)
    RMAN> connect target sys/oracle@orcl
    connected to target database: ORCL (DBID=1222322644)
    RMAN>
    RMAN>
    RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24>
    using target database control file instead of recovery catalog
    allocated channel: c1
    channel c1: SID=114 device type=DISK
    allocated channel: s1
    channel s1: SID=97 device type=DISK
    Starting Duplicate Db at 17-AUG-09
    contents of Memory Script:
       backup as copy reuse
       file  'C:\app\oracle\product\11.1.0\db_1\DATABASE\PWDorcl.ORA' auxiliary format
    'C:\app\oracle\product\11.1.0\db_1\DATABASE\PWDstby.ORA'   file
    'C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILEORCL.ORA' auxiliary format
    'C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILESTBY.ORA'   ;
       sql clone "alter system set spfile= ''C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILESTBY.ORA''";
    executing Memory Script
    Starting backup at 17-AUG-09
    Finished backup at 17-AUG-09
    sql statement: alter system set spfile= ''C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILESTBY.ORA''
    contents of Memory Script:
       sql clone "alter system set  audit_file_dest =
    ''C:\app\oracle\admin\stby\adump'' comment=
    '''' scope=spfile";
       sql clone "alter system set  dispatchers =
    ''(PROTOCOL=TCP) (SERVICE=stbyXDB)'' comment=
    '''' scope=spfile";
       sql clone "alter system set  db_unique_name =
    ''stby'' comment=
    '''' scope=spfile";
       sql clone "alter system set  db_file_name_convert =
    ''orcl'', ''stby'' comment=
    '''' scope=spfile";
       sql clone "alter system set  log_file_name_convert =
    ''orcl'', ''stby'' comment=
    '''' scope=spfile";
       sql clone "alter system set  control_files =
    ''C:\app\oracle\oradata\stby\control01.ctl'', ''C:\app\oracle\oradata\stby\control02.ctl'', ''C:\app\oracle\oradata\stby\control03.ctl'' comment=
    '''' scope=spfile";
       sql clone "alter system set  fal_client =
    ''stby'' comment=
    '''' scope=spfile";
       sql clone "alter system set  fal_server =
    ''orcl'' comment=
    '''' scope=spfile";
       sql clone "alter system set  standby_file_management =
    ''AUTO'' comment=
    '''' scope=spfile";
       sql clone "alter system set  log_archive_config =
    ''dg_config=(orcl,stby)'' comment=
    '''' scope=spfile";
       sql clone "alter system set  log_archive_dest_2 =
    ''service=orcl LGWR ASYNC valid_for=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=stby'' comment=
    '''' scope=spfile";
       sql clone "alter system set  log_archive_dest_state_2 =
    ''enable'' comment=
    '''' scope=spfile";
       sql clone "alter system set  log_archive_format =
    ''stby_%t_%s_%r.arc'' comment=
    '''' scope=spfile";
       shutdown clone immediate;
       startup clone nomount ;
    executing Memory Script
    sql statement: alter system set  audit_file_dest =  ''C:\app\oracle\admin\stby\adump'' comment= '''' scope=spfile
    sql statement: alter system set  dispatchers =  ''(PROTOCOL=TCP) (SERVICE=stbyXDB)'' comment= '''' scope=spfile
    sql statement: alter system set  db_unique_name =  ''stby'' comment= '''' scope=spfile
    sql statement: alter system set  db_file_name_convert =  ''orcl'', ''stby'' comment= '''' scope=spfile
    sql statement: alter system set  log_file_name_convert =  ''orcl'', ''stby'' comment= '''' scope=spfile
    sql statement: alter system set  control_files =  ''C:\app\oracle\oradata\stby\control01.ctl'', ''C:\app\oracle\oradata\stby\control02.ctl'', ''C:\app\oracle\oradata\stby\control03.ctl'' comment= '''' scope=spfile
    sql statement: alter system set  fal_client =  ''stby'' comment= '''' scope=spfile
    sql statement: alter system set  fal_server =  ''orcl'' comment= '''' scope=spfile
    sql statement: alter system set  standby_file_management =  ''AUTO'' comment= '''' scope=spfile
    sql statement: alter system set  log_archive_config =  ''dg_config=(orcl,stby)'' comment= '''' scope=spfile
    sql statement: alter system set  log_archive_dest_2 =  ''service=orcl LGWR ASYNC valid_for=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=stby'' comment= '''' scope=spfile
    sql statement: alter system set  log_archive_dest_state_2 =  ''enable'' comment= '''' scope=spfile
    sql statement: alter system set  log_archive_format =  ''stby_%t_%s_%r.arc'' comment= '''' scope=spfile
    Oracle instance shut down
    connected to auxiliary database (not started)
    Oracle instance started
    Total System Global Area     535662592 bytes
    Fixed Size                     1334380 bytes
    Variable Size                171967380 bytes
    Database Buffers             356515840 bytes
    Redo Buffers                   5844992 bytes
    contents of Memory Script:
       backup as copy current controlfile for standby auxiliary format  'C:\APP\ORACLE\ORADATA\STBY\CONTROL01.CTL';
       restore clone controlfile to  'C:\APP\ORACLE\ORADATA\STBY\CONTROL02.CTL' from
    'C:\APP\ORACLE\ORADATA\STBY\CONTROL01.CTL';
       restore clone controlfile to  'C:\APP\ORACLE\ORADATA\STBY\CONTROL03.CTL' from
    'C:\APP\ORACLE\ORADATA\STBY\CONTROL01.CTL';
       sql clone 'alter database mount standby database';
    executing Memory Script
    Starting backup at 17-AUG-09
    channel c1: starting datafile copy
    copying standby control file
    output file name=C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SNCFORCL.ORA tag=TAG20090817T150925 RECID=19 STAMP=695142585
    channel c1: datafile copy complete, elapsed time: 00:00:15
    Finished backup at 17-AUG-09
    Starting restore at 17-AUG-09
    channel clone_default: skipped, AUTOBACKUP already found
    channel c1: copied control file copy
    Finished restore at 17-AUG-09
    Starting restore at 17-AUG-09
    channel clone_default: skipped, AUTOBACKUP already found
    channel c1: copied control file copy
    Finished restore at 17-AUG-09
    sql statement: alter database mount standby database
    contents of Memory Script:
       set newname for tempfile  1 to
    "C:\APP\ORACLE\ORADATA\STBY\TEMP01.DBF";
       set newname for tempfile  2 to
    "C:\APP\ORACLE\ORADATA\STBY\CHECKUP_TEMP_1";
       set newname for tempfile  3 to
    "C:\APP\ORACLE\ORADATA\STBY\CHECKUP_TEMP_2";
       switch clone tempfile all;
       set newname for datafile  1 to
    "C:\APP\ORACLE\ORADATA\STBY\SYSTEM01.DBF";
       set newname for datafile  2 to
    "C:\APP\ORACLE\ORADATA\STBY\SYSAUX01.DBF";
       set newname for datafile  3 to
    "C:\APP\ORACLE\ORADATA\STBY\UNDOTBS01.DBF";
       set newname for datafile  4 to
    "C:\APP\ORACLE\ORADATA\STBY\USERS01.DBF";
       set newname for datafile  5 to
    "C:\APP\ORACLE\ORADATA\STBY\EXAMPLE01.DBF";
       set newname for datafile  6 to
    "C:\APP\ORACLE\ORADATA\STBY\CHECKUP_DFLT.DAT";
       backup as copy reuse
       datafile  1 auxiliary format
    "C:\APP\ORACLE\ORADATA\STBY\SYSTEM01.DBF"   datafile
    2 auxiliary format
    "C:\APP\ORACLE\ORADATA\STBY\SYSAUX01.DBF"   datafile
    3 auxiliary format
    "C:\APP\ORACLE\ORADATA\STBY\UNDOTBS01.DBF"   datafile
    4 auxiliary format
    "C:\APP\ORACLE\ORADATA\STBY\USERS01.DBF"   datafile
    5 auxiliary format
    "C:\APP\ORACLE\ORADATA\STBY\EXAMPLE01.DBF"   datafile
    6 auxiliary format
    "C:\APP\ORACLE\ORADATA\STBY\CHECKUP_DFLT.DAT"   ;
       sql 'alter system archive log current';
    executing Memory Script
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    renamed tempfile 1 to C:\APP\ORACLE\ORADATA\STBY\TEMP01.DBF in control file
    renamed tempfile 2 to C:\APP\ORACLE\ORADATA\STBY\CHECKUP_TEMP_1 in control file
    renamed tempfile 3 to C:\APP\ORACLE\ORADATA\STBY\CHECKUP_TEMP_2 in control file
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting backup at 17-AUG-09
    channel c1: starting datafile copy
    input datafile file number=00006 name=C:\APP\ORACLE\ORADATA\ORCL\CHECKUP_DFLT.DAT
    output file name=C:\APP\ORACLE\ORADATA\STBY\CHECKUP_DFLT.DAT tag=TAG20090817T151028 RECID=0 STAMP=0
    channel c1: datafile copy complete, elapsed time: 00:02:55
    channel c1: starting datafile copy
    input datafile file number=00001 name=C:\APP\ORACLE\ORADATA\ORCL\SYSTEM01.DBF
    output file name=C:\APP\ORACLE\ORADATA\STBY\SYSTEM01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
    channel c1: datafile copy complete, elapsed time: 00:00:35
    channel c1: starting datafile copy
    input datafile file number=00002 name=C:\APP\ORACLE\ORADATA\ORCL\SYSAUX01.DBF
    output file name=C:\APP\ORACLE\ORADATA\STBY\SYSAUX01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
    channel c1: datafile copy complete, elapsed time: 00:00:35
    channel c1: starting datafile copy
    input datafile file number=00005 name=C:\APP\ORACLE\ORADATA\ORCL\EXAMPLE01.DBF
    output file name=C:\APP\ORACLE\ORADATA\STBY\EXAMPLE01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
    channel c1: datafile copy complete, elapsed time: 00:00:07
    channel c1: starting datafile copy
    input datafile file number=00003 name=C:\APP\ORACLE\ORADATA\ORCL\UNDOTBS01.DBF
    output file name=C:\APP\ORACLE\ORADATA\STBY\UNDOTBS01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
    channel c1: datafile copy complete, elapsed time: 00:00:03
    channel c1: starting datafile copy
    input datafile file number=00004 name=C:\APP\ORACLE\ORADATA\ORCL\USERS01.DBF
    output file name=C:\APP\ORACLE\ORADATA\STBY\USERS01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
    channel c1: datafile copy complete, elapsed time: 00:00:03
    Finished backup at 17-AUG-09
    sql statement: alter system archive log current
    contents of Memory Script:
       backup as copy reuse
       archivelog like  "C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\RDBMS\ARC00067_0694541910.001" auxiliary format
    "C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_%U_.ARC"   archivelog like
    "C:\APP\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2009_08_17\O1_MF_1_67_58LLGDYR_.ARC" auxiliary format
    "C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_%U_.ARC"   ;
       catalog clone recovery area;
       switch clone datafile all;
    executing Memory Script
    Starting backup at 17-AUG-09
    channel c1: starting archived log copy
    input archived log thread=1 sequence=67 RECID=119 STAMP=695142910
    output file name=C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC RECID=0 STAMP=0
    channel c1: archived log copy complete, elapsed time: 00:00:01
    channel c1: starting archived log copy
    input archived log thread=1 sequence=67 RECID=120 STAMP=695142910
    output file name=C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2JKMU2G4_.ARC RECID=0 STAMP=0
    channel c1: archived log copy complete, elapsed time: 00:00:01
    Finished backup at 17-AUG-09
    searching for all files in the recovery area
    List of Files Unknown to the Database
    =====================================
    File Name: C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC
    File Name: C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2JKMU2G4_.ARC
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC
    File Name: C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2JKMU2G4_.ARC
    datafile 1 switched to datafile copy
    input datafile copy RECID=19 STAMP=695142923 file name=C:\APP\ORACLE\ORADATA\STBY\SYSTEM01.DBF
    datafile 2 switched to datafile copy
    input datafile copy RECID=20 STAMP=695142923 file name=C:\APP\ORACLE\ORADATA\STBY\SYSAUX01.DBF
    datafile 3 switched to datafile copy
    input datafile copy RECID=21 STAMP=695142923 file name=C:\APP\ORACLE\ORADATA\STBY\UNDOTBS01.DBF
    datafile 4 switched to datafile copy
    input datafile copy RECID=22 STAMP=695142924 file name=C:\APP\ORACLE\ORADATA\STBY\USERS01.DBF
    datafile 5 switched to datafile copy
    input datafile copy RECID=23 STAMP=695142924 file name=C:\APP\ORACLE\ORADATA\STBY\EXAMPLE01.DBF
    datafile 6 switched to datafile copy
    input datafile copy RECID=24 STAMP=695142924 file name=C:\APP\ORACLE\ORADATA\STBY\CHECKUP_DFLT.DAT
    contents of Memory Script:
       set until scn  2080890;
       recover
       standby
       clone database
        delete archivelog
    executing Memory Script
    executing command: SET until clause
    Starting recover at 17-AUG-09
    starting media recovery
    archived log for thread 1 with sequence 67 is already on disk as file C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC
    archived log file name=C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC thread=1 sequence=67
    media recovery complete, elapsed time: 00:00:03
    Finished recover at 17-AUG-09
    Finished Duplicate Db at 17-AUG-09
    sql statement: alter system archive log current
    released channel: c1

  • Datasource: ORA-02019: connection description for remote database not found

    Hi,
    I recently made the datasource to point to a new host, and using the EM console tested the connectivity to the datasource to be successful.
    Java code that refers to the DS is also the same as before that was working as only the connection string has been changed, but now trying to access the web-application shows the following error in the logs:
    ==============
    Exception::java.sql.SQLException: ORA-02019: connection description for remote database not found
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
    oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
    oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
    oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
    oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:113)
    oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:431)
    oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:1029)
    oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:463)
    oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1126)
    oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1274)
    oracle_jdbc_driver_T4CStatement_Proxy.executeQuery()=====================================
    What could be the reason? Is there any other app server datasource related setting that needs to be done or is it some other issue - as I said 'testing the connection from EM console connects successfully'.
    Thanks,
    Rommel.

    The issue is resolved now.
    One of the queries used a db link that was missing on the new database and therefore the error from the java code.
    Since testing for connectivity using DS through EM console does not check for any db link (using the default query it executes) connectivity was successful.
    Thank a lot,
    Rommel.

  • 'Connection Description for Remote Database not found' Error

    Hi All,
    I have an interface that loads Oracle DB from an Oracle source(JD Edwards). It is mostly one to one mapping of the columns, and is utilizing LKM Oracle to Oracle(DBLink), IKM Oracle Incremental Update and CKM Oracle.
    I am getting an error when executing the interface which states 'Connection Description for Remote Database Not Found' at the 'Insert Flow into I$ table' step in the Operator logs.
    The below is the content of the error:
    2019 : 42000 : java.sql.SQLException: ORA-02019: connection description for remote database not found
    java.sql.SQLException: ORA-02019: connection description for remote database not found
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3057)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.j(e.java)
         at com.sunopsis.dwg.cmd.h.z(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    Please advice me on the correction.
    Many Thanks!

    Hi All,
    I am seeing things are working fine, when I am using LKM SQL to Oracle in combination with IKM Oracle Incremental Update. It is only in the case of using LKM Oracle to Oracle(DBLINK) in combination with IKM Oracle Incremental Update, that the above mentioned error is thrown.
    Please suggest on the resolution in using LKM Oracle to Oracle(DBLINK) with IKM Oracle Incremental Update...
    Thanks!

  • Error in Database Studio: Connect to user management database not possible

    Hello,
    Everytime I start the Database Studio 7.9 (the latest version 7.9.08.18) it show me the following error:
    Could not access to user management
    See Window -> Show View -> Event Log Viewer for more details
    In Event Log Viewer I see the following information/errors/warnings:
    Connect to user management database not possible. Try to use/create local default user management
    Undefined result row
    This error always appears in anything I do in the Database Studio application!
    How can I correct this error? Can you help me please?
    Any tips?
    Kind regards,
    samid raif

    Hi Samid,
    Delete the folder document & settings -> all users -> sdb
    Post this check the results.
    Regards,
    Deepak Kori

  • Standby Database not syncronized with primary.

    DB: 10.2.0.4.0
    OS RedHat Linux
    My standby Database not syncronized with primary, because of space issue mrp process was stopped.
    During that we added 4 datafile in primary database in that case how we can sync standby database?
    There are no unamed files on standby database.
    SQL> select name from v$datafile where name like '%UNNAME%';
    no rows selected

    Prath wrote:
    When i trying to recover database getting below error:
    Starting recover at 11-DEC-10
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 12/11/2010 12:00:23
    RMAN-06094: datafile 73 must be restored
    Note: Datafile 73 not available on standby database.Execute select name from v$datafile statement from standby and post there.
    (Of course you can rebuild standby database again ,create standby controlfile and copy all datafiles)

  • Ora-01219 database not open; only queries on fixed tables and views.

    Hi everyone
    There is another post stating this error, but since the source is different, I think is okay to make a different post as well.
    Our database was working fine until the other day, when suddenly power went off, UPS was damaged and didn't hold, and when we restarted the database this is what happens:
    Using Enterprise Manager Console, we can make a succesful connection in the same machine, but if we choose Schema, the following error appears:
    ora-01219 database not open; only queries on fixed tables and views.
    When accesing from a different machine:
    ORA-01033: ORACLE initialization or shutdown in progress
    Thanks in advance

    Here is the last entries of alert log
    Fatal NI connect error 12638, connecting to:
    (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
    Time: 20-JUL-2010 15:48:31
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12638
    TNS-12638: Fallo de recuperación de credenciales
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    Tue Jul 20 15:50:50 2010
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 11.1.0.7.0.
    Using parameter settings in server-side spfile E:\ORACLE\CRIMINALISTICA\PRODUCT\11.1.0\DB_1\DATABASE\SPFILECRIM.ORA
    System parameters with non-default values:
    processes = 150
    memory_target = 816M
    control_files = "E:\ORACLE\ORADATA\CRIM\CONTROL01.CTL"
    control_files = "E:\ORACLE\ORADATA\CRIM\CONTROL02.CTL"
    control_files = "E:\ORACLE\ORADATA\CRIM\CONTROL03.CTL"
    db_block_size = 8192
    compatible = "11.1.0.0.0"
    db_recovery_file_dest = "E:\Oracle\flash_recovery_area"
    db_recovery_file_dest_size= 2G
    undo_tablespace = "UNDOTBS1"
    remote_login_passwordfile= "EXCLUSIVE"
    db_domain = ""
    dispatchers = "(PROTOCOL=TCP) (SERVICE=CRIMXDB)"
    audit_file_dest = "E:\ORACLE\ADMIN\CRIM\ADUMP"
    audit_trail = "DB"
    db_name = "CRIM"
    open_cursors = 300
    diagnostic_dest = "E:\ORACLE"
    Tue Jul 20 15:50:55 2010
    PMON started with pid=2, OS id=1688
    Tue Jul 20 15:50:55 2010
    VKTM started with pid=3, OS id=2236 at elevated priority
    Tue Jul 20 15:50:55 2010
    DIAG started with pid=4, OS id=2332
    Tue Jul 20 15:50:55 2010
    DBRM started with pid=5, OS id=2328
    Tue Jul 20 15:50:55 2010
    PSP0 started with pid=6, OS id=2432
    VKTM running at (20)ms precision
    Tue Jul 20 15:50:55 2010
    DIA0 started with pid=7, OS id=2160
    Tue Jul 20 15:50:55 2010
    MMAN started with pid=8, OS id=2156
    Tue Jul 20 15:50:55 2010
    DBW0 started with pid=9, OS id=2064
    Tue Jul 20 15:50:55 2010
    LGWR started with pid=10, OS id=3176
    Tue Jul 20 15:50:55 2010
    CKPT started with pid=11, OS id=3180
    Tue Jul 20 15:50:55 2010
    SMON started with pid=12, OS id=3184
    Tue Jul 20 15:50:55 2010
    RECO started with pid=13, OS id=3188
    Tue Jul 20 15:50:55 2010
    MMON started with pid=14, OS id=3192
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    ORACLE_BASE from environment = E:\Oracle
    Tue Jul 20 15:50:55 2010
    MMNL started with pid=15, OS id=3196
    Tue Jul 20 15:50:56 2010
    alter database mount exclusive
    Setting recovery target incarnation to 2
    Successful mount of redo thread 1, with mount id 1304879008
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: alter database mount exclusive
    alter database open
    Errors in file e:\oracle\diag\rdbms\crim\crim\trace\crim_dbw0_2064.trc:
    ORA-01157: cannot identify/lock data file 9 - see DBWR trace file
    ORA-01110: data file 9: 'E:\ORACLE\ORADATA\STOPCRIM5\STOPCRIM5TABLESPACE.ORA'
    ORA-27047: unable to read the header block of file
    OSD-04006: fallo de ReadFile(); no se ha podido leer del archivo
    O/S-Error: (OS 38) Se ha alcanzado el final del archivo.
    Errors in file e:\oracle\diag\rdbms\crim\crim\trace\crim_dbw0_2064.trc:
    ORA-01157: cannot identify/lock data file 16 - see DBWR trace file
    ORA-01110: data file 16: 'E:\ORACLE\ORADATA\PRUEBACARLOS\PRUEBACARLOSTABLESPACE.ORA'
    ORA-27047: unable to read the header block of file
    OSD-04006: fallo de ReadFile(); no se ha podido leer del archivo
    O/S-Error: (OS 38) Se ha alcanzado el final del archivo.
    Errors in file e:\oracle\diag\rdbms\crim\crim\trace\crim_dbw0_2064.trc:
    ORA-01157: cannot identify/lock data file 17 - see DBWR trace file
    ORA-01110: data file 17: 'E:\ORACLE\ORADATA\PRUEBACARLOS\PRUEBACARLOSINDEX.ORA'
    ORA-27047: unable to read the header block of file
    OSD-04006: fallo de ReadFile(); no se ha podido leer del archivo
    O/S-Error: (OS 38) Se ha alcanzado el final del archivo.
    ORA-1157 signalled during: alter database open...
    Tue Jul 20 16:04:39 2010
    db_recovery_file_dest_size of 2048 MB is 0.00% 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.

  • Database Datafiles Recovery. ORA-01219: database not open:

    Hi,
    I have a 10g database running on SuSE Linux server. I mistakenly deleted one of my file system's files that contain some of the database datafiles. I can connect to the database but I am failing to run queries:
    SQL> select * from global_name;
    select * from global_name
    ERROR at line 1:
    ORA-01219: database not open: queries allowed on fixed tables/views only
    I do weekly cold backups of the server. My database is in NOARCHIVE log mode. What is the best way to recover my data; Is it possible that I restore only the file system or I should should do a complete restore of all file systems??
    Regards
    Kevin
    Edited by: Kevin Honde on Jul 28, 2010 2:55 PM

    I mistakenly deleted one of my file system's files that contain some of the database datafiles.Ok
    I do weekly cold backups of the server.Great !!
    My database is in NOARCHIVE log mode. That's the mistake in my opinion
    What is the best way to recover my data; Restore it from the latest available cold backup.
    There will be a data loss post weekly consistent cold backup. Which you have to accept because you do not have your database running in Archive Log mode.

  • ORA-01109:database not open

    ORA-01109:database not open, how to solve this problem please give me steps.

    Connect to the instance as sysdba:sqlplus /nolog
    conn / as sysdbaGet the instance status:SELECT STATUS FROM V$INSTANCE;Depending on reported status:
    . MOUNT:ALTER DATABASE OPEN;. STARTED:ALTER DATABASE MOUNT;
    ALTER DATABASE OPEN;Report any problem encounterred there.
    Regards,
    Yoann.

  • Database not mounted

    Dear All,
    Related Database is just installed, I got error message as below:
    SQL> shutdown
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL> startup
    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
    ORA-00205: error in identifying control file, check alert log for more info
    SQL>
    Please kindly give advice for this.
    Thanks and regards,
    Vandy

    Dear Niket,
    Thank you very much for your reply and help.
    Now I have checked follow your advice and get the result as below:
    Note: My Oracle Database (11g Realeae 2) is installed on Oracle Linux 5.8
    [oracle@ovmmger ~]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Jan 14 03:14:40 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL>
    SQL> startup
    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
    ORA-00205: error in identifying control file, check alert log for more info
    SQL> show parameter control_files
    NAME TYPE VALUE
    control_files string /u01/app/oracle/product/11.2.0
    /db_1/dbs/cntrlDB11G.dbf
    SQL> shutdown
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL>
    Please kindly give advice for this.
    Thanks and regards,
    Vandy
    Edited by: Vandy_Kh on Jan 13, 2013 5:56 PM

  • Shared services database not found in the specified database

    Hi Guys,
    In Hyperion EPM System confirurator,i gave all the fields and click next button it show error message "Shared services database not found in the specified database"

    Hi ,
    1. Pls confirm me one thing. Did you re -install version 11.
    2. Re intstallation of version 11 has lot of issues ( atleast 11.1.1.1).
    Sandeep Reddy Enti
    HCC
    http://hyperionconsutlancy.com/

  • RMAN-target database not found

    Hello All:
    we have rman config (0 level bkp) for our PROD backup, rman catalog is on a different server. running OK. heaving 0 level backup of our PROD.... no issue.
    Now we have one more PROD db implemented recently for payroll on seperate server, so we decided to have rman backup of this also.
    we set that rman script to here also and made the neccessary changes.
    It is heaving backup, archive backup ... no issue ...
    but it error while "RMAN Catalog resync"
    that part from script is
    ## RMAN Catalog resync ##
    rman log=/u01/bkp/logs/backup_resync.log << EOF
    connect catalog rman/rman@rman
    connect target /
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u01/bkp/backup/ctrl_%F';
    resync catalog;
    EOF
    and the error on log file "backup_resync.log" getting:
    Recovery Manager: Release 11.1.0.6.0 - Production on Fri Aug 10 04:25:04 2012
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    RMAN>
    connected to recovery catalog database
    RMAN>
    connected to target database: ORCL (DBID=2588904899)
    RMAN>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of configure command at 08/10/2012 04:25:29
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20001: target database not found in recovery catalog
    RMAN>
    Recovery Manager complete.
    plese suggest on this, i googled, saying to register the catalog, tried but no luck....
    thanks in ADV
    Edited by: DOA on 9 Aug, 2012 10:16 PM
    Edited by: DOA on 9 Aug, 2012 10:17 PM

    Hello vreddy,
    Thanks for the reply...
    I am bit new with the rman word....
    I tried command on server where catalog exist (stating: my PROD and catalog exist on different different server)
    (orcl is my PROD db name)
    rman target / catalog ORCL
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Aug 10 10:57:29 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: RMAN (DBID=1583459273)
    recovery catalog database Password:
    asking for some password, which password here we need to supply ?
    for more clear picture I also execute command on catalog side:
    SQL> select name,DBID,RESETLOGS_TIME from rc_database order by 1;
    NAME DBID RESETLOGS
    PROD 4247251480 12-MAY-04
    RMAN 1583455429 02-JAN-09
    db ORCL is not there in the list....

Maybe you are looking for