Video Screencast Help

tape backup problem...Error 191

Created: 21 Jun 2013 • Updated: 21 Jun 2013 | 11 comments
Npalma's picture


I have a problem when make a backup  to tape.

This error begin when i make a backup from stagin


The Detailed status

06/21/2013 14:16:36 - Info bptm (pid=30955) start
06/21/2013 14:16:36 - started process bptm (pid=30955)
06/21/2013 14:16:36 - requesting resource Any
06/21/2013 14:16:36 - granted resource  000019
06/21/2013 14:16:36 - granted resource  IBM.ULT3580-HH5.000
06/21/2013 14:16:36 - granted resource  backup6m-bkp-hcart2-robot-tld-0
06/21/2013 14:16:37 - Info bptm (pid=30955) start backup
06/21/2013 14:23:56 - begin Duplicate
06/21/2013 14:25:57 - Info bpdm (pid=3035) started
06/21/2013 14:25:57 - started process bpdm (pid=3035)
06/21/2013 14:25:57 - Info bpdm (pid=3035) reading backup image
06/21/2013 14:25:57 - Info bpdm (pid=3035) using 30 data buffers
06/21/2013 14:25:58 - begin reading
06/21/2013 14:46:38 - Error bptm (pid=30955) Could not open file /usr/openv/netbackup/db/config/shm/server01-bkp_1371674302_copy1_2 to get shared memory information. Errno = 2: No such file or directory
06/21/2013 14:46:38 - Info bptm (pid=30955) EXITING with status 12 <----------
06/21/2013 14:56:00 - Error bpdm (pid=3035) media manager terminated by parent process
06/21/2013 14:56:05 - Error bpduplicate (pid=3001) host media6m-bkp backup id server01-bkp_1371674302 read failed, media manager killed by signal (82).
06/21/2013 14:56:05 - Error bpduplicate (pid=3001) host backup6m-bkp backupid server01-bkp_1371674302 write failed, file open failed (12).
06/21/2013 14:56:05 - Error bpduplicate (pid=3001) Duplicate of backupid server01-bkp_1371674302 failed, file open failed (12).
06/21/2013 14:56:05 - Error bpduplicate (pid=3001) Status = no images were successfully processed.
06/21/2013 14:56:05 - end Duplicate; elapsed time 0:32:09
no images were successfully processed  (191)


Operating Systems:

Comments 11 CommentsJump to latest comment

RamNagalla's picture

06/21/2013 14:46:38 - Error bptm (pid=30955) Could not open file /usr/openv/netbackup/db/config/shm/server01-bkp_1371674302_copy1_2 to get shared memory information. Errno = 2: No such file or directory

06/21/2013 14:46:38 - Info bptm (pid=30955) EXITING with status 12 <

In media server:-

see the permission on the folder /usr/openv/netbackup/db/config/shm  

check the space on the FS having this folder /usr/openv/netbackup/db/config/shm ,

make sure it has enough permission and space..

Nicolai's picture

Check if /tmp it out of space.

Assumption is the mother of all mess ups.

If this post answered your'e qustion -  Please mark as a soloution.

Npalma's picture



root@media6m-bkp:/tmp/hsperfdata_root# df -h /usr/openv/netbackup/db/config/shm
Filesystem             Size   Used  Available Capacity  Mounted on
rpool/ROOT/solaris-1    59G   8.9G        19G    33%    /
root@media6m-bkp:/usr/openv/netbackup/db/config# ls -lh
total 5
drwxr-xr-x   2 root     root          31 Jun 22 02:19 shm
Npalma's picture


The media server is Solaris O.S. and /tmp space is:

swap                    32G     0K        32G     0%    /tmp

I De Pedro's picture

Which NBU version are you using?

If it's NBU 6.5:

Other TN:

Npalma's picture

Hi I De Pedro.-

The version is 7.5

Master - Media : RedHat  5.6

Media(2): Solaris 10

port 1556 not blocked


I De Pedro's picture


The shm directory only has write rights for root:

drwxr-xr-x   2 root     root          31 Jun 22 02:19 shm

Are you using other user in the Media Server?

cruisen's picture

Hi Npalma,

did you read pedro, the solution is there I think , in the first link.

just an excerpt:

Once a duplication job exits in this manner, administrators need to manually clean up the shared memory file in order to be able to successfully duplicate this image. In the above example the shared memory file is named:

BUG REPORT: The bptm write process may attempt to access a non existent shared memory file if job database cleanup runs longer then 5 minutes resulting in a status 12

The following work around's may be used to alleviate the problem:
1. Schedule duplication jobs to run at times that do not span midnight
2. Script bpdbjobs -clean to run via cron so  that cleanup will occur more frequently.  This will allow the over all time to it takes for clean-up to complete to be less then five minutes in most circumstances.
3. Contact Symantec Technical Support to request a binary for ET1752343 which has additional code added to attempt to open the shared memory file multiple times if the file does not exist.

ETA of Fix:
A product enhancement to ensure order integrity of the read and write process (ET1466476) has been logged and may be included in a future release of NetBackup.  

Symantec Corporation has acknowledged that the above mentioned issue (ET1752343) is present in the current version(s) of the product(s) mentioned at the end of this article. Symantec Corporation is committed to product quality and satisfied customers.  
This issue was scheduled to be addressed in the following release:
  • NetBackup 6.5 Release Update 6 (6.5.6)


Sorry i did not see that you re on 7.5. Probably its not your case, but check if it applies too.

Npalma's picture

remains the problem then of bpdbjobs -clean

Npalma's picture
This happens in half staging, which are in a media server other than their end destination (library managed by another media server).
Please your help still can not find the problem.