Get-storagegroupcopystatus failed after reseeding

can't seem to find related information on the error.
What does below eventlog mean? after a successful reseed from either command line or GUI and get-storagegroupcopystatus shows failed.
Microsoft.Exchange.Cluster.ReplayService (2400) Recovery E00 E2K7CCR\First Storage Group: Unable to read the header of logfile C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E000000051F.log. Error -546. 
For more information, click http://www.microsoft.com/contentredirect.asp.
This is a 2007 CCR environment and error on passive node
thanks, Paul

here is the result:
Initiating FILE DUMP mode...
      Base name: E00
      Log file: E000000051F.log
      lGeneration: 1311 (0x51F)
      Checkpoint: NOT AVAILABLE
      creation time: 01/15/2014 08:00:35
      prev gen time: 01/15/2014 08:00:11
      Format LGVersion: (7.3704.12)
      Engine LGVersion: (7.3704.12)
      Signature: Create time:06/17/2013 11:43:11 Rand:509332482 Computer:
      Env SystemPath: C:\Program Files\Microsoft\Exchange Server\Mailbox\First
torage Group\
      Env LogFilePath: C:\Program Files\Microsoft\Exchange Server\Mailbox\First
Storage Group\
      Env Log Sec size: 512
      Env (CircLog,Session,Opentbl,VerPage,Cursors,LogBufs,LogFile,Buffers)
          (    off,   1052,  52600,  16384,  52600,   2048,   2048,2000000000)
      Using Reserved Log File: false
      Circular Logging Flag (current file): off
      Circular Logging Flag (past files): off
      1 C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\
ailbox Database.edb
                 dbtime: 926770 (0-926770)
                 objidLast: 407
                 Signature: Create time:06/17/2013 11:43:11 Rand:509309879 Comp
ter:
                 MaxDbSize: 0 pages
                 Last Attach: (0x48F,9,86)
                 Last Consistent: (0x48E,26,14B)
      Last Lgpos: (0x51f,26,0)
Integrity check passed for log file: E000000051F.log
Operation completed successfully in 0.47 seconds.
also seeing other errors on the passive node:
Microsoft.Exchange.Cluster.ReplayService (2448) Log Verifier e00 19007842: An attempt to open the device name "\\mail1\43dc1512-da8d-4395-be83-e5787028b2e3$" containing "\\mail1\43dc1512-da8d-4395-be83-e5787028b2e3$\" failed with system error 5 (0x00000005):
"Access is denied. ".  The operation will fail with error -1032 (0xfffffbf8). 
For more information, click http://www.microsoft.com/contentredirect.asp.
I tried examine the sharing permission on the first storage group, and it seem ok.  

Similar Messages

  • Http get requests fail after a few weeks

    All,
    I have a get request to a servlet that works for a few weeks, then it will suddenly stop.
    I change the code once, works,then it will fail after a few weeks.
    I change the code again, works, then it will fail after a few weeks.
    Servlet works like: send one request, wait, then send a second.
    Here are the last 2 code iterations:
    try {
            // Construct data
            String data = URLEncoder.encode("key1", "UTF-8") + "=" + URLEncoder.encode("value1", "UTF-8");
            data += "&" + URLEncoder.encode("key2", "UTF-8") + "=" + URLEncoder.encode("value2", "UTF-8");
              //String data = "";
            // Send data
            //URL url = new URL("http://localhost:8080/stocks?action=1&date=20080310");
            URL url = new URL("http://localhost:8080/stocks/monitor?action=1&date="+stringDate);
            URLConnection conn = url.openConnection();
            conn.setDoOutput(true);
            OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
            wr.write(data);
            wr.flush();
            // Get the response
            BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
            //System.out.println(rd.read());
            String line;
            int count =0;
            while ((line = rd.readLine()) != null) {
                // Process line...
                 System.out.println(count + line);
                 count++;
            wr.close();
            rd.close();
        } catch (Exception e) {
        try {
            // Construct data
            String data = URLEncoder.encode("key1", "UTF-8") + "=" + URLEncoder.encode("value1", "UTF-8");
            data += "&" + URLEncoder.encode("key2", "UTF-8") + "=" + URLEncoder.encode("value2", "UTF-8");
             //String data = "";
            // Send data
            URL url = new URL("http://localhost:8080/stocks/monitor?action=2");
            URLConnection conn = url.openConnection();
            conn.setDoOutput(true);
            OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
            wr.write(data);
            wr.flush();
            // Get the response
            BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
            String line;
            int count =0;
            while ((line = rd.readLine()) != null) {
                // Process line...
                 System.out.println(count + line);
                 count++;
            wr.close();
            rd.close();
        } catch (Exception e) {
        }I send this request twice with different params
    public static String sendGetRequest(String endpoint, String requestParameters)
    String result = null;
    if (endpoint.startsWith("http://"))
    // Send a GET request to the servlet
    try
    // Construct data
    StringBuffer data = new StringBuffer();
    // Send data
    String urlStr = endpoint;
    if (requestParameters != null && requestParameters.length () > 0)
    urlStr += "?" + requestParameters;
    URL url = new URL(urlStr);
    URLConnection conn = url.openConnection ();
    // Get the response
    BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
    StringBuffer sb = new StringBuffer();
    String line;
    while ((line = rd.readLine()) != null)
    sb.append(line);
    rd.close();
    result = sb.toString();
    } catch (Exception e)
    e.printStackTrace();
    return result;
    }Any ideas?
    Edited by: iketurna on Mar 13, 2008 7:21 AM

    You appear to have empty catch blocks. Which means you don't get the error message that would tell you what is failing.
    Put in code that logs the exception and the stack trace of the exception. If you can't figure out the error message, post it here.
    You should be closing streams in finally statements. Otherwise they might not get closed when there is an error -> you leak descriptors -> you run out of descriptors -> every stream open will fail -> more errors -> more descriptors get leaked -> etc -> everything stops working. Always do it like this:
        WhateverStream out = null;
        try {
            out = ...;
            ...use out...;
        } finally {
            try {
                if (out != null) out.close();
           } catch (IOException e) { ...log it... }
        }

  • Call fails after last update

    Can anyone help me, after the last update from Apple to my iphone 3g I get call fail after call fail. It is getting embarassing at work where I rolled these phone out.

    Standard troubleshooting is
    1)Reset: reset your iPhone by pressing the home and sleep buttons until you see the Apple logo, ignoring the slider. Takes about 5-15 secs of button holding and you won't lose any data or settings.
    2)Restore as new or from backup: see page 141 of the manual for details...http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf
    Note the last sentence of the Restore paragraph... "In iTunes, you can also restore from a backup without deleting data stored on iPhone."
    Message was edited by: paulcb

  • HT4796 Migration assistant failed after 90% of the way; where are the files now and how do I get rid of them?

    Migration assistant failed after 90% of the way; where are the files now and how do I get rid of them?

    Hello.  It looks like I recovered all my keywords attached to photos.  What I did:
    First I located all photos without keywords using a metadata search.
    I found that it seemed to be certain groups of photos that had no keywords.  I decided to at least get the main keyword on all of those in a particular group, like Canyonlands. 
    Once I added one of the keywords, the others all showed up magically!  I then went to each group of photos and added the main keyword, and the others came along and attached to the photos.
    Don't understand why this occurred or why it got fixed, since it was so random.  But, I'm glad to have my keywords restored (I had divided flowers by color, etc. so it was a lot of work!)
    Thanks for the discussion and help.

  • IPhone 4 still gets crashed even after ios 7.1 update, & sometimes fails to reboot! However it gets rebooted after 30 to 60 mins later by itself. "HELP" please somebody

    iPhone 4 still gets crashed even after ios 7.1 update, & sometimes fails to reboot! However it gets rebooted after 30 to 60 mins later by itself. "HELP" please somebody

    1: Connect the device to Your computer and open iTunes.
    2: If the device appears in iTunes, select and click Restore on the Summary pane.
    Restoring  >  http://support.apple.com/kb/HT1414
    Make sure you have the Latest Version of iTunes (v11.1.5) Installed on your computer
    iTunes free download from www.itunes.com/download
    Note:
    Also consider Deleting any Apps you have Purchased / Downloaded but you now never use...

  • Error:  Failed to get a response after sending the message

    This is another one of those errors I only get some of the time with a specific script. I can't figure a rhyme or reason for it. The full error is:
    Failed to get a response after sending the message: <Message name="PageComplete"><Parameter WindowIndex="0"></Parameter><Parameter PassIfPageAlreadyComplete="false"></Parameter></Message>.
    It's triggering at a WaitForPage() method in the script. The script is executing from the OTM server which is Windows Server 2008 R2 and only runs for OTM. No roles or features (other than SMTP). IE-ESC is off for all users. The script runs with -delayPercentage 1.
    The script runs fine from within OpenScript workbench every time. The script does work when executed from OTM, however it will sometimes fail. When I run the scripts back to back the failure rate is about 50%. Same error every time....
    Any help, insight, and ideas would be greatly appreciated.
    Edited by: Colyn1337 on Mar 14, 2013 11:20 AM

    Also, some time it throw slightly different error like:
    "/web:window[@index='0']/web:document[@index='2']/web:form[@index='1']/web:inp
    ut_text[@id='saw_*' or @index='1']" failed to respond to action: <Message
    name="Click"><Parameter WindowIndex="0"></Parameter><Parameter
    DocumentIndex="2"></Parameter><Parameter index="1"></Parameter><Parameter
    tag="INPUT"></Parameter><Parameter type="text"></Parameter></Message>.
    Please help to triage.

  • Unit test fails after upgrading to Kodo 4.0.0 from 4.0.0-EA4

    I have a group of 6 unit tests failing after upgrading to the new Kodo
    4.0.0 (with BEA) from Kodo-4.0.0-EA4 (with Solarmetric). I'm getting
    exceptions like the one at the bottom of this email. It seems to be an
    interaction with the PostgreSQL driver, though I can't be sure. I
    haven't changed my JDO configuration or the related classes in months
    since I've been focusing on using the objects that have already been
    defined. The .jdo, .jdoquery, and .java code are below the exception,
    just in case there's something wrong in there. Does anyone have advice
    as to how I might debug this?
    Thanks,
    Mark
    Testsuite: edu.ucsc.whisper.test.integration.UserManagerQueryIntegrationTest
    Tests run: 15, Failures: 0, Errors: 6, Time elapsed: 23.308 sec
    Testcase:
    testGetAllUsersWithFirstName(edu.ucsc.whisper.test.integration.UserManagerQueryIntegrationTest):
    Caused an ERROR
    The column index is out of range: 2, number of columns: 1.
    <2|false|4.0.0> kodo.jdo.DataStoreException: The column index is out of
    range: 2, number of columns: 1.
    at
    kodo.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4092)
    at kodo.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:82)
    at kodo.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:66)
    at kodo.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:46)
    at
    kodo.jdbc.kernel.SelectResultObjectProvider.handleCheckedException(SelectResultObjectProvider.java:176)
    at
    kodo.kernel.QueryImpl$PackingResultObjectProvider.handleCheckedException(QueryImpl.java:2460)
    at
    com.solarmetric.rop.EagerResultList.<init>(EagerResultList.java:32)
    at kodo.kernel.QueryImpl.toResult(QueryImpl.java:1445)
    at kodo.kernel.QueryImpl.execute(QueryImpl.java:1136)
    at kodo.kernel.QueryImpl.execute(QueryImpl.java:901)
    at kodo.kernel.QueryImpl.execute(QueryImpl.java:865)
    at kodo.kernel.DelegatingQuery.execute(DelegatingQuery.java:787)
    at kodo.jdo.QueryImpl.executeWithArray(QueryImpl.java:210)
    at kodo.jdo.QueryImpl.execute(QueryImpl.java:137)
    at
    edu.ucsc.whisper.core.dao.JdoUserDao.findAllUsersWithFirstName(JdoUserDao.java:232)
    at
    edu.ucsc.whisper.core.manager.DefaultUserManager.getAllUsersWithFirstName(DefaultUserManager.java:252)
    NestedThrowablesStackTrace:
    org.postgresql.util.PSQLException: The column index is out of range: 2,
    number of columns: 1.
    at
    org.postgresql.core.v3.SimpleParameterList.bind(SimpleParameterList.java:57)
    at
    org.postgresql.core.v3.SimpleParameterList.setLiteralParameter(SimpleParameterList.java:101)
    at
    org.postgresql.jdbc2.AbstractJdbc2Statement.bindLiteral(AbstractJdbc2Statement.java:2085)
    at
    org.postgresql.jdbc2.AbstractJdbc2Statement.setInt(AbstractJdbc2Statement.java:1133)
    at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:390)
    at
    com.solarmetric.jdbc.PoolConnection$PoolPreparedStatement.setInt(PoolConnection.java:440)
    at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:390)
    at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:390)
    at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:390)
    at
    com.solarmetric.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.setInt(LoggingConnectionDecorator.java:1
    257)
    at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:390)
    at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:390)
    at kodo.jdbc.sql.DBDictionary.setInt(DBDictionary.java:980)
    at kodo.jdbc.sql.DBDictionary.setUnknown(DBDictionary.java:1299)
    at kodo.jdbc.sql.SQLBuffer.setParameters(SQLBuffer.java:638)
    at kodo.jdbc.sql.SQLBuffer.prepareStatement(SQLBuffer.java:539)
    at kodo.jdbc.sql.SQLBuffer.prepareStatement(SQLBuffer.java:512)
    at kodo.jdbc.sql.SelectImpl.execute(SelectImpl.java:332)
    at kodo.jdbc.sql.SelectImpl.execute(SelectImpl.java:301)
    at kodo.jdbc.sql.Union$UnionSelect.execute(Union.java:642)
    at kodo.jdbc.sql.Union.execute(Union.java:326)
    at kodo.jdbc.sql.Union.execute(Union.java:313)
    at
    kodo.jdbc.kernel.SelectResultObjectProvider.open(SelectResultObjectProvider.java:98)
    at
    kodo.kernel.QueryImpl$PackingResultObjectProvider.open(QueryImpl.java:2405)
    at
    com.solarmetric.rop.EagerResultList.<init>(EagerResultList.java:22)
    at kodo.kernel.QueryImpl.toResult(QueryImpl.java:1445)
    at kodo.kernel.QueryImpl.execute(QueryImpl.java:1136)
    at kodo.kernel.QueryImpl.execute(QueryImpl.java:901)
    at kodo.kernel.QueryImpl.execute(QueryImpl.java:865)
    at kodo.kernel.DelegatingQuery.execute(DelegatingQuery.java:787)
    at kodo.jdo.QueryImpl.executeWithArray(QueryImpl.java:210)
    at kodo.jdo.QueryImpl.execute(QueryImpl.java:137)
    at
    edu.ucsc.whisper.core.dao.JdoUserDao.findAllUsersWithFirstName(JdoUserDao.java:232)
    --- DefaultUser.java -------------------------------------------------
    public class DefaultUser
    implements User
    /** The account username. */
    private String username;
    /** The account password. */
    private String password;
    /** A flag indicating whether or not the account is enabled. */
    private boolean enabled;
    /** The authorities granted to this account. */
    private Set<Authority> authorities;
    /** Information about the user, including their name and text that
    describes them. */
    private UserInfo userInfo;
    /** The set of organizations where this user works. */
    private Set<Organization> organizations;
    --- DefaultUser.jdo --------------------------------------------------
    <?xml version="1.0"?>
    <!DOCTYPE jdo PUBLIC
    "-//Sun Microsystems, Inc.//DTD Java Data Objects Metadata 2.0//EN"
    "http://java.sun.com/dtd/jdo_2_0.dtd">
    <jdo>
    <package name="edu.ucsc.whisper.core">
    <sequence name="user_id_seq"
    factory-class="native(Sequence=user_id_seq)"/>
    <class name="DefaultUser" detachable="true"
    table="whisper_user" identity-type="datastore">
    <datastore-identity sequence="user_id_seq" column="userId"/>
    <field name="username">
    <column name="username" length="80" jdbc-type="VARCHAR" />
    </field>
    <field name="password">
    <column name="password" length="40" jdbc-type="CHAR" />
    </field>
    <field name="enabled">
    <column name="enabled" />
    </field>
    <field name="userInfo" persistence-modifier="persistent"
    default-fetch-group="true" dependent="true">
    <extension vendor-name="jpox"
    key="implementation-classes"
    value="edu.ucsc.whisper.core.DefaultUserInfo" />
    <extension vendor-name="kodo"
    key="type"
    value="edu.ucsc.whisper.core.DefaultUserInfo" />
    </field>
    <field name="authorities" persistence-modifier="persistent"
    table="user_authorities"
    default-fetch-group="true">
    <collection
    element-type="edu.ucsc.whisper.core.DefaultAuthority" />
    <join column="userId" delete-action="cascade"/>
    <element column="authorityId" delete-action="cascade"/>
    </field>
    <field name="organizations" persistence-modifier="persistent"
    table="user_organizations" mapped-by="user"
    default-fetch-group="true" dependent="true">
    <collection
    element-type="edu.ucsc.whisper.core.DefaultOrganization"
    dependent-element="true"/>
    <join column="userId"/>
    <!--<element column="organizationId"/>-->
    </field>
    </class>
    </package>
    </jdo>
    --- DefaultUser.jdoquery ---------------------------------------------
    <?xml version="1.0"?>
    <!DOCTYPE jdo PUBLIC
    "-//Sun Microsystems, Inc.//DTD Java Data Objects Metadata 2.0//EN"
    "http://java.sun.com/dtd/jdo_2_0.dtd">
    <jdo>
    <package name="edu.ucsc.whisper.core">
    <class name="DefaultUser">
    <query name="UserByUsername"
    language="javax.jdo.query.JDOQL"><![CDATA[
    SELECT UNIQUE FROM edu.ucsc.whisper.core.DefaultUser
    WHERE username==searchName
    PARAMETERS java.lang.String searchName
    ]]></query>
    <query name="DisabledUsers"
    language="javax.jdo.query.JDOQL"><![CDATA[
    SELECT FROM edu.ucsc.whisper.core.DefaultUser WHERE
    enabled==false
    ]]></query>
    <query name="EnabledUsers"
    language="javax.jdo.query.JDOQL"><![CDATA[
    SELECT FROM edu.ucsc.whisper.core.DefaultUser WHERE
    enabled==true
    ]]></query>
    <query name="CountUsers"
    language="javax.jdo.query.JDOQL"><![CDATA[
    SELECT count( this ) FROM edu.ucsc.whisper.core.DefaultUser
    ]]></query>
    </class>
    </package>
    </jdo>

    I'm sorry, I have no idea. I suggest sending a test case that
    reproduces the problem to support.

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

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

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

  • IMac Display failing after 1 year of average use.

    I have a mid 2011 27" iMac (the one with thunderbolt)  and the display is starting to fail after 1 year of average use (an hour of use every day on average).  The display is now much dimmer on the left half of the display (the GPU sits underneath that portion) and also flickers the whole display now and then to a lower brightness.
    I am about 45 days out of warranty and basically will have to cough up $500 to have it fixed by Apple.  My questions are...  Has anyone else ever had this happen to them?  The genius bar employee thought that it was something he has seen happen to displays when exposed to heat over long periods of time.  So basically playing starcraft 2 and doing video encoding killed my display if you believe that to be the cause.
    Are there any conditions in which apple would recognize this as a manufacturing defect and fix it free of charge?  Otherwise it looks like im writing a check for $500 next week.

    Today a dark streak showed up on my display right in the middle. It is shaped like a zebra stripe but is dark grey and wont go away.
    I too have a mid 2011 27" 3.4GHz i7 iMac with a 2GB Graphics card . Im about 50 days out of warranty.
    Seems like its perfect coincidence  for apple that 50 days after my warranty runs out, the most expensive thing to repair breaks.
    After doing some research it seems like there is a lot of people with this model experiencing this problem.
    Pretty sad that my 2005 iMac is holding up better than my brand new iMac.
    Been saving up for it for like 4 years and I dont have the money to repair it.
    I tried everything, I knew none of the stuff i tried would work but i still tried resetting the PRAM repairing disk permissions all that good stuff. I even have an air purifer/dehumidifier in my room so i dont know what caused it.
    I didnt think i needed applcare because ive had my other imac since 2005  without a hiccup.
    Ive rendered out 3d animations using the cpu at 100% for days and it still runs fine.
    Havent even used my new imac for anything that would put stress on it.
    What i do notice is that it runs hot all the time. ever since I got it. Sometimes just doing basic stuff such as browsing safari it can get so hot where i cant touch it. my GPU normally stays at around 70C and the hottest its been was 80C which is still safe. The alluminum is supposed to transfer heat better but all it does is retain heat more and get super hot. the old plastic one i have is 10x cooler.
    What i did notice today tho when my screen problem happened, is that the GPU temperatue is at 50C and wont go above it. I monitor the temperature with istat  and never have seen it at 50C and below unless i am just doing a fresh boot.
    What really concerns me tho is how the screen went out so close to when my warranty expired.

  • Migration Assistant fails after showing 157 KB or 0 KB to transfer

    I spent 4 days trying to get OS X Migration Assistant to successfully migrate between two desktop machines, both running Mavericks 10.9.3.
    The two machines were connected by an ethernet cable, and all migrations would fail after 16-24 hours, with the progress bar stalling out at "Less than one minute remaining".
    Before every failed transfer, Migration Assistant would inaccurately show "157 KB selected" for transfer if the "Computer & Network Settings" option was checked, or "0 KB selected" for transfer if only the "Applications" or "Documents & Data" options were checked.
    I finally realized that the migrations were failing because I was opening and clicking through Migration Assistant on both the source and target machines at around the same time.
    The eventual solution was to open Migration Assistant on the source machine first, and click through as far as I could until the source machine was actively looking for other machines on the network.
    As long as I waited until then to open Migration Assistant on the target machine, it would correctly calculate the size of the files to be transferred and the migration would succeed.
    So, the order in which you open Migration Assistant seems to make a big difference: source first, then target.
    My problem is solved, but only after several days of hassle, so I wanted to post this in case other people had a similar issue.
    (I tried many suggested fixes that did not work, included reinstalling OS X on the target machine, running disk repair and fixing permissions on both source and target, changing file sharing on the source machine to include the whole drive, trying to migrate Applications and Documents & Data separately, turning off wifi before the transfer, etc.)

    Thanks for posting this.  I was having the same problem.  You saved me hours, maybe days, of frustration!

  • Upload to Blurb fails after exactly 30 minutes (There was an error uploading your book's pages...)

    After exactly 30 minutes after the upload has started, I get this error:
    There was an error uploading your book's pages.  Would you like to try again?  The choices given are "Retry Upload" and :"Cancel"
    When I retry, the same thing happens - fails after exacly 30 minutes.  I am using a window 7 pc (with Service Pack 1) and using Lightroom 5.4.  I have turned off my firewall and antivirus programs, rebooted, and connected directly to my router (not wireless) and ensuring my pc does not go to sleep, but did nothing I try wil help. 
    Anyone else get this?  Any ideas?  Thanks!

    Hello,
    I had this problem as well - the upload to Blurb would not work. Creation of a PDF and export as JPEG in the book module worked.
    For me, the solution was to turn off the Windows Firewall while uploading. Now it works!
    Two-in-Love (Photographe de Mariage en Suisse Romande)
    http://www.two-in-love.ch

  • How can i get the failed row numbers in batch insertion?

    Afeter execution of batch insert operation into a table, i use OCIAttrGet() to get the error number of insertion, as expected, it returns the correct number. however, when i use OCIParamGet() to get an error handle and then to get the exact failed row numbers , OCIParamGet() returns -2 , means "INVALID_HANDLE". can anyboy tell me why ? how can i get the exact failed rows?
    the snapshot of my code :
    int errNum = 0;
    int nRet = 0;
    nRet = OCIAttrGet((dvoid *)m_pIIOdbc->m_pStmtAll,OCI_HTYPE_STMT,&errNum,
              0,OCI_ATTR_NUM_DML_ERRORS, m_pIIOdbc->m_pErrHandle);
    if (errNum)
         OCIError* pErrHndl;
         int* pRow_off = new int[errNum];
         for (int i = 0; i < errNum; i++)
         nRet = OCIParamGet(m_pIIOdbc->m_pErrHandle,
    OCI_HTYPE_ERROR, m_pIIOdbc->m_pErrHandle, &pErrHndl, i + 1);
         nRet = OCIAttrGet (pErrHndl, OCI_HTYPE_ERROR, &pRow_off, 0,
         OCI_ATTR_DML_ROW_OFFSET, m_pIIOdbc->m_pErrHandle);
              delete []pRow_off;

    now the code is :
    OCIEnv      *m_pEnvHandle;                    
    OCIError      *m_pErrHandle;                         
    OCIError     *m_pErrHandle2;                    
    OCIServer *m_pSrvHandle;                         
    OCISvcCtx *m_pSvcHandle;                         
    OCIStmt *m_pStmtExec;
    OCIStmt *m_pStmtAll;
    OCIError** m_pErrorHndl;     
    int* m_pRowOff; //the array that will contain the failed row numbers
    int     m_nArrayLength; //length of array in once batch operation
    int m_nErrNum; //error number
    int m_nSucCount; //successful record number
    //initialization
    //m_nArrayLength is a parameter passed in, so i can not tell the exact length of the array, dynamic space allocation is needed
    m_pErrorHndl = new OCIError*[m_nArrayLength];
    m_pRowOff = new int[m_nArrayLength];
    //execution
    OCIStmtExecute(
              m_pSvcHandle,
              m_pStmtAll,
              m_pErrHandle,
              (ub4)m_nArrayLength,
              (ub4)0, (OCISnapshot *)NULL, (OCISnapshot *)NULL,
              OCI_BATCH_ERRORS
    //get successful records number
    m_nSucCount = 0;
    OCIAttrGet((dvoid *)m_pStmtAll,OCI_HTYPE_STMT,&m_nSucCount,
              0,OCI_ATTR_ROW_COUNT, m_pErrHandle);
    //get error numbers
    m_nErrNum = 0;
    OCIAttrGet((dvoid *)m_pStmtAll,OCI_HTYPE_STMT,&m_nErrNum,
              0,OCI_ATTR_NUM_DML_ERRORS, m_pErrHandle2);
    //get failed row numbers into the array
    if (m_nErrNum)
              //get failed row numbers into the array
              for (int i = 0; i < m_nErrNum; i++)
                   //initiallize error handles               OCIHandleAlloc((dvoid*)m_pEnvHandle, (dvoid**)&m_pErrorHndl,
                        OCI_HTYPE_ERROR, (size_t)0, (dvoid**)0);
                   OCIParamGet(m_pErrHandle, OCI_HTYPE_ERROR, m_pErrHandle2, (void**)&m_pErrorHndl[i], i);
                   OCIAttrGet (m_pErrorHndl[i], OCI_HTYPE_ERROR, &m_pRowOff[i], 0,
                                            OCI_ATTR_DML_ROW_OFFSET, m_pErrHandle2);
    now, if batch insert is executed, eg, there are 10 records to be inserted, thus m_nArrayLength is set to be 10. There are 5 records of the 10 have exist in database, so some of insert operations will fail. After execution, m_nErrNum is 5, and i can get the failed row numbers.Everything seems go well.
    However, if batch updata is excuted, eg, 10 records to be updated, m_nArrayLength is set to be 10, and also there are 5 records of the 10 have exist in database. After execution, the OCIStmtExecute() returns 1, m_nErrNum got by
    OCIAttrGet((dvoid *)m_pStmtAll,OCI_HTYPE_STMT,&m_nErrNum,
              0,OCI_ATTR_NUM_DML_ERRORS, m_pErrHandle2)
    is 0, and m_nSucNum is 5. Why?? how can I get the rows that fail? i have to know which rows do not exist in database??

  • "Save as... eps" fails after 253 pages

    Hello,
    Save long pdf as single eps pages fails after 253 pages (osx lion 10.7.5, acrobat pro X) getting error 11.
    It's a known issue? How to work around?
    Thanks a lot
    ps. Acrobat pro 9 works fine exporting all pages

    No prob saving the same document  with AA9. All pages are exported from multipage pdf to single page eps files.
    No images in document, just vectorial text I have to maintain ...and eps format it's ok.
    With AA9 I've done this many times always with good result but now get this prob with AApro10.
    Thanks for reply

  • Sent a picture to someone yesterday. status is stll "sending". Can I delete this. It seems to be locked up. I can't even get a failed message error. It is just out there in space.

    how do I delete a  sent message that won't complete the transmission. It has been "sending message" for 24 hrs. I can't even get a failed to transmit error. I can't delete it like I would delete a sent message because it won't show up in my messages until it completes the transmission or I get a message of failed transmission.

    Hey there, 
    If I understand correctly, at the moment your messages application seems to be unresponsive and you cannot send any messages, and this started after trying to send an image to someone else. I would start by quitting not just Messages but all the running apps on the phone:
    iOS: Force an app to close
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    When you have done that restart the device and test the issue again by trying to send the image one more time:
    iOS: Turning off and on (restarting) and resetting
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • Source system RFC fails after transport

    Hi all
    in our QA system any transport containing a process chain causes the RFC connection to the source ECC6 system to fail after too many logon attempts.
    This doesn't happen when we send the same transport to production.
    Any ideas?
    Regards
    Hayley

    Hi
    thanks, but I had already checked out this note.  This refers to the post processing of the transport on BW of client 000 logging onto the BW client to carry out changes, not the RFC connection to the BW ECC source system. 
    The transport goes through ok, and the process chain can be activated, however at this point we always notice that the ECC source system connection fails with an RFC error, as soon as we get the password reset and changed in SM59 it works ok.

Maybe you are looking for