Problem
Backups fail with Status Code 98 "error requesting media".
Error Message
Backup job details show the error:Error bptm (pid=11570) error requesting media, TpErrno = File name already exists
The bptm log shows the following entry:11:12:12.761 [11570] <2> mount_open_media: Waiting for mount of media id 000037 (copy 1) on server nbmaster.
11:12:12.799 [11570] <16> mount_open_media: error requesting media, TpErrno = File name already exists
11:12:12.808 [11570] <2> bptm: EXITING with status 98 <---------
Cause
Troubleshooting:
However, the /usr/openv/netbackup/db/media/tpreq directory is empty.
This can happen when OS level commands are used to kill restore jobs found via the ps command, instead of properly cancelling the job using the NetBackup start and stop scripts.
Solution
The problem can be resolved by shutting down NetBackup, running /usr/openv/netbackup/bin/goodies/bp.kill_all and restarting NetBackup.