Online Backup Failed from DB13, brbackup runs on application server

Hi Everone,
I am getting problem when i am scheduling Online Backup from DB13 t-code.
Backup gets failed because logical command BRBACKUP execute on our Application server host rather than DBCI server host.
I have pest the lob logs below:
Job started
Step 001 started (program RSDBAJOB, variant &0000000000389, user ID BASIS)
Execute logical command BRBACKUP On host xyzapp - (Application server)
Parameters:-u / -jid ALLOG20110824210000 -c force -t online -m all -p initSEP.sap -a -c force -p initSEP.sap -s
d
BR0051I BRBACKUP 7.00 (40)
BR0252E Function fopen() failed for '/oracle/client/10x_64/instantclient/dbs/initSEP.sap' at location BrInitSapRead-1
BR0253E errno 2: No such file or directory
BR0159E Error reading BR*Tools profile /oracle/client/10x_64/instantclient/dbs/initSEP.sap
BR0280I BRBACKUP time stamp: 2011-09-02 21.01.09
BR0301E SQL error -12545 at location BrDbConnect-2, SQL statement:
'CONNECT /'
ORA-12545: Connect failed because target host or object does not exist
BR0310E Connect to database instance SEP failed
BR0056I End of database backup: begroqyn.log 2011-09-02 21.01.09
BR0280I BRBACKUP time stamp: 2011-09-02 21.01.09
BR0054I BRBACKUP terminated with errors
External program terminated with exit code 3
BRBACKUP returned error status E
Job finished
Please help.
Thanks,
Ocean

Hello
The previous contributor is correct, the profile is usually read from ORACLE_HOME.  I have never seen this error linking to the Oracle client directory, please double check the following
Ensure that your envirionment variables are correctly set ORACLE_HOME, DIR_LIBRARY
Brtools are always installed on the DB server and can be called from any application server.   if you are scheduling from DB13 on the application server, what is the connection setup?  RSH, RFC,  standalone gateway?
If using a standalone gateway, it must be installed on the DB server, please refer to oss notes #446172, #1025707
Best Regards
Rachel

Similar Messages

  • Online backup fail through DB13

    Dear experts,
    I am using sap BW 7.4 under oracle 11.0.2.4
    I am trying to take online backup on disk
    I select action whole database online backup + redo file backup as will as
    Full database online backup and BRACHIVE function is -sd
    but  backup was failed I am unable to resolve it  following are logs generated during backup
    #SAVED.... /oracle/online/beokvzrl/system.data1  #1/17
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:20
    BR0063I 17 of 17 files processed - 51610.133 of 51610.133 MB done
    BR0204I Percentage done: 100.00%, estimated end time: 10:58
    BR0001I **************************************************
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:20
    BR0317I 'Alter tablespace SYSTEM end backup' successful
    BR0252W Function kill() failed for '17891582:15' at location BrKill-3
    BR0253W errno 3: No such process
    BR0278I Command output of '/usr/sap/BWD/SYS/exe/run/brconnect':
    BR0801I BRCONNECT 7.40 (6)
    PID=17891582
    BR0252E Function fopen() failed for '/oracle/BWD/sapbackup/.user.pas' at location global_set-1
    BR0253E errno 13: Permission denied
    BR0074W BRCONNECT call failed
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:22
    BR0530I Cataloging backups of all database files...
    BR0278E Command output of 'SHELL=/bin/sh /oracle/BWD/112_64/bin/rman nocatalog':
    Recovery Manager: Release 11.2.0.4.0 - Production on Sat Aug 2 10:58:23 2014
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    RMAN>
    RMAN> connect target *
    connected to target database: BWD (DBID=2340275772)
    using target database control file instead of recovery catalog
    RMAN> **end-of-file**
    RMAN>
    host command complete
    RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of catalog command on default channel at 08/02/2014 10:58:25
    ORA-19564: error occurred writing 8192 bytes at block number 1
    ORA-27091: unable to queue I/O
    ORA-27041: unable to open file
    IBM AIX RISC System/6000 Error: 13: Permission denied
    Additional information: 3
    Additional information: 4
    Additional information: 4194434
    RMAN>
    Recovery Manager complete.
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:25
    BR0279E Return code from 'SHELL=/bin/sh /oracle/BWD/112_64/bin/rman nocatalog': 1
    BR0536E RMAN call for database instance BWD failed
    BR0200I BR_TRACE: location BrRmanCall-56, commands for RMAN in: /oracle/BWD/sapbackup/.beokvzrl.cmd
    @/oracle/BWD/sapbackup/..beokvzrl..cmd
    host '/usr/sap/BWD/SYS/exe/run/brtools -f delete /oracle/BWD/sapbackup/..beokvzrl..cmd';
    catalog datafilecopy
    '/oracle/online/beokvzrl/sr3.data1',
    '/oracle/online/beokvzrl/sr3.data2',
    '/oracle/online/beokvzrl/sr3.data3',
    '/oracle/online/beokvzrl/sr3.data4',
    '/oracle/online/beokvzrl/sr3.data5',
    '/oracle/online/beokvzrl/sr3.data6',
    '/oracle/online/beokvzrl/sr3740.data1',
    '/oracle/online/beokvzrl/sr3740.data2',
    '/oracle/online/beokvzrl/sr3740.data3',
    '/oracle/online/beokvzrl/sr3740.data4',
    '/oracle/online/beokvzrl/sr3740.data5',
    '/oracle/online/beokvzrl/sr3740x.data1',
    '/oracle/online/beokvzrl/sr3740x.data2',
    '/oracle/online/beokvzrl/sr3usr.data1',
    '/oracle/online/beokvzrl/undo.data1',
    '/oracle/online/beokvzrl/sysaux.data1',
    '/oracle/online/beokvzrl/system.data1'
    level 0 tag beokvzrl;
    exit;
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:25
    BR0532E Cataloging backups of all database files failed
    BR0056I End of database backup: beokvzrl.fnd 2014-08-02 10:58:25
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:25
    BR0054I BRBACKUP terminated with errors
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:25
    I am unable to understand why RMAN is use ?
    and what parameters are used when I will take backup on tape
    Kindly guide me
    Regards

    Dear Srivastava for your reply,
    I download latest brtools patch and apply it and change authorization  profile parameters is also OK ( I run whole database online backup from brtools using same profile it done successfully )
    full permission ( 777) in sapbackup folder and sub folder but through db13 backup is successfully with warning
    BR0204I Percentage done: 100.00%, estimated end time: 11:57
    BR0001I **************************************************
    BR0252W Function kill() failed for '10420324:15' at location BrKill-3
    BR0253W errno 3: No such process
    BR0278I Command output of '/usr/sap/BWD/SYS/exe/run/brconnect':
    BR0801I BRCONNECT 7.40 (10)
    PID=10420324
    BR0252E Function fopen() failed for '/oracle/BWD/sapbackup/.user.pas' at location global_set-1
    BR0253E errno 13: Permission denied
    BR0074W BRCONNECT call failed
    BR0280I BRBACKUP time stamp: 2014-08-04 11:57:59
    BR0340I Switching to the next online redolog file for database instance BWD ...
    BR0321I Switch to the next online redolog file for database instance BWD successful
    BR0117I ARCHIVE LOG LIST after backup for database instance BWD
    Parameter                      Value
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            /oracle/BWD/oraarch/BWDarch
    Archive format                 %t_%s_%r.dbf
    Oldest online log sequence     838
    Next log sequence to archive   841
    Current log sequence           841              SCN: 28074154
    Database block size            8192             Thread: 1
    Current system change number   28074155         ResetId: 842452156
    BR0202I Saving space_log
    BR0203I to /oracle/bck/online/BWD ...
    BR0202I Saving /oracle/BWD/sapbackup/beolgapq.and
    BR0203I to /oracle/bck/online/BWD ...
    BR0202I Saving /oracle/BWD/sapbackup/backBWD.log
    BR0203I to /oracle/bck/online/BWD ...
    BR0056I End of database backup: beolgapq.and 2014-08-04 11:58:01
    BR0280I BRBACKUP time stamp: 2014-08-04 11:58:01
    BR0053I BRBACKUP completed successfully with warnings or non-fatal errors
    1. BR0252W Function kill() failed for '10420324:15' at location BrKill-3
        BR0253W errno 3: No such process
    2. BR0252E Function fopen() failed for '/oracle/BWD/sapbackup/.user.pas' at location  global_set-1
    BR0253E errno 13: Permission denied
    BR0074W BRCONNECT call failed
    why it backup not open file .user.pas ( it is not exist in this folder )
    Kindly guide me
    Regards

  • Online Backup Failed with error-BR0268E Asynchronous execution of program..

    Hi,
    We are using DB13 for Online backup.But from few days it failing with below error.
    BR0268E Asynchronous execution of program interrupted, exit status: c0000094
    BR0267E Asynchronous execution of program failed
    BR0278E Command output of 'F:\usr\sap\QE2\SYS\exe\uc\NTAMD64\mkszip -c F:\ORACLE\QE2\SAPDATA4\SR3_22\SR3.DATA22 >
    Can someone please help on this issue? Thanks in advance.
    Regards,
    Kiran M

    Hi,
    Check below threads.
    BRbackup problem on new system
    Offline backup failed with BR0253E errno 13: Permission denied
    BR0268E Asynchronous execution of program interrupted, exit status: c000009
    Thanks,
    Sushil
    Edited by: Sushil Suryawanshi on May 28, 2009 8:16 PM

  • Crystal Reports 2013 Failed to find an Available Report Application Server.

    Hi Experts,
    I am unable to Publish Crystal Reports 2013 to the BI 4.1 SP2 Enterprise.
    I have installed SAP CR 2013 on my Laptop and also on our Citrix machine, from both systems I am getting the following error when try to publish:
    Failed to find an Available Report Application Server.
    All the ports and firewall are open, when doing some trace with Wireshark, its assigning some random ports starting with 64960.
    On the same machine, i have installed Crystal Reports 2008, I could publish reports to Enterprise.
    Could you please let me know what might be the issue.
    Is Crystal Reports 2013 need any specific port to be assigned?
    Thanks,
    Kris

    Hello Experts,
    In addition to assiging the ports for below servers,
         Crystal 2013 Report Application Server
         Crystal Processing Server
         Input File Repository Server
         Outout File Repository Server
    I have configured the following setting also:  Add Service Account that the
    CMS runs under to the server's local admin group.
    Still I am getitng the following error when trying  to save the report to Enterprise:
    "  Failed to find an Available Report Application Server  "
    Please advise .
    Thanks,
    Kris

  • Migrating applciation from weblogic to oracle 9i application server(OC4J)??????

    Hi,
    I am migrating my ejb application from weblogic to oracle 9i application server.What changes are needed to be made in code and what configuration changes are required.
    In my application i use a couple of session beans wherin a session bean calls the method of the other session bean which acceses the database.I am using a jdbc thin driver for the database connection. is it possible for a session bean to call a method of another session bean which access the database??This concept works well in weblogic where the current application is running.
    The problem is that while migrating the application to the orion server, it gives an OrionCMTException ...
    memory leak..etc.
    Could any one clarify.
    Thanks in advance!!!

    Hi Avi and Harrison,
    Cease Fire avi!!!!.First of all let me clear the issue of posting the same problem twice.Well, when i mentioned the problem the first time , i found the title session bean deployment was not right and few people would look into it as it was a common problem so i thought it would be appropriate if i mentioned the title correctly , so i posted the query again with the change in title.
    Now coming to the answer for ur questions.
    The platform used is MS Windows NT.
    The (OC4J) version is 1.0.2.2.1.
    I am not using JDeveloper.
    The database is oracle 8i and i am using the thin driver.
    The beans to be deployed are stateless session beans.
    The client involved is a web client i.e a jsp application.
    The first session bean is as follows.
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.Vector;
    import java.sql.Timestamp;
    import java.rmi.RemoteException;
    import java.util.Date;
    import javax.ejb.*;
    import javax.naming.*;
    import initcontext;
    import PrintMessage;
    import JB_B2B_ERROR_PARSER;
    * @stereotype SessionBean
    * @homeInterface DB_UTILITYHome
    * @remoteInterface DB_UTILITYRemote
    public class DB_UTILITY implements SessionBean
         private SessionContext context;
    private ResultSet rs = null;
    private Statement stmt = null;
    private Connection con = null;
    private PrintMessage print = null;
    public DB_UTILITY()
    rs = null;
    stmt = null;
    con = null;
    print = new PrintMessage();
         public Connection getConnection()throws RemoteException
              InitialContext initctx = null;
              Connection con = null;
              try
                   initctx = initcontext.getContext();
                   javax.sql.DataSource ds =
    (javax.sql.DataSource)initctx.lookup("java:comp/env/jdbc/ePool");
                   con = ds.getConnection();
    //(javax.sql.DataSource)initctx.lookup("java:comp/env/jdbc/ePool");
    catch(NamingException namingexception)
    print.printUserMessage("DB_UTILITY", (new
    Date()).toString(), "", namingexception);
    throw new
    EpoolException(JB_B2B_ERROR_PARSER.getErrorMessage("AppError",
    "Epool-10001", "DB_UTILITY.getConnection"));
    catch(SQLException sqlexception)
    print.printUserMessage("DB_UTILITY", (new
    Date()).toString(), "", sqlexception);
    throw new
    epoolException(JB_B2B_ERROR_PARSER.getErrorMessage("DBError",
    JB_B2B_ERROR_PARSER.getSQLCode(sqlexception),
    "DB_UTILITY.getConnection"));
    catch(Exception exception)
    print.printUserMessage("DB_UTILITY", (new
    Date()).toString(), "", exception);
    throw new
    epoolException(JB_B2B_ERROR_PARSER.getErrorMessage("EpoolError",
    "Epool10005", "DB_UTILITY.getConnection"));
              return con;
         public String getDate()throws RemoteException
              String Date=null;
              try
                   con=getConnection();
                   stmt=con.createStatement();
                   rs=stmt.executeQuery("SELECT
    TO_CHAR(SYSDATE,'YYYY-MM-DD HH:MI:SS') FROM DUAL");
                   while(rs.next())
                        Date=rs.getString(1);
                   stmt.close();
                   con.close();
    catch(SQLException sqlexception)
         print.printUserMessage("DB_UTILITY", (new
    Date()).toString(), "", sqlexception);
    throw new
    EpoolException(JB_B2B_ERROR_PARSER.getErrorMessage("DBError",
    JB_B2B_ERROR_PARSER.getSQLCode(sqlexception), "DB_UTILITY.getDate"));
    catch(Exception exception)
         print.printUserMessage("DB_UTILITY", (new
    Date()).toString(), "", exception);
    throw new
    EpoolException(JB_B2B_ERROR_PARSER.getErrorMessage("epoolError",
    "Epool10005", "DB_UTILITY.getDate"));
    finally
    try
    if(con != null && !con.isClosed())
    con.close();
    catch(Exception exception2)
    stmt = null;
    con = null;
              return Date;
         public void setSessionContext(SessionContext context)
              this.context = context;
         public void ejbActivate()
         public void ejbPassivate()
         public void ejbCreate()
         public void ejbRemove()
    Also the xml files are as follows.
    web.xml
    <?xml version="1.0"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems,
    Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <!-- A friendly name for this web application, this name can be used in visual development environments, for instance -->
    <display-name>AddressBook Web Application</display-name>
    <!-- A human-readable description of this web application -->
    <description>Web module that contains an HTML welcome page, and 4 JSP's.</description>
    <!-- The file(s) to show when no file is specified, i.e. only the directory is specified. -->
    <welcome-file-list>
    <welcome-file>B2B_COUNTRY_CODE.jsp</welcome-file>
    </welcome-file-list>
    <ejb-ref>
    <ejb-ref-name>SB_B2B_COUNTRY_CODEHome</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>SB_B2B_COUNTRY_CODEHome</home
    <remote>SB_B2B_COUNTRY_CODERemote</remote>
    </ejb-ref></web-app>
    Application.xml
    <?xml version="1.0"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">
    <application>
    <display-name>Country Code</display-name>
    <module>
    <ejb>epool_CountryCode-ejb.jar</ejb>
    </module>
    <module>
    <web>
    <web-uri>epool_CountryCode-web.war</web-uri>
    <context-root>/epool_CountryCode-web</context-root>
    </web>
    </module>
    </application>
    ejb-jar.xml:
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
    <ejb-jar>
    <description>epool_CountryCode</description>
    <enterprise-beans>
    <session>
    <display-name>CountryCode Session
    Bean</display-name>
    <ejb-name>SB_B2B_COUNTRY_CODERemote</ejb-name>
    <home>SB_B2B_COUNTRY_CODEHome</home>
    <remote>SB_B2B_COUNTRY_CODERemote</remote>
    <ejb-class>SB_B2B_COUNTRY_CODE</ejb-class>
    <session-type>Stateless</session-type>
    <ejb-ref>
    <description>EJB Epool DButility</description>
         <ejb-ref-name>DB_UTILITYRemote</ejb-ref-name>
                   <ejb-ref-type>Session</ejb-ref-type>
                   <home>DB_UTILITYHome</home>
                   <remote>DB_UTILITYRemote</remote>
              </ejb-ref>
              <ejb-ref>
              <description>EJB Entity Bean</description>
    <ejb-ref-name>EB_B2B_COUNTRY_CODERemote</ejb-ref-name>
                   <ejb-ref-type>Entity</ejb-ref-type>
                   <home>EB_B2B_COUNTRY_CODEHome</home>
              <remote>EB_B2B_COUNTRY_CODERemote</remote>
              </ejb-ref>
    </session>
    <session>
    <display-name>DbUtility Session Bean</display-name>
    <ejb-name>DB_UTILITYRemote</ejb-name>
    <home>DB_UTILITYHome</home>
    <remote>DB_UTILITYRemote</remote>
    <ejb-class>DB_UTILITY</ejb-class>
    <session-type>Stateless</session-type>
    </session>
    <entity>
    <ejb-name>EB_B2B_COUNTRY_CODERemote</ejb-name>
         <home>EB_B2B_COUNTRY_CODEHome</home>
         <remote>EB_B2B_COUNTRY_CODERemote</remote>
         <ejb-class>EB_B2B_COUNTRY_CODE</ejb-class>
         <persistence-type>Container</persistence-type>
         <prim-key-class>EB_B2B_COUNTRY_CODEPK</prim-key-class>
         <reentrant>False</reentrant>
         <cmp-field>
         <field-name>country_code_desc</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>phone_format_flag</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>country_code</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>active_date</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>date_created</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>active_flag</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>country_phone_code</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>country_tax_percent</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>sort_order</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>date_modified</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>user_created</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>user_modified</field-name>
         </cmp-field>
         <resource-ref>
         <description></description>
         <res-ref-name>jdbc/ePool</res-ref-name>
         <res-type>javax.sql.DataSource</res-type>
         <res-auth>Container</res-auth>
         </resource-ref>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
         <container-transaction>
              <method>
                   <ejb-name>EB_B2B_COUNTRY_CODERemote</ejb-name>
                   <method-name>*</method-name>
              </method>
              <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <security-role>
    <description>Users</description>
    <role-name>users</role-name>
    </security-role>
    </assembly-descriptor>
    </ejb-jar>
    The session bean which uses the above session bean is as follows.
    import javax.ejb.SessionContext;
    import javax.ejb.SessionBean;
    import java.sql.*;
    import javax.naming.Context;
    import java.sql.Timestamp;
    import java.util.Vector;
    import initcontext;
    import DB_UTILITYHome;
    import DB_UTILITYRemote;
    import EB_B2B_COUNTRY_CODEHome;
    import EB_B2B_COUNTRY_CODERemote;
    import EB_B2B_COUNTRY_CODEPK;
    * @stereotype SessionBean
    * @homeInterface SB_B2B_COUNTRY_CODEHome
    * @remoteInterface SB_B2B_COUNTRY_CODERemote
    public class SB_B2B_COUNTRY_CODE implements SessionBean
         private SessionContext context;
         * Sets the context of the bean
         * @param context The Bean's Context
         public Vector selectCountryCode(String query,String
    countquery, String pagenos) throws Exception
              Context ctx = initcontext.getContext();
              Connection con=null;
              Vector records=new Vector();
              int pageno=Integer.parseInt(pagenos);
              int min=(pageno-1)*10;
              int max=pageno*10;
              int counter=0;
              boolean recordsfound=false;     
              try
                   DB_UTILITYHome home =
    (DB_UTILITYHome)ctx.lookup("java:comp/env/DB_UTILITYRemote");
                   DB_UTILITYRemote remote =
    (DB_UTILITYRemote)home.create();
                   con=remote.getConnection();
                   Statement stmt = con.createStatement();
                   ResultSet rscount =
    stmt.executeQuery(countquery);
                   while(rscount.next())
                        int temp=rscount.getInt(1);
                        int pagecount=temp;
                        pagecount=pagecount/10;
                        if((temp%10)>0)
                        pagecount=pagecount+1;               
                        records.addElement(""+pagecount);
                   ResultSet rs = stmt.executeQuery(query);
                   while(rs.next())
                        counter++;
                        if(counter>min && counter<=max)
                             String row[]=new String[8];     
                             recordsfound=true;
                             row[0]=rs.getString(1);
                             row[1]=rs.getString(2);
                             row[2]=rs.getString(3);
                             row[3]=rs.getString(4);
                             row[4]=rs.getString(5);
                             row[5]=rs.getString(6);
                             row[6]=rs.getString(7);
                             row[7]=rs.getString(8);          
                             records.addElement(row);
              con.close();               
              catch(Exception e)
                   System.out.println("Error in selecting Country
    Code "+e);
                   throw new Exception("Error in selecting Country
    Code "+e);
              return(records);     
         public void insertCountryCode(String country_code, String
    country_code_desc, String country_phone_code, String
    phone_format_flag,String active_flag, String sort_order,String
    country_tax_percent)throws Exception
              Context ctx = initcontext.getContext();
              Double Sort_Order=null;
              Double cntry_tax_prct=null;
              if(sort_order!=null && sort_order.length()>0)          
              Sort_Order=new Double(sort_order);          
              if(country_tax_percent!=null &&
    country_tax_percent.length()>0)          
              cntry_tax_prct=new Double(country_tax_percent);
              String user_created=null;
              Timestamp date_created=null;
              Timestamp active_date=null;
              String user_modified=null;
              Timestamp date_modified=null;          
              try
                   DB_UTILITYHome dbhome =
    (DB_UTILITYHome)ctx.lookup("java:comp/env/DB_UTILITYRemote");
                   DB_UTILITYRemote dbremote =
    (DB_UTILITYRemote)dbhome.create();
                   user_created=dbremote.getUser();
    date_created=Timestamp.valueOf(dbremote.getDate());
                   active_date=date_created;
                   EB_B2B_COUNTRY_CODEHome home =
    (EB_B2B_COUNTRY_CODEHome)ctx.lookup("java:comp/env/EB_B2B_COUNTRY_CODER
    emote");
                   EB_B2B_COUNTRY_CODERemote remote =
    (EB_B2B_COUNTRY_CODERemote)home.create(country_code, country_code_desc,
    country_phone_code,active_flag, phone_format_flag,user_created,
    date_created, active_date, Sort_Order, user_modified,
    date_modified,cntry_tax_prct);                              
              catch(Exception e)
                   System.out.println("Error in Creating COUNTRY
    Code "+e);
                   throw new Exception("Error in Creating COUNTRY
    Code "+e);
         public void setSessionContext(SessionContext context)
              this.context = context;
         public void ejbActivate()
         public void ejbPassivate()
         public void ejbCreate()
         public void ejbRemove()
    The jsp client which acces the beans is as follows.
    <BODY >
    <%@ page language="java" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="initcontext" %>
    <%@ page import = "java.util.*" %>
    <%@ page import="DB_UTILITYHome"%>
    <%@ page import="DB_UTILITYRemote"%>
    <%@ page import="javax.naming.*"%>
    <%Connection con=null; %>
    <script src="search_getvalues.js">
    </script>
    <form name=frm1>
    <%! int intCount,intI,intRowCount,intJ;
    String strtname=new String();
    String strhidden=new String("txthdn");
         Statement st;
         ResultSet rs;
         ResultSetMetaData rmeta;
    ....%>
    <%
    try
         Context ctx = initcontext.getContext();
         DB_UTILITYHome dbhome =
    (DB_UTILITYHome)ctx.lookup("java:comp/env/DB_UTILITYRemote");
         DB_UTILITYRemote dbremote = (DB_UTILITYRemote)dbhome.create();
         con=dbremote.getConnection();
         st=con.createStatement();
         rs=st.executeQuery(strsqlquery);
         rmeta=rs.getMetaData();
    intCount=rmeta.getColumnCount();
    ....... %>
    </form>
    </BODY>
    </HTML>
    The resulting exception generated is as follows:
    D:\oc4j\j2ee\home>java -jar orion.jar
    Auto-unpacking
    D:\oc4j\j2ee\home\applications\epool_CountryCode\build\epool_CountryCod
    e.ear... done.
    Auto-unpacking
    D:\oc4j\j2ee\home\applications\epool_CountryCode\build\epool_CountryCod
    e\epool_CountryCode-web.war... done.
    Auto-deploying epool_CountryCode (New server version detected)...
    Auto-deploying epool_CountryCode-ejb.jar (No previous deployment
    found)... done.
    Error deploying
    file:/D:/oc4j/j2ee/home/demo/messagelogger/messagelogger-ejb.jar homes:
    No javax.jms.Destination found a
    t the specified destination-location (jms/theTopic) for
    MessageDrivenBean com.evermind.logger.MessageLogger
    Oracle9iAS (1.0.2.2.1) Containers for J2EE initialized
    Auto-deploying epool countryCode example (New server version
    detected)...
    ************************1
    ************************2
    COUNT QUERY :SELECT COUNT(COUNTRY_CODE) FROM BAP_COUNTRY_CODE
    QUERY :SELECT
    COUNTRY_CODE,COUNTRY_CODE_DESC,COUNTRY_PHONE_CODE,PHONE_FORMAT_FLAG,COU
    NTRY_TAX_PERCENT ,SORT_ORDER,ACTIVE
    FLAG,ACTIVEDATE FROM BAP_COUNTRY_CODE order by COUNTRY_CODE
    Error in selecting Country Code java.rmi.RemoteException: Error
    (de-)serializing object: com.evermind.sql.OrionCMTConnec
    tion; nested exception is:
    java.io.NotSerializableException:
    com.evermind.sql.OrionCMTConnection
    JB:Error in selecting country cd java.lang.Exception: Error in
    selecting Country Code java.rmi.RemoteException: Error (d
    e-)serializing object: com.evermind.sql.OrionCMTConnection; nested
    exception is:
    java.io.NotSerializableException:
    com.evermind.sql.OrionCMTConnection
    Error in Selecting Records
    OrionCMTConnection not closed, check your code!
    LogicalDriverManagerXAConnection not closed, check your code!
    (Use -Djdbc.connection.debug=true to find out where the leaked
    connection was created)
    Auto-unpacking
    D:\oc4j\j2ee\home\applications\epool_CountryCode\build\epool_CountryCod
    e.ear... Error unpacking: IO Error:
    The system cannot find the path specified
    Error updating application epool_CountryCode: Unable to find/read
    assembly info for D:\oc4j\j2ee\home\applications\epool_C
    ountryCode\build\epool_CountryCode (META-INF/application.xml)
    But if the DBUTILITY session bean is changed to a simple bean and accessed the code works fine and i am able to retrieve the data.Is the problem there because u one session bean cannot access a database connection method from another one or could it be because of the driver???
    I hope i am clear.Please revert back in case any more references are needed.
    Thanks in advance!!!!!!

  • How to delete string or line from unix file(dataset) of application server

    Hi  All,
    After transfer workarea information or all records into dataset(unix file). When I see the file in application server automatically the last line is shown a blank line. I am not passing any blank line.
    I have tried for single record than also the file generates the last line(2nd line) also a blank line.
    When I m reading the dataset, it is not reading the last blank line but why it is showing the last blank line?
    How to delete string or line from unix file(dataset) of application server?
    Please give your comments to resolve this.
    Thanks
    Tirumula Rao Chinni

    Hi Rio,
    I faced similar kind of issue working with files on UNIX platform.
    The line is a line feed to remove it use
    DATA : lv_carr_linefd TYPE abap_cr_lf VALUE cl_abap_char_utilities=>cr_lf. 
      DATA : lv_carr_return TYPE char1,                                   
             lv_line_feed   TYPE char1.                                          
      lv_line_feed   = lv_carr_linefd(1).
      lv_carr_return = lv_carr_linefd+1(1).
    Note: IMP: The character in ' ' is not space but is a special
    character set by pressing ALT and +255 simultaneosly
      REPLACE ALL OCCURRENCES OF lv_line_feed IN l_string WITH ' '.
      REPLACE ALL OCCURRENCES OF lv_carr_return IN l_string WITH ' '.

  • Sending data from final internal table  to application server in xml format

    hi to all ,
    can anyone send details about send data from final internal table to application server in xml format.right now i am able to download data to presentation server in xml format . love to here soon from all the abap gigs.

    welcome to SDN.
    are you using call transformation to convert itab to XML? the XML string is in which format?
    convert it to xstring and then use the following code to store it in application server.
    OPEN DATASET fname FOR OUTPUT IN BINARY MODE.
    TRANSFER XML_content TO FNAME.
    CLOSE DATASET FNAME.
    where fname is the path to the file name.
    Regards
    Raja

  • DB Check and Online Backup failed

    Hi!
    I would like to execute DB check, DB online backup and other db relevant actions.
    Unfortunately when I schedule and execute DB check from tcode DB13 I get the following error:
    BR0801I BRCONNECT 7.00 (38)
    BR0805I Start of BRCONNECT processing: ceafbnrz.chk 2009-03-25 10.53.35
    BR0484I BRCONNECT log file: F:oracleSC3sapcheckceafbnrz.chk
    BR0280I BRCONNECT time stamp: 2009-03-25 10.53.36
    BR0301E SQL error -1012 at location db_connect-5, SQL statement:
    'SELECT NAME FROM V$DATABASE WHERE ROWNUM = 1'
    ORA-01012: not logged on
    BR0310E Connect to database instance SC3 failed
    BR0280I BRCONNECT time stamp: 2009-03-25 10.53.36
    BR0301E SQL error -1012 at location db_connect-5, SQL statement:
    'SELECT NAME FROM V$DATABASE WHERE ROWNUM = 1'
    ORA-01012: not logged on
    BR0310E Connect to database instance SC3 failed
    BR0806I End of BRCONNECT processing: ceafbnrz.chk 2009-03-25 10.53.36
    BR0280I BRCONNECT time stamp: 2009-03-25 10.53.36
    BR0804I BRCONNECT terminated with errors
    When I try to execute online backup with BRARCHIVE I get the following error:
    BR0051I BRBACKUP 7.00 (38)
    BR0055I Start of database backup: beafcicl.and 2009-03-25 14.43.27
    BR0484I BRBACKUP log file: F:oracleSC3sapbackup eafcicl.and
    BR0071E BRBACKUP currently running or was killed
    BR0072I Please delete file F:oracleSC3sapbackup.lock.brb if BRBACKUP was killed
    BR0073E Setting of BRBACKUP lock failed
    BR0056I End of database backup: beafcicl.and 2009-03-25 14.43.27
    BR0280I BRBACKUP time stamp: 2009-03-25 14.43.28
    BR0054I BRBACKUP terminated with errors
    Can some one tell me how to solve this problem?
    Thank you very much!
    regards
    Jürgen

    > The content of the file alert<sid>.log
    > Wed Mar 25 17:13:46 2009
    > Errors in file f:\oracle\sc3\saptrace\usertrace\sc3_ora_1488.trc:
    > ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_opiosq076] [PC:0x10565AC] [ADDR:0x46] [UNABLE_TO_READ] []+
    This doesn't look good
    Are you running the latest patchset and interim patch? Some ORA-07445 were fixed with the patches.
    Markus

  • Online Backup Failed (Status Its shows Scheduling failed)

    Dear all ,
    OS AIX , DB Oracle , SAP ECC6.0 , Tivoli Storage Manager
    Scheduled  Online Backups are  failed  (Backups are fired through DB13)
    JOB Status : Scheduling failed
    Job Log:
    02.12.2009     17:00:01     Job started
    02.12.2009     17:00:01     Step 001 started (program RSDBAJOB, variant &0000000000657, user ID BASIS)
    02.12.2009     17:00:01     No application server found on database host - rsh/gateway will be used
    02.12.2009     17:00:01     Execute logical command BRBACKUP On host PRODORADB
    02.12.2009     17:00:01     Parameters:-u / -jid ALLOG20091201170000 -c force -t online -m all -p initIRPoffsite.sap -a -c force -p initIRP
    02.12.2009     17:00:01     offsite.sap -cds
    02.12.2009     17:01:01     SXPG_STEP_XPG_START: is_local_host: rc = 403
    02.12.2009     17:01:01     SXPG_STEP_XPG_START: host = PRODORADB
    02.12.2009     17:01:01     SXPG_STEP_XPG_START: is_local_r3_host: rc = 802
    02.12.2009     17:01:01     SXPG_STEP_XPG_START: RFC_TCPIP_CONNECTION_OPEN: rc = 1003
    02.12.2009     17:01:01     SXPG_STEP_COMMAND_START: SXPG_STEP_XPG_START returned: 1.003
    02.12.2009     17:01:01     SXPG_COMMAND_EXECUTE(LONG)
    02.12.2009     17:01:01     <timestamp> = 20091202170101
    02.12.2009     17:01:01     COMMANDNAME = BRBACKUP
    02.12.2009     17:01:01     ADDITIONAL_PARAMETERS =
    02.12.2009     17:01:01     -u / -jid ALLOG20091201170000 -c force -t online -
    02.12.2009     17:01:01     m all -p initIRPoffsite.sap -a -c force -p initIRP
    02.12.2009     17:01:01     offsite.sap -cds
    02.12.2009     17:01:01     LONG_PARAMS
    02.12.2009     17:01:01     OPERATINGSYSTEM = ANYOS
    02.12.2009     17:01:01     TARGETSYSTEM = PRODORADB
    02.12.2009     17:01:01     DESTINATION
    02.12.2009     17:01:01     SY-SUBRC = 1003
    02.12.2009     17:01:01     SXPG_COMMAND_EXECUTE failed for BRBACKUP - Reason: program_start_error: For More Information, See SYS
    02.12.2009     17:01:01     Job cancelled after system exception ERROR_MESSAGE
    Note :
    when i execute immediately or through Command line  backup  is going fine
    but when i scheduling  backup it was Cancelled  (Status shows Schudling Failed)
    pls give me suggestion
    sathessh

    Dear Yoganand.V
    thanks for your immediate response
    and still i am facing this issue
    the Backups are triggered from DB13 and Scheduled from Central Instance not Application Server and Auto Script is running at OS level and pls look FINISHED BACKUP LOG for your Reference
    08.12.2009     17:50:18     Job started
    08.12.2009     17:50:18     Step 001 started (program RSDBAJOB, variant &0000000000717, user ID S2K_BASIS)
    08.12.2009     17:50:18     No application server found on database host - rsh/gateway will be used
    08.12.2009     17:50:18     Execute logical command BRBACKUP On host PRODORADB
    08.12.2009     17:50:18     Parameters:-u / -jid ALLOG20091208175017 -c force -t online -m all -p initIRPdaily.sap -a -c force -p initIRPda
    08.12.2009     17:50:18     ily.sap -cds
    08.12.2009     18:29:23     BR0051I BRBACKUP 7.00 (34)
    08.12.2009     18:29:23     BR0055I Start of database backup: becbwhwk.anf 2009-12-08 17.50.18
    08.12.2009     18:29:23     BR0484I BRBACKUP log file: /oracle/IRP/sapbackup/becbwhwk.anf
    08.12.2009     18:29:23     BR0477I Oracle pfile /oracle/IRP/102_64/dbs/initIRP.ora created from spfile /oracle/IRP/102_64/dbs/spfileIRP.ora
    08.12.2009     18:29:23     
    08.12.2009     18:29:23     BR0280I BRBACKUP time stamp: 2009-12-08 17.50.19
    08.12.2009     18:29:23     BR0319I Control file copy created: /oracle/IRP/sapbackup/cntrlIRP.dbf 15122432
    08.12.2009     18:29:23     
    08.12.2009     18:29:23     BR0280I BRBACKUP time stamp: 2009-12-08 17.50.20
    08.12.2009     18:29:23     BR0057I Backup of database: IRP
    08.12.2009     18:29:23     BR0058I BRBACKUP action ID: becbwhwk
    08.12.2009     18:29:23     BR0059I BRBACKUP function ID: anf
    08.12.2009     18:29:23     BR0110I Backup mode: ALL
    08.12.2009     18:29:23     BR0077I Database file for backup: /oracle/IRP/sapbackup/cntrlIRP.dbf
    08.12.2009     18:29:23     BR0061I 42 files found for backup, total size 141794.742 MB
    08.12.2009     18:29:23     BR0143I Backup type: online
    08.12.2009     18:29:23     BR0130I Backup device type: util_file_online
    08.12.2009     18:29:23     BR0109I Files will be saved by backup utility
    08.12.2009     18:29:23     BR0142I Files will be switched to backup status during the backup
    08.12.2009     18:29:23     BR0289I BRARCHIVE will be started at the end of processing
    08.12.2009     18:29:23     BR0134I Unattended mode with 'force' active - no operator confirmation allowed
    08.12.2009     18:29:23     
    08.12.2009     18:29:23     BR0280I BRBACKUP time stamp: 2009-12-08 17.50.20
    08.12.2009     18:29:23     BR0229I Calling backup utility with function 'backup'...
    08.12.2009     18:29:23     BR0278I Command output of '/usr/sap/IRP/SYS/exe/run/backint -u IRP -f backup -i /oracle/IRP/sapbackup/.becbwhwk.lst -t file_onli
    08.12.2009     18:29:23     
    08.12.2009     18:29:23     Data Protection for SAP(R)
    08.12.2009     18:29:23     
    08.12.2009     18:29:23     Interface between BR*Tools and Tivoli Storage Manager
    08.12.2009     18:29:23     - Version 5, Release 5, Modification0.0  for AIX LF 64-bit -
    08.12.2009     18:29:23     Build: 316B  compiled on Oct 23 2007
    08.12.2009     18:29:23     (c) Copyright IBM Corporation, 1996, 2007, All Rights Reserved.
    08.12.2009     18:29:23     
    08.12.2009     18:29:23     BKI2027I: Using TSM-API version 5.5.1.0 (compiledwith 5.3.0.0).
    08.12.2009     18:29:23     BKI2000I: Successfully connected to ProLE on porttdpr3ora64.
    08.12.2009     18:29:23     BKI0005I: Start of program at: Tue Dec  8 17:50:20 IST 2009 .
    08.12.2009     18:29:23     
    08.12.2009     18:29:23     
    08.12.2009     18:29:23     -- Parameters --
    08.12.2009     18:29:23     Input File            : /oracle/IRP/sapbackup/.becbwhwk.lst
    08.12.2009     18:29:23     Profile               : /oracle/IRP/102_64/dbs/initIRPdaily.utl
    08.12.2009     18:29:23     Configfile            : /oracle/IRP/102_64/dbs/initIRP.bki
    08.12.2009     18:29:23     Manual sorting file   : disabled
    08.12.2009     18:29:23     Tracefile             : disabled
    08.12.2009     18:29:23     Traceflags            : disabled
    08.12.2009     18:29:23     Parallel sessions     : 1
    08.12.2009     18:29:23     Multiplexed files     : 1
    08.12.2009     18:29:23     RL compression        : 0
    08.12.2009     18:29:23     Exit on error         : disabled
    08.12.2009     18:29:23     BATCH                 : enabled
    08.12.2009     18:29:23     Buffer size           : 131072
    08.12.2009     18:29:23     Buffer Copy Mode      : SIMPLE
    08.12.2009     18:29:23     Redologcopies         : disabled
    08.12.2009     18:29:23     Versioning            : enabled
    08.12.2009     18:29:23     Current Version      : 581
    08.12.2009     18:29:23     Versions to keep     : 6
    08.12.2009     18:29:23     Delete Versions      : <= 575
    08.12.2009     18:29:23     Backup Type           : file_online
    08.12.2009     18:29:23     TSM log server        : disabled
    08.12.2009     18:29:23     TSM server            : [email protected] with 2 sessions configured, using 1 session
    08.12.2009     18:29:23     TSM client node      : PRODORADB_TDP
    08.12.2009     18:29:23     Days for backup      : Sun Mon Tue Wed Thu Fri Sat
    08.12.2009     18:29:23     Backup mgmt class    : DAILYMGMTCLASS
    08.12.2009     18:29:23     Archiv mgmt class    : DAILYMGMTCLASS
    08.12.2009     18:29:23     
    08.12.2009     18:29:23     
    08.12.2009     18:29:23     BR0280I BRBACKUP time stamp: 2009-12-08 18.24.44
    08.12.2009     18:29:23     BR0232I 8 of 8 files saved by backup utility
    08.12.2009     18:29:23     BR0230I Backup utility called successfully
    08.12.2009     18:29:23     
    08.12.2009     18:29:23     BR0056I End of database backup: becbwhwk.anf 2009-12-08 18.24.44
    08.12.2009     18:29:23     BR0280I BRBACKUP time stamp: 2009-12-08 18.24.44
    08.12.2009     18:29:23     BR0052I BRBACKUP completed successfully
    08.12.2009     18:29:23     
    08.12.2009     18:29:23     BR0280I BRBACKUP time stamp: 2009-12-08 18.24.44
    08.12.2009     18:29:23     BR0291I BRARCHIVE will be started with options '-U -jid ALLOG20091208175017 -d util_file -c force -p initIRPdaily.sap -cds'
    08.12.2009     18:29:23     
    08.12.2009     18:29:23     BR0280I BRBACKUP time stamp: 2009-12-08 18.29.23
    08.12.2009     18:29:23     BR0292I Execution of BRARCHIVE finished with return code 0
    08.12.2009     18:29:23     Job finished
    regards

  • OnLine backup fails with error BR0278E

    Hi,
    My BRbackup is getting cancelled with online. But offline is ok.
    I have been update brtools. but this question is still.
    DB13;
    BR0106I Files will be saved on disk in directory: /oracle/PBQ/sapdata5/bdyzlxtv
    BR0289I BRARCHIVE will be started at the end of processing
    BR0134I Unattended mode with 'force' active - no operator confirmation allowed
    BR0370I Directory /oracle/PBQ/sapdata5/bdyzlxtv created
    BR0202I Saving init_ora
    BR0203I to /oracle/PBQ/sapdata5/PBQ ...
    BR0202I Saving /oracle/PBQ/102_64/dbs/temp.sap
    BR0203I to /oracle/PBQ/sapdata5/PBQ ...
    BR0280I BRBACKUP time stamp: 2008-10-09 14.35.52
    BR0198I Profiles saved successfully
    BR0280I BRBACKUP time stamp: 2008-10-09 14.35.52
    BR0315I 'Alter tablespace PSAPSR3 begin backup' successful
    BR0252E Function fopen() failed for '/oracle/PBQ/sapdata2/sr3_1/sr3.data1' at location BrSparseCreate-1
    BR0253E errno 22: Invalid argument
    BR0280I BRBACKUP time stamp: 2008-10-09 14.35.54
    BR0317I 'Alter tablespace PSAPSR3 end backup' successful
    Brtools:
    BR0280I BRBACKUP time stamp: 2008-10-09 15.21.12
    BR0315I 'Alter tablespace PSAPSR3 begin backup' successful
    BR0201I Compressing /oracle/PBQ/sapdata2/sr3_1/sr3.data1
    BR0203I to /oracle/PBQ/sapdata5/bdyzmbuf/sr3.data1.Z ...
    BR0278E Command output of 'LANG=C compress -c /oracle/PBQ/sapdata2/sr3_1/sr3.data1 > /oracle/PBQ/sapdata5/bdyzmbuf/sr3.data1.Z':
    /oracle/PBQ/sapdata2/sr3_1/sr3.data1: Invalid argument
    BR0280I BRBACKUP time stamp: 2008-10-09 15.21.12
    BR0279E Return code from 'LANG=C compress -c /oracle/PBQ/sapdata2/sr3_1/sr3.data1 > /oracle/PBQ/sapdata5/bdyzmbuf/sr3.data1.Z': 1
    BR0224E Compressing /oracle/PBQ/sapdata2/sr3_1/sr3.data1 to /oracle/PBQ/sapdata5/bdyzmbuf/sr3.data1.Z failed due to previous errors
    BR0280I BRBACKUP time stamp: 2008-10-09 15.21.14
    BR0317I 'Alter tablespace PSAPSR3 end backup' successful
    OS:AIX 5.3.0.0
    DB:oracle 102.2
    pls help me.
    Thanks.

    Hi,
    Check the below thread, which exactly talks about the problem you have. you've to follow note 948294
    Re: BRBACKUP FAILED CAN NOT COPY SR3.DATA1
    https://service.sap.com/sap/support/notes/948294
    Regards,
    Debasis.

  • Regarding Full online Backup failed

    Dear All,
    I have faceing one issue related to SAP system backup, i have shedule sap backup by DB13(full online backup) but frequently it will failed and showing same return code 005. Bellow mentioned is log details pls. check:-  
    datafile copy filename=/oracle/P01/sapbackup/behgluac.spa/p01.data26 recid=40001 stamp=767722216
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of catalog command on default channel at 11/20/2011 16:10:16
    ORA-19665: size 517120 in file header does not match actual file size of 514560
    ORA-19664: file type: datafile copy, file name: /oracle/P01/sapbackup/behgluac.spa/p01.data27RMAN>
    Recovery Manager complete.
    BR0280I BRBACKUP time stamp: 2011-11-20 16.10.17
    *BR0279E Return code from 'SHELL=/bin/sh /oracle/P01/102_64/bin/rman nocatalog': 1*
    BR0536E RMAN call for database instance P01 failedBR0280I BRBACKUP time stamp: 2011-11-20 16.10.17
    BR0532E Cataloging backups of all database files failedBR0056I End of database backup: behgluac.fnt 2011-11-20 16.10.17
    BR0280I BRBACKUP time stamp: 2011-11-20 16.10.17
    BR0054I BRBACKUP terminated with errors
    Pls. guide me and help me to reslove this issue.
    Our server OS is solaries 10 and DB is Oracle 10g.
    Regards,
    Sweetdiya.

    Hii,
    Can you tell  me option to take backup again on same day if 1st bakup will failure? Bcoz we have try to take backup on same day on same tape when 1st backup had terminated due to error sytem is not take backup. e.g if today tuesday i have take(sunday S01B01,mon S01B02 likethis) tape name S01B03 our  backup is failed due to error RC:- 005. we can re-execute bakup or shedule bckup in DB13 again it is agin failed.
    so can any body can guide us on this issue plz..
    Thanks in advance.
    Regards,
    Sweetdiya
    Edited by: sweetdiya on Nov 22, 2011 10:11 AM

  • Backup failed by DB13 & brtools both

    Hi gurus,
    I am trying to full database Backup Online, yesterday I was started it by using brtools but it was stoped after complition of 67%
    Error is :
    BR0801I BRCONNECT 7.00 (18)
    PID=5216
    BR0312E Database instance ECD shutdown during online backup
    BR0280I BRCONNECT time stamp: 2008-07-31 19.26.24
    #SIGNAL SENT: 22
    Now today I m trying to start backup again & failed by both DB13 as well as brtools with same error
    BR0051I BRBACKUP 7.00 (18)
    BR0055I Start of database backup: bdymldsi.ant 2008-08-01 14.08.24
    BR0477I Oracle pfile D:\oracle\ECD\102\database\initECD.ora created from spfile D:\oracle\ECD\102\database\spfileECD.ora
    BR0280I BRBACKUP time stamp: 2008-08-01 14.08.27
    BR0319I Control file copy created: F:\oracle\ECD\sapbackup\CNTRLECD.DBF 13844480
    BR0328E Database file F:\ORACLE\ECD\SAPDATA1\SR3700_1\SR3700.DATA1 of tablespace PSAPSR3700 is already in backup status
    BR0328E Database file F:\ORACLE\ECD\SAPDATA1\SR3700_2\SR3700.DATA2 of tablespace PSAPSR3700 is already in backup status
    BR0328E Database file F:\ORACLE\ECD\SAPDATA1\SR3700_3\SR3700.DATA3 of tablespace PSAPSR3700 is already in backup status
    BR0328E Database file F:\ORACLE\ECD\SAPDATA1\SR3700_4\SR3700.DATA4 of tablespace PSAPSR3700 is already in backup status
    BR0328E Database file F:\ORACLE\ECD\SAPDATA2\SR3700_5\SR3700.DATA5 of tablespace PSAPSR3700 is already in backup status
    BR0328E Database file F:\ORACLE\ECD\SAPDATA2\SR3700_6\SR3700.DATA6 of tablespace PSAPSR3700 is already in backup status
    BR0328E Database file F:\ORACLE\ECD\SAPDATA2\SR3700_7\SR3700.DATA7 of tablespace PSAPSR3700 is already in backup status
    BR0328E Database file F:\ORACLE\ECD\SAPDATA2\SR3700_8\SR3700.DATA8 of tablespace PSAPSR3700 is already in backup status
    BR0328E Database file F:\ORACLE\ECD\SAPDATA3\SR3700_9\SR3700.DATA9 of tablespace PSAPSR3700 is already in backup status
    BR0328E Database file F:\ORACLE\ECD\SAPDATA3\SR3700_10\SR3700.DATA10 of tablespace PSAPSR3700 is already in backup status
    BR0328E Database file F:\ORACLE\ECD\SAPDATA3\SR3700_11\SR3700.DATA11 of tablespace PSAPSR3700 is already in backup status
    BR0328E Database file F:\ORACLE\ECD\SAPDATA3\SR3700_12\SR3700.DATA12 of tablespace PSAPSR3700 is already in backup status
    BR0328E Database file F:\ORACLE\ECD\SAPDATA4\SR3700_13\SR3700.DATA13 of tablespace PSAPSR3700 is already in backup status
    BR0328E Database file F:\ORACLE\ECD\SAPDATA4\SR3700_14\SR3700.DATA14 of tablespace PSAPSR3700 is already in backup status
    BR0328E Database file F:\ORACLE\ECD\SAPDATA4\SR3700_15\SR3700.DATA15 of tablespace PSAPSR3700 is already in backup status
    BR0328E Database file F:\ORACLE\ECD\SAPDATA4\SR3700_16\SR3700.DATA16 of tablespace PSAPSR3700 is already in backup status
    BR0056I End of database backup: bdymldsi.ant 2008-08-01 14.08.27
    BR0280I BRBACKUP time stamp: 2008-08-01 14.08.28
    BR0054I BRBACKUP terminated with errors
    I checked to reset program status in brtools but same error found again.
    Thanks & Best Regards,
    Darshan..

    Hi,
    check backup problem
    regards,
    kaushal

  • Online backup failed

    Hello!
    I have a problem with online backup on my Windows machine.
    I'm using brtools on dbhost from application server.
    The same backup profile with offline options finished ok, but with backup type "online" I'm getting the following error.
    BR0201I Compressing C:\ORACLE\VBP\SAPDATA2\SR3_10\SR3.DATA10
    BR0203I to C:\oracle\backup\VBPdb\bdylcsei\SR3.DATA10.Z ...
    BR0280I BRBACKUP time stamp: 2008-07-25 12.28.46
    BR0266E Program '
    BIAPP\sapmnt\VBP\SYS\exe\uc\NTAMD64\mkszip -c C:\ORACLE\VBP\SAPDATA2\SR3_10\SR3.DATA10 > C:\oracle\backup\VBPdb\bdylcsei\SR3.DATA10.Z' interrupted, exit status: c00000fd
    BR0272E Execution of program '
    BIAPP\sapmnt\VBP\SYS\exe\uc\NTAMD64\mkszip -c C:\ORACLE\VBP\SAPDATA2\SR3_10\SR3.DATA10 > C:\oracle\backup\VBPdb\bdylcsei\SR3.DATA10.Z' through pipe failed
    BR0224E Compressing C:\ORACLE\VBP\SAPDATA2\SR3_10\SR3.DATA10 to C:\oracle\backup\VBPdb\bdylcsei\SR3.DATA10.Z failed due to previous errors
    BR0280I BRBACKUP time stamp: 2008-07-25 12.28.50
    BR0317I 'Alter tablespace PSAPSR3 end backup' successful
    BR0056I End of database backup: bdylcsei.and 2008-07-25 12.28.46
    BR0280I BRBACKUP time stamp: 2008-07-25 12.28.50
    BR0054I BRBACKUP terminated with errors
    OS: windows 2003
    SAPPlatform: NetWeaver 2004s
    Oracle: 10.2.0.2
    Kernel Patch level: 133
    Please help me and my productive instance

    Hi  ,
    I think this is your solution :
    Note 896160 - BRBACKUP ignores file copy errors during disk backups
    Note Language:       Version: 3     Validity: valid since 07.02.2007     
    PDF     Download Corrections     Compare Versions     SSCR
         Go to SAP Note:  Display     
    Content:  Summary  |  Header Data  |  Releases  |  Related Notes
    Summary
    Symptom
    During a disk backup using a copying process (with or without compression), BRBACKUP ignores any copy errors and the complete backup is seen as having been successful, even though not all files were backed up, for example:
    BR0201I Compressing F:\ORACLE\UQA\SAPDATA3\UQA620_7\UQA620.DATA7
    BR0203I to F:\oracle\UQA\sapbackup\database\bdreqpjw\UQA620.DATA7.Z ...
    BR0266E Program 'E:\usr\sap\UPR\SYS\exe\run\mkszip -c F:\ORACLE\UQA\SAPDATA3\UQA620_7\UQA620.DATA7 > F:\oracle\UQA\sapbackup\database\bdreqpjw\UQA620.DATA7.Z' interrupted, exit status: c0000094
    BR0272E Execution of program 'E:\usr\sap\UPR\SYS\exe\run\mkszip -c F:\ORACLE\UQA\SAPDATA3\UQA620_7\UQA620.DATA7 > F:\oracle\UQA\sapbackup\database\bdreqpjw\UQA620.DATA7.Z' through pipe failed
    BR0224E Compressing F:\ORACLE\UQA\SAPDATA3\UQA620_7\UQA620.DATA7 to F:\oracle\UQA\sapbackup\database\bdreqpjw\UQA620.DATA7.Z failed due to previous errors
    BR0053I BRBACKUP completed successfully with warnings
    Other terms
    BR*Tools, BRBACKUP
    Reason and Prerequisites
    There are program errors in BRBACKUP 7.00 patch level 0 to 6 and BRBACKUP 6.40 patch level 25 to 34.
    Solution
    These errors are corrected in BRBACKUP 7.00 patch 9.
    These errors are corrected in BRBACKUP 6.40 patch 35.
    For more information about downloading patches, see Notes 12741 and 19466.

  • Regular Online backup fail

    Hi Experts
    The online backup on the Quality servers are failing regularly.
    Here is the log:
    BR0051I BRBACKUP 7.00 (32)     
    BR0055I Start of database backup: bdyuisgz.anf 2008-09-11 21.13.49
    BR0484I BRBACKUP log file: /oracle/Q10/sapbackup/bdyuisgz.anf
    BR0477I Oracle pfile /oracle/Q10/102_64/dbs/initQ10.ora created from spfile /oracle/Q10/102_64/dbs/spfileQ10.ora
    BR0280I BRBACKUP time stamp: 2008-09-11 21.14.01
    BR0319I Control file copy created: /oracle/Q10/sapbackup/cntrlQ10.dbf 20201472
    BR0101I Parameters
    Name                           Value
    oracle_sid                     Q10
    oracle_home                    /oracle/Q10/102_64
    oracle_profile                 /oracle/Q10/102_64/dbs/initQ10.ora
    sapdata_home                   /oracle/Q10
    sap_profile                    /oracle/Q10/102_64/dbs/initQ10.sap
    backup_mode                    ALL
    backup_type                    online_cons
    backup_dev_type                util_file
    util_par_file                  /oracle/Q10/102_64/dbs/initQ10_HOT.utl
    system_info                    oraq10/oraq10 soaqa2 HP-UX B.11.23 U ia64
    oracle_info                    Q10 10.2.0.2.0 8192 2551 380189805 abcqa2 US7ASCII AL16UTF16
    sap_info                       700 SAPR3 UPG N0052289055 R3_ORA 0820023982
    make_info                      hpia64 OCI_102 Feb  6 2008
    command_line                   brbackup -c -d util_file -t online_cons -u system/******** -m all -r /oracle/Q10/102_64/dbs/initQ10_HOT.utl
    BR0116I ARCHIVE LOG LIST before backup for database instance Q10
    Parameter                      Value
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            /oracle/Q10/saparch/Q10arch
    Archive format                 %t_%s_%r.dbf
    Oldest online log sequence     2548
    Next log sequence to archive   2551
    Current log sequence           2551             SCN: 380189805
    Database block size            8192             Thread: 1
    Current system change number   380191568        ResetId: 662720157
    BR0118I Tablespaces and data files
    Tablespace     TS-Status  F-Status  File                                                       Size   Id.     Device  Link    Type       MaxSize     IncrSize  BlkSize
    PSAPACCTITD    ONLINE%    ONLINE    /oracle/Q10/sapdata3/acctitd_2/acctitd.data2          734003200   87  1073807363  NOLINK  FILE             0            0     8192
    PSAPACCTITD    ONLINE%    ONLINE    /oracle/Q10/sapdata3/acctitd_3/acctitd.data3          542318592  133  1073807363  NOLINK  FILE             0            0     8192
    PSAPACCTITD    ONLINE%    ONLINE    /oracle/Q10/sapdata3/acctitd_4/acctitd.data4          705019904  134  1073807363  NOLINK  FILE             0            0     8192
    PSAPACCTITD    ONLINE%    ONLINE    /oracle/Q10/sapdata3/acctitd_5/acctitd.data5          916520960  135  1073807363  NOLINK  FILE             0            0     8192
    PSAPACCTITD    ONLINE%    ONLINE    /oracle/Q10/sapdata3/acctitd_6/acctitd.data6         1191477248  136  1073807363  NOLINK  FILE             0            0     8192
    PSAPACCTITD    ONLINE%    ONLINE    /oracle/Q10/sapdata9/acctitd_1/acctitd.data1         1073750016   61  1073807369  NOLINK  FILE             0            0     8192
    PSAPACCTITI    ONLINE     ONLINE    /oracle/Q10/sapdata10/acctiti_1/acctiti.data1         209
    Program:##/usr/sap/Q10/SYS/exe/run/backint 4.5GA
    Input File:##/oracle/Q10/sapbackup/.bdyuisgz.lst
    Profile:##/oracle/Q10/102_64/dbs/initQ10_HOT.utl
    Function:##BACKUP
    Backup Type:##BACKUP_FILE
    ERROR: executing command  /usr/openv/netbackup/bin/bpbackup -w -t 17 -S babcnetbackup.abc.abcd.us  -s Default-Application-Backup -L /oracle/Q10/sapscript/backint_dir/.backint.log.0.1221192842 -k ".bdyuisgz.lst" -f /oracle/Q10/sapscript
    Status = 230 : the specified policy does not exist in the configuration database
    [] Backup started 09/11/2008 21:14:03
    [] 21:14:06 Initiating backup
    [] 21:14:11 INF - Server status = 230
    [] 21:14:11 INF - Server status = 230
    [] EXIT STATUS 230: the specified policy does not exist in the configuration database
    ERR - job (19621) failed status (230)
    ERROR: wait for process to complete
    BR0233E Backup utility has reported an error while saving file /oracle/Q10/sapdata3/acctitd_2/acctitd.data2
    BR0233E Backup utility has reported an error while saving file /oracle/Q10/sapdata3/acctitd_4/acctitd.data4
    BR0233E Backup utility has reported an error while saving file /oracle/Q10/sapdata3/acctitd_5/acctitd.data5
    BR0233E Backup utility has reported an error while saving file /oracle/Q10/sapdata3/acctitd_6/acctitd.data6
    BR0233E Backup utility has reported an error while saving file /oracle/Q10/sapdata9/acctitd_1/acctitd.data1
    BR0233E Backup utility has reported an error while saving file /oracle/Q10/sapdata10/acctiti_1/acctiti.data1
    BR0233E Backup utility has reported an error while saving file /oracle/Q10/sapdata2/acctiti_2/acctiti.data2
    BR0233E Backup utility has reported an error while saving file /oracle/Q10/sapdata3/bkpfd_2/bkpfd.data2
    BR0233E Backup utility has reported an error while saving file /oracle/Q10/sapdata9/bkpfd_1/bkpfd.data1
    BR0233E Backup utility has reported an error while saving file /oracle/Q10/sapdata10/bkpfi_1/bkpfi.data1
    BR0280I BRBACKUP time stamp: 2008-09-11 21.14.15
    BR0279E Return code from '/usr/sap/Q10/SYS/exe/run/backint -u Q10 -f backup -i /oracle/Q10/sapbackup/.bdyuisgz.lst -t file -p /oracle/Q10/102_64/dbs/initQ10_HOT.utl -c': 2
    BR0232E 0 of 236 files saved by backup utility
    BR0280I BRBACKUP time stamp: 2008-09-11 21.14.15
    BR0231E Backup utility call failed
    BR0280I BRBACKUP time stamp: 2008-09-11 21.14.19
    BR0317I 'Alter database end backup' successful
    BR0056I End of database backup: bdyuisgz.anf 2008-09-11 21.14.15
    BR0280I BRBACKUP time stamp: 2008-09-11 21.14.19
    BR0054I BRBACKUP terminated with errors
    Hope to get some guidance.
    Thanks,
    Sonu

    Hi Sonu,
    Could you please help me . I'm facing the same issue in DEv box. for reference i'm pasting error too .
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/dat_1/dat.data1
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/dat_2/dat.data2
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/dat_3/dat.data3
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/dat_4/dat.data4
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/dat_5/dat.data5
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/dat_6/dat.data6
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/dat_7/dat.data7
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata2/dat_10/dat.data10
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata2/dat_11/dat.data11
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata2/dat_12/dat.data12
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata2/dat_13/dat.data13
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata2/dat_14/dat.data14
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata2/dat_15/dat.data15
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata2/dat_16/dat.data16
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata2/dat_17/dat.data17
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata2/dat_18/dat.data18
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata2/dat_19/dat.data19
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata2/dat_8/dat.data8
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata2/dat_9/dat.data9
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata3/dat_21/dat.data21
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata3/dat_22/dat.data22
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata3/dat_23/dat.data23
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata3/dat_24/dat.data24
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata3/dat_25/dat.data25
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata3/dat_26/dat.data26
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata3/dat_27/dat.data27
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata3/dat_28/dat.data28
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata3/dat_29/dat.data29
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata3/dat_30/dat.data30
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata3/dat_31/dat.data31
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata3/dat_32/dat.data32
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata3/dat_33/dat.data33
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata3/dat_34/dat.data34
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata3/dat_35/dat.data35
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata4/dat_36/dat.data36
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/dat700_1/dat700.data1
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/dat700_2/dat700.data2
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/dat700_3/dat700.data3
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/dat700_4/dat700.data4
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/dat700_5/dat700.data5
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/dat700_6/dat700.data6
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/dat700_7/dat700.data7
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata4/dat700_8/dat700.data8
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/datdb_1/datdb.data1
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/datdb_2/datdb.data2
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/datdb_3/datdb.data3
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata4/datdb_4/datdb.data4
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/datusr_1/datusr.data1
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/undo_1/undo.data1
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/sysaux_1/sysaux.data1
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapdata1/system_1/system.data1
    BR0233E Backup utility has reported an error while saving file /oracle/WSG/sapbackup/cntrlWSG.dbf
    BR0280I BRBACKUP time stamp: 2009-07-13 20.57.08
    BR0279E Return code from '/usr/sap/WSG/SYS/exe/run/backint -u WSG -f backup -i /oracle/WSG/sapbackup/.beazyhbs.lst -t file_online -p /oracle/WSG/102_64/dbs/initWSG.utl -c': 2
    BR0232E 0 of 52 files saved by backup utility
    BR0280I BRBACKUP time stamp: 2009-07-13 20.57.08
    BR0231E Backup utility call failed
    BR0056I End of database backup: beazyhbs.anf 2009-07-13 20.57.08
    BR0280I BRBACKUP time stamp: 2009-07-13 20.57.10
    BR0054I BRBACKUP terminated with errors
    Thanks
    Dharmendra.

  • Backup failure from DB13

    Hi all,
    I am getting the following error in DB13 (full bcakup) to tape from two days.
    My data base size is 280gb. Normally it takes 1:40 Minutes for full backup in tape.
    but now its running around 3hrs and its get cancelling.
    Please suggest me to resolve this.
    Regards,
    Gayathry.
    Error log from DB13:
    Executed as user: NT AUTHORITY\SYSTEM. DBCC execut
    ion completed. If DBCC printed error messages, con
    tact your system administrator. [SQLSTATE 01000] (
    Message 2528)  Processed 12271904 pages for databa
    se 'DEV', file 'PRDDATA1' on file 1. [SQLSTATE 010
    00] (Message 4035)  Processed 12205560 pages for d
    atabase 'DEV', file 'PRDDATA2' on file 1. [SQLSTAT
    E 01000] (Message 4035)  Processed 12264016 pages
    for database 'DEV', file 'PRDDATA3' on file 1. [SQ
    LSTATE 01000] (Message 4035)  Processed 629 pages
    for database 'DEV', file 'PRDLOG1' on file 1. [SQL
    STATE 01000] (Message 4035)  BACKUP DATABASE succe
    ssfully processed 36742109 pages in 10531.878 seco
    nds (28.579 MB/sec). [SQLSTATE 01000] (Message 301
    4)  The file on device 'R3DUMP0' is not a valid Mi
    crosoft Tape Format backup set. [SQLSTATE 42000] (
    Error 3242)  BACKUP DATABASE is terminating abnorm
    ally. [SQLSTATE 42000] (Error 3013).  The step fai
    led.
    Error Log from ST04:
    2008-05-27 21:10:39.09 backup    Database backed up: Database: DEV, creation date(time): 2007/10/25(10:46:27), pages dumped: 36742200, first LSN: 17101:251857:1, last LSN: 17102:6053:1, number of dump devices: 1, device information: (FILE=1, TYPE=TAPE, ME
    DIANAME='ID27S': {'R3DUMP0'}).
    2008-05-27 21:11:28.95 backup    BACKUP failed to complete the command  dev.sap_backup_databases

    Hi,
    I tried with another tape also (which are working fine) but the same error i am getting.
    And i had taken my PRD backup with that tape. Tape is working fine.
    Regards,
    Gayathry.

Maybe you are looking for