Database open fails after online backup recovery

Hi Friends
We are trying to set up an additional server using the online backup of our DEV server. We have been following SAP Note 549828 for the same. Having restored the online backup, the open database failed.
To resolve the same, in accordance to SAP Note 549828, we created a backup control file with success using the command
create controlfile reuse set database DEV resetlogs noarchivelog
However on issuance of the command
RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL
we run into an error as to
ORA-00279: change 794638222 generated at 10/25/2007 12:43:20 needed for thread 1
ORA-00289: suggestion : /oracle/DEV/oraarch/DEVarch1_9766.dbf
ORA-00280: change 794638222 for thread 1 is in sequence #9766
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log '/oracle/DEV/oraarch/DEVarch1_9766.dbf'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/oracle/DEV/sapdata1/system_1/system.data1'
We even manually copied the file system.data1 from the source to the target server but to no avail.
Also the SQL command
SELECT FILE#, CHANGE# FROM V$RECOVER_FILE
displays a different change# for system.data1 while it is showing same number for all other datafiles.
Please advice at the earliest as we are struck. Points awaiting their master.
Regards
Lokesh Gupta

Some inputs addition to Erics comments
The problem is you dont have archives ie Offline redo logfiles in correct location.
/oracle/DEV/oraarch/DEVarch1_9766.dbf  Here DEVarch1_9766 is archive file which is misssing from location /oracle/DEV/oraarch. To recover DB you need Archives generated during hot backup.
Generally these steps willl give you desired result.
select * from v$logfile;
We normally switch the log files to the number of log groups that exist
alter system switch logfile;
create a Backup directory to hold our hot back datafiles and Archives
When the backup is complete check the backup location to see if all the files are available. We could now either FTP the same to the other system or copy over these files to another location in case of cloning on the same system.
Copy over all the files to their respective filesystems and directories and then edit the file that was created using the backup controlfile to trace. Copy that file to the remote system and edit it accordingly.
check that all the files are in the right location and edit that information in the control file
Once the controlfile is run successfully and you get the statement processed, we can start applying the archive logs that we have moved to the archive log destination directory as per the init<sid>.ora file.
do a recover of the database to its consistent state
recover database using backup controlfile until cancel;
The create control file command only changes the structure of the database and the SID name, the header of the datafiles still hold all the required information. The above command would ask you to input the archive log file names one by one to do recovery or you could choose the AUTO option. Once the recovery process is complete, open the database with the resetlogs option
Regards
Vinod

Similar Messages

  • Online Backup Recovery Error-1033

    Hi,
    1.I took a successful Online Backup for Net Weaver Sytem through DB13 Functionality.
    2.Database is Oracle .
    3.When I try to Restore the Backup through BRTOOLS on the Server ,It gives SQL Error 1033.
    Pl. find the enclosed Error Details:
    Starting user session: OCISessionBegin(con=0, usr='SAPSR3', svc=152820D0, srv=152822D0, usr=15291560)
    C     OCISessionBegin(OCI_DEFAULT) failed with SQL error 1033:
    C     ORA-01033: ORACLE initialization or shutdown in progress                                                                 
    C  Server handle (con=0,svchp=152820D0,srvhp=152822D0) detached
    C  *** ERROR => CONNECT failed with sql error '1033'
    B  ***LOG BV3=> severe db error 1033      ; work process is stopped
    B  ***LOG BY2=> sql error 1033   performing CON
    B  ***LOG BY0=> ORA-01033: ORACLE initialization or shutdown in progress
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256)
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1)
    Ive already Consulted the Notes 655240 & 556232 for Solution. But, the problem still persist.
    Please provide some Input for the same .
    Regards,
    Nimish Bhatnagar

    Hi Nimish,
    Check out OSS note 35278, 445038 and 400241.
    Can you please check
    R3trans -d and get the log of trans.log
    remove any old trans.log if you have any at that location.
    if that doen't help try R3trans -x and get the log. Both write the log in file trans.log
    Try the command "recover database".
    Regards,
    Deepanshu Sharma

  • Database is pending after restore and recovery

    Database is in the pending status after restore and recovery.
    The database can not startup today and it shows a error message: the log file 2 cannot be archived. Then I issue the following command:
    SQL> select group#, sequence#, bytes, members, status from v$log;
        GROUP#  SEQUENCE#      BYTES    MEMBERS STATUS
             1        452   52428800          1 CURRENT
             3        451   52428800          1 INACTIVE
             2        450   52428800          1 INACTIVE
    SQL> ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 3;
    Database altered.
    SQL> ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 2;
    Database altered.
    SQL> alter database open;
    Database altered.
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  566231040 bytes
    Fixed Size                  1220580 bytes
    Variable Size             125829148 bytes
    Database Buffers          432013312 bytes
    Redo Buffers                7168000 bytes
    Database mounted.
    Database opened.But when I try to login using EM console, it shows the database is not open. Then I restore and recover the database using EM Console. But the database then get into the pending status.
    What to do next?

    Stop the EM console and then restart it. I expect all is OK then.

  • BI Online Backup recovery

    Hi experts,
    We need to make an online bakup of our BI system. But we had some infopackages that ran after the online backup, so the delta timestamps in ECC are greater than the timestamp of the backup.
    Do you know if after the recovery of the BI online backup the timestamps in ECC will be also reverted?
    If not, is there any way of performing this activity?
    Thanks in advance
    Best Regards

    hi,
    Find the document below it may help you.
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/001ef297-9bbf-2910-bbaa-babedc1b01ca;jsessionid=(J2EE3414800)ID1551428150DB11188012514138478496End
    Regards,
    Shiva.
    Edited by: Shivu  Kumar on Sep 17, 2009 7:16 AM

  • Database Logon Failed after first report

    I have a Windows Server 2003 x86 server running IIS6 and ASP.NET. On this server, I have two different web forms set up to export Crystal Reports to PDF.
    My problem is that only one of these reports can run. For example, I open report 1 and can then reopen (generate PDF of) report1 as many times as I want. I cannot open report 2 - I get a "Database Logon Failed" error message. If I restart the server, I can generate a PDF of report 2 successfully and as many times as I want but report 1 will get a "Database Logon Failed" error message.
    Has anyone seen this behavior before? My code is very concise and manually closes the report document (and forces the garbage collection to run) once the PDF has been generated. However, for some reason, the report is staying in memory and is trying to run again even though it has been closed. It is driving me crazy.
    Thanks in advance for any assistance you can offer.

    Let's get the server confusion out of the way.
    A "server" runtime install is an msi file called CrystalReports11_5_NET_2005.msi.
    The msi is in a download called Crystal Reports XI Release 2 - FP x.x .NET Server Install (where x.x refers to SP or FP version (e.g.; Crystal Reports XI Release 2 - FP 5.6 .NET Server Install)
    So, this gives you an easy way of installing the CR runtime on a server (e.g.. Win 2003 server). No CR server (RAS) implication here. To install the runtime, all you have to do is run the msi, provide the keycode when prompted and the runtime is installed. You should see the directory C:\Program Files\Business Objects\Common\3.5\bin created. No pretty interface, etc. If you want a pretty interface, you create your own setup project or msi using the CR msm files.
    Hopefully this clears up the "server" confusion.
    To the actual issue on hand.
    You say this works with older "Crystal Reports viewers" installed on a WIN 2003 64 bit server. My question is; does this CR XI r2 based app work anywhere? Your dev box? Staging server?
    Ludek

  • Database initialization failed after attach the database.

    Hello Everyone,
    I have a problem after detaching the database and attaching it again (I moved the database to another partition because of shortage of disk space). Then, I find that the system can not start. (I've two systems and now neither of them could start). The error seems very similar.
    In the pure java system(netweaver 04s) log: jvm_bootstrap.out,
    com.sap.engine.bootstrap.synchronizationException: Database Initializtion Failed! Check database properties.
    com.sap.engine.frame.core.configuration.configurationException: Error while connecting to DB.
    Caused by: java.sql.SQLException: [NWMss] [SQLServer JDBC Driver] [SQLServer] Login failed for user 'SAPBP0DB'.
    In pure ABAP system(Netweaver 04s) log: dev_w12:
    openoledbConnection: MARS property was not set.
    openoledbConnection: line 23722. hr: 0x8000ffff login failed for user 'CNDT50083414\SAPServiceBE0'.
    sloledb.cpp [openoledbConnection, line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    sloledb.cpp [openoledbConnection, line 23722]: Error/Message: (err 0, sev 0), Invalid string connection attribute.
    Is this because the DB not started? In Windows Services, I found 'MSSQLServer' is started.
    How can I trace down to this problem? I don't have much idea on DB...
    All your kindly help is greatly appreciated.
    Best Regards,

    Hi Karan,
    Thank you for your reply. I attach the dev_w0 file here:
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Tue Sep 23 13:16:15 2008
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\BE0\DVEBMGS02\exe\dbmssslib.dll' ...
    B  Library 'C:\usr\sap\BE0\DVEBMGS02\exe\dbmssslib.dll' loaded
    B  Version of 'C:\usr\sap\BE0\DVEBMGS02\exe\dbmssslib.dll' is "700.08", patchlevel (0.158)
    B  New connection 0 created
    M sysno      02
    M sid        BE0
    M systemid   562 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    159
    M intno      20050900
    M make:      multithreaded, Unicode, 64 bit, optimized
    M pid        1704
    M
    M  kernel runs with dp version 237000(ext=110000) (@(#) DPLIB-INT-VERSION-237000-UC)
    M  length of sys_adm_ext is 576 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 1704) [dpxxdisp.c   1316]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpShMCreate: sizeof(wp_adm)          21008     (1616)
    M  DpShMCreate: sizeof(tm_adm)          5912624     (29416)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
    M  DpShMCreate: sizeof(comm_adm)          552080     (1088)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (104)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1864)
    M  DpShMCreate: sizeof(wall_adm)          (41664/36752/64/192)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 0000000011080050, size: 6604928)
    M  DpShMCreate: allocated sys_adm at 0000000011080050
    M  DpShMCreate: allocated wp_adm at 0000000011082150
    M  DpShMCreate: allocated tm_adm_list at 0000000011087360
    M  DpShMCreate: allocated tm_adm at 00000000110873C0
    M  DpShMCreate: allocated wp_ca_adm at 000000001162ABF0
    M  DpShMCreate: allocated appc_ca_adm at 00000000116309B0
    M  DpShMCreate: allocated comm_adm at 00000000116328F0
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 00000000116B9580
    M  DpShMCreate: allocated gw_adm at 00000000116B9600
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 00000000116B9630
    M  DpShMCreate: allocated wall_adm at 00000000116B9640
    M  rdisp/queue_size_check_value :  -> off
    M  ThTaskStatus: rdisp/reset_online_during_debug 0
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  <EsNT> Using memory model view.
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    M  ThInit: running on host CNDT50083414

    M Tue Sep 23 13:16:16 2008
    M  calling db_connect ...
    C  Thread ID:6104
    C  Thank You for using the SLOLEDB-interface
    C  Using dynamic link library 'C:\usr\sap\BE0\DVEBMGS02\exe\dbmssslib.dll'
    C  dbmssslib.dll patch info
    C    patchlevel   0
    C    patchno      158
    C    patchcomment Corrections of odbc-based dbsl: dsql: optype, DSN (1135165)
    C  np:(local) connection used on CNDT50083414
    C  CopyLocalParameters: dbuser is 'be0'

    C Tue Sep 23 13:16:17 2008
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: MARS property was not set.
    C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  failed to establish conn to np:(local).
    C  Retrying without protocol specifier: (local)
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  failed to establish conn. 0
    B  ***LOG BY2=> sql error -1     performing CON [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY0=> Login failed for user 'CNDT50083414\SAPServiceBE0'. [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY2=> sql error -1     performing CON [dblink#5 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> Login failed for user 'CNDT50083414\SAPServiceBE0'. [dblink#5 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1440]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10504]

    M  Info for wp 0

    M    pid = 1704
    M    severity = 0
    M    status = 0
    M    stat = WP_RUN
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_DIAWP
    M    act_reqtype = NO_REQTYPE
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source =
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    mode_cleaned_counter = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    attachedVm = no VM

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server CNDT50083414_BE0_02 on host CNDT50083414 (wp 0)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Tue Sep 23 13:16:17 2008
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10724
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   724]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  261]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 1704) [dpnttool.c   333]

  • Online backup recovery

    Hi All,
    I have the tape of online backup and that I have restored to the system. But it is asking about the more archive file i.e. I do not have. How can I restore these archive from this online backup tape. Can you guide me. Is it possible or not. Is archive file backed into online backup tape or not.
    Kindly suggest how to sort out this issue.
    Awaiting your reply.
    Regards,
    Ashu

    Hi Markus,
    I have used the following commands for restoring the backup :
    brrestore -m full -b <det_log_file> -c
    The above said command is not restoring the archive file but except archive all data file has been restored successfully.
    Regards,
    Jitendra

  • 10g RAC database: instances fail after a few days...

    Im afraid I'm new to Oracle, so assume total ignorance when replying!
    We have two servers, db1 and db2 running Oracle under Windows 2K3 web edition [SP1].
    Both have a shared Direct Attached Storage disk, over a Scsi fibre connection.
    The database is set up using instructions found online for RAC.
    Either instance will stop, and the other will take over, after a few days. The problem is, we aren't using the database yet. [There isn't a problem with it, the development people have checked that they can use the database.]
    The two errors [found using the EM console] which seem to be relevant are:
    'Metrics "Database Time Spent Waiting (%)" is at 100 for event class "other"'
    and 'Failed to connect to database instance ... TNS no listener'.
    [Which is obvioulsly the failure]
    I have scoured the web, and the rather dense reference books for Oracle I have access to, and to no avail.
    Another contributing factor is the 'WMI Performance Adaptor' stops and starts on both machines every thirty seconds.
    Any response/guidlines/advise would be greatly appreciated.
    Apologies if I have started this thread in the wrong place!
    James
    Spelling errors - Message was edited by: jmorse

    Tada, it failed at 4am last night.
    Below is the bottom half of the log file.
    2005-09-05 15:27:57.796: Attempting to start `ora.gandlake-db2.ASM2.asm` on member `gandlake-db2`
    2005-09-05 15:28:04.703: Start of `ora.gandlake-db2.ASM2.asm` on member `gandlake-db2` succeeded.
    2005-09-05 15:28:04.921: Attempting to start `ora.x200.x2002.inst` on member `gandlake-db2`
    2005-09-05 15:28:33.359: Start of `ora.x200.x2002.inst` on member `gandlake-db2` succeeded.
    2005-09-05 15:28:40.578: Start of `ora.x200.x2001.inst` on member `gandlake-db1` succeeded.
    2005-09-05 15:28:40.609: CRS Daemon Started.
    2005-09-05 15:28:41.140: Attempting to start >`ora.gandlake-db1.LISTENER_GANDLAKE-DB1.lsnr` on member `gandlake-db1`
    2005-09-05 15:30:06.078: Start of `ora.gandlake-db1.LISTENER_GANDLAKE-DB1.lsnr` on member `gandlake-db1` succeeded.
    `ora.gandlake-db1.vip` on `gandlake-db1` went OFFLINE unexpectedly
    2005-09-06 19:48:35.703: Attempting to stop `ora.gandlake-db1.vip` on member `gandlake-db1`
    2005-09-06 19:48:36.250: Stop of `ora.gandlake-db1.vip` on member `gandlake-db1` succeeded.
    Restarting `ora.gandlake-db1.vip` on `gandlake-db1`
    2005-09-06 19:48:36.312: Attempting to start `ora.gandlake-db1.vip` on member `gandlake-db1`
    2005-09-06 19:48:38.843: Start of `ora.gandlake-db1.vip` on member `gandlake-db1` succeeded.
    Successfully restarted `ora.gandlake-db1.vip` on `gandlake-db1`
    `ora.gandlake-db1.ons` on `gandlake-db1` went OFFLINE unexpectedly
    2005-09-06 22:59:36.875: Attempting to stop `ora.gandlake-db1.ons` on member `gandlake-db1`
    2005-09-06 22:59:38.218: Stop of `ora.gandlake-db1.ons` on member `gandlake-db1` succeeded.
    Restarting `ora.gandlake-db1.ons` on `gandlake-db1`
    2005-09-06 22:59:38.296: Attempting to start `ora.gandlake-db1.ons` on member `gandlake-db1`
    2005-09-06 22:59:40.109: Start of `ora.gandlake-db1.ons` on member `gandlake-db1` succeeded.
    Successfully restarted `ora.gandlake-db1.ons` on `gandlake-db1`
    `ora.gandlake-db1.vip` on `gandlake-db1` went OFFLINE unexpectedly
    2005-09-08 04:47:35.078: Attempting to stop `ora.gandlake-db1.vip` on member `gandlake-db1`
    2005-09-08 04:47:35.734: Stop of `ora.gandlake-db1.vip` on member `gandlake-db1` succeeded.
    `ora.gandlake-db1.vip` ran out of restarts on `gandlake-db1`
    `ora.gandlake-db1.vip` failed on `gandlake-db1`, relocating.
    2005-09-08 04:47:35.875: Attempting to stop `ora.gandlake-db1.LISTENER_GANDLAKE-DB1.lsnr` on member `gandlake-db1`
    2005-09-08 04:47:36.718: Stop of `ora.gandlake-db1.LISTENER_GANDLAKE-DB1.lsnr` on member `gandlake-db1` succeeded.
    2005-09-08 04:47:36.765: Attempting to stop `ora.gandlake-db1.ASM1.asm` on member `gandlake-db1`
    2005-09-08 04:47:37.390: [RUNNABLELISTENER:4648] state change aborted (locked): ora.x200.x2001.inst
    2005-09-08 04:47:44.578: Stop of `ora.gandlake-db1.ASM1.asm` on member `gandlake-db1` succeeded.
    2005-09-08 04:47:44.625: Attempting to stop `ora.x200.x2001.inst` on member `gandlake-db1`
    2005-09-08 04:47:46.531: Stop of `ora.x200.x2001.inst` on member `gandlake-db1` succeeded.
    2005-09-08 04:47:46.625: Attempting to start `ora.gandlake-db1.vip` on member `gandlake-db2`
    2005-09-08 04:47:50.203: Start of `ora.gandlake-db1.vip` on member `gandlake-db2` succeeded.x200 is the name of the database, there are two instances in total, db1 and db2. The company name is 'gandlake', and the machines are called 'gandlake-db1' and 'gandlake-db2'.
    Thanks again.

  • Owbsys.wb_rt_api_exec.open fails after upgrade to OWB 11gR2

    The following code is used as a PLSQL wrapper to execute OWB mappings and is based on the good old run_my_own_stuff.sql. We have been mandated to use Tivoli as the corporate scheduler, meaning we do not have Workflow as a solution. We have implemented the audit_execution_id as an input parameter to all the mappings to be able to link the data to the OWBSYS audit tables, as well as return mapping performance and success info to the execution process/session. I have implemented this exact same procedure in 10gR1, 10gR2 and 11gR1 (current dev env) with no problems at all - the code ports easily. However following an upgrade (actually an export/import of the repository from 11gR1 on a 64bit solaris to 11gR2 on Exadata running enterprise linux 5) - actually the test server (I know, I know, I said the same thing!), the code now fails on the wb_rt_api_exec.open line (highlighted).
    CREATE OR REPLACE PROCEDURE bi_ref_data.map (p_map_name IN VARCHAR2)
    -- Procedure to execute ETL mapping package via command line call
    -- Mapping names are held in the BI_REF_DATA.MAP_NAME table
    -- with the mapping type and location data
    AS
    v_repos_owner VARCHAR2 (30) := <repository_owner>;
    v_workspace_owner VARCHAR2 (30) := <workspace_owner>;
    v_workspace_name VARCHAR2 (30) := <workspace_name>;
    v_loc_name VARCHAR2 (30);
    v_map_type VARCHAR2 (30);
    v_map_name VARCHAR2 (30) := UPPER (p_map_name);
    v_retval VARCHAR2 (255);
    v_audit_execution_id NUMBER; -- Audit Execution Id
    v_audit_result NUMBER;
    v_start_time timestamp := LOCALTIMESTAMP;
    v_end_time timestamp;
    v_execution_time NUMBER;
    v_record_rate NUMBER := 0;
    v_records_selected NUMBER;
    v_records_inserted NUMBER;
    v_records_updated NUMBER;
    v_records_deleted NUMBER;
    v_records_merged NUMBER;
    v_errors NUMBER;
    v_failure VARCHAR2 (4000);
    e_no_data_found_in_audit exception;
    v_audit_exec_count NUMBER;
    e_execution_id_error exception;
    BEGIN
    SELECT UPPER (loc_name), UPPER (map_type)
    INTO v_loc_name, v_map_type
    FROM bi_ref_data.owb_map_table
    WHERE UPPER (map_name) = UPPER (v_map_name);
    IF UPPER (v_map_type) = 'PLSQL'
    THEN
    v_map_type := 'PLSQL';
    ELSIF UPPER (v_map_type) = 'SQL_LOADER'
    THEN
    v_map_type := 'SQLLoader';
    ELSIF UPPER (v_map_type) = 'SAP'
    THEN
    v_map_type := 'SAP';
    ELSIF UPPER (v_map_type) = 'DATA_AUDITOR'
    THEN
    v_map_type := 'DataAuditor';
    ELSIF UPPER (v_map_type) = 'PROCESS'
    THEN
    v_map_type := 'ProcessFlow';
    END IF;
    -- Changed code for owb11gr2
    -- owbsys.wb_workspace_management.set_workspace (v_workspace_name, v_workspace_owner);
    owbsys.wb_rt_script_util.set_workspace (v_workspace_owner || '.' || v_workspace_name);
    v_audit_execution_id   := owbsys.wb_rt_api_exec.open (v_map_type, v_map_name, v_loc_name);
    IF v_audit_execution_id IS NULL
    OR v_audit_execution_id = 0
    THEN
    RAISE e_execution_id_error;
    END IF;
    v_retval := v_retval || 'audit_execution_id=' || TO_CHAR (v_audit_execution_id);
    v_audit_result := owbsys.wb_rt_api_exec.execute (v_audit_execution_id);
    IF v_audit_result = owbsys.wb_rt_api_exec.result_success
    THEN
    v_retval := v_retval || ' --> SUCCESS';
    ELSIF v_audit_result = owbsys.wb_rt_api_exec.result_warning
    THEN
    v_retval := v_retval || ' --> WARNING';
    ELSIF v_audit_result = owbsys.wb_rt_api_exec.result_failure
    THEN
    v_retval := v_retval || ' --> FAILURE';
    ELSE
    v_retval := v_retval || ' --> UNKNOWN';
    END IF;
    DBMS_OUTPUT.put_line (v_retval);
    owbsys.wb_rt_api_exec.close (v_audit_execution_id);
    v_end_time := LOCALTIMESTAMP;
    v_execution_time := bi_ref_data.get_seconds_from_interval (v_end_time - v_start_time);
    v_retval := 'Execution time = ' ||
    v_execution_time ||
    ' seconds.';
    DBMS_OUTPUT.put_line (v_retval);
    SELECT COUNT (w.rta_select)
    INTO v_audit_exec_count
    FROM owbsys.owb$wb_rt_audit w
    WHERE w.rte_id = v_audit_execution_id;
    IF v_audit_exec_count = 0
    THEN
    RAISE e_no_data_found_in_audit;
    END IF;
    SELECT w.rta_select,
    w.rta_insert,
    w.rta_update,
    w.rta_delete,
    w.rta_merge,
    rta_errors
    INTO v_records_selected,
    v_records_inserted,
    v_records_updated,
    v_records_deleted,
    v_records_merged,
    v_errors
    FROM owbsys.owb$wb_rt_audit w
    WHERE w.rte_id = v_audit_execution_id;
    v_retval := v_records_selected || ' records selected';
    DBMS_OUTPUT.put_line (v_retval);
    IF v_records_inserted > 0
    THEN
    v_retval := v_records_inserted || ' inserted';
    DBMS_OUTPUT.put_line (v_retval);
    END IF;
    IF v_records_updated > 0
    THEN
    v_retval := v_records_updated || ' updated';
    DBMS_OUTPUT.put_line (v_retval);
    END IF;
    IF v_records_deleted > 0
    THEN
    v_retval := v_records_deleted || ' deleted';
    DBMS_OUTPUT.put_line (v_retval);
    END IF;
    IF v_records_merged > 0
    THEN
    v_retval := v_records_merged || ' merged';
    DBMS_OUTPUT.put_line (v_retval);
    END IF;
    IF v_errors > 0
    THEN
    v_retval := v_errors || ' errors';
    DBMS_OUTPUT.put_line (v_retval);
    END IF;
    IF v_execution_time > 0
    THEN
    v_record_rate := TRUNC ( (v_records_inserted + v_records_updated + v_records_deleted + v_records_merged) / v_execution_time, 2);
    v_retval := v_record_rate || ' records/sec';
    DBMS_OUTPUT.put_line (v_retval);
    END IF;
    IF (v_audit_result = owbsys.wb_rt_api_exec.result_failure
    OR v_audit_result = owbsys.wb_rt_api_exec.result_warning)
    THEN
    FOR cursor_error
    IN (SELECT DISTINCT aml.plain_text
    FROM owbsys.owb$wb_rt_audit_messages am
    INNER JOIN
    owbsys.owb$wb_rt_audit_message_lines aml
    ON am.audit_message_id = aml.audit_message_id
    WHERE am.audit_execution_id = v_audit_execution_id)
    LOOP
    DBMS_OUTPUT.put_line (cursor_error.plain_text);
    END LOOP;
    END IF;
    -- OWBSYS.wb_rt_api_exec.close (v_audit_execution_id);
    COMMIT;
    EXCEPTION
    WHEN e_execution_id_error
    THEN
    raise_application_error (-20011, 'Invalid execution ID returned from OWB');
    -- RAISE;
    WHEN e_no_data_found_in_audit
    THEN
    raise_application_error (-20010, 'No data found in audit table for execution_id - ' || v_audit_execution_id);
    -- RAISE;
    WHEN NO_DATA_FOUND
    THEN
    raise_application_error (-20001, 'Error in reading data from OWBSYS tables.');
    -- RAISE;
    END;
    Does anyone out there know if there is a difference between 11gR1 and R2 in the way that the wb_rt_api_exec function works?
    Is there a simple way to retrieve the audit_id before executing the mapping, or at a push during the mapping so that we can maintain the link between the session data and the OWBSYS audit data?
    Martin

    Hi David, I have been reading some of your posts and blogs around OWB and I still have not found the answer.
    OK, thereis/was a script that Oracle Support/forums/OTN sent out a while ago called "run_my_iowb_stuff" - I am sure you will be familiar with it. I based the code I uploaded on it and added additional functionality. In essence, I wanted to use the audit_id as an input parameter tot he mapping, so that I can register the audit_id in the management tables, and associate each row of loaded data with a specific mapping_id which would allow a simple link to the owbsys audit tables to complete the audit circle. To that end, I used the owbsys.wb_rt_api_exec.open procedure to register the mapping execution, and then on the execute procedure of the same package, I passed this audit_id in as a custom parameter:
    <<snip>>
    owbsys.wb_workspace_management.set_workspace (v_workspace_name, v_workspace_owner);
    v_audit_execution_id := owbsys.wb_rt_api_exec.open (v_map_type, v_map_name, v_loc_name, 'PLSQL');
    IF v_audit_execution_id IS NULL
    OR v_audit_execution_id = 0
    THEN
    RAISE e_execution_id_error;
    END IF;
    v_retval := v_retval || 'audit_execution_id=' || TO_CHAR (v_audit_execution_id);
    IF v_include_mapping_id > 0 -- if non-zero, submit owb execution id as an input parameter to the map process
    THEN
    owbsys.wb_rt_api_exec.override_input_parameter (
    v_audit_execution_id,
    'p_execution_id',
    TO_CHAR (v_audit_execution_id),
    owbsys.wb_rt_api_exec.parameter_kind_custom
    END IF;
    <<snip>>
    The execution is closed, also by the use of the audit_id ( "owbsys.wb_rt_api_exec.close (v_audit_execution_id)" )
    I can also use the audit_id to inspect the audit tables to retrieve the records processed as well as any associated error messages, and format them for the calling application (owSQL*Plus, which is normally the context of our current use).
    This procedure has been working weel up to now until we moved over to 11gR2 when all of a sudden the audit_id is not returned when executing "v_audit_execution_id := owbsys.wb_rt_api_exec.open (v_map_type, v_map_name, v_loc_name);". Prior to 11gR2 this worked like a charm - now it has crashed to a halt.
    As an interesting twist, I have tried to substitute a sequence number for the audit_id, and then tried to get the audit_id after the mapping completes, so that I can put both the sequence and audit id in a table so it maintains the link. However in attempting to use the owbsys.wb_rt_script_util.run_task procedure which now appears to be the only thing left working, I was astonished to see the following output in sqlplus:
    SQL> exec map1('stg_brand')
    Stage 1: Decoding Parameters
    | location_name=STAGE_MOD
    | task_type=PLSQLMAP
    | task_name=STG_BRAND
    Stage 2: Opening Task
    | l_audit_execution_id=2135
    Stage 3: Overriding Parameters
    Stage 4: Executing Task
    | l_audit_result=1 (SUCCESS)
    Stage 5: Closing Task
    Stage 6: Processing Result
    | exit=1
    --> SUCCESS
    Execution time = .647362 seconds.
    records/sec
    PL/SQL procedure successfully completed.
    SQL>
    This output seems so identical to the "run_my_owb_stuff" that either Oracle support generated their "run_my_owb_stuff" as a lightweight owbsys.wb_rt_script_util.run_task procedure, or Oracle incorporated the "run_my_owb_stuff" script into their owbsys.wb_rt_script_util.run_task procedure! Which way round I cannot say, but it is surely one or the other! To make matters worse, I have raised this with Oracle Support, and they have the temerity to claim that they do not support the "run_my_owb_stuff" script, but think enough of it to incorporate it into their own package in a production release!
    To overcome my problems, in the short term, I need to be able to access the audit_id either during or after the execution of the mapping, so that I can at least associate that with a sequence number I am having to pass in as a parameter to each mapping. In the longer term, i would like a solution to be able to access the audit_id before I execute the mapping, as I could by calling the "owbsys.wb_rt_api_exec.open " procedure. Ideally this would be solved first and I would not need to use a sequence at all.
    Hope this clarifies things a bit.
    Regards
    Martin

  • Database login failed after upgrade to VS 2008

    I am having trouble with one of my reports after upgrading a project from VS 2005 to VS 2008. All reports work fine except for one. The one that doesn't work has a subreport and I am assuming that the subreport is the cause of the problem.
    My configuration is  - using Crystal Reports Professional XI  (11.5.8.826)
    The web server has Crystal reports server install, but I know very little about it. When I installed it, I had so much trouble configuring it, I don't know what it is that I finally got to work on the server. I think I ended up installing one of the runtimes a while back to get it working.
    When I upgraded my project, I simply opened the project in VS 2008, set the target as .net 3.5, built it and everything works except for this one report.
    Can someone please tell me what I need to install, or change on the server to make this work properly?
    Is there a way that I can determine how my reports are being served up? As I said, I'm not very familiar with the CR server and I had a lot of trouble with it when I did the initial configuration.
    Thanks

    Thanks for the reply. I got the upgrade complete, but I am still getting the database logon error.  I am using Visual Studio 2008, C#, Crystal Reports 2008 (dll version 12.0.2), Sql Server 2000. All of my reports work fine except for this one. The difference in this one is that it has a subreport. The report and subreport are using stored procedures. I have tried using the sa account to login to them. They login to two different databases on the same database server.
    Here is the code that I am using to login to the database.
    public enum ReportDatabase{MGA, Brokers, Intranet, TimeClock };
            public void SetDBLogonForTables(Tables tables, ReportDatabase database)
                string _userid = string.Empty;
                string _password = string.Empty;
                switch (database)
                    case ReportDatabase.MGA:
                        _userid = "abc";
                        _password = "123";
                        break;
                    case ReportDatabase.Brokers:
                        _userid = "abc";
                        _password = "123";
                        break;
                    case ReportDatabase.Intranet:
                        _userid = "abc";
                        _password = "123";
                        break;
                    case ReportDatabase.TimeClock:
                        _userid = "abc";
                        _password = "123";
                        break;
                ConnectionInfo _connection = new ConnectionInfo();
                _connection.ServerName = "123.123.123.212";
                _connection.DatabaseName = database.ToString();
                _connection.UserID = _userid;
                _connection.Password = _password;
                foreach (Table table in tables)
                    TableLogOnInfo _logoninfo = table.LogOnInfo;
                    _logoninfo.ConnectionInfo = _connection;
                    table.ApplyLogOnInfo(_logoninfo);

  • Time Machine backups fail after initial backup in Yosemite

    After upgrading from Mavericks to Yosemite, I was able to run one backup to my trusty USB drive.  Subsequent backups all start with "Preparing backup", and will write roughly 900KB to disk (or so it says) and then fails.  I created a Time Machine-compatible network drive on my Drobo 5n, and again, the initial backup is successful, and subsequent ones fail.  This is concerning and infuriating.  I'm hoping someone out there has encountered this problem as well.
    Please note: this is regarding backups only.  I see a handful of discussions about not being able to perform restores in Yosemite, but that is not my issue.

    Same here.
    From Time Machine Buddy app:
    Starting manual backup
    Total content size: 424.3 GB excluded items size: 21.01 GB for volume Macintosh HD
    Found 2439814 files (403.3 GB) needing backup
    424.87 GB required (including padding), 250.63 GB available
    Deleted backup /Volumes/Backupmac/Backups.backupdb/.df. (3)/2014-10-23-120445.inProgress/F8CFC567-7E6E-49B0-B366-88DF31DAF49B containing 4 KB; 250.63 GB now available, 424.87 GB required
    Removed 1 expired backups so far, more space is needed - deleting oldest backups to make room
    Deleted 1 backups containing 4 KB total; 250.63 GB now available, 424.87 GB required
    Backup date range was shortened: oldest backup is now Oct 23, 2014
    Backup failed with error 7: Not enough available disk space on the target volume.
    It wants to do a full backup. Fine... so why doesn't it just delete more of the old backups to do so? I don't want to wipe the backup drive and start over now, but that seems like the only way to go.

  • CRVS2010 Beta - Database login fails after setting select formula

    I am working through how to call the report and have it print programatically.  I was able to get it to print with the saved data, but as soon as i add a recordSelectionFormula to it, it fails saying the login is incorrect.  I have searched the forums and tried the different resolutions some people have used, but it still fails for me.  What about the select formula would cause this issue?  below is the code i am using.  Please let me know what I am missing, thank you.
                ReportDocument crDoc = new ReportDocument();
                crDoc.Load("c:
    shipmgmt
    reports
    PackingSlip.rpt");
                crDoc.SetDatabaseLogon("user", "password", "localhost", "shipmgmt");
                crDoc.RecordSelectionFormula = "{ld_mstr.ldm_nbr} = \"13994\" AND {ld_mstr.ldm_ord} = \"665527\"";
                Object sfVal = new Object();
                sfVal = "R&S COLUMBIA";
                Object prncases = new Object();
                prncases = false;
                crDoc.SetParameterValue("shipFrom", sfVal);
                crDoc.SetParameterValue("prnCases", prncases);
                crDoc.PrintOptions.PrinterName = "
    wc-printserver
    wccsr";
                crDoc.PrintToPrinter( 1, false, 0, 0 );
                crDoc.Dispose();

    Hello,
    Copy the record selection formula from the Designer and paste that into your code, then use a report without the record selection formula saved in it and test again.
    Next step is what database and driver are you using? Joinbuilder registry keys were for old legacy drivers. This may be an issue with the driver configuration.
    ALSO, don't use "localhost" as your Server name or DSN name etc. Try replacing it with the actual DB server/machine name:
    crDoc.SetDatabaseLogon("user", "password", "localhost", "shipmgmt");
    Thanks again
    Don

  • Time Machine fails after first backup

    iMac has a 2T HD with only a little less than 1T used.  Have 4T external G-drive partitioned in two.  One half I do SuperDuper backups on and the other half for Time Machine.  SuperDuper backups go fine.  The first TM backup went fine and continued fine for three days, then would not again - failed.  I ran disk utility on the G-drive (repair disk) and the the TM back up went fine but only once, then failed on subsequent attempts. I get hourly messages saying it could not back up.  "Unable to complete backup. An error occured while creating the back up folder".  If I repeat with disk repair with Disk Utility, I can do another TM backup, but only the first one, then I get the messages again every hour that it can't back up.  Ideas would be appreciated.  Thanks

    Try Section C here > http://pondini.org/TM/Troubleshooting.html

  • Mailbox database size before & after backup

    Hi there
    i recently made a similar thread and someone told me that i should do it here so here is my issue :
    i've been assigned to do a specific report related to exchange and its backup 
    so what we want is a report that would give us the global size of all our mailbox databases before and after the backup ( even the size of the logs before and after)
    (example : we have a mailbox database X: , we need to go inside the data folder, and retrieve the size of the .edb
    then do the same thing with the logs, go inside the logs folder, and retrieve the logs size )
    i was wondering if anyone ever managed to pull a script that does similar things, given the fact that i ve never worked with powershell and my knowledge is kinda limited in that area
    Thanks

    Hi Amassuo,
    for finished scripts that do things, check out the
    gallery. If you want to learn powershell (I might be biased, but I highly recommend it), check out the
    learning center.
    Regarding your specific issue, you can check the free space on a specific disk by running this powershell command:
    Get-WmiObject win32_logicaldisk -Filter "DeviceID = 'C:'" | Select -ExpandProperty FreeSpace
    Comparing before/after will get you the space differential (adapt drive letter in filter as needed).
    Cheers and good luck with your script,
    Fred
    There's no place like 127.0.0.1

  • Online Backup error in QA server

    Dear all,
    AIX ,Oracle 10g ,ECC6.0
    Online backup has been finished with error .
    Kindly check the belog logs
    BR0063I 14 of 43 files processed - 72560.109 MB of 182799.625 MB done
    BR0204I Percentage done: 39.69%, estimated end time: 16:14
    BR0001I ********************______________________________
    BR0280I BRBACKUP time stamp: 2010-06-01 15.43.44
    BR0301E SQL error -600 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-00600: internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]
    BR0310E Connect to database instance IRQ failed
    BR0311E Connect to database instance IRQ during online backup failed
    BR0278I Command output of '/usr/sap/IRQ/SYS/exe/run/brconnect':
    BR0801I BRCONNECT 7.00 (34)
    PID=1589294
    2515030 : map : Permission Denied
    3264560 : map : Permission Denied
    1233032 : map : Permission Denied
    BR0280I BRCONNECT time stamp: 2010-06-01 15.43.45
    #SIGNAL CAUGHT: 15
    BR0074W BRCONNECT call failed
    BR0280I BRBACKUP time stamp: 2010-06-01 15.43.47
    BR0301E SQL error -600 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-00600: internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]
    BR0310E Connect to database instance IRQ failed
    BR0056I End of database backup: bediybrd.ant 2010-06-01 15.43.44
    BR0280I BRBACKUP time stamp: 2010-06-01 15.43.47
    BR0054I BRBACKUP terminated with errors
    Kindly suggest
    Regards

    Hi,
    It is funny that Ora-600 is not passing any valid arguments. For checking it on metalink, you will atleast need the first two arguments. Please check the alert log for any more details..
    Also is  your system working fine now? and are the offline backups taken successfully? If the backup is failing at a particular datafile then I would suggest to check that file for any possibl block corruptions using RMAN check of DBV..
    Regards,
    Anup

Maybe you are looking for