You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Is the New Security Update Working on My Computers?

I have noticed that the XProtect.plist on 2 different computers have never updated since I installed the new Security Update on June 1. I have an Apple Care Product Specialist trying to figure it out.


But, I ran across this (pasted below) today when checking Console, and if anyone can dechiper logs, maybe some independent analysis will tell me why I'm not getting the "MacDefender" scan this security update was supposed to provide (and why the subject .plist has never updated since installing the Security Update on 2 10.6.7 Intel iMacs 4 days ago).


If anyone can dechiper the log and tell me what I might do to correct this problem, kudos!


The log entries (which contain a series of "failed") are:



Version:1.0StartHTML:0000000149EndHTML:0000004433StartFragment:0000000199EndFrag ment:0000004399StartSelection:0000000199EndSelection:00000043996/4/11 8:59:20 AM com.apple.launchd[1] (com.apple.xprotectupdater[39]) Exited with exit code: 255
6/4/11 8:59:24 AM com.apple.notifyd[12] EV_DELETE failed for file watcher 22
6/4/11 8:59:24 AM com.apple.notifyd[12] EV_DELETE failed for file watcher 21
6/4/11 8:59:24 AM com.apple.notifyd[12] EV_DELETE failed for file watcher 20
6/4/11 8:59:24 AM com.apple.notifyd[12] EV_DELETE failed for file watcher 19
6/4/11 8:59:24 AM com.apple.notifyd[12] EV_DELETE failed for file watcher 18
6/4/11 8:59:24 AM com.apple.notifyd[12] EV_DELETE failed for file watcher 17
6/4/11 8:59:24 AM com.apple.notifyd[12] EV_DELETE failed for file watcher 15
6/4/11 8:59:24 AM com.apple.notifyd[12] EV_DELETE failed for file watcher 16
And
6/4/11 12:15:50 PM com.apple.launchd[1] (com.apple.xprotectupdater[39]) Exited with exit code: 255
6/4/11 12:15:54 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 22
6/4/11 12:15:54 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 21
6/4/11 12:15:54 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 20
6/4/11 12:15:54 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 19
6/4/11 12:15:54 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 18
6/4/11 12:15:54 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 17
6/4/11 12:15:54 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 15
6/4/11 12:15:54 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 16
6/4/11 12:15:54 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 30
6/4/11 12:15:54 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 29
6/4/11 12:15:54 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 28
6/4/11 12:15:54 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 27
6/4/11 12:15:54 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 26
6/4/11 12:15:54 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 25
6/4/11 12:15:54 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 23
6/4/11 12:15:54 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 24
6/4/11 12:15:55 PM com.apple.WindowServer[80] Sat Jun 4 12:15:55 {INFO REMOVED}-imac.local WindowServer[80] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
6/4/11 12:16:32 PM com.apple.launchd.peruser.501[126] (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
6/4/11 12:16:39 PM com.apple.launchd.peruser.501[126] (com.apple.Kerberos.renew.plist[161]) Exited with exit code: 1
6/4/11 1:03:18 PM System Preferences[222] Could not connect the action resetLocationWarningsSheetOk: to target of class AppleSecurity_Pref
6/4/11 1:03:18 PM System Preferences[222] Could not connect the action resetLocationWarningsSheetCancel: to target of class AppleSecurity_Pref

Posted on Jun 4, 2011 10:29 AM

Reply
177 replies

Jun 8, 2011 12:58 PM in response to pcbjr

FWIW, I have two instances of the "(com.apple.xprotectupdater[44]): Exited with exit code: 255" message from the com.apple.launchd[1] process in my system console log.


But each is immediately preceded by a message from the XProtectUpdater[44] process saying "This computer’s Internet connection appears to be offline."


I believe this is just a timing issue that occasionally occurs after restarting my Mac, because it takes a few seconds after booting for the network configuration to stabilize.

Jun 8, 2011 5:44 PM in response to R C-R

ok, sorry. I was hoping...but it now seems I am still see the 255 in console at either startup from poweroff state, or at just a restart. But, it looks like the every 24hr updates are happening. In the past, I was forcing the update, but then, I noticed I went from 6 to 7 without me doing anything. But, the 7 to 8 hasn't happened yet. If the process is suppose to check at startup or restart (not waking from sleep), I can confirm on two MBP's that it is not pulling in the updates. But, as I stated before, the 24hr thing seems to be working.

Jun 8, 2011 6:27 PM in response to powerbook1701

I stared this thread and glad it was picked up.


I'm still getting the 255 error, but have found this: http://backbeat.cachefly.net/TMO/Safe_Download_latest.zip which at least lets me click a Dock icon and be done with it for the day.


Apple Care product specialist and Engineering refused to acknowledge a problem. Told me to toggle Sys Prefs if i had an issue ....

Jun 8, 2011 6:33 PM in response to pcbjr

ok, I know it has been stated that this thing is suppoe to update when you either startup your mac or restart your mac, other than the normal 24hr period. So, since the Apple kbase only mentions daily, I am wondering if this perhaps just isn't happening by design. Maybe Apple thought once a day (every 24hrs was enough- not anticipating such an outbreak to occur). I know a few people have examined the script to see when it is suppose to run.

Have you tried talking to support (since you are already working with someone, to find out exactly when it is suppose to run? I would consider mine working as designed IF it was only suppose to run every 24hrs.

Jun 10, 2011 1:24 PM in response to powerbook1701

It only tries to update automatically on the macs that have been restarted after the install of the update.

That explains why I see no updates on my mac mini.

For my macbook, it tries to update after I start it (I shut it down everynight) but then the network is not active yet, so it fails with errorcode 255, I have not had my laptop running for more than 24 hrs since install so no updates at all except when done manually.

And for the mac of a friend (every night in deep sleep), also no updates. this one was rebooted after the install, but never up at at 24 hrs intervals after the restart.


To make this work correctly, the mac has to be restarted after the install of the update and to make sure that the updates are done and do not fail due to no netwrok, the interval should be smaller (every hr) or smarter (check every hr if last updates is older than 24 hrs)

Jun 10, 2011 2:20 PM in response to ArieRoos

ArieRoos wrote:


It only tries to update automatically on the macs that have been restarted after the install of the update.

...

To make this work correctly, the mac has to be restarted after the install of the update

That could be true, but the installer wasn't designed that way. There is a post installer action script which loads the Launch Daemon so you should get your first update right away and it should check again 24 hours after that or upon restart, whichever occurs first.


I suspect that the 24 hour interval was based on a several things. I doubt that the distribution network is capable of handling all the Macs in the world looking for an update multiple times a day, the way most AV software does. I'm pretty sure that Apple hasn't had time to ramp up their response center to multiple signature writers 24/7. When this all started a month ago, I don't think anybody imagined that the threat would change every day at random times. Historically it has been weeks or months between the need for updates. Should things continue at this pace or become a bigger threat, I am sure we'll see a more robust capability.

Jun 10, 2011 2:38 PM in response to MadMacs0

Like I said a few posts up, mine is not auto updating on any of 5 Intel Macs (3 iMacs and 2 MBP's) but that handy little app I mentioned (Safe Download) force runs the update, which I just do when I first log onto each of those computers every day.


Still get that 255 error (and I've been all the way up to Apple Engineering on this) without any fix/solution being offered, so IMHO it is a bug related to a quick Security Update, which may (???) get fixed in 10.6.8.

Jun 10, 2011 2:45 PM in response to MadMacs0

MadMacs0 wrote:


That could be true, but the installer wasn't designed that way. There is a post installer action script which loads the Launch Daemon so you should get your first update right away and it should check again 24 hours after that or upon restart, whichever occurs first.

You are right, missed that script. it should update without a restart. Then something else is preventing the updates of my mini (no mention of failures in the logfiles).


For the reason of the 24 hrs interval, you are probably right also. But imo it does not need to update every hr (most windows virus scanners also don't), but it should try if the last update is is older than 24 hrs.

Jun 10, 2011 4:13 PM in response to pcbjr

pcbjr wrote:

Still get that 255 error (and I've been all the way up to Apple Engineering on this) without any fix/solution being offered, so IMHO it is a bug related to a quick Security Update, which may (???) get fixed in 10.6.8.

FWIW, the 255 exit code seems to be associated with starting up the Mac, while the computer’s Internet connection appears to be offline. I created a Database Search in Console (from the File menu) with the following criteria:


User uploaded file

This always shows pairs of messages like this...

User uploaded file

...separated by 20 to 30 seconds. There are never any other 255 exit codes I can find.


It would be interesting to see if anybody gets different results. BTW, I do use an AEBS.

Jun 10, 2011 4:28 PM in response to ArieRoos

ArieRoos wrote:

To make this work correctly, the mac has to be restarted after the install of the update and to make sure that the updates are done and do not fail due to no netwrok, the interval should be smaller (every hr) or smarter (check every hr if last updates is older than 24 hrs)

I don't think I'm going to try it myself, but it might be possible to change the interval by modifying the /System/Library/LaunchDaemons/com.apple.xprotectupdater.plist file. One of its keys is "StartInterval" & its value is the number 86400. Since 86400 is the number of seconds in a day (60 X 60 X 24), changing the value to something smaller may cause the daemon to run /usr/libexec/XProtectUpdater more frequently. For instance, a value of 3600 would be hourly.

Jun 10, 2011 4:36 PM in response to ArieRoos

ArieRoos wrote:


To make this work correctly, the mac has to be restarted after the install of the update and to make sure that the updates are done and do not fail due to no netwrok…

Apparently, the updaters broken, but you can run this Terminal command manually and get the update.


sudo /usr/libexec/XProtectUpdater

Jun 10, 2011 4:51 PM in response to R C-R

Is the update version still at 8?


I have not shut my MBP down for a couple of days. Yesterday at the 24 hour mark I watched the console to see if any message from xprotectupdater appeared. It did not. So, either the updater is not working or there is no error to report.


If there is a new version available, I will be looking again at 6 PM PDT to see if a message appears and if the update is retrieved.


So, that's the reason for my question. Is the version still 8?

Is the New Security Update Working on My Computers?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.