Erased/Corrupted Library Database

Wow...
Hey everybody,
I opened up my computer and Itunes, and my library is no longer there... ITunes is empty.
My Ipod has everything on it, and my ITUNES music folder has all my mp3s, etc. in it.
I don't know why, but my Itunes Library file is only 6 kb... Usually it's much bigger, right?!!! I also see a TMP file "Temp File 3" in that folder that is close to 2 MB, and I'm wondering if that somehow has all my library information... and if there is a way to recover that information.
My worst case scenario would be to just add all the music folders into ITUNES, and I'd still have my music... But I would lose my organized playlists, playcounts, Date Added, etc... which I am really hesitant about doing!
I'd really appreciate it if anybody could tell me how to
either 1. recover whatever info is in that TMP file (which is dated 11:30 PM yesterday.... when i shut down my computer last) if it could be used to rebuild my library
2. a way to recover the info from IPOD (playlists, playcounts, Date added) to be used with all the music I already have in my folder...
My last library backup file is from September!!
THANKS IN ADVANCE>>> ~~~~~~~

These links will give you several methods of recovering whatever songs remain on your iPod; some free, some third-party software, some more comprehensive for restoring Playlists, Ratings, Play Counts, etc. Read them and their associated links before deciding on a strategy that works for you. There are many various third-party software programs that will offer a more robust process, or an easier GUI. Do a Google search for them if the links below leave you wanting…
Don King Resurrected: Deleted files from hard drive (free user steps – music recovery only)
MacMuse: Computer Crashed (free user steps – music recovery only)
Copying music from iPod to computer (a primer on various methods and software)
Copying Songs from Your iPod to a Mac or PC (resource for 3rd party software)
iPodRip Software (Free trial: Mac & Windows)
PodUtil Software (Mac & Windows)
YamiPod Software (Free: Mac & Windows)
PodPlus Software (Windows)
TuneJack Software (Windows)
Senuti (Mac OS X v10.3 or higher Recovery Utility)
XPlay (Windows software For Music Recovery &/or Cross-Platform Functionality)
XPlay Photo Browser (For recovering Photos)
Extremely Simple & Free Method: (just to recover the song files – may not work on a Mac)
1 - Open iTunes
2 - Edit=>Preferences=>’Advanced/General’ tab
2a --- Select ‘Copy files to iTunes Music folder when adding to library’: checked
2b --- Select ‘Keep iTunes Music folder organized’: checked
2c --- Click OK to store changes
3 - Attach your iPod to the PC and hold down the ‘Shift+Ctrl’ keys until the iPod is fully recognized (this will defeat the auto-sync process)
4 - If you get a dialog box to link the Library, decline this option
5 - Within iTunes: Edit=>Preferences=>’iPod’ tab: switch iPod to ‘Manually manage songs & playlists’ – click ‘OK’
6 – Eject iPod
7 – Close iTunes, then reopen iTunes and attach the iPod (it’s in manual sync now)
8 – File=>Add Folder
9 - Browse to and open ‘My Computer’ (click on the ‘+’) and select the iPod (or the lower ‘\iPod_Control’ sub-folder)
10 - Click OK
-- The music files should start to transfer back into iTunes with its correct information
–-- This will take some time depending on your PC’s speed and the amount of songs on the iPod
No Playlists, or Ratings, Last Played, & Play Count attributes will be transferred from the iPod to iTunes using this method.
If you have problems with seeing the iPod within 'My Computer', try again switching your update method to 'manual', detach the iPod, then reconnect the iPod to the PC.
After recovering your Library, strongly consider developing a thorough and frequent backup strategy for just this type of situation (and many other potential disasters).
You need at least two full sets of your music, not including what is on the iPod:
-- One full set on the PC within iTunes (on internal HD or ExHD)
-- One full set on an separate external backup medium (CD/DVD/ExHD/other)
-- One (full or partial) set on the iPod
Music files on just the iPod and only one other medium is not considered having any backup.
If you cannot store your complete music files on the computer’s internal HD, then create and maintain at least two external sets (any multiple combinations of ExHDs, DVDs, CDs).
Backup both the music files and the Library database file (iTunes Library.itl). What are the iTunes Library files?
Here is a post on developing a thorough backup strategy:
http://discussions.apple.com/message.jspa?messageID=1822938#1822938

Similar Messages

  • Library database error

    Hi, before giving details of my problem, I am using OS Lion and Aperture 3 with the latest updates.
    Yesterday I had problems with Aperture running very slowly, which eventually led to about 18 'crashes' and prompts to re-start my Macbook Pro.
    My problem became serious when Aperture wouldn't load up due to an error with the library database.
    I moved the corrupted library database out of the default location and re-started Aperture and a new library.
    My real problem is that within the corrupted database I have around 200 photo's from a wedding shoot that I can't access.
    As the official photographer at a friends daughters wedding this is giving me sleepless nights.
    Has anyone encountered this sort of problem and does anyone know whether the database can be fixed so I can access my photo's ?

    Typically, you would run the first two items in the 'First Aid' options (Repair Database and Repair Permissions) outlined at the following link:
    http://support.apple.com/kb/HT3805
    The Repair Database may sort the issue for you.
    Note - the third 'Rebuild Database' is not recommended until all other options have been exhausted and a backup copy of the library has been made. There have been mixed reports on the results in some cases, so a caution is warranted.
    Final note - double-clicking on the troubled library while pressing the 'Command + Option' keys will allow you to run the First Aid on that library.
    Let us know how it goes.
    Message was edited by: CorkyO2 to add final note.

  • Drive database is corrupted (library manager)

    Help,
    catxcr reporting:
    2011/04/29.16:17:00 (amh) qdv__automount_in_mh VTL01-RS252-T01 at 2011/04/29.16:17:00, flags 0x100
    2011/04/29.16:17:00 (amh) mount volume options list contains:
    2011/04/29.16:17:00 (amh) vtype 3 (app), vid (null), vs_create 0, family RMAN30PROD, retain (null), size 0, mediainfo 2, scratch 0
    2011/04/29.16:17:01 (amh) can't open qlm connection - drive database is corrupted (library manager)
    2011/04/29.16:17:01 ---
    2011/04/29.16:17:01 No volume could be found in VTL01 (for drive VTL01-RS252-T01) to use for job oracle/6084.1.
    2011/04/29.16:17:01 The problem using VTL01-RS252-T01 and the volume it contains, if any, is
    2011/04/29.16:17:01 drive database is corrupted (library manager)
    obtool lsvol -L VTL01 fails with
    Error: unable to open qlm connection - drive database is corrupted
    Changes today - added a new mediaserver host and drives to this library. lsdev, lshost, pingdev all seem to work fine.
    Please help,
    Rich

    Thanks.
    [root@lnx663 device]# obtool --version
    obtool version 10.3.0.3.0 (linuxamd64) -- Thu Aug 19 11:35:26 PDT 2010
    Copyright (c) 1992, 2010, Oracle. All rights reserved.
    linux redhat hosts, VTL from Falconstor emulating IBM library and drives.
    output of 'obtool lsdev -lvg" is very large. Is there a way to upload a file. The file begins like this:
    [root@lnx663 oracle]# more lsdev20110429.lst
    VTL01:
    Device type: library
    Model: IBM
    Serial number: 0012378291130401
    In service: yes
    Debug mode: no
    Barcode reader: yes
    Barcodes required: yes
    Auto clean: no
    Clean interval: (not set)
    Clean using emptiest: yes
    Unload required: no
    Ejection type: manual
    Min writable volumes: 0
    UUID: 359240fc-05f1-102c-8ebe-000e0ca19ece
    Attachment 1:
    Host: lnx663
    Raw device: /dev/sg6
    ST lun: 0
    Connection type: SCSI
    Inquiry data:
    Vendor: IBM
    Product: 03584L22
    Firmware: 2460
    Serial number: 0012378291130401
    Element counts / addresses:
    2 mte: 1 - 2
    4096 se : 1025 - 5120
    10 iee: 769 - 778
    106 dte: 257 - 362
    Moves:
    From mte, to: mte 0 se 1 iee 1 dte 1
    From se, to: mte 0 se 1 iee 1 dte 1
    From iee, to: mte 0 se 1 iee 1 dte 1
    From dte, to: mte 0 se 1 iee 1 dte 1
    Ok_ops: move=1, reserve=1 sense_dev=1, sense_ele=1, unload_any=1, sense_dev_range=1
    Device characteristics: two_d=0, is_120=0, fake_mte=1, fake_iee=0, one_target=0
    State of barcode reader: present
    Display: none
    Dte 1: target 1 lun 0 name VTL01-T01 (raw device name /dev/sg7)
    warning: dte 1 may be misconfigured; (on bus 0) is at target 0, lun 5,
    which doesn't match the information provided by the library.
    Dte 2: target 1 lun 0 name VTL01-T02 (raw device name /dev/sg8)
    warning: dte 2 may be misconfigured; (on bus 0) is at target 0, lun 5,
    which doesn't match the information provided by the library.
    Dte 3: target 1 lun 0 name VTL01-T03 (raw device name /dev/sg9)
    warning: dte 3 may be misconfigured; (on bus 0) is at target 0, lun 5,
    which doesn't match the information provided by the library.
    Dte 4: target 1 lun 0 name VTL01-T04 (raw device name /dev/sg10)
    warning: dte 4 may be misconfigured; (on bus 0) is at target 0, lun 5,
    which doesn't match the information provided by the library.
    Dte 5: target 1 lun 0 name VTL01-T05 (raw device name /dev/sg11)
    warning: dte 5 may be misconfigured; (on bus 0) is at target 0, lun 5,
    which doesn't match the information provided by the library.
    Dte 6: target 1 lun 0 name VTL01-T06 (raw device name /dev/sg12)
    warning: dte 6 may be misconfigured; (on bus 0) is at target 0, lun 5,
    which doesn't match the information provided by the library.
    Dte 7: target 1 lun 0 name VTL01-T07 (raw device name /dev/sg13)
    warning: dte 7 may be misconfigured; (on bus 0) is at target 0, lun 5,
    which doesn't match the information provided by the library.
    Dte 8: target 1 lun 0 name VTL01-T08 (raw device name /dev/sg14)
    warning: dte 8 may be misconfigured; (on bus 0) is at target 0, lun 5,
    which doesn't match the information provided by the library.
    Dte 9: target 1 lun 0 name VTL01-T09 (raw device name /dev/sg15)
    warning: dte 9 may be misconfigured; (on bus 0) is at target 0, lun 5,
    which doesn't match the information provided by the library.
    Dte 10: target 1 lun 0 name VTL01-T10 (raw device name /dev/sg16)
    warning: dte 10 may be misconfigured; (on bus 0) is at target 1, lun 5,
    which doesn't match the information provided by the library.
    Dte 11: target 1 lun 0 name VTL01-T11 (raw device name /dev/sg17)
    warning: dte 11 may be misconfigured; (on bus 0) is at target 1, lun 5,
    which doesn't match the information provided by the library.
    Dte 12: target 1 lun 0 name VTL01-T12 (raw device name /dev/sg18)
    warning: dte 12 may be misconfigured; (on bus 0) is at target 1, lun 5,
    which doesn't match the information provided by the library.
    Dte 13: target 1 lun 0 name VTL01-LNX632-T01 (raw device name /dev/sg85)
    warning: dte 13 may be misconfigured; (on bus 0) is at target 5, lun 5,
    which doesn't match the information provided by the library.
    Rich

  • My iphoto library database was corrupted with one file taking over all images i purchased aperture, selected no for importing duplicates and yet it is still importing duplicates what can i do??????

    my iphoto library database was corrupted with one image taking over every other image on the database
    i purchased aperture and am in the process of copying my i photo library , i ticked no to importing duplicate images and yet it is still importing many duplicates including the photo which took over my old iphoto library
    help how can i stop it from importing the duplicates?

    my iphoto library database was corrupted with one image taking over every other image on the database
    What exactly do you mean by that? Do you mean one thumbnail only was visible in the iPhoto Window? What? This is the sort of thing that's fixed easily by an iPhoto rebuild. Gives us some more information and we may be able to help with that - iPhoto version and a description of exactly what's happening will help.
    i ticked no to importing duplicate images and yet it is still importing many duplicates including the photo which took over my old iphoto library
    A couple of thoughts here: If the iPhoto Library is corrupted and Aperture is importing from this damaged Library well you can't expect that it will all go easily, can you?
    The iPhoto Library contains two versions of edited photos. Are you sure that you're not seeing the second version?
    Regards
    TD

  • Library database with no media

    I reverted the OS from Yosemite to Mavericks so my internal HD was erased (have subsequently returned to Yosemite, that’s another story!). My iTunes Media Folder is now empty. My content still lists in iTunes but none of the media files remain.
    Can someone help me with the correct terminology:
      My items are still "in iTunes" (still in the iTunes Library database), right?
      The media is "missing"?
    To rebuild, I have 2 separate tasks: re-rip CDs I possess and restore Store purchases I have made.
    My questions:
      To avoid duplication of items as I re-rip, it seems wise to delete original items from iTunes. I don’t anticipate deleting the iTunes Library file because I would like to preserve playlists and other metadata. Would a re-ripped song re-appear in the playlist its predecessor was in?
      How is a "missing" purchased item affected if I delete it or keep it in iTunes? Will redownloading from the Store be easier if it is still "in iTunes"? Will redownloading previous purchases still be possible if I delete purchased items from the iTunes Library? I have attempted a few redownloads but the download cloud icon is fussy, doesn’t appear without several clicks. Would it work more smoothly if I deleted purchased items from the Library (my assumption is that they persist in my Store account even if deleted from iTunes)?

    You need to learn iTunes is a bunch of files and support folders.  Essentially it is two things. It is your media. It is the library file. When you add a file to iTunes the application moves a copy of the file into a media folder and makes a note of the location of that specific file in its database. From that point on iTunes does not keep track of the file. It assumes the information it has for the file in the database is correct.  Generally if something happens to the file the most iTunes will do is report a broken link.  iTunes does not see your files as music. To iTunes is is just a file and you could have 20 copies and iTunes will think they are all different and handle each one separately (but you would see them as duplicates).  That is why iTunes will not re-link to replaced media files unless you do it yourself (slow) or it can do it in bulk by looking at the location of one and rebuilding the others assuming that its basic location information (file name and path) is correct.
    What are the iTunes library files? - http://support.apple.com/kb/HT1660
    More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
    Where are my iTunes files located? - http://support.apple.com/kb/ht1391
    iTunes 9 [and later]: Understanding iTunes Media Organization - http://support.apple.com/kb/ht3847 - plus supplemental information about organizing to new structure https://discussions.apple.com/message/26404702#26404702
    Are you absolutely positive you lost all your media? It is not uncommon (especially where something radical has happened such as a downgrade) for the library file to lose the links to media files, but they are still there.

  • Corrupted iPhoto database (thanks a lot mobileme!)

    Following a stalled mobileme upload where iphoto locked up and couldn't even be force quited, I have a corrupted iPhoto )* database and can't see the last two years of photo's.
    There files are thankfully still all there in the appropriate "originals", "modified" and "data" files but iphoto can't SEE them to open them.
    I tried rebuilding the library but still no go. Dragging the files into my back up iphoto library (which covers up until last month) preserves all the metadata, which is a relief.
    HOWEVER, I have just returned to the UK with about 2000 shots from a US trip, and I will potentially lose the hours I have spent editing these shots. I could merge the original and modified files before re-importing but that is going to be very laborious....
    So my question is, is there an easy way to repair the library database without having to re-import??
    Any help/suggestions greatly received!
    p.s. mobileme iPhoto syncing has DESTROYED the previous stability and usability of the web gallery feature..... This is the buggiest bit of software tech I have seen as a 20 year plus mac user!
    Message was edited by: kiwifiz

    kiwifiz:
    To recover for a damaged dB file if you run into a similar problem in the future see the tip at the end of my signature.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • Repair corrupt mailbox database

    I have a standalone Exchange 2010 server (virtual server in vmware) with a corrupt mailbox database.  The server (VMDK file) resides in a vmware HA cluster fiber connected to a SAN.  The SAN experienced a hard drive failure (RAID 5 volume which
    contained Exchange server).  Replaced the hard drive and the volume rebuilt without error.  However,
    after the rebuild the Mailbox database started blowing errors about being corrupt.  I ran a chkdsk /f /r on both the C: and D: drives.  C: drive was clean.  Chkdsk on D: reported that
    Windows replaced bad clusters in the file mbdata1.edb (mailbox database) file.
    I can see the following errors:
    ESE Event 474, 2007
    ExchangeStoreDB Event 203, 233
    Storage Group Consistency Check Event 254, 306, 401, 403 and 405
    MSExchangeIS Event 9782
    I ran an integrity check (ESEUTIL /g) which completed with errors:
    Integrity check completed.
    Database is CORRUPTED, the last full backup of this database was on 12/17/2011 08:44:37
    Operation terminated with error -1206 (JET_errDatabaseCorrupted, Non database file or corrupted db) after 631.407 seconds.
    I am finding [what seems to me to be] conflicting information on how to proceed.  It seems that I can attempt repair of the DB (using eseutil and isinteg) and risk possible additional damage to the file or create a new mailbox database and move
    the mailboxes to the new database.
    Looking for advice on how to proceed.

    Good suggestions from Simon and a few additional points
    1. Before doing any of the following I would ensure I made a complete backup of the appropriate files  i.e. the EDB as well as the VMDK to ensure you have the possibility to do a rollback if needed.
    2. Since this is a VMware system I would suggest to you verify the VMDK is without issue and there are different methods for this dependent upon the version of VMware that you are running.  Just do a search in Google for something like "how to verify
    a VMDK file"
    3. ISinteg is no longer around in Exchange 2010 so the most you can do is to run eseutil  to attempt to repair the EDB and if that did work you would need to do a move mailbox which has integrity checking built in as part of the move process
    4. That said IF the database is still online and accessible I would suggest that you;
    A: Create a NEW/FRESH VMDK
    B:  Then create a new DB on the NEW/FRESH VMDK
    C: Start moving mailboxes from the old EDB into the new EDB. NOTE: You may want to temporarily enable circular logging during the move process to avoid log build up and then turn it off post process and get a new backup.
    D: If you encounter errors in moving any mailboxes I would go on to the next and move all of them that you can and then come back and address     the problem mailboxes.
    E: if they all move then you can kill off the old EDB.
    F: of course you will also want to modify your backup process to protect the new EDB
    The other option as Simon pointed out would be to;
    A: Take the DB offline and copy it off to a safe place
    B: Recover from your last known good backup
    C: Then take that copy of the database that you have, make a new copy and use the MS Recovery DB process
    http://technet.microsoft.com/en-us/library/dd876954.aspx or a 3rd party product like Lucid8's DigiScope
    http://www.lucid8.com/product/digiscope.asp to open the old damaged offline database so that you can merge the delta data into the restored database in the Production Exchange Server.
    Troy Werelius
    www.Lucid8.com
    Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline EDB's and Live Exchange Servers with Lucid8's DigiScope

  • Itunes erased my library, how do I get it back?

    I had my Itunes open when my computer froze and force quit out of it using task manager. When I opened Itunes up again all the music had been erased. I tried restarting my computer to see if I could get the music back and had no luck. I'm wondering how I can solve this issue and recover all my music? Thanks

    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps youshouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

  • I tried to update itunes and now it won't open, how do I fix it?  Will uninstalling and reinstalling erase my library?

    I tried to update itunes and now it won't open, how do I fix it?  Will uninstalling and reinstalling erase my library?

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Aperture wont open and says "repairing library database" even when 100% complete it still wont open

    my aperture won't open and says "repairing library database"  even when it gets up to 100% complete it just suts there frozen and won't open to the aperture screen

    How many Images?  How much storage space does the Library occupy?  Do you have plenty of free space on your system drive?
    Ignore the progress bar — it's often stuck, and therefore unreliable.
    Ignore Activity Monitor reporting Aperture "Not Responding".  This is, imho, a bug Apple should have squashed years ago.
    Repairing (or doing any operations an entire Library) a large Library can take hours or days.  You did not report what you did to get past 79% — I'm going to guess you Force-quit Aperture.  Force-quitting any database is always a bad idea and should only be done as a last resort.  Each time you force quit, you are likely adding to your problem.
    Restart the rebuild, and let it run, unmolested, for at least 40 hours.  IME, at some point the progress bar with jump to 99%, then 100%, and then stay there for perhaps a few more hours, and then it finishes.
    I have _never_ had a repair or a rebuild (I have not had to do many rebuilds) _not_ finish.  One took about 82 hours, but it finished.
    If your Library is small — say, fewer than 100,000 Images _and_ smaller than 100 GB — and you're seeing these very long rebuild times, you likely have an actual problem — but the only way I know to find out is to let the rebuild continue.  (I don't store any but small video in Aperture, and very few of them, so my numbers may not correspond to Libraries that store videos.)
    Did you notice any other problems before Aperture itself recommended rebuilding?
    In short: let it run unmolested.

  • Missing files - corrupt library after upgrade to 11.1.4

    I updated iTunes to 11.1.4, and after launching, it looked like it was updating my library as it's done in the past.  However, this time, after an hour I realized it had not yet completed, and a dialogue box asking about creating an iTunes U playlist was on the screen.  I tried to do so, but it just kept repeating.  So finally I stopped it, and now I have an file marked iTunes library (damaged) and an incomplete library.  I am missing thousands of songs compared to the last .itl I have in Previous iTunes Libraries.
    I thought when iTunes did an upgrade to the library it was supposed to make a backup? If so, and I did the upgrade yesterday, why is the most recent file in Previous iTunes Libraries dated from four months ago?
    How can I repair the damaged .itl file, as the one iTunes is using now as, as I mentioned, missing thousands of songs now.
    Is there any sort of script or utility I can use to figure out exactly which files are missing from the current .itl in my library? 
    Thanks in advance. 

    I thought when iTunes did an upgrade to the library it was supposed to make a backup? If so, and I did the upgrade yesterday, why is the most recent file in Previous iTunes Libraries dated from four months ago?
    No, you need to do the backup as part of regular computer maintenance and before you do any software upgrades.  iTunes moves the old library into the previous library area but perhaps your update failed before it did that.
    How can I repair the damaged .itl file, as the one iTunes is using now as, as I mentioned, missing thousands of songs now.
    https://discussions.apple.com/message/20401436 - turingtest2 11/2012 post on rebuilding empty/corrupt library after upgrade/crash from previous iTunes library file.
    iTunes: How to re-create your iTunes library and playlists - http://support.apple.com/kb/ht1451
    Is there any sort of script or utility I can use to figure out exactly which files are missing from the current .itl in my library?
    Yes, there's one on the Dougscripts web site that will crawl through a library.  In yur case it's probably just as easy to drag the whole iTunes media folder to Automatically Add to iTunes.  Anything already in the library it will ignore.  Anything not there it will add.

  • Installing 6.0.3.5 erases iTunes Library?

    I just installed the 6.0.3.5 update today, as I have done successfully with many previous updates. While installing, the install process opened a new version of iTunes where no files showed in the library, then I got an install error message telling me that iTunes was running and needed to be closed for the install to continue.
    Did that, install completed, but now when I run iTunes, only the new version with no music in it comes up.
    Has my iTunes Music Library.xml file been overwritten? I did a search on my hard drive for the file, and the only current one I can find seems to be time-stamped at the time of the install.
    PLEASE tell me there's a way to get the old one back! I have spent so much time adding info to the library file... star ratings, album art...

    These links will give you several methods of recovering whatever information remains on your iPod; some free, some third-party software, some more comprehensive for restoring Playlists, Ratings, Play Counts, etc. Read them and their associated links before deciding on a strategy that works for you. There are many various third-party software programs that will offer a more robust process, or an easier GUI. Do a Google search for them if the links below leave you wanting…
    Don King Resurrected: Deleted files from hard drive (free user steps – music recovery only)
    MacMuse: Computer Crashed (free user steps – music recovery only)
    Copying music from iPod to computer (a primer on various methods and software)
    Copying Songs from Your iPod to a Mac or PC (resource for 3rd party software)
    iPodRip Software
    PodUtil Software
    YamiPod Software (Mac & Windows)
    PodPlus Software (Windows)
    TuneJack Software (Windows)
    Senuti (Mac OS X v10.3 or higher Recovery Utility)
    XPlay (Windows software For Music Recovery &/or Cross-Platform Functionality)
    XPlay Photo Browser (For recovering Photos)
    After recovering your Library, strongly consider developing a thorough backup strategy for just this type of situation (and many other potential disasters).
    You need at least two full sets of your music, not including what is on the iPod:
    -- One full set on the PC within iTunes (on internal HD or ExHD)
    -- One full set on an separate external backup medium (CD/DVD/ExHD/other)
    -- One (full or partial) set on the iPod
    Music files on just the iPod and only one other medium is not considered having any backup.
    If you cannot store your complete music files on the computer’s internal HD, then create and maintain at least two external sets (any multiple combinations of ExHDs, DVDs, CDs).
    Backup both the music files and the Library database file (iTunes Library.itl). What are the iTunes Library files?
    Here is a post on developing a thorough backup strategy:
    http://discussions.apple.com/message.jspa?messageID=1583994#1583994

  • Does iTunes match need to locate the actual files or just see its record in your library database? I am currently traveling in US and I have US and Australian iTunes accounts. But all my music files are on a hard drive in Australia.

    Does iTunes match need to locate the actual files or just see its record in your library database? I am currently traveling in US and I have US and Australian iTunes accounts. But all my music files are on a hard drive in Australia. Can I start using itunes music match while I am travelling without the actual music files attached to my itunes?

    In your situation I strongly recommend you read over that KB article. The international iTunes Stores are not cross-compatible.
    My understanding of how it would work is that when activating iTunes Match on your US Store account, any songs you have in your iTunes Library that were purchased from the AUS Store account will NOT be matched. As I understand it, those files will be uploaded (which means you need the files on a local HDD). I also do not think it is possible to have iTunes Match active on more than one store ID on the same computer. But since iTunes Match is not available internationally yet, that point is moot for the moment.
    To be honest you might want to wait until the service is available internationally so you can guage how will it will serve you.

  • ITunes erased my library(!!?!), I put everything back and iTunes is now saying my iPhone 4 is not synced to my library any more. This also happened with my iPod Touch and now iTunes will not update, resync and put all my music back.

    I have never used another computer to sync my phone or ipod too. I do not want to lose everything. I am quite frankly at the end of my rope and thoroughly regret the fact that I am stuck with an iphone 4 for 2 years.
    Someone, anyone...help??!

    Sounds like you've taken the wrong course of action after a missing library error. Ideally you would have just restored a backup at the first sign of trouble.
    Each iTunes library contains a unique ID that is also recorded in any device that syncs with it. After your rebuild the two IDs won't match so iTunes will try to treat the devices as "new".
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    Alternatively, for each device...
    You should be able to transfer your purchases into a newly authorised library, backup the device, recover any non-store purchased media with the tips in  this post from forum regular Zevoneer, (skip this if you've already got all the media) then restore the device from the backup you just made. That should  preserve all your data and switch the assocation of the device to the new library. I've had positive feedback on this method from other users but I've never had to test it personally.
    tt2
    Message was edited by: turingtest2

  • Drive not found in library database

    Greetings.
    I'm new to OSB and am having tape drive, volume problems.
    File system backups only complete successfully when drive (IBM4_0_0_1_1) is used. When OSB attempts to use other drives in the library it logs the following errors listed in "Transcript".
    I'm running OSB (10.4.0.3.0) on a Linux server (Oracle Linux Server release 6.0) with a SL500 library controller by a ACSLS(8.3.0) server.
    Please advise.
    Transcript:
    2014/04/23.11:44:01 ______________________________________________________________________
      2014/04/23.11:44:01
      2014/04/23.11:44:01 Transcript for job admin/83.1 running on x4440a
      2014/04/23.11:44:01
      2014/04/23.11:44:01 ---
      2014/04/23.11:44:01 No volume could be found in SL500 (for drive HP6_0_0_3_1) to use for job admin/83.1.
      2014/04/23.11:44:01 The problem using HP6_0_0_3_1 and the volume it contains, if any, is
      2014/04/23.11:44:01 drive not found in library database (library manager)
      2014/04/23.11:45:01 ______________________________________________________________________
      2014/04/23.11:45:01
      2014/04/23.11:45:01 Transcript for job admin/83.1 running on x4440a
      2014/04/23.11:45:01
      2014/04/23.11:45:01 ---
      2014/04/23.11:45:01 No volume could be found in SL500 (for drive HP5_0_0_2_4) to use for job admin/83.1.
      2014/04/23.11:45:01 The problem using HP5_0_0_2_4 and the volume it contains, if any, is
      2014/04/23.11:45:01 drive not found in library database (library manager)
      2014/04/23.11:46:01 ______________________________________________________________________
      2014/04/23.11:46:01
      2014/04/23.11:46:01 Transcript for job admin/83.1 running on x4440a
      2014/04/23.11:46:01
      2014/04/23.11:46:01 ---
      2014/04/23.11:46:01 No volume could be found in SL500 (for drive IBM5_0_0_1_2) to use for job admin/83.1.
      2014/04/23.11:46:01 The problem using IBM5_0_0_1_2 and the volume it contains, if any, is
      2014/04/23.11:46:01 drive not found in library database (library manager)
      2014/04/23.11:48:01 ______________________________________________________________________
      2014/04/23.11:48:01
      2014/04/23.11:48:01 Transcript for job admin/83.1 running on x4440a
      2014/04/23.11:48:01
      2014/04/23.11:48:01 ---
      2014/04/23.11:48:01 No volume could be found in SL500 (for drive HP4_0_0_2_2) to use for job admin/83.1.
      2014/04/23.11:48:01 The problem using HP4_0_0_2_2 and the volume it contains, if any, is
      2014/04/23.11:48:01 drive not found in library database (library manager)
      2014/04/23.11:49:01 ______________________________________________________________________
      2014/04/23.11:49:01
      2014/04/23.11:49:01 Transcript for job admin/83.1 running on x4440a
      2014/04/23.11:49:01
      2014/04/23.11:49:01 ---
      2014/04/23.11:49:01 No volume could be found in SL500 (for drive IBM5_0_0_2_1) to use for job admin/83.1.
      2014/04/23.11:49:01 The problem using IBM5_0_0_2_1 and the volume it contains, if any, is
      2014/04/23.11:49:01 drive not found in library database (library manager)
      2014/04/23.11:50:01 ______________________________________________________________________
      2014/04/23.11:50:01
      2014/04/23.11:50:01 Transcript for job admin/83.1 running on x4440a
      2014/04/23.11:50:01
      2014/04/23.11:50:01 ---
      2014/04/23.11:50:01 No volume could be found in SL500 (for drive HP5_0_0_2_3) to use for job admin/83.1.
      2014/04/23.11:50:01 The problem using HP5_0_0_2_3 and the volume it contains, if any, is
      2014/04/23.11:50:01 drive not found in library database (library manager)
      2014/04/23.12:00:01 ______________________________________________________________________
      2014/04/23.12:00:01
      2014/04/23.12:00:01 Transcript for job admin/83.1 running on x4440a
      2014/04/23.12:00:01
      2014/04/23.12:00:01 ---
      2014/04/23.12:00:01 No volume could be found in SL500 (for drive HP6_0_0_3_1) to use for job admin/83.1.
      2014/04/23.12:00:01 The problem using HP6_0_0_3_1 and the volume it contains, if any, is
      2014/04/23.12:00:01 drive not found in library database (library manager)
      2014/04/23.12:01:01 ______________________________________________________________________
      2014/04/23.12:01:01
      2014/04/23.12:01:01 Transcript for job admin/83.1 running on x4440a
      2014/04/23.12:01:01
      2014/04/23.12:01:01 ---
      2014/04/23.12:01:01 No volume could be found in SL500 (for drive HP5_0_0_2_4) to use for job admin/83.1.
      2014/04/23.12:01:01 The problem using HP5_0_0_2_4 and the volume it contains, if any, is
      2014/04/23.12:01:01 drive not found in library database (library manager)
      2014/04/23.12:01:24 ______________________________________________________________________
      2014/04/23.12:01:24
      2014/04/23.12:01:24 Transcript for job admin/83.1 running on x4440a
      2014/04/23.12:01:24
      2014/04/23.12:01:25 ---
      2014/04/23.12:01:25 No volume could be found in SL500 (for drive IBM5_0_0_1_2) to use for job admin/83.1.
      2014/04/23.12:01:25 The problem using IBM5_0_0_1_2 and the volume it contains, if any, is
      2014/04/23.12:01:25 drive not found in library database (library manager)
      2014/04/23.12:04:01 ______________________________________________________________________
      2014/04/23.12:04:01
      2014/04/23.12:04:01 Transcript for job admin/83.1 running on x4440a
      2014/04/23.12:04:01
      2014/04/23.12:04:01 ---
      2014/04/23.12:04:01 No volume could be found in SL500 (for drive HP4_0_0_2_2) to use for job admin/83.1.
      2014/04/23.12:04:01 The problem using HP4_0_0_2_2 and the volume it contains, if any, is
      2014/04/23.12:04:01 drive not found in library database (library manager)
      2014/04/23.12:05:01 ______________________________________________________________________
      2014/04/23.12:05:01
      2014/04/23.12:05:01 Transcript for job admin/83.1 running on x4440a
      2014/04/23.12:05:01
      2014/04/23.12:05:01 ---
      2014/04/23.12:05:01 No volume could be found in SL500 (for drive IBM5_0_0_2_1) to use for job admin/83.1.
      2014/04/23.12:05:01 The problem using IBM5_0_0_2_1 and the volume it contains, if any, is
      2014/04/23.12:05:01 drive not found in library database (library manager)
      2014/04/23.12:05:21 ______________________________________________________________________
      2014/04/23.12:05:21
      2014/04/23.12:05:21 Transcript for job admin/83.1 running on x4440a
      2014/04/23.12:05:21
      Backup started on Wed Apr 23 2014 at 12:05:51
      Volume label:
      Volume tag: LEV018
      Volume UUID: 203f144a-ad72-1031-9e4c-002128001bbe
      Volume ID: mf_2min-000025
      Volume sequence: 1
      Volume set owner: root
      Volume set created: Wed Apr 23 12:05:51 2014
      Volume set expires: Wed Apr 23 12:07:51 2014
      Media family: mf_2min
      Original UUID: 203f144a-ad72-1031-9e4c-002128001bbe
      Archive label:
      File number: 1
      File section: 1
      Owner: root
      Client host: x4440a
      Backup level: 0
      S/w compression: no
      Archive created: Wed Apr 23 12:05:51 2014
      Encryption: off
      Dumping all files in /etc
      Backup complete on Wed Apr 23 2014 at 12:06:03
      Backup statistics:
      status 0
      devices IBM4_0_0_1_1
      devices 1
      volumes mf_2min-000025
      voltags LEV018
      file 1
      host x4440a
      encryption off
      start_time Wed Apr 23 2014 at 12:05:51 (1398276351)
      end_time Wed Apr 23 2014 at 12:06:06 (1398276366)
      backup_time Wed Apr 23 2014 at 12:05:51 (1398276351)
      entries_scanned 3373
      kbytes_scanned 40556
      entries_excluded 0
      entries_skipped 0
      mount_points_skipped 0
      files 2047
      directories 315
      hardlinks 0
      symlinks 1011
      sparse_files 0
      filesys_errors 0
      unknown_type 0
      file_kbytes 39264
      dev_kbytes 35977
      dev_iosecs 2
      dev_iorate 18.4 MB/S
      wrt_iosecs 15
      wrt_iorate 2.5 MB/S
      physical_blks_written 1102
      write_errors 0
      physical_blks_read 2
      read_errors 0
      error_rate 0%
      path /etc completed, status 0
    [root@x4440a backup]# obtool lsdev -lvg
    SL500:
         Device type:            library (ACSLS)
         In service:             yes
         Debug mode:             no
         Barcode reader:         yes
         Barcodes required:      yes
         Unload required:        yes
         Ejection type:          auto
         Min writable volumes:   0
         UUID:                   e0b58224-a1a4-1031-8c0f-002128001bbe
         Attachment 1:
             Host:               x4440a
             ACSLS server:       v215f
             ACSLS port:         0
             ACS id:             0
             ACSLS access id:    acsss
         Reservation 1:
             Component:          obacslibd
             Host:               x4440a
             Process:            32195
         Element counts / addresses:
            10 mte: 1 - 10
           281 se : 1 - 281
             1 iee: 1
             1 dte: 1
         Moves:
            From mte, to: mte 0   se 0   iee 0   dte 0
            From  se, to: mte 0   se 0   iee 1   dte 1
            From iee, to: mte 0   se 0   iee 0   dte 0
            From dte, to: mte 0   se 1   iee 0   dte 0
         Ok_ops: move=1, reserve=1 sense_dev=1, sense_ele=0, unload_any=1, sense_dev_range=0
         State of barcode reader: enabled
    IBM4_0_0_1_1:
         Device type:            tape (ACSLS)
         In service:             yes
         Library:                SL500
         LSM:                    0
         Panel:                  1
         Drive:                  1
         Automount:              yes
         Error rate:             8
         Query frequency:        131072KB (134217728 bytes) (from driver)
         Debug mode:             no
         Blocking factor:        (default)
         Max blocking factor:    (default)
         Current tape:           [unknown]
         Drive usage:            14 minutes, 58 seconds
         UUID:                   179eb954-a1a5-1031-8c0f-002128001bbe
         Attachment 1:
             Host:               x4440a
             Raw device:         /dev/sg18
         Connection type:        SCSI
         Inquiry data:
             Vendor:             IBM
             Product:            ULTRIUM-TD4
             Firmware:           C7Q0
             Serial number:      1310127325
         Tape state:             offline
         Hardware compression:   on
         Last read was:          uncompressed
         Hardware encryption:    available
         Maximum block size:     2097152
    IBM5_0_0_2_1:
         Device type:            tape (ACSLS)
         In service:             yes
         Library:                SL500
         LSM:                    0
         Panel:                  2
         Drive:                  1
         Automount:              yes
         Error rate:             8
         Query frequency:        131072KB (134217728 bytes) (from driver)
         Debug mode:             no
         Blocking factor:        (default)
         Max blocking factor:    (default)
         Current tape:           [unknown]
         Drive usage:            [not set]
         UUID:                   7498ff66-a1a5-1031-8c0f-002128001bbe
         Attachment 1:
             Host:               x4440a
             Raw device:         /dev/sg16
         Connection type:        SCSI
         Inquiry data:
             Vendor:             IBM
             Product:            ULTRIUM-TD5
             Firmware:           D8D4
             Serial number:      1168002114
         Tape state:             offline
         Hardware compression:   on
         Last read was:          uncompressed
         Hardware encryption:    available
         Maximum block size:     2097152
    HP6_0_0_3_1:
         Device type:            tape (ACSLS)
         In service:             yes
         Library:                SL500
         LSM:                    0
         Panel:                  3
         Drive:                  1
         Automount:              yes
         Error rate:             8
         Query frequency:        131072KB (134217728 bytes) (from driver)
         Debug mode:             no
         Blocking factor:        (default)
         Max blocking factor:    (default)
         Current tape:           [unknown]
         Drive usage:            [not set]
         UUID:                   cd20d3fc-a1a5-1031-8c0f-002128001bbe
         Attachment 1:
             Host:               x4440a
             Raw device:         /dev/sg21
         Connection type:        SCSI
         Inquiry data:
             Vendor:             HP
             Product:            Ultrium 6-SCSI
             Firmware:           J39S
             Serial number:      HU1233PPNN
         Tape state:             offline
         Hardware compression:   on
         Last read was:          uncompressed
         Hardware encryption:    available
         Maximum block size:     2097152
    IBM5_0_0_1_2:
         Device type:            tape (ACSLS)
         In service:             yes
         Library:                SL500
         LSM:                    0
         Panel:                  1
         Drive:                  2
         Automount:              yes
         Error rate:             8
         Query frequency:        131072KB (134217728 bytes) (from driver)
         Debug mode:             no
         Blocking factor:        (default)
         Max blocking factor:    (default)
         Current tape:           [unknown]
         Drive usage:            [not set]
         UUID:                   5b6cf420-a1a5-1031-8c0f-002128001bbe
         Attachment 1:
             Host:               x4440a
             Raw device:         /dev/sg15
         Connection type:        SCSI
         Inquiry data:
             Vendor:             IBM
             Product:            ULTRIUM-TD5
             Firmware:           D8D4
             Serial number:      1068002447
         Tape state:             offline
         Hardware compression:   on
         Last read was:          uncompressed
         Hardware encryption:    available
         Maximum block size:     2097152
    HP4_0_0_2_2:
         Device type:            tape (ACSLS)
         In service:             yes
         Library:                SL500
         LSM:                    0
         Panel:                  2
         Drive:                  2
         Automount:              yes
         Error rate:             8
         Query frequency:        131072KB (134217728 bytes) (from driver)
         Debug mode:             no
         Blocking factor:        (default)
         Max blocking factor:    (default)
         Current tape:           [unknown]
         Drive usage:            [not set]
         UUID:                   8bd3659a-a1a5-1031-8c0f-002128001bbe
         Attachment 1:
             Host:               x4440a
             Raw device:         /dev/sg13
         Connection type:        SCSI
         Inquiry data:
             Vendor:             HP
             Product:            Ultrium 4-SCSI
             Firmware:           H64S
             Serial number:      HU1803168E
         Tape state:             offline
         Hardware compression:   on
         Last read was:          uncompressed
         Hardware encryption:    not available
         Maximum block size:     2097152
    HP5_0_0_2_3:
         Device type:            tape (ACSLS)
         In service:             yes
         Library:                SL500
         LSM:                    0
         Panel:                  2
         Drive:                  3
         Automount:              yes
         Error rate:             8
         Query frequency:        131072KB (134217728 bytes) (from driver)
         Debug mode:             no
         Blocking factor:        (default)
         Max blocking factor:    (default)
         Current tape:           [unknown]
         Drive usage:            [not set]
         UUID:                   9ee7dbd4-a1a5-1031-8c0f-002128001bbe
         Attachment 1:
             Host:               x4440a
             Raw device:         /dev/sg23
         Connection type:        SCSI
         Inquiry data:
             Vendor:             HP
             Product:            Ultrium 5-SCSI
             Firmware:           I67S
             Serial number:      HU19477NFE
         Tape state:             offline
         Hardware compression:   on
         Last read was:          uncompressed
         Hardware encryption:    not available
         Maximum block size:     2097152
    HP5_0_0_2_4:
         Device type:            tape (ACSLS)
         In service:             yes
         Library:                SL500
         LSM:                    0
         Panel:                  2
         Drive:                  4
         Automount:              yes
         Error rate:             8
         Query frequency:        131072KB (134217728 bytes) (from driver)
         Debug mode:             no
         Blocking factor:        (default)
         Max blocking factor:    (default)
         Current tape:           [unknown]
         Drive usage:            [not set]
         UUID:                   b45b889e-a1a5-1031-8c0f-002128001bbe
         Attachment 1:
             Host:               x4440a
             Raw device:         /dev/sg24
         Connection type:        SCSI
         Inquiry data:
             Vendor:             HP
             Product:            Ultrium 5-SCSI
             Firmware:           I67S
             Serial number:      HU19477NBF
         Tape state:             offline
         Hardware compression:   on
         Last read was:          uncompressed
         Hardware encryption:    available
         Maximum block size:     2097152
    [root@x4440a backup]#
    [root@x4440a backup]# obtool lsvol -L SL500 -l
    Inventory of library SL500:
         in    1:             barcode F50216, oid 100
         in    2:             barcode I50116, oid 101
         in    3:             barcode LEV008, oid 102, mediainfo hw encryptable
         in    4:             barcode LEV010, oid 103, mediainfo hw encryptable
         in    5:             barcode LEV017, oid 104, mediainfo hw encryptable
         in    6:             volume mf_2min-000025, barcode LEV018, oid 155, 781232128 kb remaining, expired, mediainfo hw encryptable
         in    7:             barcode LEV049, oid 106
         in    8:             barcode LEV058, oid 107
         in    9:             barcode PQ4196, oid 108
         in    10:            barcode PQ4883, oid 109
         in    11:            barcode S50282, oid 110
         in    12:            barcode S50290, oid 111
         in    13:            barcode S50291, oid 112
         in    14:            barcode S50292, oid 113
         in    15:            barcode S50300, oid 114
         in    16:            barcode S60111, oid 115
         in    17:            barcode S60113, oid 116
         in    18:            barcode SF6410, oid 117
         in    19:            barcode SF6411, oid 118
         in    20:            barcode SF6412, oid 119
         in    21:            barcode SF6413, oid 120
         in    22:            barcode SF6414, oid 121
         in    23:            barcode SF6416, oid 122
         in    24:            barcode SF6417, oid 123
         in    25:            barcode SF6418, oid 124
         in    26:            barcode SF6419, oid 125
         in    27:            vacant
         in    28:            vacant
         in    29:            vacant
         in    30:            vacant
         in    31:            vacant
         in    274:           vacant
         in    275:           vacant
         in    276:           vacant
         in    277:           vacant
         in    278:           vacant
         in    279:           vacant
         in    280:           vacant
         in    281:           vacant
         in    iee:           vacant
         in    dte:           vacant
    [root@x4440a backup]#

    Rich
    Thanks for your response.
    ACSLS is part of the configuration requirements I need to have in this OBS environment.
    I'm going to re install OBS just to see if anything changes.
    Thanks again.
    Update:
    When configuring devices in OSB that are ACSLS in nature it is a requirement to restart the obacslibd after mkdev or certain chdev commands are preformed.
    After the daemon was restarted I was able to use the attached tape drives.

Maybe you are looking for