cancel
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.
http://support.veritas.com/docs/358027




an earlier doc

Document ID: 278498
http://support.veritas.com/docs/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
http://support.veritas.com/docs/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
#ls
12345.t
56789.t
#rm 12345.t 56789.t
#ls

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


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

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

next
start the netbackup:netbacup start

check the bpdbjobs

Try this

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

https://www-secure.symantec.com/connect/forums/how-clear-and-delete-waiting-retry-status-50-job


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.