Library is now locked??
I have just spent the weekend updating to Snow leopard and now finally now from iPhoto 08 to iPhoto 09. When I started up for iPhoto 09 for the first time, it tells me that the library is locked and I do not have permission.
I try to redirect the library (it is stored on an external drive) but it still tells me I do not have permission and quits.
Does anyone know how I can simply get back to how things used to be in iPhoto 08 and use the previous library I have stored!? Very frustrating...
Any ideas guys? Thanks.
That's frequently a sign of a damaged database.
So, the best option is to restore from the back up you made before upgrading.
Failing that: Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
Regards
TD
Similar Messages
-
After importing the latest version of itune, I now get this message: "The I-tunes library file is locked, on a locked disk , or you do not have permission to write for this file. How do I resolve this?
check if you have read & write permissions for your music folder. in the finder, right-click on it and get info. unlock the little padlock (you may have to enter your admin password) and change the permission settings if necessary. next, click on the little gear-shaped icon and apply to enclosed items like so
the important part is to apply to enclosed items !
also, even if it seems unrelated, try the steps in this support article: iTunes: Missing folder or incorrect permissions may prevent authorization -
I have a large iPhoto library (about 130,000+ images). Recently I added a whole lot from another Library, and now I have a smattering of many grey'ed out "palm tree" images, like events, only just showing drawings of palm trees. I think the photo images are there (I hope they're not lost), but they don't show up in the "Event" format. Even the Photostream "Events" show palm trees and blank. Both libraries are on an external hard drive.
While the additional large number of photos were being added, there was a message, "Import completed" (I believe), but also a message that the whole computer had run out of memory and locked up. I have 8 GB of RAM in a MacBook Pro about a year old.
I've had this problem before (with the Palm trees) but can't remember how to solve it. Something about re-indexing the library by holding down the control, option and/or command buttons while opening..?? Maybe? Would sure appreciate help with this. ThanksWhat format is the external drive?
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to rebuild the thumbnails. It can take 3 or 4 goes for this to work -
High library cache load lock waits in AWR
Hi All,
Today i faced a significant performance problem related to shared pool. I made some observations, thought it would be a nice idea to share them with Oracle experts. Please feel free to add your observations/recommendations and correct me where i am wrong.
Here are the excerpts from AWR report created for the problem timing. Database server is on 10.2.0.3 and running with 2*16 configuration. DB cache size is 4,000M and shared pool size is of 3008M.
Snap Id Snap Time Sessions Cursors/Session
Begin Snap: 9994 29-Jun-09 10:00:07 672 66.3
End Snap: 10001 29-Jun-09 17:00:49 651 64.4
Elapsed: 420.70 (mins)
DB Time: 4,045.34 (mins) -- Very poor response time visible from difference between DB time and elapsed time.
Load Profile
Per Second Per Transaction
Redo size: 248,954.70 23,511.82
Logical reads: 116,107.04 10,965.40
Block changes: 1,357.13 128.17
Physical reads: 125.49 11.85
Physical writes: 51.49 4.86
User calls: 224.69 21.22
Parses: 235.22 22.21
Hard parses: 4.83 0.46
Sorts: 102.94 9.72
Logons: 1.12 0.11
Executes: 821.11 77.55
Transactions: 10.59 -- User calls and Parse count are almost same, means most of the calls are for parse. Most of the parses are soft. Per transaction 22 parses are very high figure.
-- Not much disk I/O activity. Most of the reads are being satisfy from memory.
Instance Efficiency
Buffer Nowait %: 100.00 Redo NoWait %: 100.00
Buffer Hit %: 99.92 In-memory Sort %: 100.00
Library Hit %: 98.92 Soft Parse %: 97.95
Execute to Parse %: 71.35 Latch Hit %: 99.98
Parse CPU to Parse Elapsd %: 16.82 % Non-Parse CPU: 91.41 -- Low execute to parse ratio denotes CPU is significantly busy in parsing. Soft Parse% showing, most of the parse are soft parses. It means we should concentrate on soft parsing activity.
-- Parse CPU to Parse Elapsed % is quite low, means some bottleneck is there related to parsing. It could be a side-effect of huge parsing pressure. Like CPU cycles are not available.
Shared Pool Statistics
Begin End
Memory Usage %: 81.01 81.92
% SQL with executions>1: 88.51 86.93
% Memory for SQL w/exec>1: 86.16 86.76 -- Shared Pool memory seems ok (in 80% range)
-- 88% of the SQLs are repeating ones. It's a good sign.
Top 5 Timed Events
Event Waits Time(s) Avg Wait(ms) % Total Call Time Wait Class
library cache load lock 24,243 64,286 2,652 26.5 Concurrency
db file sequential read 1,580,769 42,267 27 17.4 User I/O
CPU time 33,039 13.6
latch: library cache 53,013 29,194 551 12.0 Concurrency
db file scattered read 151,669 13,550 89 5.6 User I/O Problem-1: Contention on Library cache: May be due to under-sized shared pool, incorrect parameters, poor application design, But since we already observed that most of the parses are soft parses and shared pool usgae in 80%, seems problem related to holding cursors. open_cursors/session_cached_cursors are red flags.
Problem-2: User I/O, may be due to poor SQLs, I/O sub-system, or poor physical design (wrong indexes are being used as DB file seq reads)
Wait Class
Wait Class Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn
Concurrency 170,577 44.58 109,020 639 0.64
User I/O 2,001,978 0.00 59,662 30 7.49
System I/O 564,771 0.00 8,069 14 2.11
Application 145,106 1.25 6,352 44 0.54
Commit 176,671 0.37 4,528 26 0.66
Other 27,557 6.31 2,532 92 0.10
Network 6,862,704 0.00 696 0 25.68
Configuration 3,858 3.71 141 37 0.01
Wait Events
Event Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn
library cache load lock 24,243 83.95 64,286 2652 0.09
db file sequential read 1,580,769 0.00 42,267 27 5.91
latch: library cache 53,013 0.00 29,194 551 0.20
db file scattered read 151,669 0.00 13,550 89 0.57
latch: shared pool 25,403 0.00 12,969 511 0.10
log file sync 176,671 0.37 4,528 26 0.66
enq: TM - contention 1,455 90.93 3,975 2732 0.01 Instance Activity Stats
opened cursors cumulative 5,290,760 209.60 19.80
parse count (failures) 6,181 0.24 0.02
parse count (hard) 121,841 4.83 0.46
parse count (total) 5,937,336 235.22 22.21
parse time cpu 283,787 11.24 1.06
parse time elapsed 1,687,096 66.84 6.31 Latch Activity
library cache 85,042,375 0.15 0.43 29194 304,831 7.16
library cache load lock 257,089 0.00 1.20 0 69,065 0.00
library cache lock 41,467,300 0.02 0.07 6 2,714 0.07
library cache lock allocation 730,422 0.00 0.44 0 0
library cache pin 28,453,986 0.01 0.16 8 167 0.00
library cache pin allocation 509,000 0.00 0.38 0 0 Init.ora parameters
cursor_sharing= EXACT
open_cursors= 3000
session_cached_cursors= 0
-- open_cursors value is too high. I have checked that maximum usage by a single session is 12%.
-- session_cached_cursors are 0 causing soft parsing. 500/600 is good number to start with.
cursor_sharing exact may cause hard parses. But here, hard parsing is comparatively small, we can ignore this.
From v$librarycache
NAMESPACE GETS GETHITS GETHITRATIO PINS PINHITRATIO RELOADS INVALIDATIONS
SQL AREA 162827 25127 .154317159 748901435 .999153087 107941 81886-- high invalidation count due to DDL like activities.
-- high reloads due to small library cache.
-- hit ratio too small.
-- Need to pin frequently executed objects into library cache.
P.S. Same question asked on Oracle_L, but due to formatting reasons, pasing duplicate contents here.
Regards,
Neeraj Bhatia
Edited by: Neeraj.Bhatia2 on Jul 13, 2009 6:51 AMThanks Charles. I really appreciate your efforts to diagnose the issue.
I agree with you performance issue is caused by soft parsing, which can be solved by holding cursors (session_cached_cursors). It may be due to oversized shared pool, which is causing delay in searching child cursors.
My second thought is, there is large number of reloads, which can be due to under-sized shared pool, if invalidation activities are not going (CBO statistics collection, DDL etc), cursors are being flushed frequently.
CPU utilization is continuously high (above 90%). Pasting additional information from same AWR report.
Namespace Get Requests Pct Miss Pin Requests Pct Miss Reloads Invalidations
BODY 225,345 0.76 4,965,541 0.15 5,533 0
CLUSTER 1,278 1.41 2,542 1.73 26 0
INDEX 5,982 9.31 13,922 7.35 258 0
SQL AREA 141,465 54.10 27,831,235 1.21 69,863 19,085 Latch Miss Sources
Latch Name Where NoWait Misses Sleeps Waiter Sleeps
library cache lock kgllkdl: child: no lock handle 0 8,250 5,792 Time Model Statistics
Statistic Name Time (s) % of DB Time
sql execute elapsed time 206,979.31 85.27
PL/SQL execution elapsed time 94,651.78 39.00
DB CPU 33,039.29 13.61
parse time elapsed 22,635.47 9.33
inbound PL/SQL rpc elapsed time 14,763.48 6.08
hard parse elapsed time 14,136.77 5.82
connection management call elapsed time 1,625.07 0.67
PL/SQL compilation elapsed time 760.76 0.31
repeated bind elapsed time 664.81 0.27
hard parse (sharing criteria) elapsed time 500.11 0.21
Java execution elapsed time 252.95 0.10
failed parse elapsed time 167.23 0.07
hard parse (bind mismatch) elapsed time 124.11 0.05
sequence load elapsed time 23.34 0.01
DB time 242,720.12
background elapsed time 11,645.52
background cpu time 247.25 According to this DB CPU is 65% utilization (DB CPU + Background CPU / Total Available CPU seconds). While at the same time DB host was 95% utilized (confirmed from DBA_HIST_SYSMETRIC_SUMMARY).
Operating System Statistics
Statistic Total
BUSY_TIME 3,586,030
IDLE_TIME 1,545,064
IOWAIT_TIME 22,237
NICE_TIME 0
SYS_TIME 197,661
USER_TIME 3,319,452
LOAD 11
RSRC_MGR_CPU_WAIT_TIME 0
PHYSICAL_MEMORY_BYTES 867,180
NUM_CPUS 2 -
I cannot access iTunes from my deskyop. Worked great until a couple of days ago, then I now get the message that "The iTunes Library .itl is locked, on a locked disk, or you do not have write permission for this file." I have not turned on any parental controls on the desktop. I have reloaded iTunes several times. No luck. I've run virus scans several times. No luck. I've restarted & tuned off the computer several times. No luck. I've uninstalled iTunes then reinstalled several times. No luck. Any thoughts?
To solve this issue all I did was check to ensure that the file permissions were set as described by the earlier posts, followed by simply deleting the iTunes Library Genius.itdb file. Once the file was deleted I was able to open iTunes without difficulty. Note that I am running Windows 8. Hope this helps!
-
ITunes won't open because the library file is locked
The iTunes 4 Music Library file is locked, on a locked disc, or I do not have write permission, what do I do? It was working perfectly until I plugged in my iPod. I waited, the iPod did not appear. The computer then told me that I had improperly disconnected it, yet I didn't touch it. So at that point I did disconnect it. My computer froze, so I restarted it and now iTunes won't open. Help!
Megan hello,
welcome to the Apple Discussions open the iTunes folder in your Music folder and select the iTunes 4 Music Library file... type cpmmand - D and this will duplicate the file... put the original file on the desktop and change the name of the duplicate to be the same as one you just moved ... double/click on this file after the name change... if all is okay you can trash the file on the desktop later..
let's know if it all works again Megan .... TP -
Itunes library.itl is locked, on locked disk or you dont have permission 4.
itunes library.itl is locked, on locked disk or you dont have permission 4.
i tried the other suggestions and i cant get rid of this message.
can anyobdy help?I had that problem too. I tried to remove iTunes from my computer and then download it again, but that did not make any difference. Then I tried polydorus' answer ("starting iTunes with the shift key held down, when asked to choose a library, navigate to your iTunes folder and choose iTunes Library.itl"), but that did not work either and that same message about the library being locked appeared again.
Then I had a brainwave. I deleted that iTunes library.itl file. (To find it, go to My documents, then My Music, then iTunes, and there is the itunes library file). I now tried to open iTunes by clicking on the iTunes icon on my desktop, nothing happened, as if I had not clicked on it at all. I restored the file from the recycling bin to where it was before. But that also returned me to where I had been before, i.e. I got that locked-library message again. So I deleted that file again. Then I tried right-clicking on the iTunes icon. On the little menu that appeared, I clicked 'Open' and hey presto, suddenly the iTunes set-up assistant appeared and everything went smooth from then on. When I checked, there was a file called iTunes library.itl again and this one worked OK.
By the way, I did not lose any of my music downloads or podcasts when I deleted that file, so it's definitely worth a try. -
Error message: "The iTunes Music Library file is locked" Help?
I made the stupid mistake of disconnecting my iPod nano when it said "Don't Disconnect". Now when I try to open iTunes, it says that the Music Library file is locked. How am I supposed to unlock it?
I had a similar problem when iTunes froze up on me. It seems like the solution to the problem changes every time. Anyways, another way to solve it, is instead of changing the permissions on the library files, select "get info" on the application icon itself, and then modify the permissions. Even though it may say that you have "read and write" permission, just reselecting it should do the job.
Hope this helps,
Stephen -
Itunes froze, so I restarted my computer after trying to freeze quit (was I supposed to do something else?) and now I get an error message when I try to open: Itunes library file is locked, on a locked disk, or you don't have write permission for this file.
Thanks for help.Log out and back in, and then relaunch iTunes. If you can't log out through the Apple menu, save as many open documents as possible, and then use the Activity Monitor in the /Applications/Utilities/ folder to force quit the loginwindow process; you may need to provide your username and password before you can log back in.
(20812) -
"iTunes library file is locked" message
When I try opening iTunes, I get the message:
"iTunes library file is locked, on a locked disk, or you do not have write permission for this file" message. This is a new thing - I've been using iTunes fine since buying the mac, 18 months ago. Can anybody help?
Many thanks
SeanoSeanDear M, thanks so much for your advice on my query. It worked briefly when I tried it the first of your two suggested ways, but then the 'file is locked' message came back, so I tried your next suggestion of copying an alias of itunes icon onto the desktop etc. Lo and behold it worked (at least, so far). Now I've just got to find out why my ipod isn't charging from the dock (in fact, it drains it!) So I'll go and put that on the board now...
A big thanks once again
seanosean,
Welcome to Discussions,
Try the suggestions in my post in this topic:
http://discussions.apple.com/message.jspa?messageID=34
16323#3416323
Hope this helps.
M
17' iMac 800 MHz, 768
MB RAM, 200 GB HD, DL burner Mac OS X (10.4.8)
iTunes 7.0.2 -
ITunes Library.tlf is locked
when i open itunes this pops up "The iTunes Library.tlf is locked, on a locked disk, or you do not have permission for this file."
my itunes locked on me today after attempting to reload the firmware for a friend.
i see you are on 10.3.9 and i am on 10.4.10 but i believe this should help you
in your username/Music/iTunes
right click and select get info
on the ownership and permissions area, make sure as owner and group your username is selected and that you have "read & write" for both of these sections. for others read only
Make sure you apply to enclosed items.
For being extra sure i performed this check and apply to the files and folders inside iTunes (i had about 6 files and folders collectively there)
next restart in safe mode, by holding down on the shift key when it restarts until the apple and pinwheel grey screen appear.
the pinwheel spinner will spin for a while and the machine will take a while to startup
you will be requested to login with your password and make sure you are the admin user for the computer.
once in safe mode go to disk utility and repair disk permissions for Macintosh HD
once that is complete restart normally and you should now have access to your itunes library and program
hope this helps
marc -
"The iTunes Music Library fill is locked"
The full message is : "The iTunes Music Library fill is locked, on a locked disk, or you do not have permission for this file." iTunes froze when trying to update my iPod, and now won't load at all. Sounds like some kind of cache is full, how do I remove it?
Thanks
JamesIn the Finder, select the iTunes folder (in ~/Users/YourUsername/Music)
Get Info (command-I)
Expand 'Ownership & Permissions:'.
Expand 'Details:'
You must read: "You can Read & Write"
At 'Owner:': your username. Access: Read & Write
Make changes if necessary and click on the 'Apply to enclosed item...' button.
Also look at 'Locked' checkbox. It must not be checked.
Hope this helps.
M -
My iTunes won't open! It keeps saying 'The iTunes Library.itl is locked on a locked disk or you not have write permission for this file.' Please Help!
this may happen on external drives if:
The external drive was hotpluged (removed) without going the correct "eject" way
The iTunes library (database) got corrupted
First Aid for external drive
Close iTunes
Unmount (eject) external drive the right way.
Mount drive again
Go to Workplace -> right click external drive -> choose "clean up" This will force the filesystem to rescan the file structure of the drive and rebuilding the file system table and journaling file.
After the tool shows "done" (could last some time depending on size of drive) restart iTunes
If your iTunes library is on your internal drive, this may happen
The system was not shoot down correct, e.g. "pulled the plug"
The iTunes library (database) got corrupted
First Aid for internal hard drive
Close iTunes
Reboot system
Go to Workplace -> right click external drive -> choose "clean up"
After the tool shows "done" (could last some time depending on size of drive)
Reboot system, restart iTunes
If none of the above fixes your problem, post here.
Lupunus -
I consolidated my iTunes library and now I have duplicates of everything, podcasts, songs, play lists...everything. How can I delete the whole set of duplicates at once. It is thousands of items I can not do them indiviually.
ThanksI consolidated my iTunes library and now I have duplicates of everything, podcasts, songs, play lists...everything. How can I delete the whole set of duplicates at once. It is thousands of items I can not do them indiviually.
Thanks -
Itunes library issue, its locked?
I apologize in advance if someone has already asked this question but i cant seem to find an answer in the support section of this site.
Ok here it goes. When i try to open itunes a message pops up saying that the itunes library.itl is locked on a locked disk, or i dont have the write permission for the file. This also seems to be a user specific issue since my sister can access Itunes fine from her account.
Were both computer administrators
I have the most recent itunes updates installed
Any help would be greatly appreciated.
Thank you.In Windows Explorer, right-click > Get Properties on that exHD itunes folder. Go to the Security tab and give your windows user ID full control and ownership. Make sure to check the box for child/subfolders to get those same permissions.
Maybe you are looking for
-
Hello to you all. I'm trying to implement a Kerberized SSO solution in Win2000 environment. The web servers are apaches, the clients are IE5.5+ But I had encountered the following problem: I wrote a servlet in java on the web server that sends 401 ht
-
I keep getting the above popup. I do not get it when using IE. I came home from vacation to find this problem which I did not have before leaving so it is a new issue
-
Adding private IFD and IFD pointer to TIFF image metadata with jai-imageio
Hi, I searched on the Internet for the answer but I was only able to find this post from the old forum/mailing list: http://www.java.net/node/698039 The question in the post went unanswered and I am in a very similar situation now. To re-iterate the
-
How can I call a web page from my applet? Thanks.
-
My compy crashed and i lost all my stuff
My mac crashed last semester (during finals week too!) and I lost all the songs that I had downloaded. I have tried to look around, but is there anybody who would know how to find/ download them again? I'd rather not have to spend all that again.