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

Similar Messages

  • 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.

  • Pages on my iPad3 has become very slow to open documents after upgrading to ios7. I've clicked on a folder 5 minutes ago and am still waiting. The work-around seems to be to force-close it, but I've needed to do this many times in the last few days.

    Pages on my iPad3 has become very slow to open documents after upgrading to ios7.
    I posted on here about this a few weeks back and someone suggested force-closing Pages -- and that does indeed enable me to open things -- but I have had to force-close many times in the last 24 hours, which is worrying. Are there any other suggestions?
    I am sometimes also finding that, when I have been writing something and then click on "documents" the screen goes blank, there is a wait of around a minute and then the same document is re-displayed, before clicking "documents" again lets me look at other documents -- which is a pain if I am trying to move between documents repeatedly. Again, words of wisdom on this would be great.
    Pages under iOS6 opened quickly, and there was an immediate loss of performance when I upgraded. I am finding this very frustrating because I don't feel that the new Pages has added to the facilities I was using, but a slowness to open documents is frustrating.
    Thanks
    Mark

    Pages on my iPad3 has become very slow to open documents after upgrading to ios7.
    I posted on here about this a few weeks back and someone suggested force-closing Pages -- and that does indeed enable me to open things -- but I have had to force-close many times in the last 24 hours, which is worrying. Are there any other suggestions?
    I am sometimes also finding that, when I have been writing something and then click on "documents" the screen goes blank, there is a wait of around a minute and then the same document is re-displayed, before clicking "documents" again lets me look at other documents -- which is a pain if I am trying to move between documents repeatedly. Again, words of wisdom on this would be great.
    Pages under iOS6 opened quickly, and there was an immediate loss of performance when I upgraded. I am finding this very frustrating because I don't feel that the new Pages has added to the facilities I was using, but a slowness to open documents is frustrating.
    Thanks
    Mark

  • Can´t open LR after upgrade to 5.3 without entering a licens key

    Can´t open LR after upgrade to 5.3 without entering a licens key

    I have seen comments from someone who indicated that every time they started Lightroom they were prompted for the serial number, even though they had already entered it. Is this your situation? I can't remember what the solution is, but I have seen that problem mentioned in the past.

  • Can't open Pages after upgrading to snow leopard on 10.6.8

    Can't open Pages after upgrading to snow leopard on 10.6.8

    Has Spotlight finished its indexing?  Check in the upper right.  If you get just the search field, it has, if it says its indexing, you have to wait before you can use anything.

  • Having problems opening CS5 after upgrading to Yosemite, any suggestions?

    Can not open CS% after upgrading to Yosemite... is there a fix anywhere?

    Chris, thank you !!
    i wish i could be as Technical as you..
    not sure what you mean Apple is telling me because  they are not  saying anything about what Java version i need to download.
    any further advise is welcome

  • An unknown error occurred (-42110) when opening itunes after upgrading

    when opening itunes i get "an unknown error occurred (-42110) when opening itunes after upgrading to latest version.

    Try the following user tip:
    iTunes for Windows 11.0.2.25 and 11.0.2.26: "Unknown error -42110" messages when launching iTunes

  • Anybody know why superdrives fail after upgrading os

    anybody know why superdrives fail after upgrading os

    Upgrading the OS often also triggers issues with PRAM.  If the PRAM battery is over 4 years old, then the Superdrive can fail.    If it is under 4 years old, zapping it can fix some issues like these.

  • Data Protector backup integration fails after upgrade to Oracle 11.2.0.2

    After upgrading a system from Oracle 10.2.0.2 to 11.2.0.2, the Data Protector backup integration fails with error
    [Normal] From: BSM@<dp_cell_server>.<domain> "<sap_host>_<SID>_Online"  Time: 28.04.2011 09:10:21
         Backup session 2011/04/28-74 started.
    [Normal] From: BSM@<dp_cell_server>.<domain> "<sap_host>_<SID>_Online"  Time: 28.04.2011 09:10:21
         OB2BAR application on "<sap_host>.<domain>" successfully started.
    /usr/sap/<SID>/SYS/exe/run/brbackup: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory
    [Major] From: OB2BAR_OMNISAP@pervs<SID>.<domain> "OMNISAP"  Time: 04/28/11 09:10:21
         BRBACKUP /usr/sap/<SID>/SYS/exe/run/brbackup -t online -d util_file_online -c -m all -u system/******** returned 127
    /usr/sap/<SID>/SYS/exe/run/brarchive: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory
    [Major] From: OB2BAR_OMNISAP@pervs<SID>.<domain> "OMNISAP"  Time: 04/28/11 09:10:21
         BRARCHIVE /usr/sap/<SID>/SYS/exe/run/brarchive -d util_file -s -c -u system/******** returned 127
    [Normal] From: BSM@<dp_cell_server>.<domain> "<sap_host>_<SID>_Online"  Time: 28.04.2011 09:10:22
         OB2BAR application on "<sap_host>.<domain>" disconnected.
    [Critical] From: BSM@<dp_cell_server>.<domain> "<sap_host>_<SID>_Online"  Time: 28.04.2011 09:10:22
         None of the Disk Agents completed successfully.
         Session has failed.
    We checked the configuration, tried linking /oracle/client/11x_64 to 10x_64, removing the link and renewing the 10x_64 oracle client, but still Data Protector can't find the library libclntsh.so.10.1. A new system which was installed with Oracle 11.2.0.2 doesn't have any problems with online backups.
    Any help is appreciated!

    Hi,
    did you create the other link according to the upgrade guide (point 5.5) ?
    You need to create this link so that BR*Tools
    (which is linked to the Oracle 10.2 client)
    can use the newer Oracle 11.2 clients.
    After the software installation has finished,
    create a symbolic link in $ORACLE_HOME/lib as follows:
    cd $ORACLE_HOME/lib
    ln u2013s libnnz11.so libnnz10.so
    or (HP-UX)
    ln u2013s libnnz11.sl libnnz10.sl
    Volker
    Second part: For the DP job, there can be set different environment settings inside the DP job.
    Did you check if there are still relicts from the previous release ?
    You could integrate a small pre-exec script into the job and let it plot the output of
    id
    env
    set
    to a logfile, just to see which values the backup is using.
    Edited by: Volker Borowski on Apr 29, 2011 10:12 AM

  • DVD drive failed after upgrade to 10.4.9

    After upgrading to OS X 10.4.9 I noticed that my internal DVD drive (SuperDrive Pioneer DVR-104) failed.
    I did the delta upgrade and immediately checked the most common "error" of misbehaving eject key. The key did not function at all, even after pressing it for minutes.
    Later I found out that the complete drive failed.
    System Profiler tells me (sorry german output)
    Modell: PIONEER DVD-RW DVR-104
    Version: 0000
    Seriennummer:
    Absteckbares Laufwerk: Nein
    Protokoll: ATAPI
    Einheiten-Nummer: 0
    Socket-Typ: Intern
    Note: no version or serial number!
    DVD player gives the message (translated):
    "no valid DVD drive found [-70012]"
    Toast does not find the drive.
    I did:
    - repair permissions
    - repair drive/file system
    - the combo upgrade
    - reset parameter ram
    - reset all from open firmware
    - reset PMU
    no change
    Do you have any hints besides replacing the drive?
    Maybe it's just a coincidence. I did not use the drive for 2 weeks before
    the upgrade.
    Stefan
    PowerMac G4 Dual 1GHz MDD   Mac OS X (10.4.9)  

    Hi, Welcome to Apple Discussions.
    It sounds like LaunchServices.
    Launch /Utilities/Terminal and copy & paste this at the command line:
    Code:
    <pre class="alt2" style="margin:0px; padding:3px; border:1px inset; width:640px; height:34px; overflow:auto">/System/Library/Frameworks/ApplicationServices.framework/\Frameworks/LaunchServi ces.framework/Support/lsregister \-kill -r -domain local -domain system -domain user</pre>
    Then log out and back in or restart. Let us know.
    -mj
    [email protected]

  • Managed Server Startup failed after upgrade to 11.1.1.6 from 11.1.1.4

    We tried to upgrade from SOA Suite 11.1.1.4 to 11.1.1.6.
    After upgrade when we tried to start our managed servers we get the below error. Did anyone ran into this? If so how did you resolve it?.
    Its still referring to some Weblogic 10.3.4 libraries. We were not able to find out where..
    <Mar 22, 2012 3:21:29 PM CDT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError: java.lang.ClassNotFoundException: weblogic.jndi.internal.ServerNamingNode_1034_WLStub
    java.lang.AssertionError: java.lang.ClassNotFoundException: weblogic.jndi.internal.ServerNamingNode_1034_WLStub
    at weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:610)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:577)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:482)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:376)
    at weblogic.jndi.Environment.getContext(Environment.java:315) Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: weblogic.jndi.internal.ServerNamingNode_1034_WLStub at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) Truncated. see log file for complete stacktrace>
    The WebLogic Server encountered a critical failure
    Reason: Failed to load stub for class class weblogic.server.RemoteLifeCycleOperationsImpl
    Exception in thread "Main Thread" java.lang.AssertionError: Failed to load stub for class class weblogic.server.RemoteLifeCycleOperationsImpl at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:145) at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:124) at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialReference(WLInitialContextFactoryDelegate.java:427) at weblogic.jndi.Environment.getInitialReference(Environment.java:245) at weblogic.server.ServerLifeCycleRuntime.getLifeCycleOperationsRemote(ServerLifeCycleRuntime.java:1083) at weblogic.t3.srvr.ServerRuntime.sendStateToAdminServer(ServerRuntime.java:429) at weblogic.t3.srvr.ServerRuntime.updateRunState(ServerRuntime.java:415)
    at weblogic.t3.srvr.T3Srvr.setState(T3Srvr.java:206) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:482) at weblogic.Server.main(Server.java:71)
    Thanks,
    Jp

    Hi,
    I found an oracle note with the next solution:
    Add -Xverify:none to the JVM Arguments in the WebLogic console if you're using Node Manager to start managed servers:
    1. Go into WebLogic Console
    2. Navigate to Environment> Servers> [Sever_name]> Server Start> Arguments
    3. Add -Xverify:none to the arguments
    4. Restart the WebLogic server
    5. Retest the issue.
    6. Migrate the solution as appropriate to other environments.
    Or
    If you're not using Node Manager to start managed servers:
    Edit the WebLogic start-up script to add -Xverify:none to the JVM arguments
    See if it works for you
    Arik

  • Can't open project after upgrade

    Hi
    After upgrading from iMovie 9 to iMovie 11, i have a project that i can't open any more. When i choose it in the project library the preview window freezes and the "edit project" button fades out so that I can't open it.
    Any one else got the same problem or know how to fix it.

    Hi I have the same problem. Did you manage to find a solution?
    Thanks

  • Unable to open iPhoto after upgrade to 9.1.3 (bought on apple store)

    Hello all
    I am unable to open my iPhoto after upgrading it with version 9.1.3 , bought in the apple store.
    The searching icon never stops.
    I trieded to synchro with my iPad (where I have a backup of all my pfoto's) but the system tells me that all photo's are still on my Mac.
    Can someone help me out, because I am rather a rookie in this kind of things
    regards
    Waldo

    Try this:  launch iPhoto with the Option key held down and try to create a new, test library. If you can then then your library is the culprit.
    If that's the case make a temporary, duplicate copy of your library (Finder ➙ File ➙ Duplicate) and apply the three fixes in order as necessary.
    Fix #1
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your HD/User/Home()/ Library/Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your HD/User/Home()/Library /Caches/com.apple.iPhoto folder. 
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    Fix #2
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Select the options identified in the screenshot. 
    Fix #3
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • Cannot open mail after upgrade to Yosimite 10.10.1

    Hello everyone,
    I cannot open mail after I just update from OS X v10.9 (Mavericks) to Yosimite 10.10.1 and I use console to capture the log as below. Pls. help to find the solution.
    Thank you
    Spaide
    1/2/2558 BE 7:14:13.222 PM com.apple.xpc.launchd[1]: (com.apple.imfoundation.IMRemoteURLConnectionAgent) The _DirtyJetsamMemoryLimit key is not available on this platform.
    1/2/2558 BE 7:14:14.605 PM bird[859]: Assertion failed: ![_xpcClients containsObject:client]
    1/2/2558 BE 7:14:14.606 PM bird[859]: Assertion failed: ![_xpcClients containsObject:client]
    1/2/2558 BE 7:14:14.935 PM bird[859]: Assertion failed: ![_xpcClients containsObject:client]
    1/2/2558 BE 7:14:26.958 PM Mail[941]: *** Assertion failure in -[MFIMAPAccount mailboxForRelativePath:isFilesystemPath:create:], /SourceCache/Mail/Mail-1993/MailFramework/Accounts/MFMailAccount.m:4467
    1/2/2558 BE 7:14:27.595 PM Mail[941]: An uncaught exception was raised
    1/2/2558 BE 7:14:27.596 PM Mail[941]: Absolute path passed into -[MFIMAPAccount mailboxForRelativePath:isFilesystemPath:create:]: /็Homeworks
    1/2/2558 BE 7:14:27.596 PM Mail[941]: (
      0   CoreFoundation                      0x0000000111c5764c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x000000010ffe26de objc_exception_throw + 43
      2   CoreFoundation                      0x0000000111c5742a +[NSException raise:format:arguments:] + 106
      3   Foundation                          0x000000010fb435b9 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
      4   Mail                                0x000000010f402f5c -[MFMailAccount mailboxForRelativePath:isFilesystemPath:create:] + 251
      5   Mail                                0x000000010f360404 -[MFIMAPAccount mailboxForRelativePath:isFilesystemPath:create:] + 491
      6   Mail                                0x000000010f404696 +[MFMailAccount mailboxForURL:forceCreation:syncableURL:] + 473
      7   Mail                                0x000000010f41b168 __43+[MFMailbox queueUpdateCountsForMailboxes:]_block_invoke_2 + 68
      8   CoreFoundation                      0x0000000111b81ea6 __65-[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:]_block_invoke + 102
      9   CoreFoundation                      0x0000000111b81db9 -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 217
      10  Mail                                0x000000010f41b0b6 __43+[MFMailbox queueUpdateCountsForMailboxes:]_block_invoke + 275
      11  Foundation                          0x000000010fb8d2e8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
      12  Foundation                          0x000000010fa79905 -[NSBlockOperation main] + 97
      13  Foundation                          0x000000010fa5859c -[__NSOperationInternal _start:] + 653
      14  Foundation                          0x000000010fa581a3 __NSOQSchedule_f + 184
      15  libdispatch.dylib                   0x0000000113ad5c13 _dispatch_client_callout + 8
      16  libdispatch.dylib                   0x0000000113ad9365 _dispatch_queue_drain + 1100
      17  libdispatch.dylib                   0x0000000113adaecc _dispatch_queue_invoke + 202
      18  libdispatch.dylib                   0x0000000113ad86b7 _dispatch_root_queue_drain + 463
      19  libdispatch.dylib                   0x0000000113ae6fe4 _dispatch_worker_thread3 + 91
      20  libsystem_pthread.dylib             0x0000000113e136cb _pthread_wqthread + 729
      21  libsystem_pthread.dylib             0x0000000113e114a1 start_wqthread + 13
    1/2/2558 BE 7:14:27.597 PM Mail[941]: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Absolute path passed into -[MFIMAPAccount mailboxForRelativePath:isFilesystemPath:create:]: /็Homeworks'
    *** First throw call stack:
      0   CoreFoundation                      0x0000000111c5764c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x000000010ffe26de objc_exception_throw + 43
      2   CoreFoundation                      0x0000000111c5742a +[NSException raise:format:arguments:] + 106
      3   Foundation                          0x000000010fb435b9 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
      4   Mail                                0x000000010f402f5c -[MFMailAccount mailboxForRelativePath:isFilesystemPath:create:] + 251
      5   Mail                                0x000000010f360404 -[MFIMAPAccount mailboxForRelativePath:isFilesystemPath:create:] + 491
      6   Mail                                0x000000010f404696 +[MFMailAccount mailboxForURL:forceCreation:syncableURL:] + 473
      7   Mail                                0x000000010f41b168 __43+[MFMailbox queueUpdateCountsForMailboxes:]_block_invoke_2 + 68
      8   CoreFoundation                      0x0000000111b81ea6 __65-[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:]_block_invoke + 102
      9   CoreFoundation                      0x0000000111b81db9 -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 217
      10  Mail                                0x000000010f41b0b6 __43+[MFMailbox queueUpdateCountsForMailboxes:]_block_invoke + 275
      11  Foundation                          0x000000010fb8d2e8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
      12  Foundation                          0x000000010fa79905 -[NSBlockOperation main] + 97
      13  Foundation                          0x000000010fa5859c -[__NSOperationInternal _start:] + 653
      14  Foundation                          0x000000010fa581a3 __NSOQSchedule_f + 184
      15  libdispatch.dylib                   0x0000000113ad5c13 _dispatch_client_callout + 8
      16  libdispatch.dylib                   0x0000000113ad9365 _dispatch_queue_drain + 1100
      17  libdispatch.dylib                   0x0000000113adaecc _dispatch_queue_invoke + 202
      18  libdispatch.dylib                   0x0000000113ad86b7 _dispatch_root_queue_drain + 463
      19  libdispatch.dylib                   0x0000000113ae6fe4 _dispatch_worker_thread3 + 91
      20  libsystem_pthread.dylib             0x0000000113e136cb _pthread_wqthread + 729
      21  libsystem_pthread.dylib             0x0000000113e114a1 start_wqthread + 13
    1/2/2558 BE 7:14:31.133 PM com.apple.xpc.launchd[1]: (com.apple.ReportCrash[947]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
    1/2/2558 BE 7:14:31.482 PM diagnosticd[896]: error evaluating process info - pid: 941, punique: 941
    1/2/2558 BE 7:14:33.551 PM com.apple.xpc.launchd[1]: (com.apple.imfoundation.IMRemoteURLConnectionAgent) The _DirtyJetsamMemoryLimit key is not available on this platform.
    1/2/2558 BE 7:14:49.406 PM mds[32]: (DiskStore.Normal:2376) 2a001 2.808408
    1/2/2558 BE 7:15:01.570 PM hidd[72]: IOHIDEventQueue unable to get policy for event of type 11. (e00002e8)
    1/2/2558 BE 7:15:01.577 PM hidd[72]: IOHIDEventQueue unable to get policy for event of type 11. (e00002e8)
    1/2/2558 BE 7:15:01.586 PM hidd[72]: IOHIDEventQueue unable to get policy for event of type 11. (e00002e8)
    1/2/2558 BE 7:15:01.594 PM hidd[72]: IOHIDEventQueue unable to get policy for event of type 11. (e00002e8)
    1/2/2558 BE 7:15:01.602 PM hidd[72]: IOHIDEventQueue unable to get policy for event of type 11. (e00002e8)
    1/2/2558 BE 7:15:01.610 PM hidd[72]: IOHIDEventQueue unable to get policy for event of type 11. (e00002e8)
    1/2/2558 BE 7:15:01.626 PM hidd[72]: IOHIDEventQueue unable to get policy for event of type 11. (e00002e8)
    1/2/2558 BE 7:15:01.633 PM hidd[72]: IOHIDEventQueue unable to get policy for event of type 11. (e00002e8)
    1/2/2558 BE 7:15:01.641 PM hidd[72]: IOHIDEventQueue unable to get policy for event of type 11. (e00002e8)
    1/2/2558 BE 7:15:01.665 PM hidd[72]: IOHIDEventQueue unable to get policy for event of type 11. (e00002e8)
    1/2/2558 BE 7:15:01.673 PM hidd[72]: IOHIDEventQueue unable to get policy for event of type 11. (e00002e8)
    1/2/2558 BE 7:15:01.682 PM hidd[72]: IOHIDEventQueue unable to get policy for event of type 11. (e00002e8)
    1/2/2558 BE 7:15:01.689 PM hidd[72]: IOHIDEventQueue unable to get policy for event of type 11. (e00002e8)
    1/2/2558 BE 7:15:05.659 PM com.apple.xpc.launchd[1]: (com.apple.mail.52288[941]) Service exited due to signal: Abort trap: 6
    1/2/2558 BE 7:15:13.065 PM ReportCrash[947]: Saved crash report for Mail[941] version 8.1 (1993) to /Users/kulanak/Library/Logs/DiagnosticReports/Mail_2015-01-02-191512_apples-mac book-pro-3.crash
    1/2/2558 BE 7:15:19.526 PM com.apple.xpc.launchd[1]: (com.apple.imfoundation.IMRemoteURLConnectionAgent) The _DirtyJetsamMemoryLimit key is not available on this platform.
    1/2/2558 BE 7:15:19.767 PM bird[859]: Assertion failed: ![_xpcClients containsObject:client]
    1/2/2558 BE 7:15:19.767 PM bird[859]: Assertion failed: ![_xpcClients containsObject:client]
    1/2/2558 BE 7:15:20.368 PM bird[859]: Assertion failed: ![_xpcClients containsObject:client]
    1/2/2558 BE 7:15:25.817 PM Mail[951]: *** Assertion failure in -[MFIMAPAccount mailboxForRelativePath:isFilesystemPath:create:], /SourceCache/Mail/Mail-1993/MailFramework/Accounts/MFMailAccount.m:4467
    1/2/2558 BE 7:15:25.819 PM Mail[951]: An uncaught exception was raised
    1/2/2558 BE 7:15:25.819 PM Mail[951]: Absolute path passed into -[MFIMAPAccount mailboxForRelativePath:isFilesystemPath:create:]: /็Homeworks
    1/2/2558 BE 7:15:25.820 PM Mail[951]: (
      0   CoreFoundation                      0x0000000111d3164c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x00000001100c96de objc_exception_throw + 43
      2   CoreFoundation                      0x0000000111d3142a +[NSException raise:format:arguments:] + 106
      3   Foundation                          0x000000010fc285b9 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
      4   Mail                                0x000000010f4e2f5c -[MFMailAccount mailboxForRelativePath:isFilesystemPath:create:] + 251
      5   Mail                                0x000000010f440404 -[MFIMAPAccount mailboxForRelativePath:isFilesystemPath:create:] + 491
      6   Mail                                0x000000010f4e4696 +[MFMailAccount mailboxForURL:forceCreation:syncableURL:] + 473
      7   Mail                                0x000000010f4fb168 __43+[MFMailbox queueUpdateCountsForMailboxes:]_block_invoke_2 + 68
      8   CoreFoundation                      0x0000000111c5bea6 __65-[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:]_block_invoke + 102
      9   CoreFoundation                      0x0000000111c5bdb9 -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 217
      10  Mail                                0x000000010f4fb0b6 __43+[MFMailbox queueUpdateCountsForMailboxes:]_block_invoke + 275
      11  Foundation                          0x000000010fc722e8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
      12  Foundation                          0x000000010fb5e905 -[NSBlockOperation main] + 97
      13  Foundation                          0x000000010fb3d59c -[__NSOperationInternal _start:] + 653
      14  Foundation                          0x000000010fb3d1a3 __NSOQSchedule_f + 184
      15  libdispatch.dylib                   0x0000000113bbac13 _dispatch_client_callout + 8
      16  libdispatch.dylib                   0x0000000113bbe365 _dispatch_queue_drain + 1100
      17  libdispatch.dylib                   0x0000000113bbfecc _dispatch_queue_invoke + 202
      18  libdispatch.dylib                   0x0000000113bbd6b7 _dispatch_root_queue_drain + 463
      19  libdispatch.dylib                   0x0000000113bcbfe4 _dispatch_worker_thread3 + 91
      20  libsystem_pthread.dylib             0x0000000113f0f6cb _pthread_wqthread + 729
      21  libsystem_pthread.dylib             0x0000000113f0d4a1 start_wqthread + 13
    1/2/2558 BE 7:15:25.821 PM Mail[951]: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Absolute path passed into -[MFIMAPAccount mailboxForRelativePath:isFilesystemPath:create:]: /็Homeworks'
    *** First throw call stack:
      0   CoreFoundation                      0x0000000111d3164c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x00000001100c96de objc_exception_throw + 43
      2   CoreFoundation                      0x0000000111d3142a +[NSException raise:format:arguments:] + 106
      3   Foundation                          0x000000010fc285b9 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
      4   Mail                                0x000000010f4e2f5c -[MFMailAccount mailboxForRelativePath:isFilesystemPath:create:] + 251
      5   Mail                                0x000000010f440404 -[MFIMAPAccount mailboxForRelativePath:isFilesystemPath:create:] + 491
      6   Mail                                0x000000010f4e4696 +[MFMailAccount mailboxForURL:forceCreation:syncableURL:] + 473
      7   Mail                                0x000000010f4fb168 __43+[MFMailbox queueUpdateCountsForMailboxes:]_block_invoke_2 + 68
      8   CoreFoundation                      0x0000000111c5bea6 __65-[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:]_block_invoke + 102
      9   CoreFoundation                      0x0000000111c5bdb9 -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 217
      10  Mail                                0x000000010f4fb0b6 __43+[MFMailbox queueUpdateCountsForMailboxes:]_block_invoke + 275
      11  Foundation                          0x000000010fc722e8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
      12  Foundation                          0x000000010fb5e905 -[NSBlockOperation main] + 97
      13  Foundation                          0x000000010fb3d59c -[__NSOperationInternal _start:] + 653
      14  Foundation                          0x000000010fb3d1a3 __NSOQSchedule_f + 184
      15  libdispatch.dylib                   0x0000000113bbac13 _dispatch_client_callout + 8
      16  libdispatch.dylib                   0x0000000113bbe365 _dispatch_queue_drain + 1100
      17  libdispatch.dylib                   0x0000000113bbfecc _dispatch_queue_invoke + 202
      18  libdispatch.dylib                   0x0000000113bbd6b7 _dispatch_root_queue_drain + 463
      19  libdispatch.dylib                   0x0000000113bcbfe4 _dispatch_worker_thread3 + 91
      20  libsystem_pthread.dylib             0x0000000113f0f6cb _pthread_wqthread + 729
      21  libsystem_pthread.dylib             0x0000000113f0d4a1 start_wqthread + 13
    1/2/2558 BE 7:15:26.815 PM com.apple.xpc.launchd[1]: (com.apple.mail.52288[951]) Service exited due to signal: Abort trap: 6
    1/2/2558 BE 7:15:26.892 PM ReportCrash[947]: Saved crash report for Mail[951] version 8.1 (1993) to /Users/kulanak/Library/Logs/DiagnosticReports/Mail_2015-01-02-191526_apples-mac book-pro-3.crash
    1/2/2558 BE 7:15:26.904 PM ReportCrash[947]: Removing excessive log: file:///Users/kulanak/Library/Logs/DiagnosticReports/Mail_2015-01-02-061109_app les-macbook-pro-3.crash

    Try a restart.
    Do a backup, using either Time Machine or a cloning program, to ensure files/data can be recovered. Two backups are better than one.
    Try setting up another admin user account to see if the same problem continues. If Back-to-My Mac is selected in System Preferences, the Guest account will not work. The intent is to see if it is specific to one account or a system wide problem. This account can be deleted later.
    Isolating an issue by using another user account
    Try booting into the Safe Mode using your normal account.  Disconnect all peripherals except those needed for the test. Shut down the computer and then power it back up after waiting 10 seconds. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear and again when you log in. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. When you reboot normally, the initial reboot may be slower than normal. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application un-installer. For each disable/delete, you will need to restart if you don’t do them all at once.
    Safe Mode - About
    Safe Mode - Yosemite

  • I cannot open iPhoto after upgrading latest apple updates.  Getting a message latest iPhoto version is not available in the US

    MacBook pro, 8GB,  OSX Yosemite
    I cannot open iPhoto after latest apple upgrade.  Getting message latest iPhoto version is not available in the US.

    Go to the App Store and check out the Purchases List. If iPhoto is there then it will be v9.6.1
    If it is there, then drag your existing iPhoto app (not the library, just the app) to the trash
    Install the App from the App Store.
    Sometimes iPhoto is not visible on the Purchases List. it may be hidden. See this article for details on how to unhide it.
    http://support.apple.com/kb/HT4928
    One question often asked: Will I lose my Photos if I reinstall?
    iPhoto the application and the iPhoto Library are two different parts of the iPhoto programme. So, reinstalling the app should not affect the Library. BUT you should always have a back up before doing this kind of work. Always.

Maybe you are looking for