Error in exporting files using exp

Hi all,
I am getting the following error, when trying to export data. Can anyone please tell me how to resolve this?
Here is the screen shot of error:
=================================================================
C:\Users\assiddi.NA>exp userid=assiddi/msdf71@vmdev file=asdf.dmp log=exp_assiddi_vmdev.dmp
Export: Release 11.2.0.1.0 - Production on Thu Jun 30 11:06:04 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
server uses WE8ISO8859P1 character set (possible charset conversion)
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user ASSIDDI
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user ASSIDDI
About to export ASSIDDI's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export ASSIDDI's tables via Conventional Path ...
EXP-00008: ORACLE error 904 encountered
ORA-00904: "POLTYP": invalid identifier ========================> this is the error I am getting
EXP-00000: Export terminated unsuccessfully
====================================================================
(Note: I have Oracle client 11.2 on my machine, and the database server version is 11.1, and I am getting this error. I have also tried the same export using Oracle client 11.1, in that case I get the error "New partitioning scheme not supported" for tables having interval partitioning on date values).
Please help me on how to do this export. Thanks in advance.

As you can see in this forum: the so called "old export utility" is much better than NEW expdp if we want dump files on client machines. Here is my reply to one post similar to your one:
Data pump export can only generate dump files on the server. And I am a client, and want dump files on my machine. I even don't have access to server file system, it is in a different city and only DBAs have access to it.
(Please see my questions and their replies, about Expdp and Impdp in this forum, which were posted just a short while ago today. It clearly confirms that Expdp is of no use for dumping files on client computers)

Similar Messages

  • Export file framework.exp of package javacard.framework not found

    Hi,
    trying to convert the HelloWord example of the Sun Javacard Kit (2.2.2), i get the "error: export file framework.exp of package javacard.framework not found". I have compiled the file according to the documentation and i am still following the documentation for converting it.
    this is the command i use:
    %JC_HOME%/bin/converter.bat -config C:\java_card_kit-2_2_2\samples\src\com\sun\javacard\samples\HelloWorld\HelloWorld.opt
    Ideas?
    Thanks
    Edited by: uig on Oct 23, 2007 7:54 AM

    how did you compile ur helloworld.opt file coz when i tried it i got this err msg
    call %JC_HOME%\bin\converter -config ..\src\com\sun\javacard\samples\HelloWorld\HelloWorld.opt
    and got this err
    Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jre1/6/0_03\lib\ext\QTJava/zip;

  • Error when exporting file from LR5.2 - file created

    After updating to LR5.2, I receive an error when exporting files to another disk drive.  a file is created, but a warning appears "Unable to Export:  "An internal error has occurred: Win32 API error 2 ("The system cannot find the file specified.") when calling ShellExecuteExW from AgWorkspace.shellExecute".  I also have CC iunstalled for other applications, but originally installed LR5 as a standalone Adobe application.  I tried removing the program and reinstalling through CC, with no change in this behavior.

    The answer is in the thread:
    http://forums.adobe.com/thread/1303578?tstart=0

  • "Error serializing exported file"

    CR4E 2.0 SP 1
    Windows XP  -> WebSphere 6.1: All works fine.
    AIX -> WebSphere 6.1: the same project and db.     
    Error when exporting (export button in CR DHTML web viewer) to rtf, word, xls  formats (pdf and csv - ok):
    com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(?:?) - Error serializing exported file
    Any idea?
    Edited by: RomanH on Apr 21, 2009 8:50 AM

    [4/21/09 10:38:28:639 CDT] 00000029 SystemOut     O [2009-04-21 10:38:28,597]ERROR103757[WebContainer : 0] - com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(?:?) - Error serializing exported file
    [4/21/09 10:38:28:708 CDT] 00000029 SystemOut     O [2009-04-21 10:38:28,670]ERROR103830[WebContainer : 0] - com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(?:?) -  detected an exception: An error occured while exporting the report
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(Unknown Source)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)
         at com.businessobjects.report.web.event.bh.a(Unknown Source)
         at com.businessobjects.report.web.event.o.a(Unknown Source)
         at com.businessobjects.report.web.event.bw.broadcast(Unknown Source)
         at com.businessobjects.report.web.event.am.a(Unknown Source)
         at com.businessobjects.report.web.a.t.if(Unknown Source)
         at com.businessobjects.report.web.e.a(Unknown Source)
         at com.businessobjects.report.web.e.a(Unknown Source)
         at com.businessobjects.report.web.e.a(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
         at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.a(Unknown Source)
         at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
         at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1812)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
         at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)

  • Error when exporting reports using MAPI

    We created a .NET class that wraps CR 2010 .NET Crystal Reports functions and made it COM visible. This class is used to create a COM object in a js script which in turn used to export reports to a PDF file with the destination MAPI.
    It exports reports just fine without any errors however if prior to instantiation the exporting class we instantiate a class that has nothing to do with the Crystal Reports functions, our exporting object throws u201CExternal component has thrown an exception.u201D error when exporting. It appears that it has something to do with the SideBySide feature. I was wondering if somebody knows what causes this and if there is a way to fix this problem.
    Thanks for your help!
    <br>
    <br>
    Below are 2 procmon.exe outputs, the first when exporting works and the second when it doesnu2019t
    <br>
    <br>
    <br>
    1) Procmon.exe output when exporting works fine
    <br>
    <br>
    <br>HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     Desired Access: Read
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\CommonFilesDir     SUCCESS     Type: REG_SZ, Length: 72, Data: C:\Program Files (x86)\Common Files
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     FAST IO DISALLOWED     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>7:16:30.7403615 AM     test.exe     4396     FASTIO_QUERY_INFORMATION     C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     Type: QueryBasicInformationFile, CreationTime: 9/17/2010 10:50:22 AM, LastAccessTime: 11/10/2010 5:47:02 PM, LastWriteTime: 9/17/2010 10:50:22 AM, ChangeTime: 2/17/2011 11:04:53 AM, FileAttributes: A
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Read Data/List Directory, Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     FILE LOCKED WITH ONLY READERS     SyncType: SyncTypeCreateSection, PageProtection:
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     SyncType: SyncTypeOther
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Image Base: 0x79260000, Image Size: 0x1073000
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     Type: QueryNameInformationFile, Name: \Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide     SUCCESS     Desired Access: Read
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide     SUCCESS     KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide\PreferExternalManifest     NAME NOT FOUND     Length: 20
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\SideBySide     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     Type: QueryBasicInformationFile, CreationTime: 9/17/2010 10:50:22 AM, LastAccessTime: 11/10/2010 5:47:02 PM, LastWriteTime: 9/17/2010 10:50:22 AM, ChangeTime: 2/17/2011 11:04:53 AM, FileAttributes: A
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>
    <br>
    <br>//////////////////////////////////////////////////////////////////////
    <br>2) Procmon.exe output when exporting doesnu2019t work, notice that it tries to open MSO.dll at the same location as in the output above but fails, it tries then to open it at several other locations and fails
    <br>
    <br>
    <br>HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     Desired Access: Read
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\CommonFilesDir     SUCCESS     Type: REG_SZ, Length: 72, Data: C:\Program Files (x86)\Common Files
    <br>HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     FAST IO DISALLOWED     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     Type: QueryBasicInformationFile, CreationTime: 9/17/2010 10:50:22 AM, LastAccessTime: 11/10/2010 5:47:02 PM, LastWriteTime: 9/17/2010 10:50:22 AM, ChangeTime: 2/17/2011 11:04:53 AM, FileAttributes: A
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\MSO.DLL     SUCCESS     Desired Access: Read Data/List Directory, Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     FILE LOCKED WITH ONLY READERS     SyncType: SyncTypeCreateSection, PageProtection:
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     SyncType: SyncTypeOther
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12\MSO.DLL     SUCCESS     
    <br>C:\Users\Paul\projects\temp\test\Debug\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Users\Paul\projects\temp\test\Debug\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    <br>C:\Program Files (x86)\Microsoft Office\Office12\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Program Files (x86)\Microsoft Office\Office12\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    <br>C:\Windows\SysWOW64\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Windows\SysWOW64\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    <br>C:\Windows\system\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Windows\system\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    <br>C:\Windows\MSO.dll     FAST IO DISALLOWED     
    <br>C:\Windows\MSO.dll     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a

    I tried to run exporting code in a .net application and got the same error. I first created the COM object that causes the problem and then ran exporting CR functions. It works fine if I run the code without creating the COM object.
    Below is the code I used.
                Type objClassType = Type.GetTypeFromProgID("ebms.main");
                object objMain = Activator.CreateInstance(objClassType);
                try
                    object[] p = new object[4];
                    p[0] = "C:\\ebms\\co1";
                    p[1] = "C:\\ebms\\co1";
                    p[2] = "Administrator";
                    p[3] = "";
                    objClassType.InvokeMember("LoginToCompany", System.Reflection.BindingFlags.InvokeMethod, null, objMain, p);
                catch (Exception ex)
                this.RPTDoc = new ReportDocument();
                this.RPTDoc.Load(@"C:\\Users\\Paul\\Desktop\\AR Customer List.rpt");
                PdfRtfWordFormatOptions pdfOpts = ExportOptions.CreatePdfRtfWordFormatOptions();
                MicrosoftMailDestinationOptions mailOpts = ExportOptions.CreateMicrosoftMailDestinationOptions();
                ExportOptions exportOpts = new ExportOptions();
                pdfOpts.UsePageRange = false;
                exportOpts.ExportFormatOptions = pdfOpts;
                mailOpts.MailMessage = "something";
                mailOpts.MailSubject = "something";
                mailOpts.MailToList = "emailaddress";
                exportOpts.ExportDestinationOptions = mailOpts;
                exportOpts.ExportDestinationType = ExportDestinationType.MicrosoftMail;
                exportOpts.ExportFormatType = ExportFormatType.PortableDocFormat;
                try
                    this.RPTDoc.Export(exportOpts);
                catch (Exception ex)
                    MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);

  • How to get ORA errors in alertlog file using shell script.

    Hi,
    Can anyone tell me how to get all ORA errors between two particular times in an alertlog file using shell script.
    Thanks

    Hi,
    You can define the alert log as an external table, and extract messages with SQL, very cool:
    http://www.dba-oracle.com/t_oracle_alert_log_sql_external_tables.htm
    If you want to write a shell script to scan the alert log, see here:
    http://www.rampant-books.com/book_2007_1_shell_scripting.htm
    #!/bin/ksh
    # log monitoring script
    # report all errors (and specific warnings) in the alert log
    # which have occurred since the date
    # and time in last_alerttime_$ORACLE_SID.txt
    # parameters:
    # 1) ORACLE_SID
    # 2) optional alert exclusion file [default = alert_logmon.excl]
    # exclude file format:
    # error_number error_number
    # error_number ...
    # i.e. a string of numbers with the ORA- and any leading zeroes that appear
    # e.g. (NB the examples are NOT normally excluded)
    # ORA-07552 ORA-08006 ORA-12819
    # ORA-01555 ORA-07553
    BASEDIR=$(dirname $0)
    if [ $# -lt 1 ]; then
    echo "usage: $(basename) ORACLE_SID [exclude file]"
    exit -1
    fi
    export ORACLE_SID=$1
    if [ ! -z "$2" ]; then
    EXCLFILE=$2
    else
    EXCLFILE=$BASEDIR/alert_logmon.excl
    fi
    LASTALERT=$BASEDIR/last_alerttime_$ORACLE_SID.txt
    if [ ! -f $EXCLFILE ]; then
    echo "alert exclusion ($EXCLFILE) file not found!"
    exit -1
    fi
    # establish alert file location
    export ORAENV_ASK=NO
    export PATH=$PATH:/usr/local/bin
    . oraenv
    DPATH=`sqlplus -s "/ as sysdba" <<!EOF
    set pages 0
    set lines 160
    set verify off
    set feedback off
    select replace(value,'?','$ORACLE_HOME')
    from v\\\$parameter
    where name = 'background_dump_dest';
    !EOF
    `
    if [ ! -d "$DPATH" ]; then
    echo "Script Error - bdump path found as $DPATH"
    exit -1
    fi
    ALOG=${DPATH}/alert_${ORACLE_SID}.log
    # now create awk file
    cat > $BASEDIR/awkfile.awk<<!EOF
    BEGIN {
    # first get excluded error list
    excldata="";
    while (getline < "$EXCLFILE" > 0)
    { excldata=excldata " " \$0; }
    print excldata
    # get time of last error
    if (getline < "$LASTALERT" < 1)
    { olddate = "00000000 00:00:00" }
    else
    { olddate=\$0; }
    errct = 0; errfound = 0;
    { if ( \$0 ~ /Sun/ || /Mon/ || /Tue/ || /Wed/ || /Thu/ || /Fri/ || /Sat/ )
    { if (dtconv(\$3, \$2, \$5, \$4) <= olddate)
    { # get next record from file
    next; # get next record from file
    # here we are now processing errors
    OLDLINE=\$0; # store date, possibly of error, or else to be discarded
    while (getline > 0)
    { if (\$0 ~ /Sun/ || /Mon/ || /Tue/ || /Wed/ || /Thu/ || /Fri/ || /Sat/ )
    { if (errfound > 0)
    { printf ("%s<BR>",OLDLINE); }
    OLDLINE = \$0; # no error, clear and start again
    errfound = 0;
    # save the date for next run
    olddate = dtconv(\$3, \$2, \$5, \$4);
    continue;
    OLDLINE = sprintf("%s<BR>%s",OLDLINE,\$0);
    if ( \$0 ~ /ORA-/ || /[Ff]uzzy/ )
    { # extract the error
    errloc=index(\$0,"ORA-")
    if (errloc > 0)
    { oraerr=substr(\$0,errloc);
    if (index(oraerr,":") < 1)
    { oraloc2=index(oraerr," ") }
    else
    { oraloc2=index(oraerr,":") }
    oraloc2=oraloc2-1;
    oraerr=substr(oraerr,1,oraloc2);
    if (index(excldata,oraerr) < 1)
    { errfound = errfound +1; }
    else # treat fuzzy as errors
    { errfound = errfound +1; }
    END {
    if (errfound > 0)
    { printf ("%s<BR>",OLDLINE); }
    print olddate > "$LASTALERT";
    function dtconv (dd, mon, yyyy, tim, sortdate) {
    mth=index("JanFebMarAprMayJunJulAugSepOctNovDec",mon);
    if (mth < 1)
    { return "00000000 00:00:00" };
    # now get month number - make to complete multiple of three and divide
    mth=(mth+2)/3;
    sortdate=sprintf("%04d%02d%02d %s",yyyy,mth,dd,tim);
    return sortdate;
    !EOF
    ERRMESS=$(nawk -f $BASEDIR/awkfile.awk $ALOG)
    ERRCT=$(echo $ERRMESS|awk 'BEGIN {RS="<BR>"} END {print NR}')
    rm $LASTALERT
    if [ $ERRCT -gt 1 ]; then
    echo "$ERRCT Errors Found \n"
    echo "$ERRMESS"|nawk 'BEGIN {FS="<BR>"}{for (i=1;NF>=i;i++) {print $i}}'
    exit 2
    fi

  • Error while uploading file using wininet in c++.

    I'm going to upload text.txt file
    using wininet.
    Here is a code.
    #include "stdafx.h"
    #include "iostream"
    #include "windows.h"
    #include "wininet.h"
    #include "tchar.h"
    #include "iostream"
    #include "string"
    #include "sstream"
    #pragma comment(lib, "ws2_32.lib")
    #pragma comment(lib, "Wininet.lib")
    int main(){
    TCHAR hdrs[] = _T("Content-Type: multipart/form-data; boundary=---------------------------7d82751e2bc0858");
    TCHAR frmdata[] = _T("-----------------------------7d82751e2bc0858\r\nContent-Dis name=\"uploadedfile\"; filename=\"C:\\Users\Ahmer\Desktop\asd\test.txt\"\r\nContent-Type: text/plain\r\n\r\nfile contents here\r\n-----------------------------7d82751e2bc0858--\r\n");
    LPCTSTR accept[] = {_T("*/*"), NULL};
    HINTERNET hSession = InternetOpen(_T("MyAgent"), INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0);
    HINTERNET hConnect = InternetConnect(hSession, _T("http://localhost/cpp/"), INTERNET_DEFAULT_HTTP_PORT, NULL, NULL, INTERNET_SERVICE_HTTP, 0, 1);
    HINTERNET hRequest = HttpOpenRequest(hConnect, _T("POST"), _T("uploadfile.php"), NULL, NULL, accept, 0, 1);
    BOOL sent = HttpSendRequest(hRequest, hdrs, _tcslen(hdrs), frmdata, _tcslen(frmdata));
    if(hSession==NULL)
    cout<<"Error: InternetOpen";
    if(hConnect==NULL)
    cout<<"Error: InternetConnect";
    if(hRequest==NULL)
    cout<<"Error: HttpOpenRequest";
    if(!sent)
    cout<<"Error: HttpSendRequest";
    //close any valid internet-handles
    InternetCloseHandle(hSession);
    InternetCloseHandle(hConnect);
    InternetCloseHandle(hRequest);
    return 0;
    Here is a php file.
    move_uploaded_file($_FILES["uploadedfile"]["tmp_name"], "/FileFolder");
    there is error Error:
    HttpSendRequest.

    That's prefect, I changed only these two lines
    HINTERNET hConnect = InternetConnect(hSession, _T("localhost"), INTERNET_DEFAULT_HTTP_PORT, NULL, NULL, INTERNET_SERVICE_HTTP, 0, 1);
    HINTERNET hRequest = HttpOpenRequest(hConnect, _T("POST"), _T("cpp/uploadfile.php"), NULL, NULL, accept, 0, 1);
    and now there is no error in this code but this is not uploading  file yet.
    Is there any error in the php file ? or in this line .
    TCHAR frmdata[] = _T("-----------------------------7d82751e2bc0858\r\nContent-Dis name=\"uploadedfile\"; filename=\"C:\\Users\Ahmer\Desktop\asd\test.txt\"\r\nContent-Type: text/plain\r\n\r\nfile contents here\r\n-----------------------------7d82751e2bc0858--\r\n");
    I have a file in this path 
    C:\\Users\Ahmer\Desktop\asd\test.txt\
    Thanks for you Time.

  • Error when opening files using SMB server

    I’m trying to download files using a Windows SMB server, but it does not work properly. I'm using a VPN connection to access the server. I already added smb protocol in my system preferences (using 'more internet'), but when I’m trying to open a file, the following error message (code 36) appears:
    The Finder cannot complete the operation because some of the data in smb://........ could not be read or written.
    The Console gives the following error message:
    mount_smbfs: can't get server address `……:
    Unknown host
    mount_smbfs: can't get server address: syserr = Network is down
    Does anyone know how to solve thed error? Thanx in advance!
    iBook G4   Mac OS X (10.4)  

    This has been bugging me. Typically, the FileOpenClient error would include the name of the "client" referenced by the FileOpenClient parameter in the ditafm.ini file (I don't think it really does anything, but that's not the point). In this case it's not indicating the name of the client. After some testing it looks like FM10 (probably FM9 as well) prints this error along with the message about being unable to open a file. I have a feeling that it's just a bogus error message. However, the message about being unable to open the file is real.
    Note that there is a difference between being unable to "open" of "locate" a file .. you'll see different messages in each condition. This (and the message from M_Boyd) are "open" errors. Off hand I don't know why. Try manually opening the file specified and see if you get any errors. I've not been able to replicate the "open" error (just a "locate" error) even when I corrupt the target file so it is invalid XML. When I do this, the xref does not properly resolve, and it *does* add significant time to the time it takes to open the referencing file .. but I'm not getting any errors written to the console for this .. strange.
    Also note that the error says "Unable to resolve link" .. this means a "link" element is the referencing element, as opposed to an "xref". If it was an xref it would say "Unable to resolve xref".
    Bottom line .. don't worry about the FileOpenClient error .. I think it's just bogus. But there is some reason that FM isn't able to open your referenced files. I'd strip out all of the references and start over with just one .. make sure it works before adding more. The simpler you can keep the directory structure the better.
    Cheers,
    ...scott

  • Error while uploading File using af:inputFile

    Hi All,
    I used <af:inputFile> to upload the file,This is working fine if I use the Mouse for selecting the file,But when I use the keyboard to upload the file,It throws error saying
    "Please verify your upload data." Any reasons why Iam not able to upload a file using Keyboard.
    Since I am converting my application to be ADA complaince.
    I need to fix this issue of uploading the file using the keyboard.Iam using Jdev version of 11.1.1.4.0
    thanks
    Krishnaveni

    Hi,
    It works for me (though I am using 11.1.1.6). If you have a reproducible test case, please contact support and file a service request for them to analyze your problem
    Frank
    Edited by: Frank Nimphius on Jun 27, 2012 8:48 AM

  • Error while exporting a table - EXP-00091

    I am doing an export of a table. The table has 1000838 rows. After the export is completed,
    when I checked the log - it said
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    With the Partitioning option
    JServer Release 9.2.0.4.0 - Production
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    About to export specified tables via Conventional Path ...
    . . exporting table FIDA_LABEL 1000838 rows exported
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    Export terminated successfully with warnings.
    I looked in the Oracle error messages document and found this out ---
    EXP-00091 Exporting questionable statistics
    Cause: Export was able to export statistics, but the statistics may not be useable. The statistics are questionable because one or more of the following happened during export: a row error occurred, client character set or NCHARSET does not match with the server, a query clause was specified on export, only certain partitions or subpartitions were exported, or a fatal error occurred while processing a table.
    Action: To export non-questionable statistics, change the client character set or NCHARSET to match the server, export with no query clause, or export complete tables. If desired, import parameters can be supplied so that only non-questionable statistics will be imported, and all questionable statistics will be recalculated.
    And this how my export command looks like -
    exp vincent/passphr query=\"where state in \(\'MD\',\'CA\',\'WI\'\)\" file=$EXPDIR/fida_label_9i.dmp tables=vincent.fida_label
    log=$LOGDIR/fida_label_exp.log
    Ofcourse, I am using the query clause because I really need to and it has always worked when we were in the Oracle 8i environment. We recently moved to the 9i. And this happens in this 9i version...
    And I certainly do not want to specify the import parameters to ignore the questionable statistics as no changes are desired in that area...(my hands are tied..).
    What could " a fatal error occurred while processing a table " mean? And how can this be traced and troubleshooted ? Or how can I find out if any row errors occurred ? And if required, how do I check the character sets and other likes ?? (I have no idea in this area)
    Thanks. All I needed was to get around this error. Your suggesions/responses would be highly appreciated

    What version of Oracle 9i are you using? Do you have a standard 'NLS_LANG' environment variable set on client's machines? Or do you set it to different values on different machines?
    Here is one of way you could get around it.
    Could you specify the export parameter 'STATISTICS=NONE' while exporting the table data?
    Try this and see.
    If this is successful, you could use the import utility as usual. You could always compute or estimate statistics on the table after import.

  • Exporting Data using exp not working

    I am trying to export data from an applicaion and the vendor gave me a par file to help. Here is my problem.
    This is what I have tried.
    exp \"sys/****@Fieldmgr as SYSDBA\" parfile=fm_export.par
    I get this...
    About to export specified tables via Conventional Path ...
    EXP-00011: SYS.MATSRC does not exist
    EXP-00011: SYS.FIELDS does not exist
    Export terminated successfully with warnings.
    It is prefixing sys. Before everything and that seems to be the problem.
    This is how I have modified the par file.
    FILE="D:\exported\fm43.dmp"
    LOG="D:\exported\fm43_log.log"
    BUFFER=100000
    ROWS=yes
    GRANTS=yes
    INDEXES=yes
    TABLES =(MATSRC,
    FIELDS,
    SETTINGS,
    CHARLARG)
    What is causing the command to prefix sys before the table names and how can I prevent this?
    Thanks,
    Jim

    Too much is missing from your posts.
    1. Can you list both the export.par file and the import.par file. This will help clear things up.
    1) Create a new database (schema & instance) in 10g.
    Not sure what they mean by schema & instance. I've created a new database called Fieldmgr
    This means to create the database and the users. Specifically the user where you want the data to live.
    grant connect,resource to user1_name identified by user1_password;
    2) Modify the export par file as appropriate for your Oracle environment.
    I prefixed fmdb. to the tablenames.You say that you prefixed fmdb to the tablenames. I'm not sure why you did this. The dumpfile has names tab1, tab2, tab3.
    If you said tables=fmdb_tab1, fmdb_tab2, fmdb_tab3. These are not in the dumpfile. The imp utilitye will look for tables called fmdb_tab1, etc and won't find any. This is probably your biggest problem. Don't change the tablenames in the parfile. If you exported
    tables=tab1, tab2, tab3
    You need to import
    tables=tab1, tab2, tab3
    or a subset like:
    tables=tab2
    >
    3) Use the export par file on the disc to create a dump of the 9i database.
    This appeared to work and I got a 63 MB data file which seems about right and there were no warnings or errors.
    4) Modify the import par file for your environment.
    Not sure what to do here other than point to the files. I've already explained what they said here which seems incorrect from your post.
    According to the applicaion vendor I should replace these variables in the import file.
    REM * <fm_source_db> - database the dmp file was from *
    REM * <fm_dest_db> - database to load the dmp file intoThe above 2 parameters are not valid parameters for imp. I would remove them from the parfile.
    FROMUSER=<fm_source_db>
    TOUSER=<fm_dest_db>These 2 parameters are for remapping a schema name. If the source database has a user called source_user1 and you wanted these imported into the target database as targer_user5, then you would use:
    FROMUSER=SOURCE_USER1
    TOUSER=TARGET_USER5
    This would mean that in step 1 above you would use
    grant connect,resource to target_user5 identified by my_password;
    >
    5) Run the import par to move the 9i dump into the new 10g database.
    This never works. The commands I am trying are.
    imp \"sys/****@fieldmgr as sysdba\" parfile="filename.par"
    imp \"sys/**** as sysdba\" parfile="filename.par"This didn't work because you renamed the table names, you appended fmdb to the tables. These tables are not in the dumpfile so that is why you get the table not found error.
    Dean

  • RSRT: Error in Exporting File to Local Folder

    Hi Experts
    We executed a Query in RSRT t-code and when we try to download data to local folder, the file is getting downloaded with error message. Please help out to resolve the issue
    "PAGENO=1&CMD=EXPORT&DATA_PROVIDER=DP&DUMMY=file.csv&FORMAT=CSV&REQUEST_NO=17"
    Regards
    Suresh Kumar

    Hello Kumar,
    Use the transaction RSRT2 (this will force the HTML display mode)
    You will see some extra buttons as Export to CSV and Export to Excel.
    Use these options. It should work. Otherwise, let me know the error message, if occurs.
    Kind Regards,
    Edward John

  • Error reading excel file using POI.

    Hi ,
    I am having some problem when reading the excel file.
    While reading excel file I am getting error-java.io.IOException: Unable to read entire block; 4 bytes read; expected 512 bytes.
    part of my code:-
    InputStream stream = objFormFile.getInputStream();
    POIFSFileSystem fs = new POIFSFileSystem(stream);//getting above error here.
    HSSFWorkbook wb = new HSSFWorkbook(fs);
    Case 1:
    I download the file on the system ,save it ,and then directly upload it to the system ,I get the above error .
    Case 2:
    It works fine if I download the excel and manually open and save it and then upload it .
    I am using JDK1.4.1 and poi-2.5.1-final-20040804.jar.
    Can any one please help me out for the above problem?
    Edited by: hruday on Jul 31, 2008 3:20 AM

    Instead of using POIFSFileSystem, try to directly create the HSSFWorkbook
    InputStream stream = objFormFile.getInputStream();
    //POIFSFileSystem fs = new POIFSFileSystem( stream );//getting above error here.
    HSSFWorkbook wb = new HSSFWorkbook( stream );

  • Error while Exporting dump using Expdp

    Hi Guru's
    When i started to export schema by giving the following command
    staging/********@XXXXX schemas=abcdirectory=DUMPDIR dumpfile=tnfhc_291210.dmp logfile=exp_tnfhc_291210.log schema is not exported successfully. it started to give the following error.
    ORA-31694: master table "STAGING"."SYS_EXPORT_SCHEMA_10" failed to load/unload
    ORA-19502: write error on file "/home/oracle/dumpdir/tnfhc_291210.dmp", blockno 263773 (blocksize=4096)
    ORA-27072: File I/O error
    Additional information: 4
    Additional information: 263773
    Additional information: 131072
    Job "STAGING"."SYS_EXPORT_SCH
    {code}
    Kindly help to take backup..
    Thanks & Regards
    Sami.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    ORA-19502: write error on file "/home/oracle/dumpdir/tnfhc_291210.dmp", blockno 263773 (blocksize=4096)
    ORA-27072: File I/O error
    Additional information: 4some sort of Operating System error; like volume is 100% full
    what clues exist in OS log files?

  • Issues with Exporting files using Lightroom 5

    I bought Lightroom 5 for Mac a couple of months ago and have been using it without any issues, then out of the blue I ran into export problems. Sometimes the exported images wouldn’t have the sharpness adjustments, sometimes it wouldn’t have the noise adjustments, sometimes the saturation or vibrancy, and then sometimes a combination of the above. I know there’s a known issue that effects noise on export if you export on files sizes less than 1/3 of the original size, but mine have always been exported at full size with image quality 70, exporting as jpeg.
    I installed the latest update and that didn’t help. I uninstalled the software and that didn’t help either. I then uninstalled everything completely (including the library) by searching both lightroom and adobe in finder > system files> are included and deleted everything I could find pertaining to adobe lightroom (I didn’t delete everything adobe as I have other adobe products). This didn’t help either. What is really bizarre is that I tried restoring my Mac back to a time when Lightroom worked fine, and this didn't solve the issue, and I've also tried wiping the hard drive and just installing lightroom and this didn't work. This really baffled me.
    What I have also found with Lightroom (and I'm sure it's all somehow linked) is that if I'm working on a file, and either close LR down and re-open it, or go to another file and then back to the one I was working on, initially the image has lost it's sharpening again, but if I click on the sharpen slider (without moving it) the sharpening comes back.
    So has anyone any ideas on what my issues are and how to fix them. I’ve tried the advice on here too [url]http://helpx.adobe.com/lightroom/kb/manually-remove-lightroom.html[/url].
    My workaround at the minute is to use full screen view when I've completed my adjustments and take a hi-res screen shot, but the problem is that the saved images are only approx 1600 x 1000 pixels, which is fine for viewing on my Macbook pro but not good if I want to zoome etc.

    snerkler wrote:
    As I said in my first paragraph I don't think it's the known issue...
    Sorry snerkler - I didn't read closely enough .
    Sounds like you have a different problem - if it's a bug, be sure to report it:
    http://feedback.photoshop.com/photoshop_family/products/photoshop_family_photoshop_lightro om
    Rob

Maybe you are looking for

  • Audigy 2ZS Platinum Pro, GamePort

    Anyone having issues with this new driver for Vista and gameport not installing? Anyone know a work around to this? Thank you

  • Safari misbehaving after reset

    I've been having serious beachball issues with Safari, so in my troubleshooting one of the first things I tried was to reset Safari. The result has been that the beachball issues haven't gone away, and more problems have arisen, specifically: 1) Usin

  • RSNAST00 Reissue only last message not all

    We want to reissue only the last message output of the Invoice, RSNAST00 has the option to resend message, but it sends all the successful messages. Is there a way to only send the last one. I know that there are other options of recreating the last

  • Bad Applet Viewing Problem

    I have tried this with the recent versions of the Runtime Environment 1.4.2 and 1.5.0 Beta 2 and I get slightly different, but the same problem. When I try to view an applet in a web page with 1.4.2, it looks for jvm.dll in \bin\hotspot\ when it's us

  • When will iTunes 11 come out

    when will iTunes 11 come out