Forum Discussion

albatroz19's avatar
albatroz19
Level 5
2 years ago

Netbackup Windows client Oracle lock files

Hi,

on windows client, we backup an Oracle DB with catalog. It's backup about 1,6Tb and last week i found two of four jobs still writing but hanging. I've stopped the backup, and on ..\user_ops\dbext\logs there are 4 .lock files like this:

vxbsa.01651564654.23215.5151.files.1.lock

If i remember, when backup finish these lock files are canceled. I requested at dba admin to check rman session hangings and then i retried the backup. Now i have 8 lock files.

How i can resolve this issue?
I think that the lock still there, backup will fail.

Any suggest is accepted.

Thanks in advance, and Regards.

  • My suggestions:

    • Stop all Netbackup processes
    • Cancel remaining processes running - if any. I have seen bpbkar hang from time to time when resources on the client was low. Rman may hang as well - or may appear hanging if the recover catalogue isn't bein maintained,
    • Delete lock files.  

    I don't recall leftover lock files will prevent new backups.

    • albatroz19's avatar
      albatroz19
      Level 5

      Hi Nicolai,
      i've executed your steps but if i try to delete lock files, it's not permitted and i receive this message: "The action can't be completed because the file is open in OracleService"

       

      Thanks & Regards,

      • Nicolai's avatar
        Nicolai
        Moderator

        That's new to me. Is Rman process still running ?