Automic Workload Automation

 View Only
  • 1.  U00029006 File 'xxx' cannot be deleted

    Posted 10 days ago

    I run a JOBP flow with a single JOBS of type Windows. The JOBS runs a .CMD file that uses START to launch a process that continues to run independently of the JOBS, and on return the JOBS ends with a successful status.

    The JOBP and JOBS are successful, but the final REPORT(path\file.TXT) fails with the U00029006 error.

    Is this happening because the separate process is still running and somehow STDOUT is shared, or does anyone know what is happening and how to properly do this without causing the error?

    This is what I see in the REPORT step

    I checked the path, and each day the report .TXT files are building up. They are small, but I'd still like to fix this if possible.

    Any insight, suggestions, etc. are gratefully received. Thanks!

    - john



  • 2.  RE: U00029006 File 'xxx' cannot be deleted

    Broadcom Employee
    Posted 10 days ago
    Edited by Antony Beeston 10 days ago

    Hi @John Ferguson

    would you be so kind and share

    • OS version
    • Agent version
    • complete Agent's log-file
    • AE version

    in order to give you any advice.

    Michael

    PS:

    According to my records this bug was fixed in v12.1 (March 2017).

    If you see this error when using an Agent of version 21 or 24 please get in contact with Support.



    ------------------------------
    Michael K. Dolinek

    Engineering Program Manager | Agile Operation Division
    Broadcom Software
    ------------------------------



  • 3.  RE: U00029006 File 'xxx' cannot be deleted

    Posted yesterday

    Hey Michael! Thank you so much for responding - sorry for the delay, but I just so this.

    OS version: Windows Server 2019

    Agent Version: Agent Windows 64-bit, version '12.3.4+build.1601882686134', changelist '1601630398'

    AE version: Automic Automation v21 - guessing I need to contact Support as it's v21, so I'll do that, too.

    Agent's log-file: Not sure where to find it - I see rolling logs in a temp folder. Here's a block of lines that are repeated daily:

    20240418/050045.359 - U02000015 Periodical job test started.
    20240418/050049.791 - U02000008 Job 'JOBS.EQTYPM.AXIOMA.STOP.START.WEBSERVICE' with RunID '149971554' ended normally.
    20240418/050049.838 - U02001026 Job 'JOBS.EQTYPM.AXIOMA.STOP.START.WEBSERVICE' with RunID '149971554' has been removed from the job table.
    20240418/050049.838 - U00029000 Report '149976065' for file 'D:\Automic\v12\Agents\prod\temp\OAMQETKS.TXT' has been started.
    20240418/050049.854 -           Could not remove file 'D:\Automic\v12\Agents\prod\temp\OAMQETKS.TXT', reason '32 - The process cannot access the file because it is being used by another process. >Path.cpp#sys::Path::remove:459<'.

    20240418/050049.854 - U00029002 Report '149976065' ended abnormally.
    20240418/050049.854 - U00029006 File 'D:\Automic\v12\Agents\prod\temp\OAMQETKS.TXT' cannot be deleted, error code '32', error description: '32 - The process cannot access the file because it is being used by another process. >Path.cpp#sys::Path::remove:459< >Path.cpp#sys::Path::remove:459<'.