7 Replies Latest reply: Nov 22, 2010 2:49 AM by ambarsaria
noreenjmc Level 1 Level 1 (0 points)
I'm trying to backup my iPhone on iTunes but I keep getting this error message:

iTunes could not back up the iPhone because the backup session failed.

I have tried numerous things to fix this but I can't - can anyone help???

HP, Windows Vista
  • 1. Re: Backup ERROR
    MagnusLoof Level 1 Level 1 (0 points)
    noreenjmc wrote:
    I'm trying to backup my iPhone on iTunes but I keep getting this error message:

    iTunes could not back up the iPhone because the backup session failed.

    I have tried numerous things to fix this but I can't - can anyone help???


    I have the same error. This prevents me from upgrading to iOS 4.0.1 etc.

    2010-08-05 14.01.15 [0x0-0xf8af8a].com.apple.iTunes[20491] Setting FD_CLOEXEC on all file descriptors
    2010-08-05 14.01.15 [0x0-0xf8af8a].com.apple.iTunes[20491] Initializing child but not closing any file descriptors...
    2010-08-05 14.01.15 [0x0-0xf8af8a].com.apple.iTunes[20491] Initializing
    2010-08-05 14.01.15 [0x0-0xf8af8a].com.apple.iTunes[20491] child but not closing any file descriptor
    2010-08-05 14.01.15 [0x0-0xf8af8a].com.apple.iTunes[20491] s...
    2010-08-05 14.01.15 kernel CODE SIGNING: csinvalidpage(0x100000000): p=31491[MDCrashReportToo] clearing CS_VALID
    2010-08-05 14.01.16 [0x0-0xf8af8a].com.apple.iTunes[20491] Setting FD_CLOEXEC on all file descriptors
    2010-08-05 14.01.16 [0x0-0xf8af8a].com.apple.iTunes[20491] Initializing child but not closing any file descriptors...
    2010-08-05 14.01.16 [0x0-0xf8af8a].com.apple.iTunes[20491] Initializing child
    2010-08-05 14.01.16 [0x0-0xf8af8a].com.apple.iTunes[20491] but not closing any file descriptors...
    2010-08-05 14.01.16 AppleMobileBackup[31492] WARNING: Backing up <guid>
    2010-08-05 14.01.16 [0x0-0xf8af8a].com.apple.iTunes[20491] 2010-08-05 14:01:16.795 AppleMobileBackup[31492:903] WARNING: Backing up <guid>
    2010-08-05 14.01.16 kernel CODE SIGNING: csinvalidpage(0x100000000): p=31492[AppleMobileBacku] clearing CS_VALID
    2010-08-05 14.01.18 /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/Current/Apple MobileDeviceHelper.app/Contents/Resources/AppleMobileBackup[31492] 31492:7356416|SocketStreamHandler.c:_SocketLogCallback| ERROR: SocketRecv (data): return of 0 bytes
    2010-08-05 14.01.18 /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/Current/Apple MobileDeviceHelper.app/Contents/Resources/AppleMobileBackup[31492] 31492:7356416|StreamHandler.c:_ReadFunc| ERROR: Error reading data: Can't read data
    2010-08-05 14.01.18 /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/Current/Apple MobileDeviceHelper.app/Contents/Resources/AppleMobileBackup[31492] 31492:7356416|DeviceLinkConnection.c:_DLCheckVersionForConnect| ERROR: Could not receive message: '(null)'
    2010-08-05 14.01.18 AppleMobileBackup[31492] ERROR: Connecting to device failed: Unknown error (com.apple.MobileBackup.ErrorDomain/201)
    2010-08-05 14.01.18 [0x0-0xf8af8a].com.apple.iTunes[20491] 2010-08-05 14:01:18.140 AppleMobileBackup[31492:903] ERROR: Connecting to device failed: Unknown error (com.apple.MobileBackup.ErrorDomain/201)
    2010-08-05 14.01.18 AppleMobileBackup[31492] ERROR: Backup error: -2
    2010-08-05 14.01.18 [0x0-0xf8af8a].com.apple.iTunes[20491] 2010-08-05 14:01:18.141 AppleMobileBackup[31492:903] ERROR: Backup error: -2
    2010-08-05 14.01.18 /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/Current/Apple MobileDeviceHelper.app/Contents/Resources/AppleMobileBackup[31492] 31492:7356416|SocketStreamHandler.c:_SocketLogCallback| ERROR: SocketSend (data): error 32: Broken pipe
    2010-08-05 14.01.18 /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/Current/Apple MobileDeviceHelper.app/Contents/Resources/AppleMobileBackup[31492] 31492:7356416|StreamHandler.c:_WriteFunc| ERROR: Error sending data: Can't send data
    2010-08-05 14.01.18 /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/Current/Apple MobileDeviceHelper.app/Contents/Resources/AppleMobileBackup[31492] 31492:7356416|DeviceLinkConnection.c:_DLHandlerThreadMessagePortCallback| ERROR: Could not send disconnect message: 'Error writing length of data'
    2010-08-05 14.01.18 AppleMobileBackup[31492] AMDServiceConnectionInvalidate (thread 0x100704000): shutdown(8) failed: Socket is not connected
    2010-08-05 14.01.18 [0x0-0xf8af8a].com.apple.iTunes[20491] Setting FD_CLOEXEC on all file descriptors
    2010-08-05 14.01.18 [0x0-0xf8af8a].com.apple.iTunes[20491] Initializing child but not closing any file descriptors...
    2010-08-05 14.01.18 [0x0-0xf8af8a].com.apple.iTunes[20491] Initializing
    2010-08-05 14.01.18 [0x0-0xf8af8a].com.apple.iTunes[20491] child but not closing any file descriptors...
  • 2. Re: Backup ERROR
    vorchun08 Level 1 Level 1 (0 points)
    Backup ERROR-I have the same error.
  • 3. Re: Backup ERROR
    john daniels Level 1 Level 1 (5 points)
    Same error messages. I've rebooted computer and phone and again with the phone attached.
  • 4. Re: Backup ERROR
    zeraphoto Level 1 Level 1 (0 points)
    I'm having a similar problem, only iTunes doesn't throw any errors, the whole system just bogs down during a sync, and I get kernel panic errors in the console logs such as this, even with a complete hard-core uninstall/reinstall of iTunes:

    8/11/10 10:59:57 PM iTunes[531] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    8/11/10 10:59:57 PM iTunes[531] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    8/11/10 11:00:24 PM [0x0-0x46046].com.apple.iTunes[531] Setting FD_CLOEXEC on all file descriptors
    8/11/10 11:00:24 PM [0x0-0x46046].com.apple.iTunes[531] Initializing child but not closing any file descriptors...
    8/11/10 11:00:24 PM [0x0-0x46046].com.apple.iTunes[531] Initializi
    8/11/10 11:00:24 PM [0x0-0x46046].com.apple.iTunes[531] ng child but not closing any file descriptors...
    8/11/10 11:00:31 PM [0x0-0x46046].com.apple.iTunes[531] Setting FD_CLOEXEC on all file descriptors
    8/11/10 11:00:31 PM [0x0-0x46046].com.apple.iTunes[531] Initializing child but not closing any file descriptors...
    8/11/10 11:00:31 PM [0x0-0x46046].com.apple.iTunes[531] Initializi
    8/11/10 11:00:31 PM [0x0-0x46046].com.apple.iTunes[531] ng child but not closing any file descriptors...
    8/11/10 11:00:31 PM kernel CODE SIGNING: csinvalidpage(0x100000000): p=543[MDCrashReportToo] clearing CS_VALID
    8/11/10 11:00:32 PM [0x0-0x46046].com.apple.iTunes[531] Setting FD_CLOEXEC on all file descriptors
    8/11/10 11:00:32 PM [0x0-0x46046].com.apple.iTunes[531] Initializing child but not closing any file descriptors...
    8/11/10 11:00:32 PM [0x0-0x46046].com.apple.iTunes[531] Initializing ch
    8/11/10 11:00:32 PM [0x0-0x46046].com.apple.iTunes[531] ild but not closing any file descriptors...
    8/11/10 11:00:32 PM AppleMobileBackup[544] WARNING: Backing up 1b99153241a2513eb80ac628f1e014e36d4c3037
    8/11/10 11:00:32 PM [0x0-0x46046].com.apple.iTunes[531] 2010-08-11 23:00:32.377 AppleMobileBackup[544:903] WARNING: Backing up 1b99153241a2513eb80ac628f1e014e36d4c3037
    8/11/10 11:00:32 PM kernel CODE SIGNING: csinvalidpage(0x100000000): p=544[AppleMobileBacku] clearing CS_VALID

    Eventually, sometimes, the thing syncs, but it takes a l-o-n-g time, as in the better part of an hour.

    This all started happening after I had problems with my iPhone 4 and an Apple Store tech did a complete restore on my phone. Again, I've already taken the desperate measure of completely uninstalling iTunes per Apple's KB article and reinstalling it, but the problem persists.

    Any suggestions as to how to make things work the way they used to, i.e., properly and smoothly, would be welcome.
  • 5. Re: Backup ERROR
    Mike Lowry Level 1 Level 1 (0 points)
    Hey I just noticed ::Initializing child but not closing any file descriptors:: in my log. Is this a problem you had to fix?
  • 6. Re: Backup ERROR
    zeraphoto Level 1 Level 1 (0 points)
    It's still happening, ...
  • 7. Re: Backup ERROR
    ambarsaria Level 1 Level 1 (110 points)
    try following

    a] remove any usb device except keyboard, mouse.
    b] try any other usb port
    c] remove any previous backups.

    open itunes>edit>preferences>device>select file>delete backup
    reset sync history


    d] install latest version of itunes
    e] disable any antivirus or firwall