Getting error while backing up SQL database using powershell

I am trying to backup SQL database but strange thing is taking lpace, few databases i can backup with powershell but few i am getting error
    Exception calling "SqlBackup" with "1" argument(s): "Backup failed for Server 
    'Server1'. "
    At C:\_Scripts\defaultbackup.ps1:40 char:1
    + $smoBackup.SqlBackup($server)
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : FailedOperationException
    $dbToBackup = "test"
    #clear screen
    cls
    #load assemblies
    #note need to load SqlServer.SmoExtended to use SMO backup in SQL Server 2008
    #otherwise may get this error
    #Cannot find type [Microsoft.SqlServer.Management.Smo.Backup]: make sure
    #the assembly containing this type is loaded.
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SmoExtended") | 
    Out-Null
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.ConnectionInfo") 
    | Out-Null
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SmoEnum") | Out-  
    Null
    #create a new server object
    $server = New-Object ("Microsoft.SqlServer.Management.Smo.Server") "(local)"
    $backupDirectory = $server.Settings.BackupDirectory
    "Default Backup Directory: " + $backupDirectory
    $db = $server.Databases[$dbToBackup]
     $dbName = $db.Name
     $timestamp = Get-Date -format yyyyMMddHHmmss
    $smoBackup = New-Object ("Microsoft.SqlServer.Management.Smo.Backup")
    #BackupActionType specifies the type of backup.
    #Options are Database, Files, Log
    #This belongs in Microsoft.SqlServer.SmoExtended assembly
    $smoBackup.Action = "Database"
    $smoBackup.BackupSetDescription = "Full Backup of " + $dbName
    $smoBackup.BackupSetName = $dbName + " Backup"
    $smoBackup.Database = $dbName
    $smoBackup.MediaDescription = "Disk"
    $smoBackup.Devices.AddDevice($backupDirectory + "\" + $dbName + "_" + $timestamp +   
    ".bak",   
    "File")
    $smoBackup.SqlBackup($server)
    #let's confirm, let's list list all backup files
    $directory = Get-ChildItem $backupDirectory
   $smoBackup.Devices.AddDevice($backupDirectory + "\" + $dbName + "_" + $timestamp + ".bak", "File")
$smoBackup.SqlBackup($server)
#let's confirm, let's list list all backup files
$directory = Get-ChildItem $backupDirectory
#list only files that end in .bak, assuming this is your convention for all backup files
    $backupFilesList = $directory | where {$_.extension -eq ".bak"}
    $backupFilesList | Format-Table Name, LastWriteTime
    $backupFilesList = $directory | where {$_.extension -eq ".bak"}
    $backupFilesList | Format-Table Name, LastWriteTime
I read on internet that by using this in the script this problem can be sorted but i am
not sure where exactly to put this line in above script set the ConnectionContext.StatementTimeout to 0
              

Hi Srk,
I found the similar issue in this article, which had been sovled by adding the script below:
$server = New-Object ("Microsoft.SqlServer.Management.Smo.Server") $dbInstance
$server.ConnectionContext.StatementTimeout = 0
Refer to:
Exception calling "SqlBackup" with "1" argument(s)
Please feel free to let me know if this method can not work.
Best Regards,
Anna Wang

Similar Messages

  • I am getting error while connecting to sqlplus by using apps account in 11i

    i am getting error while connecting to sqlplus by using apps account in 11i. Does anyone has similar error.
    [applmgr@appsc05t01 admin]$ sqlplus
    SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 14:34:52 2010
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter user-name: apps
    ERROR:
    ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
    Enter user-name:
    Thanks
    Rao

    yes.
    login as: gorantla
    [email protected]'s password:
    Last login: Mon Sep 13 14:39:23 2010 from glng3wy9g1.actuant.pri
    [gorantla@appsc05t01 ~]$ sudo su - applmgr
    [applmgr@appsc05t01 ~]$ ora_setup
    Available databases:
    x = ATUXX
    y = ATUYY
    z = ATUZZ
    Select database: \c
    y
    ORACLE_SID=ATUYY
    IAS_ORACLE_HOME=/apps/ATUYY/atuyyora/iAS
    ORACLE_HOME=/apps/ATUYY/atuyyora/8.0.6
    APPL_TOP=/apps/ATUYY/atuyyappl
    [applmgr@appsc05t01 ~]$
    [applmgr@appsc05t01 ~]$
    [applmgr@appsc05t01 ~]$
    [applmgr@appsc05t01 ~]$ tnsping ATUYY
    TNS Ping Utility for Linux: Version 8.0.6.3.0 - Production on 13-SEP-2010 15:42:32
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=dbrac05t01-vip.actuant.pri)(PORT=1611))
    OK (0 msec)
    [applmgr@appsc05t01 ~]$ sqlplus
    SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 15:42:40 2010
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter user-name: apps
    ERROR:
    ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
    Enter user-name:
    Thanks
    Rao

  • Getting error while runing utlu102i.sql:

    Dear Experts,
    I am getting following error while running utlu102i.sql script (Oracle 9.2.0.6,HP-UX 11.11)
    DECLARE
    ERROR at line 1:
    ORA-00980: synonym translation is no longer valid
    ORA-06512: at line 2925
    I nned to upgrade this database, how to resolve this problem, furthermore can we goahead on upgrading without solve this ? (pre. may be obtain from another database with almost same configuraton)
    Thanks & Regards
    Sunil Kumar

    Pl open an SR for your issue. You will need to run this script and execute its recommendations before you can upgrade. Are there any errors in the alert.log ? Are any other trace files created ?
    MOS Doc 400200.1 (ORA-0600 [17069] During Upgrade of Pre-10g Database to 10g+) may also help.
    HTH
    Srini

  • Getting error while uploading gl master data using LSMW batch input data

    Hi Experts,
    I am getting error while uploading the GL master data through lsmw using batch input recording.
    After completion of all steps at the time of running batch input session error i am getting is "maintain EN language discription"
    and Pls tell me is it possible to upload transactional data using lsmw? if yes pls explaing briefly.

    Hello,
    Kindly post in the FI forum to get a better response.
    Regarding the issue you might check whether the correct column is being picked up where you have maintained the description.
    Kind Regards // Shaubhik

  • Error While Restoring the Oracle Database using Cloud Backup

    Hello,
    I have been facing a serious error while oracle restoration. I have Backed up Complete Database. For Testing restoration, the DBA removed all the DBF, logs and Control File from there orignal Position.
    He restarted the Database in "Startup nomount" mode. No i am not able to connect to target database from my Backup Server remotely.
    Whenever i try to restore, it shows following error:-
    ***RMAN-04005: error from target database:***
    ***ORA-12528: TNS:listener: all appropriate instances are blocking new connections***
    ***ORA-12528: TNS:listener: all appropriate instances are blocking new connections***
    ***"ORA-12528: TNS:listener: all appropriate instances are blocking new connections***
    I am using Oracle 11g R2 x64-bit database and on Windows Platform with Windows Server 2008 R2.
    Can Anyone help me by connecting, rman to the remote target database when it is in nomount mode.
    I am not able to connect the sqlplus remotely.\
    Thanks in Advance...
    Regards
    Pravesh Upadhyay

    Devika,
    You have to stop all your adapters, your repository, close all IStudio client and stop all sessions connected to this schema before running the oaiimport.
    If you don't do this the oaiimport will not work properly as the script will not be able to drop the user and will try to re-create existing objects.
    Tip : use the following select to list the session using oaihub902 user (and get rid off them)
    select username, count(*)
    from V$session
    where username in ('OAIHUB902')
    group by username
    order by count(*) desc, username
    JL

  • Error while setting up Standby database using Grid Control

    I am getting this on grid control 10.2 on windows env while creating standby database using EM. I have checked this folder and it does exists.
    any ideas?
    C:\oracle\ora10.1\network\admin\listener.ora: java.io.IOException: The system cannot find the path specified

    There is no problem tnsnames.ora & listener.ora since I am getting the same error for just standby backup also.
    this is error on emoms.trc file
    2007-07-18 13:19:37,318 [EMUI_13_19_37_/console/database/instance/sitemap] ERROR perf.sitemap setMaintenancePage.1812 - java.sql.SQLException: ORA-00933: SQL command not properly ended
    ORA-06512: at "SYSMAN.ECM_UTIL", line 509
    ORA-06512: at line 1
    java.sql.SQLException: ORA-00933: SQL command not properly ended
    ORA-06512: at "SYSMAN.ECM_UTIL", line 509
    ORA-06512: at line 1
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:180)
         at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:869)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1153)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2932)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3023)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4132)
         at oracle.sysman.util.jdbc.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:173)
         at oracle.sysman.util.jdbc.CallableStatementWrapper.execute(CallableStatementWrapper.java:135)
         at oracle.sysman.eml.ecm.cloneHome.repaccess.CloneHomeSql.getClonableHomes(CloneHomeSql.java:449)
         at oracle.sysman.eml.ecm.cloneHome.repaccess.CloneHomeSql.getClonableHomes(CloneHomeSql.java:561)
         at oracle.sysman.eml.ecm.cloneHome.repaccess.CloneHomeSql.isHomeClonable(CloneHomeSql.java:363)
         at oracle.sysman.db.adm.inst.SitemapController.setMaintenancePage(SitemapController.java:1807)
         at oracle.sysman.db.adm.inst.SitemapController.setRequestAttributes(SitemapController.java:1385)
         at oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:1154)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:577)
         at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:174)
         at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:114)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:781)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:337)
         at oracle.sysman.eml.app.Console.doGet(Console.java:318)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:88)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:336)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    2007-07-18 13:19:42,505 [EMUI_13_19_42_/console/database/dataguard/create] ERROR em.dataguard validate.1118 - CreateBean: ClassNotFoundException: null
    2007-07-18 13:19:44,224 [EMUI_13_19_44_/console/database/dataguard/create] ERROR em.dataguard validate.1118 - CreateBean: ClassNotFoundException: null
    2007-07-18 13:19:46,052 [EMUI_13_19_44_/console/database/dataguard/create] ERROR em.dataguard mapHelpPage.2002 - StandbyUtil.mapHelpPage: dghelp for database/dataguard/createSchedule not mapped to any help ID.. Defaulting to oemdba_consens_data_guard_page
    2007-07-18 13:19:47,130 [EMUI_13_19_47_/console/database/dataguard/create] ERROR em.dataguard validate.1118 - CreateBean: ClassNotFoundException: null
    2007-07-18 13:19:53,052 [Thread-85] ERROR jobs.dbclone createTemplate.379 - TemplateManager.createTemplate(): Exception: java.io.IOException: The system cannot find the path specified
    2007-07-18 13:19:53,052 [Thread-85] ERROR jobs.dbclone submitJobPreparation.3013 - DBCloneObject.submitJobPreparation(): Exception: java.io.IOException: The system cannot find the path specified
    2007-07-18 13:19:53,052 [Thread-85] ERROR jobs.dbclone submitDBCloneJob.3228 - DBCloneObject.submitDBCloneJob(): Exception: The system cannot find the path specified
    2007-07-18 13:19:58,006 [EMUI_13_19_58_/console/database/dataguard/create] ERROR em.dataguard onEvent.1038 - CreateConfigController: Exception: oracle.sysman.db.dg.util.VxxStandbyException: The system cannot find the path specified

  • Getting error while trying to refresh EUL using adrfseul.sh

    I am getting the following error while trying to refresh EUL. I am using Discoverer
    10.2.0.2 with Oracle Applications 11.5.10.2 and following note id 313418.1 of metalink.
    You are running adrfseul, version 115.0
    Start of adrfseul session
    Date/time is Thu Feb 22 13:06:56 AST 2007
    Log file is refresh_eul_us_vis.log
    Command line arguments are
         "connect=sysadmin/sysadmin@vis"
         "resp=System Administrator"
         "gwyuid=APPLSYSPUB/PUB"
         "fndnam=APPS"
         "secgroup=Standard"
         "eulschema=EUL_US"
         "eulpassword=EUL_US"
         "twotask=VIS"
         "iashome=/oracle/BIHome_2"
         "logfile=refresh_eul_us_vis.log"
         "exedir=/oracle/BIToolsHome_1/bin"
    Testing connection to database using plus80 -s ...
    plus80: adrfseul.sh 612: not found
    Connection to database using plus80 -s is OK ...
    Extracting eul folder information ...
    plus80: adrfseul.sh 612: not found
    Unable to obtain folder information.
    The SQLPLUS session exited with status 127
    adrfseul is exiting with status 1
    End of adrfseul session
    Date/time is Thu Feb 22 13:06:56 AST 2007
    Anyone knows please help me to resolve this issue. Thanks in advance.
    Regards
    Muhammad Ali

    EUL_US is an Apps mode EUL and SYSADMIN user is the owner of all EUL content in Oracle Applications environments. The unix/linux bi tools can upgrade the EUL via
    $ORACLE_HOME/bin/eulapi -CONNECT eul_us/eul_us@vis -AUTO_UPGRADE
    Use the Windows bi tools to update and refresh EUL content or look at the following note:
    5712119 / 5258810 : Adrfseul.Sh Errors On New Installation Of Disco 10.1.2 & 11i
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=404398.1

  • Error while creating physical standby database using Oracle Grid 10.2.0.5

    Hi All,
    I am setting up data guard using oracle grid.
    Primary database version: - 10.2.0.4
    Standby database version: - 10.2.0.4
    Primary OS Red Hat Enterprise Linux AS release 4 (Nahant Update 8)2.6.9
    Standby OS Red Hat Enterprise Linux AS release 4 (Nahant Update 8)2.6.9
    I am creating physical standby database using EM. But it is getting failed with error message in sqlnet.ora file
    Fatal NI connect error 12533, connecting to:
    (DESCRIPTION=(ADDRESS_LIST=)(CONNECT_DATA=(SERVICE_NAME=INPRDSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=indb50.oii.com)(USER=oracle))))
      VERSION INFORMATION:
            TNS for Linux: Version 10.2.0.4.0 - Production
            TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.4.0 - Production
      Time: 17-AUG-2010 02:40:07
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12533
        TNS-12533: TNS:illegal ADDRESS parameters
        ns secondary err code: 0
        nt main err code: 0
        nt secondary err code: 0As we can see, address_list is empty.
    Can anyone suggest what could be the reason behind this?

    Dear user13295317,
    Here is the error explanation;
    Oracle Error :: TNS-12533
    TNS:illegal ADDRESS parameters
    Cause
    An illegal set of protocol adapter parameters was specified.
    In some cases, this error is returned when a connection cannot be made to the protocol transport.
    Action
    Verify that the destination can be reached using the specified protocol.
    Check the parameters within the ADDRESS section of TNSNAMES.ORA.
    Legal ADDRESS parameter formats may be found in the Oracle operating system specific documentation for your platform.
    Protocols that resolve names at the transport layer (such as DECnet object names) are vulnerable to this error if not properly configured or names are misspelled.Hope That Helps.
    Ogan

  • OutofMemory Error while sending file to database using Web services

    I have a file of 30MB to be written to the MySQL database. I am doing this in Axis web services and it gives me the following error:
    (I am using Tomcat as the application server and Apache as the web server, Axis 1.3 and MySQL standard 5.0.21 version. I have set the minimum and maximum heap size and it works well without using the web service (just uploading and downloading from the database using a simple java program). Another thing to notice is that I can send a file of almost 10MB size to the database using web service without any problem. But it doesn't work with the 30 MB .)
    java.lang.OutOfMemoryError: Java heap space; nested exception is:
         java.lang.OutOfMemoryError: Java heap space
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode:
    faultString: java.lang.OutOfMemoryError: Java heap space; nested exception is:
         java.lang.OutOfMemoryError: Java heap space
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}hostname:dbr221d.dbr.louisville.edu
    java.lang.OutOfMemoryError: Java heap space; nested exception is:
         java.lang.OutOfMemoryError: Java heap space
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at edu.louisville.bcc_ma.ws.lab.LabServiceSoapBindingStub.storeGZIPFile(LabServiceSoapBindingStub.java:472)
         at edu.louisville.bcc_ma.lims.labclient.container.SendGZIPFile.sendFile(SendGZIPFile.java:69)
         at edu.louisville.bcc_ma.lims.labclient.container.LoginContainer.login(LoginContainer.java:58)
         at edu.louisville.bcc_ma.lims.labclient.container.LoginContainer.main(LoginContainer.java:44)

    Sorry for the delayed response here, forget to add it to my watchlist. I didn't catch if you were using Java 1.5 or not. Prior to 1.5 the default maximum heap space was 64MB which with the overhead of the appserver might be your problem.
    Take a look at http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html and the java -Xmx <size> command line option to change the default (I believe the size argument is in bytes, but don't hold me to that). I think you can pass that as a command line option to the startup script, but you should check the doco to see if it needs to be wrapped in some other arg etc.,
    I seem to recall running into this same problem a few years back when I had a servlet doing some intense graphics processing on the fly and setting this option fixed the problem.

  • Getting errors while creating a Standby database

    Hi,
    I have Oracle 9.0.2 installed on windows xp machine , the sid of the database is oradata. Now i am trying to create a standby database on same machine and the sid of the database is oratest. i have followed the required steps.
    a. Firstly i have configured the required parameters in the init.ora parameters of standby database
    b. Secondly , i created the standby control file on primary database.
    c. while mounting the standby database i am getting the following error.
    Database name "ORADATA" its should be "ORATEST"
    Could you please help me in resolving this issue? and also if possible. please jot down the procedure for creating the standby database.
    Thanks
    Vj0011590

    Hi,
    I have Oracle 9.0.2 installed on windows xp machine ,
    the sid of the database is oradata. Now i am trying
    to create a standby database on same machine and the
    sid of the database is oratest. i have followed the
    required steps.
    a. Firstly i have configured the required parameters
    in the init.ora parameters of standby database
    b. Secondly , i created the standby control file on
    primary database.
    c. while mounting the standby database i am getting
    the following error.
    Database name "ORADATA" its should be "ORATEST"I didn't see you copy the cold backup db from primary to standby.
    and the error is coming from init.ora in your standby db. check it again.

  • Getting error while saving image to database

    hi, i am getting error when i click commit button when i try to save image the message is as
    Cannot create an object of type:java.sql.Blob from type:oracle.jbo.domain.BlobDomain with value:ÿØÿàJFIF``ÿáExifMM*2VGFGI2œ�êô‡ijÔ2009:03
    please help me soon

    hey thanks , but my jdbc pool and driver is fine. what may be the problem and I am not able to change the type to BlobDomain in eo. The type i Blob only may be this is the problem how can I change it to Blob Domain

  • Getting errors while backing up

    I get errors with my new TC can anyone read these and tell me whats up and what I need to do. The people at the Apple store in Memphis were horrible and couldn't help.
    6/15/08 11:45:41 PM /System/Library/CoreServices/backupd[348] Starting standard backup
    6/15/08 11:45:41 PM /System/Library/CoreServices/backupd[348] Network volume mounted at: /Volumes/Data
    6/15/08 11:45:42 PM hdiejectd[3145] running
    6/15/08 11:45:43 PM /System/Library/CoreServices/backupd[348] Disk image /Volumes/Data/Frank DeRossitt’s MacBook Pro_001b639ecc95.sparsebundle mounted at: /Volumes/Backup of Frank DeRossitt’s MacBook Pro
    6/15/08 11:45:43 PM /System/Library/CoreServices/backupd[348] Backing up to: /Volumes/Backup of Frank DeRossitt’s MacBook Pro/Backups.backupdb
    6/15/08 11:45:56 PM /System/Library/CoreServices/backupd[348] Event store UUIDs don't match for volume: Macintosh HD
    6/15/08 11:45:57 PM /System/Library/CoreServices/backupd[348] No pre-backup thinning needed: 89.58 GB requested (including padding), 281.32 GB available
    6/15/08 11:45:57 PM /System/Library/CoreServices/backupd[348] Waiting for index to be ready (906 > 0)
    6/15/08 11:46:07 PM mds[33] (Error) Queue: _queueCount not zero (or retire > pushed)! journalRetire:3639 total-pushed:0 total-retired:3639 queueCount:0
    6/15/08 11:47:41 PM com.apple.launchd[1] (com.apple.netauth.sysagent[3127]) Stray process with PGID equal to this dead job: PID 3131 PPID 1 check_afp
    6/16/08 12:38:15 AM kernel disk0s2: 0xe0030005 (UNDEFINED).
    6/16/08 12:38:15 AM /System/Library/CoreServices/backupd[348] Stopping backup.
    6/16/08 12:38:15 AM /System/Library/CoreServices/backupd[348] Error: (-36) copying /Library/Application Support/GarageBand/Magic GarageBand/03. Jazz.wand/Output/Output.caf to (null)
    6/16/08 12:38:15 AM /System/Library/CoreServices/backupd[348] Copied 123138 files (46.9 MB) from volume Macintosh HD.
    6/16/08 12:38:15 AM /System/Library/CoreServices/backupd[348] Copy stage failed with error:11
    6/16/08 12:38:20 AM /System/Library/CoreServices/backupd[348] Backup failed with error: 11
    6/16/08 12:38:28 AM /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder[112] StatusMonitor::volumesChangedCallBack returned -47
    6/16/08 12:38:28 AM /System/Library/CoreServices/backupd[348] Ejected Time Machine disk image.
    6/16/08 12:38:29 AM kernel AFP_VFS afpfs_unmount: /Volumes/Data, flags 0, pid 3259
    6/16/08 12:38:29 AM /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder[112] StatusMonitor::volumesChangedCallBack returned -47
    6/16/08 12:38:29 AM /System/Library/CoreServices/backupd[348] Ejected Time Machine network volume.
    6/16/08 12:45:41 AM kernel AFP_VFS afpfs_mount: /Volumes/Data, pid 3267
    6/16/08 12:45:41 AM /System/Library/CoreServices/backupd[348] Starting standard backup
    6/16/08 12:45:41 AM /System/Library/CoreServices/backupd[348] Network volume mounted at: /Volumes/Data
    6/16/08 12:45:42 AM hdiejectd[3284] running
    6/16/08 12:45:43 AM /System/Library/CoreServices/backupd[348] Disk image /Volumes/Data/Frank DeRossitt’s MacBook Pro_001b639ecc95.sparsebundle mounted at: /Volumes/Backup of Frank DeRossitt’s MacBook Pro
    6/16/08 12:45:44 AM /System/Library/CoreServices/backupd[348] Backing up to: /Volumes/Backup of Frank DeRossitt’s MacBook Pro/Backups.backupdb
    6/16/08 12:45:55 AM /System/Library/CoreServices/backupd[348] Event store UUIDs don't match for volume: Macintosh HD
    6/16/08 12:45:57 AM /System/Library/CoreServices/backupd[348] No pre-backup thinning needed: 89.58 GB requested (including padding), 281.17 GB available
    6/16/08 12:45:57 AM /System/Library/CoreServices/backupd[348] Waiting for index to be ready (906 > 0)
    6/16/08 12:46:13 AM mds[33] (Error) Queue: _queueCount not zero (or retire > pushed)! journalRetire:2283 total-pushed:0 total-retired:2283 queueCount:0
    6/16/08 12:47:41 AM com.apple.launchd[1] (com.apple.netauth.sysagent[3267]) Stray process with PGID equal to this dead job: PID 3270 PPID 1 check_afp
    6/16/08 12:58:41 AM /System/Library/CoreServices/backupd[348] Copied 1952 files (11 KB) from volume Macintosh HD.
    6/16/08 12:58:46 AM /System/Library/CoreServices/backupd[348] Backup canceled.

    Hi Srk,
    I found the similar issue in this article, which had been sovled by adding the script below:
    $server = New-Object ("Microsoft.SqlServer.Management.Smo.Server") $dbInstance
    $server.ConnectionContext.StatementTimeout = 0
    Refer to:
    Exception calling "SqlBackup" with "1" argument(s)
    Please feel free to let me know if this method can not work.
    Best Regards,
    Anna Wang

  • Cannot delete Document Content Type. Getting error "Document Content Type Still in use" powershell, sharepoint 2013

    not able to delete "Document" content type from a library. I have a custom content type. I have added the custom content type to all the items of library. also, i have added the custom columns from "Document" content type to my custom
    content type. Still cannot delete the "Document" content type. I am doing the same process in different site collections and different libraries. But not able to delete in a few say- 10 in 100. Get the error - "Document content type is still
    in use"

    Hello 
    Here you go
    http://blog.octavie.nl/index.php/2012/09/14/error-the-content-type-is-in-use-explained
    https://social.technet.microsoft.com/Forums/en-US/e81020e3-2c12-4f39-a2f4-f1fd88ba6547/content-type-is-still-in-use-on-document-library
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Getting error while backing up database on a USB hard drive

    Hi
    I have run oracle 10g database installed on a Redhat linux AS4.I ran out of space so i tried to backup my database on a USB hard drive with RMAN.
    I got this error in the middle of backup process.
    ORA-19502: write error on file "/media/OneTouch_4/backup_dev/p9k30k6c_1_1", blockno 1969153 (blocksize=8192)
    Note that i have not formatted the new hard drive in linux and just plug and play the hard drive.
    I have read that i have to format the hard drive in linux (ex3).
    what could be the problem? does the problem solve if i format the usb hard drive?
    I will be grateful if i have your suggestions.
    many thanks
    Edited by: Hesam on Dec 24, 2008 8:21 AM

    using target database control file instead of recovery catalog
    connected to target database: ORCL (DBID=1137313685)
    executing command: SET COMMAND ID
    set command id to 'BACKUP_DATABASE_FU_122308090352';
    echo set on
    run {
    allocate channel oem_backup_disk1 type disk format '/media
    channel oem_backup_disk1: sid=564 devtype=DISK
    allocated channel: oem_backup_disk1
    allocated channel: oem_backup_disk2
    channel oem_backup_disk2: sid=569 devtype=DISK
    allocated channel: oem_backup_disk3
    channel oem_backup_disk3: sid=716 devtype=DISK
    channel oem_backup_disk4: sid=619 devtype=DISK
    allocated channel: oem_backup_disk4
    Starting backup at 23-DEC-08
    channel oem_backup_disk1: starting full datafile backupset
    channel oem_backup_disk1: specifying datafile(s) in backupset
    input datafile fno=00131 name=/opt/oradata/datafile/undotbs01.dbf
    input datafile fno=00087 name=/opt/oradata/datafile/KJ_ind.dbf
    input datafile fno=00088 name=/opt/oradata/datafile/KB_ind.dbf
    input datafile fno=00089 name=/opt/oradata/datafile/GU_DATA_reorg1.dbf
    input datafile fno=00092 name=/opt/oradata/datafile/FO_ind.dbf
    input datafile fno=00093 name=/opt/oradata/datafile/EB_ind.dbf
    input datafile fno=00094 name=/opt/oradata/datafile/CT_ind.dbf
    input datafile fno=00095 name=/opt/oradata/datafile/CM_DATA_reorg4.dbf
    input datafile fno=00096 name=/opt/oradata/datafile/CM_ind.dbf
    input datafile fno=00097 name=/opt/oradata/datafile/BI_ind_reorg0.dbf
    input datafile fno=00100 name=/opt/oradata/datafile/KA_ind.dbf
    input datafile fno=00101 name=/opt/oradata/datafile/SU_ind.dbf
    input datafile fno=00103 name=/opt/oradata/datafile/NT_ind.dbf
    input datafile fno=00106 name=/opt/oradata/datafile/UA_DATA_reorg0.dbf
    input datafile fno=00110 name=/opt/oradata/datafile/IA_DATA.dbf
    input datafile fno=00111 name=/opt/oradata/datafile/Ia_ind.dbf
    input datafile fno=00112 name=/opt/oradata/datafile/CS_ind_reorg3.dbf
    input datafile fno=00113 name=/opt/oradata/datafile/TP_ind.dbf
    input datafile fno=00114 name=/opt/oradata/datafile/PU_ind_reorg0.dbf
    input datafile fno=00116 name=/opt/oradata/datafile/PC_ind_reorg0.dbf
    input datafile fno=00117 name=/opt/oradata/datafile/CM_DATA_reorg5.dbf
    input datafile fno=00119 name=/opt/oradata/datafile/CS_ind_reorg0.dbf
    input datafile fno=00120 name=/opt/oradata/datafile/IQ_DATA.dbf
    input datafile fno=00121 name=/opt/oradata/datafile/GU_ind_reorg0.dbf
    input datafile fno=00123 name=/opt/oradata/datafile/CS_ind_reorg5.dbf
    input datafile fno=00124 name=/opt/oradata/datafile/CS_ind_reorg6.dbf
    input datafile fno=00125 name=/opt/oradata/datafile/TC_DATA_reorg1.dbf
    input datafile fno=00128 name=/opt/oradata/datafile/AC_ind_reorg0.dbf
    input datafile fno=00129 name=/opt/oradata/datafile/IQ_IND.dbf
    input datafile fno=00011 name=/opt/oradata/datafile/AC_DATA_reorg2.dbf
    input datafile fno=00086 name=/opt/oradata/datafile/inventory01.dbf
    channel oem_backup_disk1: starting piece 1 at 23-DEC-08
    channel oem_backup_disk2: starting full datafile backupset
    channel oem_backup_disk2: specifying datafile(s) in backupset
    input datafile fno=00003 name=/opt/oradata/datafile/sysaux01.dbf
    input datafile fno=00032 name=/opt/oradata/datafile/PC_DATA_reorg0.dbf
    input datafile fno=00077 name=/opt/oradata/datafile/BI_DATA_reorg3.dbf
    input datafile fno=00115 name=/opt/oradata/datafile/CS_ind_reorg4.dbf
    input datafile fno=00049 name=/opt/oradata/datafile/IS_ind_reorg1.dbf
    input datafile fno=00057 name=/opt/oradata/datafile/OR_ind_reorg0.dbf
    input datafile fno=00073 name=/opt/oradata/datafile/PR_DATA_reorg1.dbf
    input datafile fno=00013 name=/opt/oradata/datafile/IS_DATA_reorg0.dbf
    input datafile fno=00044 name=/opt/oradata/datafile/GU_DATA_reorg2.dbf
    input datafile fno=00016 name=/opt/oradata/datafile/CS_ind_reorg1.dbf
    input datafile fno=00036 name=/opt/oradata/datafile/BI_DATA_reorg2.dbf
    input datafile fno=00078 name=/opt/oradata/datafile/GU_ind_reorg3.dbf
    input datafile fno=00102 name=/opt/oradata/datafile/DE_ind.dbf
    input datafile fno=00109 name=/opt/oradata/datafile/kp_datap31.dbf
    input datafile fno=00002 name=/opt/oradata/datafile/SH_DATA.dbf
    input datafile fno=00004 name=/opt/oradata/datafile/users01.dbf
    input datafile fno=00014 name=/opt/oradata/datafile/SZ_DATA.dbf
    input datafile fno=00019 name=/opt/oradata/datafile/KL_ind_reorg0.dbf
    input datafile fno=00025 name=/opt/oradata/datafile/pr_ind_reorg1.dbf
    input datafile fno=00028 name=/opt/oradata/datafile/PK_ind_reorg0.dbf
    input datafile fno=00031 name=/opt/oradata/datafile/OU_DATA.dbf
    input datafile fno=00037 name=/opt/oradata/datafile/LJ_DATA.dbf
    input datafile fno=00041 name=/opt/oradata/datafile/SW_DATA_reorg0.dbf
    input datafile fno=00046 name=/opt/oradata/datafile/EB_DATA.dbf
    input datafile fno=00052 name=/opt/oradata/datafile/PL_DATA_reorg0.dbf
    input datafile fno=00056 name=/opt/oradata/datafile/CG_ind_reorg0.dbf
    input datafile fno=00060 name=/opt/oradata/datafile/GU_ind_reorg1.dbf
    input datafile fno=00063 name=/opt/oradata/datafile/UA_ind.dbf
    input datafile fno=00066 name=/opt/oradata/datafile/SZ_ind.dbf
    input datafile fno=00072 name=/opt/oradata/datafile/PK_DATA_reorg0.dbf
    input datafile fno=00079 name=/opt/oradata/datafile/OU_ind.dbf
    input datafile fno=00084 name=/opt/oradata/datafile/LJ_ind.dbf
    input datafile fno=00085 name=/opt/oradata/datafile/TP_data0.dbf
    channel oem_backup_disk2: starting piece 1 at 23-DEC-08
    channel oem_backup_disk3: starting full datafile backupset
    channel oem_backup_disk3: specifying datafile(s) in backupset
    input datafile fno=00001 name=/opt/oradata/datafile/system01.dbf
    input datafile fno=00068 name=/opt/oradata/datafile/SR_ind.dbf
    input datafile fno=00012 name=/opt/oradata/datafile/KP_ind_reorg4.dbf
    input datafile fno=00022 name=/opt/oradata/datafile/pr_ind_reorg4.dbf
    input datafile fno=00047 name=/opt/oradata/datafile/GA_ind_reorg1.dbf
    input datafile fno=00082 name=/opt/oradata/datafile/PR_DATA_reorg2.dbf
    input datafile fno=00005 name=/opt/oradata/datafile/admin01.dbf
    input datafile fno=00053 name=/opt/oradata/datafile/OR_DATA_reorg2.dbf
    input datafile fno=00067 name=/opt/oradata/datafile/SW_ind.dbf
    input datafile fno=00126 name=/opt/oradata/datafile/ST_DATA.dbf
    input datafile fno=00038 name=/opt/oradata/datafile/SP_DATA_reorg0.dbf
    input datafile fno=00010 name=/opt/oradata/datafile/st_ind_reorg0.dbf
    input datafile fno=00034 name=/opt/oradata/datafile/ND_ind_reorg0.dbf
    input datafile fno=00069 name=/opt/oradata/datafile/SP_ind.dbf
    input datafile fno=00099 name=/opt/oradata/datafile/kp_datap10_reorg2.dbf
    input datafile fno=00107 name=/opt/oradata/datafile/kp_datap21_reorg1.dbf
    input datafile fno=00130 name=/opt/oradata/datafile/SA_ind_reorg2.dbf
    input datafile fno=00007 name=/opt/oradata/datafile/AC_DATA_reorg1.dbf
    input datafile fno=00017 name=/opt/oradata/datafile/PU_DATA_reorg1.dbf
    input datafile fno=00023 name=/opt/oradata/datafile/KP_ind_reorg1.dbf
    input datafile fno=00027 name=/opt/oradata/datafile/GU_DATA_reorg0.dbf
    input datafile fno=00030 name=/opt/oradata/datafile/PC_ind_reorg1.dbf
    input datafile fno=00035 name=/opt/oradata/datafile/kp_datap30_reorg2.dbf
    input datafile fno=00040 name=/opt/oradata/datafile/KJ_DATA.dbf
    input datafile fno=00045 name=/opt/oradata/datafile/FO_DATA.dbf
    input datafile fno=00051 name=/opt/oradata/datafile/CT_DATA.dbf
    input datafile fno=00055 name=/opt/oradata/datafile/SU_DATA_reorg0.dbf
    input datafile fno=00059 name=/opt/oradata/datafile/KA_DATA
    input datafile fno=00062 name=/opt/oradata/datafile/NT_DATA.dbf
    input datafile fno=00065 name=/opt/oradata/datafile/TC_ind.dbf
    input datafile fno=00071 name=/opt/oradata/datafile/RG_ind.dbf
    input datafile fno=00075 name=/opt/oradata/datafile/PL_ind.dbf
    input datafile fno=00083 name=/opt/oradata/datafile/MC_ind.dbf
    channel oem_backup_disk3: starting piece 1 at 23-DEC-08
    channel oem_backup_disk4: starting full datafile backupset
    channel oem_backup_disk4: specifying datafile(s) in backupset
    input datafile fno=00118 name=/opt/oradata/datafile/PC_DATA_reorg1.dbf
    input datafile fno=00008 name=/opt/oradata/datafile/USER_DATA.dbf
    input datafile fno=00080 name=/opt/oradata/datafile/CS_DATA_reorg4.dbf
    input datafile fno=00122 name=/opt/oradata/datafile/SR_DATA_reorg0.dbf
    input datafile fno=00048 name=/opt/oradata/datafile/GA_DATA_reorg2.dbf
    input datafile fno=00108 name=/opt/oradata/datafile/KP_DATA_reorg2.dbf
    input datafile fno=00018 name=/opt/oradata/datafile/PC_ind_reorg2.dbf
    input datafile fno=00098 name=/opt/oradata/datafile/BI_ind.dbf
    input datafile fno=00104 name=/opt/oradata/datafile/kp_datap11_reorg0.dbf
    input datafile fno=00020 name=/opt/oradata/datafile/perftbs.dbf
    input datafile fno=00076 name=/opt/oradata/datafile/ND_DATA_reorg0.dbf
    input datafile fno=00009 name=/opt/oradata/datafile/UA_DATA.dbf
    input datafile fno=00024 name=/opt/oradata/datafile/KB_DATA_reorg0.dbf
    input datafile fno=00042 name=/opt/oradata/datafile/SA_DATA_reorg0.dbf
    input datafile fno=00091 name=/opt/oradata/datafile/CG_DATA_reorg0.dbf
    input datafile fno=00105 name=/opt/oradata/datafile/kp_datap20_reorg0.dbf
    input datafile fno=00127 name=/opt/oradata/datafile/SA_ind_reorg1.dbf
    input datafile fno=00006 name=/opt/oradata/datafile/sh_ind.dbf
    input datafile fno=00015 name=/opt/oradata/datafile/TS_DATA_reorg0.dbf
    input datafile fno=00021 name=/opt/oradata/datafile/RG_DATA.dbf
    input datafile fno=00026 name=/opt/oradata/datafile/PM_DATA.dbf
    input datafile fno=00029 name=/opt/oradata/datafile/PG_ind_reorg0.dbf
    input datafile fno=00033 name=/opt/oradata/datafile/CM_DATA_reorg3.dbf
    input datafile fno=00039 name=/opt/oradata/datafile/KL_DATA.dbf
    input datafile fno=00043 name=/opt/oradata/datafile/CS_ind_reorg2.dbf
    input datafile fno=00050 name=/opt/oradata/datafile/KP_ind_reorg2.dbf
    input datafile fno=00054 name=/opt/oradata/datafile/MC_DATA_reorg1.dbf
    input datafile fno=00058 name=/opt/oradata/datafile/OG_DATA_reorg0.dbf
    input datafile fno=00061 name=/opt/oradata/datafile/DE_DATA.dbf
    input datafile fno=00064 name=/opt/oradata/datafile/TS_ind.dbf
    input datafile fno=00070 name=/opt/oradata/datafile/PG_DATA_reorg0.dbf
    input datafile fno=00074 name=/opt/oradata/datafile/PM_ind.dbf
    input datafile fno=00081 name=/opt/oradata/datafile/OG_ind.dbf
    channel oem_backup_disk4: starting piece 1 at 23-DEC-08
    channel oem_backup_disk2: finished piece 1 at 23-DEC-08
    piece handle=/media/OneTouch_4/backup_dev/pak30k6c_1_1 tag=BACKUP_DATABASE_FU_122308090352 comment=NONE
    channel oem_backup_disk2: backup set complete, elapsed time: 00:04:56
    channel oem_backup_disk3: finished piece 1 at 23-DEC-08
    piece handle=/media/OneTouch_4/backup_dev/pbk30k6c_1_1 tag=BACKUP_DATABASE_FU_122308090352 comment=NONE
    channel oem_backup_disk3: backup set complete, elapsed time: 00:05:31
    channel oem_backup_disk4: finished piece 1 at 23-DEC-08
    channel oem_backup_disk4: backup set complete, elapsed time: 00:07:37
    piece handle=/media/OneTouch_4/backup_dev/pck30k6c_1_1 tag=BACKUP_DATABASE_FU_122308090352 comment=NONE
    RMAN-03009: failure of backup command on oem_backup_disk1 channel at 12/23/2008 21:14:34
    channel oem_backup_disk1 disabled, job failed on it will be run on another channel
    Additional information: 286720
    Additional information: 1969153
    Additional information: 4
    Linux-x86_64 Error: 2: No such file or directory
    ORA-27072: File I/O error
    ORA-19502: write error on file "/media/OneTouch_4/backup_dev/p9k30k6c_1_1", blockno 1969153 (blocksize=8192)
    input datafile fno=00094 name=/opt/oradata/datafile/CT_ind.dbf
    input datafile fno=00095 name=/opt/oradata/datafile/CM_DATA_reorg4.dbf
    input datafile fno=00096 name=/opt/oradata/datafile/CM_ind.dbf
    input datafile fno=00097 name=/opt/oradata/datafile/BI_ind_reorg0.dbf
    channel oem_backup_disk2: starting piece 1 at 23-DEC-08
    input datafile fno=00101 name=/opt/oradata/datafile/SU_ind.dbf
    input datafile fno=00103 name=/opt/oradata/datafile/NT_ind.dbf
    input datafile fno=00106 name=/opt/oradata/datafile/UA_DATA_reorg0.dbf
    input datafile fno=00110 name=/opt/oradata/datafile/IA_DATA.dbf
    input datafile fno=00111 name=/opt/oradata/datafile/Ia_ind.dbf
    input datafile fno=00112 name=/opt/oradata/datafile/CS_ind_reorg3.dbf
    input datafile fno=00113 name=/opt/oradata/datafile/TP_ind.dbf
    input datafile fno=00114 name=/opt/oradata/datafile/PU_ind_reorg0.dbf
    input datafile fno=00116 name=/opt/oradata/datafile/PC_ind_reorg0.dbf
    input datafile fno=00117 name=/opt/oradata/datafile/CM_DATA_reorg5.dbf
    input datafile fno=00119 name=/opt/oradata/datafile/CS_ind_reorg0.dbf
    input datafile fno=00120 name=/opt/oradata/datafile/IQ_DATA.dbf
    input datafile fno=00121 name=/opt/oradata/datafile/GU_ind_reorg0.dbf
    input datafile fno=00123 name=/opt/oradata/datafile/CS_ind_reorg5.dbf
    input datafile fno=00124 name=/opt/oradata/datafile/CS_ind_reorg6.dbf
    input datafile fno=00125 name=/opt/oradata/datafile/TC_DATA_reorg1.dbf
    input datafile fno=00128 name=/opt/oradata/datafile/AC_ind_reorg0.dbf
    input datafile fno=00129 name=/opt/oradata/datafile/IQ_IND.dbf
    input datafile fno=00011 name=/opt/oradata/datafile/AC_DATA_reorg2.dbf
    input datafile fno=00086 name=/opt/oradata/datafile/inventory01.dbf
    input datafile fno=00093 name=/opt/oradata/datafile/EB_ind.dbf
    input datafile fno=00092 name=/opt/oradata/datafile/FO_ind.dbf
    input datafile fno=00089 name=/opt/oradata/datafile/GU_DATA_reorg1.dbf
    input datafile fno=00088 name=/opt/oradata/datafile/KB_ind.dbf
    input datafile fno=00087 name=/opt/oradata/datafile/KJ_ind.dbf
    input datafile fno=00131 name=/opt/oradata/datafile/undotbs01.dbf
    channel oem_backup_disk2: specifying datafile(s) in backupset
    channel oem_backup_disk2: starting full datafile backupset
    input datafile fno=00100 name=/opt/oradata/datafile/KA_ind.dbf
    input datafile fno=00131 name=/opt/oradata/datafile/undotbs01.dbf
    input datafile fno=00087 name=/opt/oradata/datafile/KJ_ind.dbf
    channel oem_backup_disk3: starting full datafile backupset
    channel oem_backup_disk2 disabled, job failed on it will be run on another channel
    Additional information: 319488
    Additional information: 1969153
    Additional information: 4
    Linux-x86_64 Error: 2: No such file or directory
    ORA-27072: File I/O error
    ORA-19502: write error on file "/media/OneTouch_4/backup_dev/pdk30kpr_1_1", blockno 1969153 (blocksize=8192)
    RMAN-03009: failure of backup command on oem_backup_disk2 channel at 12/23/2008 21:21:13
    input datafile fno=00092 name=/opt/oradata/datafile/FO_ind.dbf
    input datafile fno=00089 name=/opt/oradata/datafile/GU_DATA_reorg1.dbf
    input datafile fno=00088 name=/opt/oradata/datafile/KB_ind.dbf
    channel oem_backup_disk3: specifying datafile(s) in backupset
    input datafile fno=00117 name=/opt/oradata/datafile/CM_DATA_reorg5.dbf
    input datafile fno=00119 name=/opt/oradata/datafile/CS_ind_reorg0.dbf
    input datafile fno=00120 name=/opt/oradata/datafile/IQ_DATA.dbf
    input datafile fno=00121 name=/opt/oradata/datafile/GU_ind_reorg0.dbf
    input datafile fno=00123 name=/opt/oradata/datafile/CS_ind_reorg5.dbf
    input datafile fno=00124 name=/opt/oradata/datafile/CS_ind_reorg6.dbf
    input datafile fno=00125 name=/opt/oradata/datafile/TC_DATA_reorg1.dbf
    input datafile fno=00128 name=/opt/oradata/datafile/AC_ind_reorg0.dbf
    input datafile fno=00129 name=/opt/oradata/datafile/IQ_IND.dbf
    input datafile fno=00011 name=/opt/oradata/datafile/AC_DATA_reorg2.dbf
    input datafile fno=00086 name=/opt/oradata/datafile/inventory01.dbf
    input datafile fno=00116 name=/opt/oradata/datafile/PC_ind_reorg0.dbf
    input datafile fno=00114 name=/opt/oradata/datafile/PU_ind_reorg0.dbf
    input datafile fno=00113 name=/opt/oradata/datafile/TP_ind.dbf
    input datafile fno=00112 name=/opt/oradata/datafile/CS_ind_reorg3.dbf
    input datafile fno=00111 name=/opt/oradata/datafile/Ia_ind.dbf
    input datafile fno=00110 name=/opt/oradata/datafile/IA_DATA.dbf
    input datafile fno=00106 name=/opt/oradata/datafile/UA_DATA_reorg0.dbf
    input datafile fno=00103 name=/opt/oradata/datafile/NT_ind.dbf
    input datafile fno=00101 name=/opt/oradata/datafile/SU_ind.dbf
    channel oem_backup_disk3: starting piece 1 at 23-DEC-08
    input datafile fno=00097 name=/opt/oradata/datafile/BI_ind_reorg0.dbf
    input datafile fno=00096 name=/opt/oradata/datafile/CM_ind.dbf
    input datafile fno=00095 name=/opt/oradata/datafile/CM_DATA_reorg4.dbf
    input datafile fno=00094 name=/opt/oradata/datafile/CT_ind.dbf
    input datafile fno=00093 name=/opt/oradata/datafile/EB_ind.dbf
    input datafile fno=00100 name=/opt/oradata/datafile/KA_ind.dbf
    channel oem_backup_disk4: starting full datafile backupset
    channel oem_backup_disk4: specifying datafile(s) in backupset
    Additional information: 475136
    Additional information: 1969153
    Additional information: 4
    Linux-x86_64 Error: 2: No such file or directory
    ORA-27072: File I/O error
    ORA-19502: write error on file "/media/OneTouch_4/backup_dev/pek30l69_1_1", blockno 1969153 (blocksize=8192)
    RMAN-03009: failure of backup command on oem_backup_disk3 channel at 12/23/2008 21:27:34
    input datafile fno=00093 name=/opt/oradata/datafile/EB_ind.dbf
    input datafile fno=00092 name=/opt/oradata/datafile/FO_ind.dbf
    input datafile fno=00089 name=/opt/oradata/datafile/GU_DATA_reorg1.dbf
    input datafile fno=00088 name=/opt/oradata/datafile/KB_ind.dbf
    input datafile fno=00087 name=/opt/oradata/datafile/KJ_ind.dbf
    input datafile fno=00131 name=/opt/oradata/datafile/undotbs01.dbf
    channel oem_backup_disk3 disabled, job failed on it will be run on another channel
    input datafile fno=00120 name=/opt/oradata/datafile/IQ_DATA.dbf
    input datafile fno=00121 name=/opt/oradata/datafile/GU_ind_reorg0.dbf
    input datafile fno=00123 name=/opt/oradata/datafile/CS_ind_reorg5.dbf
    input datafile fno=00124 name=/opt/oradata/datafile/CS_ind_reorg6.dbf
    input datafile fno=00125 name=/opt/oradata/datafile/TC_DATA_reorg1.dbf
    input datafile fno=00128 name=/opt/oradata/datafile/AC_ind_reorg0.dbf
    input datafile fno=00129 name=/opt/oradata/datafile/IQ_IND.dbf
    input datafile fno=00011 name=/opt/oradata/datafile/AC_DATA_reorg2.dbf
    input datafile fno=00086 name=/opt/oradata/datafile/inventory01.dbf
    input datafile fno=00119 name=/opt/oradata/datafile/CS_ind_reorg0.dbf
    input datafile fno=00117 name=/opt/oradata/datafile/CM_DATA_reorg5.dbf
    input datafile fno=00116 name=/opt/oradata/datafile/PC_ind_reorg0.dbf
    input datafile fno=00114 name=/opt/oradata/datafile/PU_ind_reorg0.dbf
    input datafile fno=00113 name=/opt/oradata/datafile/TP_ind.dbf
    input datafile fno=00112 name=/opt/oradata/datafile/CS_ind_reorg3.dbf
    input datafile fno=00111 name=/opt/oradata/datafile/Ia_ind.dbf
    input datafile fno=00110 name=/opt/oradata/datafile/IA_DATA.dbf
    input datafile fno=00106 name=/opt/oradata/datafile/UA_DATA_reorg0.dbf
    input datafile fno=00103 name=/opt/oradata/datafile/NT_ind.dbf
    input datafile fno=00101 name=/opt/oradata/datafile/SU_ind.dbf
    channel oem_backup_disk4: starting piece 1 at 23-DEC-08
    input datafile fno=00097 name=/opt/oradata/datafile/BI_ind_reorg0.dbf
    input datafile fno=00096 name=/opt/oradata/datafile/CM_ind.dbf
    input datafile fno=00095 name=/opt/oradata/datafile/CM_DATA_reorg4.dbf
    input datafile fno=00094 name=/opt/oradata/datafile/CT_ind.dbf
    input datafile fno=00100 name=/opt/oradata/datafile/KA_ind.dbf
    released channel: oem_backup_disk1
    released channel: oem_backup_disk3
    released channel: oem_backup_disk4
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on oem_backup_disk4 channel at 12/23/2008 21:34:10
    ORA-19502: write error on file "/media/OneTouch_4/backup_dev/pfk30li6_1_1", blockno 1969153 (blocksize=8192)
    ORA-27072: File I/O error
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 4
    Additional information: 1969153
    Additional information: 176128
    exit;
    released channel: oem_backup_disk2

  • Error while saving file to database using messageFileUpload

    Hi,
    In my OA Page I have messageFileUpload to save the file to a database. I have a custom stored procedure that I call in the AM that takes the file as BLOB and insert it into the table. My problem is for smaller files it works fine but as soon as I try to save a larger file i.e. over 0.5 MB I am getting the following errors. Sometime I get size error sometimes I get unreasonable conversion requested error. How can I solve this so it takes any size of file and save it.
    Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: Data size bigger than max size for this type: 2251264;
    Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-01460: unimplemented or unreasonable conversion requested ; Here is what I have in my Controller code snippet
    BlobDomain uploadedByteStream = (BlobDomain)fileUploadData.selectValue(null, fileName);
    Serializable[] parametersFile =  { fileName, contentType, fileSize, uploadedByteStream };
    Class[] paramTypesFile = { String.class, String.class, Long.class, BlobDomain.class };
    am.invokeMethod("saveFile", parametersFile, paramTypesFile);Here is the AM method that also invokes the Stored Procedure and pass the file as BLOB to save
    conn = (OracleConnection)dbTransaction.getJdbcConnection();
    cStmt = (OracleCallableStatement)conn.prepareCall(
                      "{CALL FILE_PKG.saveFile(:1, :2, :3, :4)}");
    cStmt.setString(1, fileName);
    cStmt.setString(2, fileContentType);
    cStmt.setNUMBER(3, new NUMBER(fileSize.intValue()));
    cStmt.setBinaryStream(4,uploadedFile.getBinaryStream(),fileSize.intValue());Any help is appreciated.
    Thanks

    I was able to resolve it and used the below code just in case if anyone else trying to save the BLOB
    byte[] barray = uploadedFile.getBytes(0,fileSize.intValue());
    oracle.sql.BLOB data = oracle.sql.BLOB.createTemporary(conn, true, BLOB.DURATION_CALL);
    data.putBytes(1,barray);
    cStmt.setBlob(4,tempBlob);

Maybe you are looking for

  • I have one goal, can it be done?

    I want to create a multi-page document in Pages, export the file to Keynote, add some moving elements, page flip, etc., then export that file to a website where people can download or view the file, flip through the pages, etc. Can I do all this, and

  • Spry Accordion Problem in IE7

    Hi, I have created a Spry Accordion containing 7 sections, using CS4. It works perfectly in Firefox, however there is a strange bug in IE7. The top section requires the scrollbar and this is working ok. However, the other 6 sections all have the same

  • Nano does not appear in ITunes or Finder; unable to re-set device

    Suddenly my 2nd gen nano does not appear in ITunes or Finder. I looked up support articles and it says to try re-setting the Nano, but I'm unable to do that -- I press the center and menu buttons; have also tried the menu and play buttons but the app

  • Apple TV + connecting to audio

    Just installed Apple TV, want to run it through stereo system, which is dated (no optical audio input) but works just fine.  Should I be able to connect Apple TV directly to my Blu-ray via optical audio and get stereo output through receiver?

  • Why is there a limit to the number of cards allowed in Apple Pay?

    I began adding my credit cards into Passbook and getting them all verified through the issuer for Apple Pay, but it won't let me enter any more than 8 cards total. I have my debit card and seven credit cards entered. When I tried to add a ninth card,