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

appstoreagent service exits with abnormal code 1 every ten seconds

I have the following message in my log apparently repeating every ten seconds indefinitely


Oct 20 17:04:41 BradleyRossMacBook com.apple.xpc.launchd[1] (com.apple.appstoreagent[34289]): Service exited with abnormal code: 1

Oct 20 17:04:41 BradleyRossMacBook com.apple.xpc.launchd[1] (com.apple.appstoreagent): Service only ran for 5 seconds. Pushing respawn out by 5 seconds.


There is a file com.apple.appstoreagent.plist in the /System/Library/LaunchAgents folder dated 14-September-2019. I'm not sure if the problem predated the upgrade to Catalina, since I only noticed it after the installation. I'm not sure how serious this is or what I'm supposed to do about it.






<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>Label</key>

<string>com.apple.appstoreagent</string>

<key>Program</key>

<string>/System/Library/PrivateFrameworks/AppStoreDaemon.framework/Support/appstoreagent</string>

<key>MachServices</key>

<dict>

<key>com.apple.aps.appstoreagent</key>

<true/>

<key>com.apple.appstoreagent.legacy</key>

<true/>

<key>com.apple.appstoreagent.xpc</key>

<true/>

<key>com.apple.appstored.xpc.in-game-analytics</key>

<true/>

<key>com.apple.storekitservice</key>

<true/>

</dict>

<key>LimitLoadToSessionType</key>

<array>

<string>LoginWindow</string>

<string>Aqua</string>

</array>

<key>EnableTransactions</key>

<true/>

<key>EnablePressuredExit</key>

<true/>

<key>ProcessType</key>

<string>Adaptive</string>

<key>RunAtLoad</key>

<false/>

<key>LaunchEvents</key>

<dict>

<key>com.apple.distnoted.matching</key>

<dict>

<key>com.apple.appstored.ASDRepairBundleID</key>

<dict>

<key>Name</key>

<string>com.apple.appstored.ASDRepairBundleID</string>

</dict>

<key>com.apple.appstored.ASDItunesAccountDidChangeNotification</key>

<dict>

<key>Name</key>

<string>com.apple.appstored.ASDItunesAccountDidChangeNotification</string>

</dict>

</dict>

<key>com.apple.notifyd.matching</key>

<dict>

<key>com.apple.crashreporter.third_party_submission_preference_changed</key>

<dict>

<key>Notification</key>

<string>com.apple.crashreporter.third_party_submission_preference_changed</string>

</dict>

</dict>

<key>com.apple.usernotificationcenter.matching</key>

<dict>

<key>appstoreagent</key>

<dict>

<key>bundleid</key>

<string>com.apple.appstoreagent</string>

<key>system</key>

<true/>

<key>events</key>

<array>

<string>didDismissAlert</string>

<string>didActivateNotification</string>

<string>didDeliverNotification</string>

<string>didSnoozeAlert</string>

<string>didRemoveDeliveredNotifications</string>

<string>didExpireNotifications</string>

</array>

</dict>

</dict>

<key>com.apple.xpc.activity</key>

<dict>

<key>com.apple.appstoreagent.scheduleTasks</key>

<dict>

<key>Delay</key>

<integer>120</integer>

<key>GracePeriod</key>

<integer>60</integer>

<key>Priority</key>

<string>Maintenance</string>

<key>Repeating</key>

<false/>

<key>AllowBattery</key>

<true/>

</dict>

</dict>

</dict>

</dict>

</plist>


MacBook Pro 15", macOS 10.15

Posted on Oct 20, 2019 3:43 PM

Reply
Question marked as Best reply

Posted on Nov 2, 2019 10:45 AM

I had the same problem but the following steps solved it.


Goto "System Preferences", select "Apple ID" and click on "Overview" and click on "Sign Out". Now reboot and login to Apple ID.


I no longer see "(com.apple.appstoreagent): Service only ran for 5 seconds..." anymore on syslog.

Similar questions

1 reply

appstoreagent service exits with abnormal code 1 every ten seconds

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