Question

Can't suspend/kill job

  • 12 January 2022
  • 4 replies
  • 48 views

Userlevel 3
Badge +7

Good afternoon all

I have a very minor issue. A Test VM backup job was run and it never went past Discover phase. It was subsequently killed but it’s status went to ‘Completed’.
The job stays visible in the Job Controller. There is the option to suspend/kill it but nothing happens when you try this.

I have the error that states ‘Failed to create Job History for Job [Job ID]. The operation will be retried.
The job has been hanging about for about 48 days. In that time the environment has been rebooted and I thought it would clear it out.

Thanks.

Mauro

 


4 replies

Userlevel 7
Badge +14

Hi @Mauro 

Since you’ve tried the basics and these haven’t worked, there’s one more thing to try before raising a support case.

Please try kill job command via qoperation:

https://documentation.commvault.com/11.24/expert/45282_qoperation_jobcontrol.html

qoperation jobcontrol [-o <joboperation>] [-j <jobid>] - all [-m <media_agent>] [-c <client>] [-a <dataagenttype>] [-i <instance>] [-b <backupset>] [-s <subclient>] [-p <priority>] [-tfx <total files to transfer>] [-fx <files transferred>] [-ifx <files transferred since last update>] [-tbx <total bytes to transfer>][-tf <tokenfile>] [-tk <token>] [-h]

Example

  • Kill a job with job ID 175.

    qoperation jobcontrol -j 175 -o kill

If the command above doesn’t work, then It’s likely we’ll need to stage your Commserve database to take a closer look and potentially obtain a cleanup script from Development to clean up these job records, so a support case will be needed then.

Thanks,

Stuart

Userlevel 3
Badge +7

Thanks so much. I’m going to try that and get back to you.

Thanks.
Mauro

Userlevel 3
Badge +7

Hi Stuart

I’ve had to log a support call. The qcommand runs and indicates the job is successfully killed, but it still hangs in the console. I’ll update this thread when I know the outcome?

Regards,

Mauro

Userlevel 7
Badge +23

@Mauro , can you share the case number so I can follow accordingly?

Thanks!!

Reply