Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'iTunes constantly re-locks my library' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
iTunes constantly re-locks my library
Authored by: cocoamix on Jan 25, '03 11:15:32AM

This still occasionally happens to me. It's infuriating! About once every month, when I try to quit iTunes, it freezes. I have to force quit it TWICE. The first one doesn't work, but the second one finally quits iTunes. When I try to run iTunes again, it tells me that the library is locked. When I try to trash the Library, it tells me that it's in use. After logging out and in, I it remains "in use" so I cannot trash it, so I sudo rm -fr it to finally get rid of it.
Process Viewer reveals nothing I could kill that's related to iTunes.

The ONLY sulution that works is restarting and re-importing all 2000 of my MP3's.
Using a new copy of iTunes, trashing all iTunes related prefs and files doesn't seem to help. It happens again in a few weeks. Even using a backup of my iTunes library does not work.

I'm SICK of this happening. Has anyone found a cause for why this is happening?



[ Reply to This | # ]
iTunes constantly re-locks my library
Authored by: JadeNB on Jun 10, '07 12:30:18PM

As a general matter, the command 'lsof' is a good way to find out what processes are using which files. (It can certainly be non-obvious.)



[ Reply to This | # ]
iTunes constantly re-locks my library
Authored by: morespace54 on Jun 11, '07 01:12:20PM

Good point.
As a reminder (and added suggestion to the previous post) you can also type (in Terminal):

[code]
lsof > ~/Documents/MyProcess.txt
[/code]

which will output the result in a text file named "MyProcess.txt" in your "Documents" folder...



[ Reply to This | # ]