Report Failed

Last post 04-05-2017, 8:45 AM by graterb. 10 replies.
Sort Posts: Previous Next
  • Report Failed
    Posted: 04-04-2017, 8:58 AM

    We run several reports every morning to various teams about the previous nights backups.  Sporatically a random report will fail.  The only reason given in the logs is:

    Set pending cause [Could not create output file for report.]

    If I run the report manually after that it works just fine and will run again for several days or weeks.  There doesn't seem to be any pattern or space issues that would cause this.  Any ideas or suggestions would be appreciated.


    Full error below: (server name changed)

    Machine : OP_Server
    File : JobManager.log

    4764 28cc 04/04 08:00:03 76587 Servant [*** Scheduled Report Request ***]
    4764 28cc 04/04 08:00:03 76587 Servant The JobID for the Scheduled Report Request is [76587]
    4764 3f50 04/04 08:00:04 76587 Scheduler Phase [1-Scheduled Report] (0,0) started on [OP_Server.local] in [1491307205] second(s) - scheduledReport.exe -j 76587 -a 3318 -t 7715
    4764 5b90 04/04 08:00:04 76587 Servant Reg [Control] received. Client [OP_Server] plattype = 1
    4764 4284 04/04 08:00:04 76587 Scheduler Set pending cause [Could not create output file for report.]::Client [OP_Server] Application [scheduleReport] Message Id [587203047] RCID [0] ReservationId [0]. Level [0] flags [0] id [0] overwrite [0] append [0] CustId[0].
    4764 1cf8 04/04 08:00:04 76587 Scheduler Phase [Failed] message received from [OP_Server.local] Module [scheduleReport] Token [] restartPhase [0]
    4764 1cf8 04/04 08:00:05 76587 Scheduler -> [Failed] <- Scheduled Report
  • Re: Report Failed
    Posted: 04-04-2017, 10:06 AM

    Is there anything in the scheduledReport.log file? Job Manager is just reporting the error received from scheduledReport.exe.

  • Re: Report Failed
    Posted: 04-04-2017, 10:21 AM

    I do see it seems to be unable to process because it is already in process.


    8144  3944  04/04 08:00:04 76587 fileAndWebSetup() - The process cannot access the file because it is being used by another process.
    8144 3944 04/04 08:00:04 76587 CRT error = 13, Report file name = C:\Program Files\Commvault\ContentStore\Reports\Backup Job Summary for Last 24hrs (Detailed).html
    8144 3944 04/04 08:00:04 76587 EvReportMgr::onGenerateReport() - fileAndWebSetup failed

    Is there a limit to how many reports can be scheduled at a time?
    Thanks for the help.
  • Re: Report Failed
    Posted: 04-04-2017, 10:25 AM

    I see Bheemesh replied below. He is the man for reporting questions Smile

    There is not a hard and fast limit on the number of reports scheduled simultaneously. However, a potential workaround is to separate the report schedules by a few minutes so that one report completes before the next report starts. If the report schedules need to run at the same time, I would make sure you are on the most recent service pack and open a case with support to have this escalated to development for a long-term fix.

  • Re: Report Failed
    Posted: 04-04-2017, 10:26 AM


    Please look for the line that has the following words in ScheduledReport.log file and send us couple of lines above and beyond this line to see what's happening. 

    "CRT error = "
    The issue seems to be an error while creating the output file. Will know bettwe once I see what the error code is.

  • Re: Report Failed
    Posted: 04-04-2017, 10:29 AM

    It says 13.


    8144  3944  04/04 08:00:04 76587 CRT error = 13, Report file name = C:\Program Files\Commvault\ContentStore\Reports\Backup Job Summary for Last 24hrs (Detailed).html
  • Re: Report Failed
    Posted: 04-04-2017, 10:34 AM

    The output file name I see in this logfile "Backup Job Summary for Last 24hrs (Detailed)" is not system generated. Are you using the same output file name in multiple report schedules? Can you double check your report schedules and make sure you use different output file names for each one? 




  • Re: Report Failed
    Posted: 04-04-2017, 10:49 AM

    I just went through each schedule name and Custom Report Name.


    For each schedule name it is different.

    However, in the Custom Report Name field on the Output tab, some were blank.  Is it possible that the "blank" is the name being used multiple times?  I made sure they are no longer blank.  One caveot is that a report that failed this morning was one that wasn't blank.  So my theory may not hold.


    Thank you so much for your help, this has been very helpful in troubleshooting so far.

  • Re: Report Failed
    Posted: 04-04-2017, 11:33 AM

    When the name is blank, we use system generated file name like below which contains processId, UnixTimestamp so the file names don't clash.




    Is your Commcell connected to Commvault cloud? What is your CommcellId?



  • Re: Report Failed
    Posted: 04-04-2017, 11:37 AM

    No we are not configured for the cloud.  We are a financial institution and it is not allowed.


    I do see those file names in the directory as you indicated.  Now that I've changed all the custom names, it will be interesting to see tomorrow what the report names say.



  • Re: Report Failed
    Posted: 04-05-2017, 8:45 AM

    Reports ran successful this morning.  I will keep an eye on them and report back if they don’t, but I believe that was the issue. 


    Thank you very much.

The content of the forums, threads and posts reflects the thoughts and opinions of each author, and does not represent the thoughts, opinions, plans or strategies of Commvault Systems, Inc. ("Commvault") and Commvault undertakes no obligation to update, correct or modify any statements made in this forum. Any and all third party links, statements, comments, or feedback posted to, or otherwise provided by this forum, thread or post are not affiliated with, nor endorsed by, Commvault.
Commvault, Commvault and logo, the “CV” logo, Commvault Systems, Solving Forward, SIM, Singular Information Management, Simpana, Commvault Galaxy, Unified Data Management, QiNetix, Quick Recovery, QR, CommNet, GridStor, Vault Tracker, InnerVault, QuickSnap, QSnap, Recovery Director, CommServe, CommCell, SnapProtect, ROMS, and CommValue, are trademarks or registered trademarks of Commvault Systems, Inc. All other third party brands, products, service names, trademarks, or registered service marks are the property of and used to identify the products or services of their respective owners. All specifications are subject to change without notice.
Copyright © 2020 Commvault | All Rights Reserved. | Legal | Privacy Policy