Benches macOS

5

Can't copy files "in use"

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Whenever I want to copy bigger files (40MB+) to my external NAS drive, the process is interrupted by a message: "Can't copy file because it is in use". They aren't in use in any way. I have quit all apps.

How could I narrow down the problem? I have looked into the console log:

16.07.09 08:33:35 com.apple.launchd[151] (0x10f1d0.Locum[822]) Exited: Terminated

16.07.09 08:33:54 com.apple.launchd[151] (0x10e960.Locum[828]) Exited: Terminated

16.07.09 08:34:40 com.apple.launchd[151] (0x10e960.Locum[830]) Exited: Terminated

16.07.09 08:34:49 com.apple.launchd[151] (0x10e020.Locum[836]) Exited: Terminated

16.07.09 08:34:55 com.apple.launchd[151] (0x10df80.Locum[839]) Exited: Terminated

16.07.09 08:35:03 com.apple.launchd[151] (0x10df80.Locum[841]) Exited: Terminated

16.07.09 08:35:16 com.apple.launchd[151] (0x10df80.Locum[842]) Exited: Terminated

16.07.09 08:35:24 com.apple.launchd[151] (0x10df80.Locum[844]) Exited: Terminated

16.07.09 08:35:33 com.apple.launchd[151] (0x10df80.Locum[845]) Exited: Terminated

16.07.09 08:37:52 com.apple.launchd[151] (0x10e960.Locum[875]) Exited: Terminated

16.07.09 08:39:03 com.apple.launchd[151] (0x10df80.Locum[878]) Exited: Terminated

I have no idea what that means; maybe it has something to do with the problem.

Thanks a lot!

Peter

5 replies

Sign in or join Beachball Help to reply.

  1. 0

    baltwo

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Launch the Terminal.app (in /Applications/Utilities/), type in this command, and hit the return key:

    *lsof /*

    That will tell you every open file. Search the list for those large files and see what's running them.

  2. 0

    Peter R.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks a lot for the advice.

    Unfortunately, these files are not among the ones listed in the Terminal report.

    The only
    possible connection might be those launchd messages:

    launchd 82 hpr cwd DIR 14,3 1632 2 /

    launchd 82 hpr txt REG 14,3 304208 18933507 /sbin/launchd

    launchd 82 hpr txt REG 14,3 1059792 15115013 /usr/lib/dyld

    launchd 82 hpr txt REG 14,3 140021760 24432148 /private/var/db/dyld/dyld
    shared_cacheppc

    launchd 82 hpr 12r REG 14,3 87360 25336168 /Users/hpr/Library/Safari/Bookmarks.plist

    launchd 82 hpr 13r DIR 14,3 2482 14876829 /Library/Preferences

    launchd 82 hpr 15r DIR 14,3 68 15056346 /private/var/db/PanicReporter

    launchd 82 hpr 22r DIR 14,3 2482 14876829 /Library/Preferences

    ...but it doesn't seem likely to me... 😟

  3. 0

    baltwo

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Sorry, but those shouldn't matter. If you don't see those large files listed, then I'm out of ideas.

  4. 0

    shunt618

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    have you tried to open them and save them back to your destination? any successs there?what about making a duplicate to another folder and copying that?

    Message was edited by: shunt618

  5. 0

    Mr. Bamboostick

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I get the same problem when I backup a large number of files to a windows server via samba. the upload is terminated somewhere right in the middle of the process (different every time) and i get the Locum error in the logs that this thread is about. sometimes the error message in finder is "unknown error" and sometimes it it that I have no read permission on certain files because they're "in use by another application" – files that always work fine again after I disconnect from the server and reconnect again. there's definitely enough space on the destination drive.

    I don't know if this is relevant in finding a solution here but when repairing permissions using disk utility I get an error that some SUID files "have been modified and will not be repaired", and our little friend Locum is among them:

    System/Library/PrivateFrameworks/DiskManagement.framework/Versions/A/Resources/D iskManagementTool

    System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Resour ces/Locum

    System/Library/Extensions/webdavfs.kext/Contents/Resources/loadwebdav

    usr/sbin/pppd

    usr/sbin/vpnd

    Also the firewall recently started asking if I want
    configd and
    mDNSresponder to accept external connections.

    Can that information be of any help?

    Message was edited by: Mr. Bamboostick (adding info on firewall behaviour)