cancel
Showing results for 
Search instead for 
Did you mean: 

/usr/openv/netbackup/db/config/shm/ directory question

Jan_Voskar
Level 3
Hi all,
We have a problem with some NBU6MP4 backups on two media servers ( Solaris10 and Tru64 ). The backups are failing with this error in log:

21:07:00.312 <16> bpbrm main: from client hades: ERR - Could not open file /usr/openv/netbackup/db/config/shm/hades_1173729700 to get shared memory information. Errno = 2: No such file or directory

Some ( randomly half ) backups run OK and some are failing. It does not matter if it is a DB backup or ordinary file system backup. All backups are from media servers itself.

During successfull backups there is created this file:
/usr/openv/netbackup/db/config/shm/nameofclient_backupid
but during failed backups something prevents creating this file which cause whole backup to fail.
Does anybody know what is this file about, what is in this file, what could prevent creating this file?

There are correct permissions on /usr/openv/netbackup/db/config directory ( some backups run OK ).

Thank you for any ideas,
Jan
4 REPLIES 4

Peter_Jakobs
Level 5
Partner Accredited Certified
Looks like the server doesn't have enough shared memory to allocate. Look in the /var/adm/messages for messages related to this.

or you can try to disable the use of shared memory (altough this will slow down your backups) with:
touch /usr/openv/netbackup/NOSHM

Peter

Jan_Voskar
Level 3
Hi Peter,
I thought the same, but there is enough shm. I had spent a lot of time tuning shm on this Solaris host ( old way /etc/system or through projects ) but backups still fails. We also have couple other Solaris hosts as media servers, and they do not have this problem with the same shm settings. There are no shm related errors in /var/adm/messages. But we will try to use noshm and see.

Thank you

Dennis_Strom
Level 6
Are you getting any errors in /var/adm/messaages?
What do you see in bpbkar and bpcd?Message was edited by:
Dennis Strom

Dennis_Strom
Level 6
Does your /etc/system look anything like this?
* Message queues
set msgsys:msginfo_msgmax=8192
set msgsys:msginfo_msgmnb=65536
set msgsys:msginfo_msgmni=1024
set msgsys:msginfo_msgtql=1024

* Semaphores
set semsys:seminfo_semmni=2048
set semsys:seminfo_semmns=2048
set semsys:seminfo_semmnu=1024
set semsys:seminfo_semmsl=300
set semsys:seminfo_semopm=128
set semsys:seminfo_semume=64

* Shared memory
set shmsys:shminfo_shmmax=33554432
set shmsys:shminfo_shmmni=512

forceload: drv/st

forceload: drv/sg