Connection Fail-over

My database may be replicated to multiple servers, in the event that a connection fails to the primary server, my class should try the same statement on the next context in an ordered list.
Any advice on errors to watch for to know the connection is broken (versus an error resulting from the query itself)?
Any advice on executing a query for one connection, and then if it fails, executing the same statement on a different connection? I am hoping to keep the fail-over logic encapsulated in a simple to use class so that all the classes that call stored procedures don't have to contain the logic.
I primarily use stored procedures, but have an occasional text sql query too.
Many thanks in advance!
Darcy

the best way to test this would probably be to establish a connection to the database, and then stop the database and try to execute a query against it and see what SQLException gets thrown, then you can watch for that one.
also, if you are using database pooling (or even if you aren't) you can validate each connection object you create with something like "select getDate()" or something basic that should return at least one row. if you don't get a row back or if you get an exception you know something is wrong with the database and you can then move to the next one.

Similar Messages

  • Failing over Oracle connections in a pool

              Hi,
              This message is probably a bit out of context (I've already posted
              it to the JDBC group). I post here as well, since I guess it's
              the place where people have the most experience with clustering
              and HA. Original posting below...
              Could you please tell me whether, yes or no, connections to an
              Oracle database should fail over (when the database fails over
              to another machine)? I use Oracle's Transparent Application Failover
              (configured via Net8) with Weblogic 6 on Linux and Oracle 8.1.7
              on Solaris/SPARC.
              If this doesn't work in my configuration, is there any configuration
              where it should work? (Another version of Oracle, WLS, OS, ...)
              When I try TAF using the PetStore application, I get exceptions
              related to no being connected to the database.
              If TAF doesn't work with WebLogic, is there a way to work around
              the problem? Can I catch these exceptions and renew the connections
              in the pool? Or, what else is possible...?
              I'd appreciate any help. I'd like to demonstrate our HA product
              with WLS. If it doesn't work, I'll turn to iPlanet instead. Pity,
              I really like WLS!
              Thanks in advance for any help or advice!
              Regards, Frank Olsen
              

              Hi (Frank ;-)
              I got carried away a bit too fast...
              Some more testing shows that it doesn't work in all cases:
              - when someone is trying to check out the shopping cart when the
              the database fails (and fails over), I get exceptions once the
              databses has restarted on the backup node
              - the exceptions are related to some transactions being rolled
              back and Oracle stating that it couldn't safely replay the transactions
              - browsing the categories still works fine
              - all access to the shopping cart and sign-in/sign-out causes time-outs
              and exceptions
              Any ideas what may cause this problem, please?
              Regards,
              Frank Olsen
              "Frank Olsen" <[email protected]> wrote:
              >
              >Hi,
              >
              >TAF worked with WLS 6 on NT with the Oracle 8.1.7 client!
              >
              >Has anyone tested it on Solaris/SPARC?
              >
              >Regards,
              >Frank Olsen
              >
              >
              >
              >"Frank Olsen" <[email protected]> wrote:
              >>
              >>Hi,
              >>
              >>Most of my question below is still valid (in particular
              >>concerning
              >>whether TAF should work with WLS on some or all platforms
              >>and
              >>versions).
              >>
              >>However, when I tested TAF with the Oracle client (sqlplus)
              >>there
              >>also was no failover of the (one) connection. I then
              >checked
              >>the
              >>`V$SESSION' view and the colums related to failover showed
              >>that
              >>TAF was not correctly configured. Strange because I copied
              >>the
              >>`tnsnames.ora' parameters from the Oracle documentation
              >>for TAF.
              >>
              >>Has anyone managed to configure and use TAF, with or
              >without
              >>WLS?!
              >>
              >>Thanks in advance for your help!
              >>
              >>Regards,
              >>Frank Olsen
              >>
              >>
              >>"Frank Olsen" <[email protected]> wrote:
              >>>
              >>>Hi,
              >>>
              >>>This message is probably a bit out of context (I've
              >already
              >>>posted
              >>>it to the JDBC group). I post here as well, since I
              >guess
              >>>it's
              >>>the place where people have the most experience with
              >>clustering
              >>>and HA. Original posting below...
              >>>
              >>>----
              >>>
              >>>Could you please tell me whether, yes or no, connections
              >>>to an
              >>>Oracle database should fail over (when the database
              >fails
              >>>over
              >>>to another machine)? I use Oracle's Transparent Application
              >>>Failover
              >>>(configured via Net8) with Weblogic 6 on Linux and Oracle
              >>>8.1.7
              >>>on Solaris/SPARC.
              >>>
              >>>If this doesn't work in my configuration, is there any
              >>>configuration
              >>>where it should work? (Another version of Oracle,
              >WLS,
              >>>OS, ...)
              >>>
              >>>
              >>>When I try TAF using the PetStore application, I get
              >>exceptions
              >>>related to no being connected to the database.
              >>>
              >>>If TAF doesn't work with WebLogic, is there a way to
              >>work
              >>>around
              >>>the problem? Can I catch these exceptions and renew
              >the
              >>>connections
              >>>in the pool? Or, what else is possible...?
              >>>
              >>>I'd appreciate any help. I'd like to demonstrate our
              >>HA
              >>>product
              >>>with WLS. If it doesn't work, I'll turn to iPlanet instead.
              >>>Pity,
              >>>I really like WLS!
              >>>
              >>>Thanks in advance for any help or advice!
              >>>
              >>>Regards, Frank Olsen
              >>>
              >>
              >
              

  • Can't over ride "Secure connection failed", no over ride option shows.

    Secure Connection Failed
    I have connected to this page many times before.
    Emptied cache and cookies last night. Now FF won't allow
    site. There is no "Allow" option showing on warning screen.
    How can I over ride/ allow?
    An error occurred during a connection to ohiomeansjobs.com.
    The OCSP server has no status for the certificate.
    (Error code: sec_error_ocsp_unknown_cert)

    My friend has found a workaround:
    [7/24/14, 10:08:46 AM] Andy Nowakowski: go to 'about:config' in a new tab
    [7/24/14, 10:09:13 AM] Andy Nowakowski: toggle security.use_mozillapkix_verification
    [7/24/14, 10:09:23 AM] Andy Nowakowski: and it will return to previous behavior
    found on the bugzilla :)
    ''(fixed pref name - c)''

  • How do the application servers connect the new database after failing over from primary DB to standby DB

    How do the application servers connect the new database after failing over from primary DB to standby DB?
    We have setup a DR environment with a standalone Primary server and a standalone Physical Standby server on RHEL Linux 6.4. Now our application team would like to know:
    When the primary DB server is crashed, the standy DB server will takeover the role of primary DB through the DataGuard fast failover. As the applications are connected by the primary DB IP before,currently the physical DB is used as a different IP or listener. If this is happened, they need to stop their application servers and re-configure their connection so the they coonect the new DB server, they cannot tolerate these workaround. 
    Whether does oracle have the better solution for this so that the application can automatically know the role's transition and change to the new IP without re-confige any connection and shutdown their application?
    Oracle support provides us the answer as following:
    ==================================================================
    Applications connected to a primary database can transparently failover to the new primary database upon an Oracle Data Guard role transition. Integration with Fast Application Notification (FAN) provides fast failover for integrated clients.
    After a failover, the broker publishes Fast Application Notification (FAN) events. These FAN events can be used in the following ways:
    Applications can use FAN without programmatic changes if they use one of these Oracle integrated database clients: Oracle Database JDBC, Oracle Database Oracle Call Interface (OCI), and Oracle Data Provider for .NET ( ODP.NET). These clients can be configured for Fast Connection Failover (FCF) to automatically connect to a new primary database after a failover.
    JAVA applications can use FAN programmatically by using the JDBC FAN application programming interface to subscribe to FAN events and to execute event handling actions upon the receipt of an event.
    FAN server-side callouts can be configured on the database tier.
    FAN events are published using Oracle Notification Services (ONS) and Oracle Streams Advanced Queuing (AQ).
    =======================================================================================
    Who has the experience and the related documentation or other solutions? we don't have the concept of about FAN.
    Thank very much in advance.

    Hi mesbeg,
    Thanks alot.
    For example, there is an application JBOSS server connecting the DB, we just added another datasource and put the standby IP into the configuration file except adding a service on DB side like this following:
            <subsystem xmlns="urn:jboss:domain:datasources:1.0">
            <datasources>
                    <datasource jta="false" jndi-name="java:/jdbc/idserverDatasource" pool-name="IDServerDataSource" enabled="true" use-java-context="true">
                        <connection-url>jdbc:oracle:thin:@<primay DB IP>:1521:testdb</connection-url>
                        <connection-url>jdbc:oracle:thin:@<standby DB IP>:1521:testdb</connection-url>
                        <driver>oracle</driver>
                        <pool>
                            <min-pool-size>2</min-pool-size>
                            <max-pool-size>10</max-pool-size>
                            <prefill>true</prefill>
                        </pool>
                        <security>
                            <user-name>TEST_USER</user-name>
                            <password>Password1</password>
                        </security>
                        <validation>
                            <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker"/>
                            <validate-on-match>false</validate-on-match>
                            <background-validation>false</background-validation>
                            <use-fast-fail>false</use-fast-fail>
                            <stale-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleStaleConnectionChecker"/>
                            <exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleExceptionSorter"/>
                        </validation>
                    </datasource>
                    <drivers>
                        <driver name="oracle" module="com.oracle.jdbc">
                            <xa-datasource-class>oracle.jdbc.OracleDriver</xa-datasource-class>
                        </driver>
                    </drivers>
                </datasources>
            </subsystem>
    If the failover is occurred, the JBOSS will automatically be pointed to the standby DB. Additional actions are not needed.

  • Thin Client connection not failing over

    I'm using the following thin client connection and the sessions do not failover. Test with SQLPLUS and the sessions do fail over. One difference I see between the two different connections is the thin connection has NONE for the failover_method and failover_type but the SQLPLUS connection show BASIC for failover_method and SELECT for failover_type.
    Is there any issues with the thin client the version is 10.2.0.3
    jdbc:oracle:thin:@(description=(address_list=(load_balance=YES)(address=(protocol=tcp)(host=crpu306-vip.wm.com)(port=1521))(address=(protocol=tcp)(host=crpu307-vip.wm.com)(port=1521)))(connect_data=(service_name=ocsqat02)(failover_mode=(type=select)(method=basic)(DELAY=5)(RETRIES=180))))

    You have to use (FAILOVER=on) as well on jdbc url.
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/advcfg.htm#sthref1292
    Example: TAF with Connect-Time Failover and Client Load Balancing
    Implement TAF with connect-time failover and client load balancing for multiple addresses. In the following example, Oracle Net connects randomly to one of the protocol addresses on sales1-server or sales2-server. If the instance fails after the connection, the TAF application fails over to the other node's listener, reserving any SELECT statements in progress.sales.us.acme.com=
    (DESCRIPTION=
    *(LOAD_BALANCE=on)*
    *(FAILOVER=on)*
    (ADDRESS=
    (PROTOCOL=tcp)
    (HOST=sales1-server)
    (PORT=1521))
    (ADDRESS=
    (PROTOCOL=tcp)
    (HOST=sales2-server)
    (PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=sales.us.acme.com)
    *(FAILOVER_MODE=*
    *(TYPE=select)*
    *(METHOD=basic))))*
    Example: TAF Retrying a Connection
    TAF also provides the ability to automatically retry connecting if the first connection attempt fails with the RETRIES and DELAY parameters. In the following example, Oracle Net tries to reconnect to the listener on sales1-server. If the failover connection fails, Oracle Net waits 15 seconds before trying to reconnect again. Oracle Net attempts to reconnect up to 20 times.sales.us.acme.com=
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=tcp)
    (HOST=sales1-server)
    (PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=sales.us.acme.com)
    *(FAILOVER_MODE=*
    *(TYPE=select)*
    *(METHOD=basic)*
    *(RETRIES=20)*
    *(DELAY=15))))*

  • JDBC - Fail over connection

    Hello Group,
    I ´m currently working on the follwing szenario in XI (NW2004, SP19):
    Via the jdbc adapter I send a sql statement to a database (db1) and get the response. This works fine.
    Because it´s a very important request, I have a second database (db2) with exactly the same data as in db1. When the db1 is not reachable, the adapter should connect automatically the db2.
    Can I handle this with the jdbc adapter (fail over connection)? Or with another configuration in the XI.
    Thanks in advance.
    Kind regards,
    Martin

    hi
    you can use a bpm with an exception brach where you specify if first db fail try to connect to db2
    it a useful solution

  • HT3049 Why do I keep getting "Connection failed: NT_STATUS_BAD_NETWORK_NAME" when trying to print on Windows networked printer over wi-fi?

    Why do I keep getting "Connection failed: NT_STATUS_BAD_NETWORK_NAME" when trying to print on Windows networked printer over wi-fi?

    If I run the following (on the machine I'm trying to set up the share)
    smbclient -L localhost -U%
    I got the following output
    Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)
    so I thought it might be something incorrect with the iptables side of things, however I haven't really touched that at all and it seems to look correct
    iptables -nvL
    Chain INPUT (policy ACCEPT 667 packets, 79977 bytes)
    pkts bytes target prot opt in out source destination
    Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
    pkts bytes target prot opt in out source destination
    Chain OUTPUT (policy ACCEPT 157 packets, 20724 bytes)
    pkts bytes target prot opt in out source destination
    So from my (very little) knowledge this appears correct (I think)... However it appears that something is blocking access somewhere.

  • Unity Connection 10.5(1)SU1a Publisher/Subscriber failing over

    Recently upgraded to Unity Connection version: 10.5.1ES78.11901-78 from 9.1.2ES46.12900-46.
    After upgrading we are experiencing an issue whereby the pub continually fails over to the sub without any obvious reason for the fail over. We've experienced this bug before on 9.1.1 which was the reason for the upgrade to 9.1.2. There is no bug case that is established for this issue on v10.5(1)SU1a. Pub is still taking calls in secondary state but obviously the need for stability between the nodes is necessary.
    Anyone else experience or know of any issues on this most recently released version?
    Thanks

    To start with you can check if the replication is setup correctly and if any core dumps are being generated on the servers.
    utils dbreplication runtimestate
    utils core active list
    HTH
    Manish

  • HT2284 Recurring "connection failed" when selecting TimeCapsule in the sidebar (internet connection works fine).  Clicking "Connect As" starts the cyle over again but ends in "There was a problem connection to the server" message.  Only fix is resetting T

    Recurring "connection failed" when selecting TimeCapsule in the sidebar (internet connection works fine).  Clicking "Connect As" starts the cyle over again but ends in "There was a problem connection to the server" message.  Only fix is resetting TC.
    The TC is the wifi base station, also have AirportExpress on the network, both of which work fine.  The TC has an external disc connected as well, which is also visible in the sidebar but also cannot be connected to.  Several MB computers use the network, all of which either can or cannot connect to the TC disc depending on when it is acting up.
    Any ideas other than clicking "connect as" or powering down the network every time? 

    Read up how to install 5.6 utility into ML.. it is pretty easy.
    I downloaded 5.6
    http://support.apple.com/kb/DL1482
    Download unpkg
    http://www.timdoug.com/unpkg/
    Open the dmg to get the pkg.. drag it onto unpkg.. and it will create a directory under desktop with all the files.. drag the application to the utility directory.. or just run it direct.
    Google if you want more explicit instructions.
    Much easier with a real tool instead of a toy.
    Hold the option key when you select firmware update.. all the old ones will appear.
    But this will not work on newer Gen4.. only on every other model and early Gen4. .I do not know when they turned the corner and started this only 7.6 nonsense.

  • Help : Cluster Fail over Test - Could not establish a connection

    Hi All
              I'm trying to do Cluster fail over test with two Weblogic 8.1 sp2 instances in cluster.
              During that testing, I'm restarting the one of the instance which is handing my request, to make sure the session is replicated smoothly to the other instance,so that can continue accessing my application without any interuption. But when I restart the instance, I'm getting following exception
              Error 500--Internal Server Error
              java.rmi.ConnectException: Could not establish a connection with 8909815174098071019S:dappsn03:[8201,8201,-1,-1,8201,-1,-1,0,0]:dappsn03-04:TNL:tnl1_81dappsn03, java.rmi.ConnectException: Destination unreachable; nested exception is:
                   java.net.ConnectException: Connection refused; No available router to destination
                   at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:316)
                   at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:488)
                   at weblogic.rjvm.RJVMImpl.getOutboundRequest(RJVMImpl.java:584)
                   at weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:91)
                   at weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteRef.java:69)
                   at com.sns.pfk.ejb.PfkSessionBean_mz6mqm_EOImpl_812_WLStub.getPortalRecord(Unknown Source)
                   at com.sns.pfk.servlet.PfkMainServlet.getInfofromSB(Unknown Source)
                   at com.sns.pfk.servlet.PfkMainServlet.doActionDisplay(Unknown Source)
                   at com.sns.pfk.servlet.PfkMainServlet.doGet(Unknown Source)
                   at com.sns.pfk.servlet.PfkMainServlet.doPost(Unknown Source)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                   at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
                   at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:607)
                   at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:400)
                   at com.sns.ana.ui.servlet.AuthorisationBaseServlet.service(AuthorisationBaseServlet.java:109)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                   at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
                   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
                   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
                   at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              Buddies, anyone hit this issue before, pls show up some light to escape this hickup.
              With Regs
              -SHAN

    Hi,
              Thanx for ones, spend time on reading this thread.This problem was due to some missing entries in weblogic-ejb.xml. This got fixed as we got support from BEA.
              With Regs
              -SHAN

  • PHP Connection fails, but works over saprfc_test.php

    Hi,
    I can make a connection to SAP using saprfc_test.php but when I try and do this with my php script at the command line it fails with this error:
    C:\Documents and Settings\arundelr>php -c C:\www_root\Apache2.2\php.ini C:\www_r
    oot\htdocs\newphpsaprfc\parser.php
    Order Number: 0000427138
    PHP Warning:  RFC Error Info :
    Group    : 102
    Key      : RFC_ERROR_COMMUNICATION
    Message  : Connect to message server failed
    Connect_PM  MSHOST=sapdev.host.com, R3NAME=FRD, GROUP=PUBLIC
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       Group PUBLIC not found
    TIME        Mon Jul 09 17:28:30 2007
    RELEASE     640
    COMPONENT   LG
    VERSION     5
    RC          -6
    I do not specify a group when I use saprfc_test.php but I notice this is reporting it as PUBLIC.  Does anybody have any bright ideas?
    cheers
    Rob.
    MODULE      lgxx.c
    LINE        3531
    DETAIL      LgIGroup
    COUNTER     1
    in C:\www_root\htdocs\newphpsaprfc\includes\processor.php on line 15
    RFC connection failed
    C:\Documents and Settings\arundelr>

    specifying "MSHOST"=>"", did the trick.

  • Hi there, I am trying to connect to my server at work from home using a vpn connection. It connects fine and the time ticks along, but when i click go - connect to server, it comes up with connection failed. Please help!

    Hi there, I am trying to connect to my server at work from home using a vpn connection. It connects fine and the time ticks along, but when i click go - connect to server, it comes up with connection failed. Please help!

    ... when i click go - connect to server, it comes up with connection failed.
    If you're trying to connect to a Bonjour server on the remote network, that won't work over a layer 3 VPN. Use something like Hamachi or one of the SSH-tunnelling Bonjour proxy apps for that.

  • Why do I get connection failed when logging in on app store on wireless, but Wired LAN works fine?

    I've been having the same issue as many other people. On OSX Lion with latest updates as of 3/20/2012. Tried deleting .plist files, checking keychain access and even reset keychain. I still get the error of Connection Failed when trying to download updates or a new app from the app store.
    I also can't connect to the iTunes "Account" area. It produces an error that the request failed (-1200)
    I finally decided to try a wired connection instead of my wireless. Now it works great! So I removed my wireless network and re-added it. Back to square one. Work around for now is fine, but I should be able to use this over wireless, too!
    I just now tested connecting to a different wireless network (EVO Hotspot) and it worked fine. So it's something specific to my office wireless network. Nothing changed on our firewall (I'm the administrator). It just stopped working.
    Anthony

    Hi ...
    Perhaps there's something that you haven't tried here >  Troubleshooting Wi-Fi issues in OS X Lion

  • I can't login to the App Store - connection failed...

    yesterday I had totally forgot my password and security question & went through 'Apple Express Lane' in getting assistance to reset my password for my ID "[email protected]" account so I can update to Lion OSX & merge my MobileMe account to iCloud through the 'App Store'
    the password was reset and was able to login to the App Store with new password and download OSX Lion.
    I have now successfully installed OSX Lion and have completed all the updates up to OSX Lion 10.7.3
    after the updates, I wanted to purchase some games through the App Store and tried to login, but I get a message in red
    'Connection Failed'
    I tried to find answers and post a topic in 'Apple Discussions Forum' using Safari 5.1.3, but it won't let me sign-in on my ID '[email protected]' and my password.I get the following message :
    'This Apple ID has been locked for security reasons. Visit iForgot to reset your account (https://iforgot.apple.com). Forgot your Apple ID?'
    But I just reset it with the Express guy??
    The other thing is I keep getting 'security certificates' popping up as well every time I attempt to login into 'Apple Discussions' or click to another webpage for a different site. Even when I click on legitimate(I hope) certificate to always trust, I find I have to repeat the step again
    even with iTunes when I go to sign in I get the following:
    iTunes can't verify the identity of the server "buy.itunes.apple.com"
    The certificate for this server is invalid. You might be connecting to a server that is pretending to be "buy.itunes.apple.com" , which could put your confidential information at risk. Would like to connect to the server anyway?
    so... wishing I didn't upgrade now
    I had gone back to the apple support by email and they said I needed to reset my password again.
    which have done and still no change. Twice now over the last two days in changing password.
    When I use 'Firefox 10.0.2' I can login to iCloud & Apple Support Community & and don't get the pop up verify security cert's
    I hope I have given 'enough' details, any help would greatly appreciated
    My Hardware specs:
    iMac 7,1
    2.4Ghz Intel Core 2 Duo
    4 GB Memory
    Thanks
    Dave

    I am having the same problem. It was working fine until yesterday.

  • Installing Mavericks produced "a connection error occurred" in Mail and "connection failed" in App Store

    Dear Apple Support Community!
    I installed Mavericks OS X on my iMac immediately after it was released. I was soon starting to experience trouble with logging in to Mail and App Store. After contacting Apple Support and trying various tips and tricks to no avail, like re-installing Mavericks for instance, I just decided to wait for an update of the OS X to see if that would solve my problems. Unfortunately, that didn't help either.
    I therefore turn to the Apple Support Communities in hope of expert help that will solve my problems.
    Here are the actions that result in error messages:
    Mail > Choose a mail account to add > Google > Continue > Name/Email Address/Password > Set Up > A connection error occurred.
    App Store > Sign In > Apple ID/Password > Sign In > Connection failed.
    I have three accounts on my computer:
    System Administrator, Guest Account and Other.
    I use the “Other” account as my regular account. When I log in to the System Administrator or Guest Account I don’t experience any problems; Mail and App Store work as they should.
    Booting in safe mode does not solve the problem:
    I disconnected all wired peripherals except those needed for the test, and removed all aftermarket expansion cards. I booted in safe mode and logged in to the account with the problem.
    I tested the said actions while in safe mode. The problems were the same.
    After testing, I rebooted as usual (i.e., not in safe mode) and verified that I still had the problems.
    Info about my Mac:
    iMac
    24-inch Mid 2007
    Processor  2,8 GHz Intel Core 2 Duo
    Memory  4 GB 667 MHz DDR2 SDRAM
    Graphics  ATI Radeon HD 2600 Pro 256 MB
    Serial Number  xxxxxxxxxxx
    Software  OS X 10.9.1 (13B42)
    Console System Logs
    Console log – All Messages
    Action:
    Mail > Choose a mail account to add > Google > Continue > Name/Email Address/Password > Set Up > A connection error occurred.
    02.02.14 12:41:38,030 SafariNotificationAgent[43964]: Error calling realpath on the home directory.
    02.02.14 12:41:38,032 com.apple.launchd.peruser.0[166]: (com.apple.SafariNotificationAgent[43964]) Exited with code: 1
    02.02.14 12:41:38,032 com.apple.launchd.peruser.0[166]: (com.apple.SafariNotificationAgent) Throttling respawn: Will start in 10 seconds
    02.02.14 12:41:38,231 com.apple.internetaccounts[66431]: +[IAGoogleAuthTokenManager keychainEntryForUserName:] [359] -- Failed to fetch keychain item for "xxxxxx@xxxxxx" (code -67674)
    02.02.14 12:41:38,234 com.apple.internetaccounts[66431]: +[IAGoogleAuthTokenManager setKeychainEntry:ForUserName:] [380] -- *** Failed to store token in keychain for "xxxxxx@xxxxxx" (code -67674)
    02.02.14 12:41:38,263 sandboxd[91]: ([66431]) com.apple.intern(66431) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,270 sandboxd[91]: ([66431]) com.apple.intern(66431) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,282 sandboxd[91]: ([43640]) Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,291 sandboxd[91]: ([43640]) Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,300 sandboxd[91]: ([43640]) Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,309 sandboxd[91]: ([43640]) Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,318 sandboxd[91]: ([43640]) Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,000 kernel[0]: Sandbox: Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,352 Mail[43640]: CFNetwork SSLHandshake failed (-67674)
    02.02.14 12:41:38,000 kernel[0]: Sandbox: Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,000 kernel[0]: Sandbox: Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,000 kernel[0]: Sandbox: Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,000 kernel[0]: Sandbox: Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,000 kernel[0]: Sandbox: Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,000 kernel[0]: Sandbox: Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,000 kernel[0]: Sandbox: Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,426 Mail[43640]: CFNetwork SSLHandshake failed (-67674)
    02.02.14 12:41:38,000 kernel[0]: Sandbox: Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,000 kernel[0]: Sandbox: Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,000 kernel[0]: Sandbox: Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,000 kernel[0]: Sandbox: Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,000 kernel[0]: Sandbox: Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,430 sandboxd[91]: ([43640]) Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,000 kernel[0]: Sandbox: Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,000 kernel[0]: Sandbox: Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:41:38,497 Mail[43640]: CFNetwork SSLHandshake failed (-67674)
    02.02.14 12:41:38,498 Mail[43640]: NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -67674)
    02.02.14 12:41:38,498 Mail[43640]: -[IAAccountAuthenticator connection:didFailWithError:] [172] -- *** error: Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo=0x6000001b36a0 {NSURLErrorFailingURLPeerTrustErrorKey=<SecTrust 0x7fdf23579d20 [0x7fff75b66eb0]>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x60000084b220 "An SSL error has occurred and a secure connection to the server cannot be made.", NSErrorPeerCertificateChainKey=(
        "<SecCertificate 0x7fdf2357bf90 [0x7fff75b66eb0]>",
        "<SecCertificate 0x7fdf23579ae0 [0x7fff75b66eb0]>",
        "<SecCertificate 0x7fdf23578e00 [0x7fff75b66eb0]>"
    ), NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://www.google.com/accounts/ClientLogin, NSErrorFailingURLStringKey=https://www.google.com/accounts/ClientLogin, NSErrorClientCertificateStateKey=0}
    Full report of the following incident:
    02.02.14 12:41:38,270 sandboxd[91]: ([66431]) com.apple.intern(66431) deny file-write-data /private/var/db/mds/system/mds.lock
    com.apple.intern(66431) deny file-write-data /private/var/db/mds/system/mds.lock
    Process:         com.apple.intern [66431]
    Path:            /System/Library/PrivateFrameworks/InternetAccounts.framework/Versions/A/XPCServ ices/com.apple.internetaccounts.xpc/Contents/MacOS/com.apple.internetaccounts
    Load Address:    0x101a8b000
    Identifier:      com.apple.internetaccounts
    Version:         1 (1.0)
    Build Info:      1-InternetAccountsFramework_executables~192000000000000
    Code Type:       x86_64 (Native)
    Parent Process:  launchd [1]
    Date/Time:       2014-02-02 12:41:38.232 +0100
    OS Version:      Mac OS X 10.9.1 (13B42)
    Report Version:  8
    Thread 0:
    0   libsystem_kernel.dylib                  0x00007fff888ce5da __open + 10
    1   Security                                0x00007fff8573d2af Security::MDSSession::updateDataBases() + 693
    2   Security                                0x00007fff8578feef Security::MDSSession::DbOpen(char const*, cssm_net_address const*, unsigned int, Security::AccessCredentials const*, void const*, long&) + 145
    3   Security                                0x00007fff8578fde3 mds_DbOpen(long, char const*, cssm_net_address const*, unsigned int, cssm_access_credentials const*, void const*, long*) + 211
    4   Security                                0x00007fff8573ccd7 Security::MDSClient::Directory::cdsa() const + 93
    5   Security                                0x00007fff857f995b Security::MDSClient::Directory::dlGetFirst(cssm_query const&, cssm_db_record_attribute_data&, cssm_data*, cssm_db_unique_record*&) + 39
    6   Security                                0x00007fff8573c7b2 Security::CssmClient::Table<Security::MDSClient::Common>::startQuery(Security:: CssmQuery const&, bool) + 234
    7   Security                                0x00007fff85761ca5 Security::KeychainCore::DynamicDLDBList::_load() + 329
    8   Security                                0x00007fff85761b29 Security::KeychainCore::DynamicDLDBList::searchList() + 29
    9   Security                                0x00007fff8587b2b5 Security::KeychainCore::StorageManager::getSearchList(std::__1::vector<Security ::KeychainCore::Keychain, std::__1::allocator<Security::KeychainCore::Keychain> >&) + 163
    10  Security                                0x00007fff8587da18 Security::KeychainCore::StorageManager::optionalSearchList(void const*, std::__1::vector<Security::KeychainCore::Keychain, std::__1::allocator<Security::KeychainCore::Keychain> >&) + 88
    11  Security                                0x00007fff85754f5c SecKeychainSearchCreateFromAttributes + 142
    12  Security                                0x00007fff858930a8 _CreateSecItemParamsFromDictionary(__CFDictionary const*, int*) + 3493
    13  Security                                0x00007fff8588fca7 SecItemCopyMatching_osx(__CFDictionary const*, void const**) + 133
    14  Security                                0x00007fff8588f95d SecItemCopyMatching + 390
    15  InternetAccounts                        0x00007fff900ad7c5 +[IAGoogleAuthTokenManager keychainEntryForUserName:] + 215
    16  InternetAccounts                        0x00007fff900ad604 +[IAGoogleAuthTokenManager googleTokenForEmailAddress:shouldCreateToken:] + 48
    17  com.apple.internetaccounts              0x0000000101a95c83
    18  CoreFoundation                          0x00007fff8c991dec __invoking___ + 140
    19  CoreFoundation                          0x00007fff8c991c54 -[NSInvocation invoke] + 308
    20  Foundation                              0x00007fff844b5af6 -[NSXPCConnection _decodeAndInvokeMessageWithData:] + 1469
    21  Foundation                              0x00007fff844b26be message_handler + 381
    22  libxpc.dylib                            0x00007fff90ef6510 _xpc_connection_call_event_handler + 58
    23  libxpc.dylib                            0x00007fff90ef5123 _xpc_connection_mach_event + 2124
    24  libdispatch.dylib                       0x00007fff86e1aafe _dispatch_client_callout4 + 9
    25  libdispatch.dylib                       0x00007fff86e1b3b8 _dispatch_mach_msg_invoke + 143
    26  libdispatch.dylib                       0x00007fff86e19633 _dispatch_queue_drain + 359
    27  libdispatch.dylib                       0x00007fff86e1a69e _dispatch_mach_invoke + 154
    28  libdispatch.dylib                       0x00007fff86e19633 _dispatch_queue_drain + 359
    29  libdispatch.dylib                       0x00007fff86e1a9dd _dispatch_queue_invoke + 110
    30  libdispatch.dylib                       0x00007fff86e18fa3 _dispatch_root_queue_drain + 75
    31  libdispatch.dylib                       0x00007fff86e1a193 _dispatch_worker_thread2 + 40
    32  libsystem_pthread.dylib                 0x00007fff8c5ceef8 _pthread_wqthread + 314
    33  libsystem_pthread.dylib                 0x00007fff8c5d1fb9 start_wqthread + 13
    Binary Images:
           0x101a8b000 -        0x101a9efff  com.apple.internetaccounts (1.0 - 1) <fedaf54b-d9b6-3da1-b4bc-e2cef64a8491> /System/Library/PrivateFrameworks/InternetAccounts.framework/Versions/A/XPCServ ices/com.apple.internetaccounts.xpc/Contents/MacOS/com.apple.internetaccounts
        0x7fff8441b000 -     0x7fff8471afff  com.apple.Foundation (6.9 - 1056) <d608edfd-9634-3573-9b7e-081c7d085f7a> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
        0x7fff85738000 -     0x7fff85990ff1  com.apple.security (7.0 - 55471) <233831c5-c457-3ad5-afe7-e3e2de6929c9> /System/Library/Frameworks/Security.framework/Versions/A/Security
        0x7fff86e16000 -     0x7fff86e30fff  libdispatch.dylib (339.1.9) <46878a5b-4248-3057-962c-6d4a235eef31> /usr/lib/system/libdispatch.dylib
        0x7fff888b9000 -     0x7fff888d5ff7  libsystem_kernel.dylib (2422.1.72) <d14913db-47f1-3591-8daf-d4b4ef5f8818> /usr/lib/system/libsystem_kernel.dylib
        0x7fff8c5cc000 -     0x7fff8c5d3ff7  libsystem_pthread.dylib (53.1.4) <ab498556-b555-310e-9041-f67ec9e00e2c> /usr/lib/system/libsystem_pthread.dylib
        0x7fff8c958000 -     0x7fff8cb3dff7  com.apple.CoreFoundation (6.9 - 855.11) <e22c6a1f-8996-349c-905e-96c3bbe07c2f> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
        0x7fff90096000 -     0x7fff900e5ff7  com.apple.framework.internetaccounts (2.1 - 210) <c77069c7-928c-315c-aa61-d90543901f20> /System/Library/PrivateFrameworks/InternetAccounts.framework/Versions/A/Interne tAccounts
        0x7fff90eeb000 -     0x7fff90f0ffff  libxpc.dylib (300.1.17) <4554927a-9467-365c-91f1-5a116989dd7f> /usr/lib/system/libxpc.dylib
    Full report of the following incident:
    02.02.14 12:41:38,282 sandboxd[91]: ([43640]) Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    Mail(43640) deny file-write-data /private/var/db/mds/system/mds.lock
    Process:         Mail [43640]
    Path:            /Applications/Mail.app/Contents/MacOS/Mail
    Load Address:    0x10c586000
    Identifier:      com.apple.mail
    Version:         1827 (7.1)
    Build Info:      5-Mail~1827000000000000
    Code Type:       x86_64 (Native)
    Parent Process:  launchd [166]
    Date/Time:       2014-02-02 12:41:38.276 +0100
    OS Version:      Mac OS X 10.9.1 (13B42)
    Report Version:  8
    Thread 0:
    0   libsystem_kernel.dylib                  0x00007fff888ce5da __open + 10
    1   Security                                0x00007fff8573d2af Security::MDSSession::updateDataBases() + 693
    2   Security                                0x00007fff8578feef Security::MDSSession::DbOpen(char const*, cssm_net_address const*, unsigned int, Security::AccessCredentials const*, void const*, long&) + 145
    3   Security                                0x00007fff8578fde3 mds_DbOpen(long, char const*, cssm_net_address const*, unsigned int, cssm_access_credentials const*, void const*, long*) + 211
    4   Security                                0x00007fff8573ccd7 Security::MDSClient::Directory::cdsa() const + 93
    5   Security                                0x00007fff857f995b Security::MDSClient::Directory::dlGetFirst(cssm_query const&, cssm_db_record_attribute_data&, cssm_data*, cssm_db_unique_record*&) + 39
    6   Security                                0x00007fff8573c7b2 Security::CssmClient::Table<Security::MDSClient::Common>::startQuery(Security:: CssmQuery const&, bool) + 234
    7   Security                                0x00007fff85761ca5 Security::KeychainCore::DynamicDLDBList::_load() + 329
    8   Security                                0x00007fff85761b29 Security::KeychainCore::DynamicDLDBList::searchList() + 29
    9   Security                                0x00007fff8587b2b5 Security::KeychainCore::StorageManager::getSearchList(std::__1::vector<Security ::KeychainCore::Keychain, std::__1::allocator<Security::KeychainCore::Keychain> >&) + 163
    10  Security                                0x00007fff85787bc2 SecIdentityCopyPreference + 319
    11  CFNetwork                               0x00007fff87b4f3e5 HTTPProtocolSSLSupport::getSSLCertsCached(__CFString const*) + 235
    12  CFNetwork                               0x00007fff87b4f073 HTTPProtocol::setupSSLPropertiesOnStream(_CFURLRequest const*) + 363
    13  CFNetwork                               0x00007fff87b3c234 HTTPProtocol::openStream() + 80
    14  CFNetwork                               0x00007fff87b3b67a HTTPProtocol::useNetConnectionForRequest(NetConnection*, __CFHTTPMessage*, unsigned char) + 1750
    15  CFNetwork                               0x00007fff87b3aeae HTTPConnectionCacheEntry::dispatchConnectionToProtocol(NetConnection*, HTTPProtocol*, HTTPRequestMessage*, unsigned char) + 276
    16  CFNetwork                               0x00007fff87b3ac6d HTTPConnectionCacheEntry::notifyNextProtocolOfOpenConnection(NetConnection*, unsigned char) + 301
    17  CFNetwork                               0x00007fff87b37fcf HTTPConnectionCacheEntry::enqueueRequestForProtocol(HTTPProtocol*, __CFHTTPMessage*) + 685
    18  CFNetwork                               0x00007fff87b379cc HTTPConnectionCache::_onqueue_enqueueRequestForProtocol(HTTPProtocol*, __CFHTTPMessage*) + 178
    19  CFNetwork                               0x00007fff87b378f1 ___ZN19HTTPConnectionCache25enqueueRequestForProtocolEP12HTTPProtocolP15__CFHTT PMessage_block_invoke + 26
    20  CFNetwork                               0x00007fff87b2e3fc ___ZNK17CoreSchedulingSet13_performAsyncEPKcU13block_pointerFvvE_block_invoke + 25
    21  CoreFoundation                          0x00007fff8c9a2e94 CFArrayApplyFunction + 68
    22  CFNetwork                               0x00007fff87b2e2db RunloopBlockContext::perform() + 115
    23  CFNetwork                               0x00007fff87b2e183 MultiplexerSource::perform() + 269
    24  CFNetwork                               0x00007fff87b2dfb2 MultiplexerSource::_perform(void*) + 72
    25  CoreFoundation                          0x00007fff8c9d78f1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    26  CoreFoundation                          0x00007fff8c9c9062 __CFRunLoopDoSources0 + 242
    27  CoreFoundation                          0x00007fff8c9c87ef __CFRunLoopRun + 831
    28  CoreFoundation                          0x00007fff8c9c8275 CFRunLoopRunSpecific + 309
    29  Foundation                              0x00007fff84482907 +[NSURLConnection(Loader) _resourceLoadLoop:] + 348
    30  Foundation                              0x00007fff8448270b __NSThread__main__ + 1318
    31  libsystem_pthread.dylib                 0x00007fff8c5cd899 _pthread_body + 138
    32  libsystem_pthread.dylib                 0x00007fff8c5cd72a _pthread_struct_init + 0
    33  libsystem_pthread.dylib                 0x00007fff8c5d1fc9 thread_start + 13
    Binary Images:
        0x7fff8441b000 -     0x7fff8471afff  com.apple.Foundation (6.9 - 1056) <d608edfd-9634-3573-9b7e-081c7d085f7a> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
        0x7fff85738000 -     0x7fff85990ff1  com.apple.security (7.0 - 55471) <233831c5-c457-3ad5-afe7-e3e2de6929c9> /System/Library/Frameworks/Security.framework/Versions/A/Security
        0x7fff87b07000 -     0x7fff87c77ff6  com.apple.CFNetwork (673.0.3 - 673.0.3) <42cfc3db-35c8-3652-af37-4bcc73d8bdef> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
        0x7fff888b9000 -     0x7fff888d5ff7  libsystem_kernel.dylib (2422.1.72) <d14913db-47f1-3591-8daf-d4b4ef5f8818> /usr/lib/system/libsystem_kernel.dylib
        0x7fff8c5cc000 -     0x7fff8c5d3ff7  libsystem_pthread.dylib (53.1.4) <ab498556-b555-310e-9041-f67ec9e00e2c> /usr/lib/system/libsystem_pthread.dylib
        0x7fff8c958000 -     0x7fff8cb3dff7  com.apple.CoreFoundation (6.9 - 855.11) <e22c6a1f-8996-349c-905e-96c3bbe07c2f> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    Console log – All Messages
    Action:
    App Store > Sign In > Apple ID / Password > Sign In > Connection failed.
    02.02.14 12:51:07,365 sandboxd[91]: ([44259]) App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:07,372 sandboxd[91]: ([44259]) App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:07,377 sandboxd[91]: ([44259]) App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:07,384 sandboxd[91]: ([44259]) App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:07,390 sandboxd[91]: ([44259]) App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:07,396 sandboxd[91]: ([44259]) App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:07,402 sandboxd[91]: ([44259]) App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:07,409 sandboxd[91]: ([44259]) App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:07,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:07,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:07,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:07,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:07,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:07,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:07,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:07,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:07,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:07,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:08,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:08,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:08,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:08,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:08,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:08,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:08,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:08,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:08,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:08,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:08,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:08,000 kernel[0]: Sandbox: App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    02.02.14 12:51:09,730 SafariNotificationAgent[44337]: Error calling realpath on the home directory.
    02.02.14 12:51:09,732 com.apple.launchd.peruser.0[166]: (com.apple.SafariNotificationAgent[44337]) Exited with code: 1
    02.02.14 12:51:09,732 com.apple.launchd.peruser.0[166]: (com.apple.SafariNotificationAgent) Throttling respawn: Will start in 10 seconds
    Full report of the following incident:
    02.02.14 12:51:07,365 sandboxd[91]: ([44259]) App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    App Store(44259) deny file-write-data /private/var/db/mds/system/mds.lock
    Process:         App Store [44259]
    Path:            /Applications/App Store.app/Contents/MacOS/App Store
    Load Address:    0x107a6d000
    Identifier:      com.apple.appstore
    Version:         201 (1.3)
    Build Info:      61-Firenze~201000000000000
    Code Type:       x86_64 (Native)
    Parent Process:  launchd [166]
    Date/Time:       2014-02-02 12:51:07.307 +0100
    OS Version:      Mac OS X 10.9.1 (13B42)
    Report Version:  8
    Thread 0:
    0   libsystem_kernel.dylib                  0x00007fff888ce5da __open + 10
    1   Security                                0x00007fff8573d2af Security::MDSSession::updateDataBases() + 693
    2   Security                                0x00007fff8578feef Security::MDSSession::DbOpen(char const*, cssm_net_address const*, unsigned int, Security::AccessCredentials const*, void const*, long&) + 145
    3   Security                                0x00007fff8578fde3 mds_DbOpen(long, char const*, cssm_net_address const*, unsigned int, cssm_access_credentials const*, void const*, long*) + 211
    4   Security                                0x00007fff8573ccd7 Security::MDSClient::Directory::cdsa() const + 93
    5   Security                                0x00007fff857f995b Security::MDSClient::Directory::dlGetFirst(cssm_query const&, cssm_db_record_attribute_data&, cssm_data*, cssm_db_unique_record*&) + 39
    6   Security                                0x00007fff8573c7b2 Security::CssmClient::Table<Security::MDSClient::Common>::startQuery(Security:: CssmQuery const&, bool) + 234
    7   Security                                0x00007fff85761ca5 Security::KeychainCore::DynamicDLDBList::_load() + 329
    8   Security                                0x00007fff85761b29 Security::KeychainCore::DynamicDLDBList::searchList() + 29
    9   Security                                0x00007fff8587b2b5 Security::KeychainCore::StorageManager::getSearchList(std::__1::vector<Security ::KeychainCore::Keychain, std::__1::allocator<Security::KeychainCore::Keychain> >&) + 163
    10  Security                                0x00007fff85787bc2 SecIdentityCopyPreference + 319
    11  CFNetwork                               0x00007fff87b4f3e5 HTTPProtocolSSLSupport::getSSLCertsCached(__CFString const*) + 235
    12  CFNetwork                               0x00007fff87b4f073 HTTPProtocol::setupSSLPropertiesOnStream(_CFURLRequest const*) + 363
    13  CFNetwork                               0x00007fff87b3c234 HTTPProtocol::openStream() + 80
    14  CFNetwork                               0x00007fff87b3b67a HTTPProtocol::useNetConnectionForRequest(NetConnection*, __CFHTTPMessage*, unsigned char) + 1750
    15  CFNetwork                               0x00007fff87b3aeae HTTPConnectionCacheEntry::dispatchConnectionToProtocol(NetConnection*, HTTPProtocol*, HTTPRequestMessage*, unsigned char) + 276
    16  CFNetwork                               0x00007fff87b3ac6d HTTPConnectionCacheEntry::notifyNextProtocolOfOpenConnection(NetConnection*, unsigned char) + 301
    17  CFNetwork                               0x00007fff87b37fcf HTTPConnectionCacheEntry::enqueueRequestForProtocol(HTTPProtocol*, __CFHTTPMessage*) + 685
    18  CFNetwork                               0x00007fff87b379cc HTTPConnectionCache::_onqueue_enqueueRequestForProtocol(HTTPProtocol*, __CFHTTPMessage*) + 178
    19  CFNetwork                               0x00007fff87b378f1 ___ZN19HTTPConnectionCache25enqueueRequestForProtocolEP12HTTPProtocolP15__CFHTT PMessage_block_invoke + 26
    20  CFNetwork                               0x00007fff87b2e3fc ___ZNK17CoreSchedulingSet13_performAsyncEPKcU13block_pointerFvvE_block_invoke + 25
    21  CoreFoundation                          0x00007fff8c9a2e94 CFArrayApplyFunction + 68
    22  CFNetwork                               0x00007fff87b2e2db RunloopBlockContext::perform() + 115
    23  CFNetwork                               0x00007fff87b2e183 MultiplexerSource::perform() + 269
    24  CFNetwork                               0x00007fff87b2dfb2 MultiplexerSource::_perform(void*) + 72
    25  CoreFoundation                          0x00007fff8c9d78f1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    26  CoreFoundation                          0x00007fff8c9c9062 __CFRunLoopDoSources0 + 242
    27  CoreFoundation                          0x00007fff8c9c87ef __CFRunLoopRun + 831
    28  CoreFoundation                          0x00007fff8c9c8275 CFRunLoopRunSpecific + 309
    29  Foundation                              0x00007fff84482907 +[NSURLConnection(Loader) _resourceLoadLoop:] + 348
    30  Foundation                              0x00007fff8448270b __NSThread__main__ + 1318
    31  libsystem_pthread.dylib                 0x00007fff8c5cd899 _pthread_body + 138
    32  libsystem_pthread.dylib                 0x00007fff8c5cd72a _pthread_struct_init + 0
    33  libsystem_pthread.dylib                 0x00007fff8c5d1fc9 thread_start + 13
    Binary Images:
        0x7fff8441b000 -     0x7fff8471afff  com.apple.Foundation (6.9 - 1056) <d608edfd-9634-3573-9b7e-081c7d085f7a> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
        0x7fff85738000 -     0x7fff85990ff1  com.apple.security (7.0 - 55471) <233831c5-c457-3ad5-afe7-e3e2de6929c9> /System/Library/Frameworks/Security.framework/Versions/A/Security
        0x7fff87b07000 -     0x7fff87c77ff6  com.apple.CFNetwork (673.0.3 - 673.0.3) <42cfc3db-35c8-3652-af37-4bcc73d8bdef> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
        0x7fff888b9000 -     0x7fff888d5ff7  libsystem_kernel.dylib (2422.1.72) <d14913db-47f1-3591-8daf-d4b4ef5f8818> /usr/lib/system/libsystem_kernel.dylib
        0x7fff8c5cc000 -     0x7fff8c5d3ff7  libsystem_pthread.dylib (53.1.4) <ab498556-b555-310e-9041-f67ec9e00e2c> /usr/lib/system/libsystem_pthread.dylib
        0x7fff8c958000 -     0x7fff8cb3dff7  com.apple.CoreFoundation (6.9 - 855.11) <e22c6a1f-8996-349c-905e-96c3bbe07c2f> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

    I have had somewhat similar problems as Øystein Ange since upgrading from Snow Leopard to Mavericks in January. But fortunately, I have been able to solve many of them after a lot of trial & error, frustration and sweat! I now long for the more than 2 years of previous Snow Leopard usage when problems were small, few and far between, and quickly solvable. I feel as if Apple has cut me adrift and left me to struggle on my own with the seemingly numerous problems of getting the performance of Mavericks to finally stabilize on my iMac.
    Øystein's Feb. 8th post asks some of the same Mavericks questions that I still have. It would be very helpful to me, and to others I'm sure, if someone/anyone has specific suggestions or solutions on what one could/should do to fix specific problems with newly installed Mavericks OSs, short of a clean, full re-install of the OS.
    I have one admin account plus the guest account on my iMac Mavericks. Does this mean my admin account is a/the root account?! How can one tell whether or not they are logging in with a root account?! What's the distinction between the root account, a user's admin account, and other standard users' accounts?! Could someone please recommend a definitive Apple document describing all the various types of Mavericks accounts, in detail, and how/when/where/why each type should be used before or along with any of the others?
    Why is it suddenly a no-no to log on to Mavericks via the root user account, when previous OS versions had no problem with this?! What's the purpose of the root user account if not to use it to log on to the computer?! If it's so dangerous, why isn't it internally safeguarded from inadvertent logins by casual users?! What damage or harm are we talking about, and why weren't personal-use customers given a big warning about this apparent "booby trap" in Mavericks?! Saying NEVER DO THAT is like closing the barn door after the horse has already bolted, and it explains nothing to the casual user.
    We can't just do a clean re-install every time something in Mavericks hiccups?! Based on my recent experience, and on what I'm seeing in this thread, I would have had to re-installed it a half dozen times in the past 2 months alone!! That's nonsensical. There's got to be a better way of fixing a newly installed Mavericks OS than doing a re-install over and over again. Why don't the Mac diagnostic and troubleshooting tools work in Mavericks' case, as they have done for me on many occasions on earlier OS versions?! What is it about Mavericks that makes it different this time?! Could it possibly have something to do with integration of Mavericks and iCloud; and, if so, what specific cautions should the casual user observe to make sure they don't jeopardize the integrity of Mavericks by doing something similar to logging in from the root account?!
    Many customers need to be brought in out of the dark! Is there an Apple Mavericks expert out there who can advise the customer community on specifically how to apply the existing repair tools to solve specific Mavericks teething problems, without having to revert to multiple OS re-installs?

Maybe you are looking for

  • How do i update a JTextArea?

    Hey I have a main GUI class where i can add one number to an ArrayList in an ohter class (Basket). After i added the number to the ArrayList i can click a button to open anohter window (which is created in BasketGUI class) where a JTextArea are showi

  • Project issues

    I've been running into issues while using Final Cut Pro 7. My specs & details are below. Currently, FCP has been quitting on me while I'm editing. This particular project is being edited off of a 4TB G-RAID, with close to 1TB of free space. The proje

  • Query on show recyclebin command.

    Hi, I have created a table and then I have dropped it. after that I have issued a commit statement as well, now I am trying to view my dropped table using command show recyclebin table_name, but I am not able to get the information about my table. th

  • Question retrieve deleted images

    hi using lightroom 4. i have edited a bunch of raw files in LR4, before i exported the files to jpegs i accidentally deleted the raw file from the hard drive. i ca n still see the the file and images in LR4 is there any way I can export them to jpegs

  • Conditional load-balancing

    I need to load-balance traffic to serverfarm through VIP 0.0.0.0/0 TCP 80, including fragments associated with this traffic. All the traffic that doesn't match the VIP should be routed. I've configured the following VIP: vserver PROXY2_PLS_80 virtual