Showing results for 
Search instead for 
Did you mean: 

How can I kill a waiting or unknown job?

I have tried bpdbjobs -cancel #  and the message is "Cancelling 0 Jobs" which tells me the DB doesnt know about the  job. Rebooting the master server does not help. This is an upgrade from 6.5.5 to 7.0 that has been running for 3 weeks.
5 Replies

Re: How can I kill a waiting or unknown job?

Have the same issue - cannot remove the job
no details in the 'details' tab...

Did find a technote detailing how to delete items in the .ff log file -
this however does remove your current list of jobs in activity monitor.

Will post details - searching my multitude of drives and discs

Re: How can I kill a waiting or unknown job?

Here you go

Document ID: 358027
Unknown jobs in activity monitor that cannot be canceled aborted or deleted.

an earlier doc

Document ID: 278498

DOCUMENTATION: How to manually remove jobs from the NetBackup Activity Monitor which are in a queued state, and cannot be canceled or killed, or removed by cycling the NetBackup services/daemons.

Document ID: 240604

How to change or modify the jobid within the activity or job monitor

Re: How can I kill a waiting or unknown job?

 /usr/openv/netbackup/bin/goodies/bp.kill_all      ---> kills all remaining netbackup processes

confirm the cont't kill

1)Note the current status of job like jobid 12345 and 5678,its in queued status.

remaing backups all are done,try to stop and start net backup.

again u check status of job still its in queued status

2)manually clear the job

before proceeding to clear these jobs you need to ensure no activity job is running becouse u will need to stop netbkp and delete some files

then stop the netbackup:netbackup stop
#cd /usr/openv/netbackup/db/jobs/trylogs
#rm 12345.t 56789.t

next step
#cd /usr/openv/netbackup/db/jobs/ffilelogs
#rm 12345.f  56789.f

next you have just deleted the files
#cd ..
#rm bpjobd.act.db

bpjobd.act.db file contains active and queued jobs,deleting it will remove the unwanted job.

start the netbackup:netbacup start

check the bpdbjobs

Try this

From a previous issue; jobs stuck and unable to be deleted from console:

Look towards the end; my final post shows the use of /usr/openv/netbackup/bin/bpjobd -r <jobid> followed by a Netbackup stop/start cycle if that helps for you.