It happened again. This time I was using Safari and iTunes started with music playing. I didn't have the Safari window maximized, so it remained on top. I exited iTunes. It restarted immediately. I exited again. It restarted again. I selected restart from the Apple menu. After rebooting, iTunes did not restart.
Attached is a log. iTunes first appears at 9:30:57, and again at 9:31:39, and again at 9:32:07. From 9:32:18 on, seems to be the restart sequence.
Below is a copy/paste of the sequence from one iTunes appearance to the next. It appears to be my iPod, which is the only USB device connected that would have a relationship with iTunes. This started happening with the installation of 10.11.6 and may be a bug or an issue with having had to restore from Time Machine during the issues I had with this Mac OS upgrade.
8/1/16 9:30:57.147 AM iTunes[2983] Entered:_AMMuxedVersion2DeviceConnected, mux-device:20
8/1/16 9:30:57.159 AM iTunes[2983] tid:907 - unable to query device capabilities
8/1/16 9:30:57.533 AM iTunes[2983] ApplePushService: APSConnection being used without a delegate queue
8/1/16 9:30:57.886 AM com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.MediaLibraryService.2985) Path not allowed in target domain: type = pid, path = /Library/Frameworks/iTunesLibrary.framework/Versions/A/XPCServices/com.apple.iTunesLibraryService.xpc error = 147: The specified service did not ship in the requestor's bundle, origin = /System/Library/Frameworks/MediaLibrary.framework/Versions/A/XPCServices/com.apple.MediaLibraryService.xpc
8/1/16 9:30:57.887 AM com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.MediaLibraryService.2985) Path not allowed in target domain: type = pid, path = /Library/Frameworks/iTunesLibrary.framework/Versions/A/XPCServices/com.apple.iTunesLibraryService.xpc error = 147: The specified service did not ship in the requestor's bundle, origin = /System/Library/Frameworks/MediaLibrary.framework/Versions/A/XPCServices/com.apple.MediaLibraryService.xpc
8/1/16 9:30:57.896 AM com.apple.SecurityServer[76] Session 100109 created
8/1/16 9:30:57.928 AM com.apple.usbmuxd[75] LOCKDOWN_V2_BONJOUR_SERVICE_NAME is _apple-mobdev2._tcp,91ca07d3
8/1/16 9:30:58.048 AM photolibraryd[441] Failed to open library Photos Library.photoslibrary Error: Error Domain=com.apple.lithium Code=325 "LiErrorLibraryRestoredFromTimeMachine" UserInfo={NSURL=file:///Users/herbvic/Pictures/Photos%20Library.photoslibrary/, NSLocalizedDescription=LiErrorLibraryRestoredFromTimeMachine}
8/1/16 9:30:58.049 AM com.apple.MediaLibraryService[2985] Unable to open system photo library. Error: Error Domain=com.apple.reddwarf Code=505 "RDErrorLibraryRestoredFromTimeMachine" UserInfo={NSURL=file:///Users/herbvic/Pictures/Photos%20Library.photoslibrary/, NSLocalizedDescription=RDErrorLibraryRestoredFromTimeMachine, NSUnderlyingError=0x7f934070c040 {Error Domain=com.apple.lithium Code=325 "LiErrorLibraryRestoredFromTimeMachine" UserInfo={NSURL=file:///Users/herbvic/Pictures/Photos%20Library.photoslibrary/, NSLocalizedDescription=LiErrorLibraryRestoredFromTimeMachine}}}
8/1/16 9:30:58.299 AM com.apple.usbmuxd[75] _SendAttachNotification Device 48:e9:f1:1f:91:59@fe80::4ae9:f1ff:fe1f:9159._apple-mobdev2._tcp.local. has already appeared on interface 4. Suppressing duplicate attach notification.
8/1/16 9:30:58.785 AM photolibraryd[441] Failed to open library Photos Library.photoslibrary Error: Error Domain=com.apple.lithium Code=325 "LiErrorLibraryRestoredFromTimeMachine" UserInfo={NSURL=file:///Users/herbvic/Pictures/Photos%20Library.photoslibrary/, NSLocalizedDescription=LiErrorLibraryRestoredFromTimeMachine}
8/1/16 9:30:58.786 AM com.apple.MediaLibraryService[2985] Unable to open system photo library. Error: Error Domain=com.apple.reddwarf Code=505 "RDErrorLibraryRestoredFromTimeMachine" UserInfo={NSURL=file:///Users/herbvic/Pictures/Photos%20Library.photoslibrary/, NSLocalizedDescription=RDErrorLibraryRestoredFromTimeMachine, NSUnderlyingError=0x7f93433296d0 {Error Domain=com.apple.lithium Code=325 "LiErrorLibraryRestoredFromTimeMachine" UserInfo={NSURL=file:///Users/herbvic/Pictures/Photos%20Library.photoslibrary/, NSLocalizedDescription=LiErrorLibraryRestoredFromTimeMachine}}}
8/1/16 9:30:59.347 AM com.apple.usbmuxd[75] _SendAttachNotification Device 48:e9:f1:1f:91:59@fe80::4ae9:f1ff:fe1f:9159._apple-mobdev2._tcp.local. has already appeared on interface 4. Suppressing duplicate attach notification.
8/1/16 9:30:59.347 AM com.apple.usbmuxd[75] _SendAttachNotification Device 48:e9:f1:1f:91:59@fe80::4ae9:f1ff:fe1f:9159._apple-mobdev2._tcp.local. has already appeared on interface 4. Suppressing duplicate attach notification.
8/1/16 9:31:34.658 AM WindowServer[172] _CGXRemoveWindowFromWindowMovementGroup: window 0x91d is not attached to window 0x91e
8/1/16 9:31:39.037 AM iTunes[2990] Entered:_AMMuxedVersion2DeviceConnected, mux-device:20
I think this one is solved. I'm not sure what to do about it, but at least I wasn't hacked.
![Cheers [cheers1]](https://athena.trixology.com/Smileys/default/food-smiley-004.gif)