Video Screencast Help
Symantec Appoints Michael A. Brown CEO. Learn more.

NBDB logs cannot recreate

Created: 10 Mar 2013 • Updated: 14 Mar 2013 | 5 comments
This issue has been solved. See solution.

Help /usr/openv/db/log/server.log says:

I. 03/10 06:20:53. Starting checkpoint of "BMRDB" (BMRDB.db) at Sun Mar 10 2013 06:20
I. 03/10 06:20:55. Finished checkpoint of "BMRDB" (BMRDB.db) at Sun Mar 10 2013 06:20
I. 03/10 06:30:36. Starting checkpoint of "NBDB" (NBDB.db) at Sun Mar 10 2013 06:30
I. 03/10 06:30:37. Finished checkpoint of "NBDB" (NBDB.db) at Sun Mar 10 2013 06:30
E. 03/10 06:34:32. Fatal error: disk full /usr/openv/db/data/NBDB.log
I. 03/10 06:34:32. Connection terminated abnormally
I. 03/10 06:34:32. Disconnected SharedMemory client's AppInfo: IP=10.199.9.86;HOST=ATPBACKUPSP01;OS=SunOS 5.10 Generic_120011-14 ;PID=0x507;THREAD=0x1;VERSIO
N=9.0.2.3854;API=ODBC;TIMEZONEADJUSTMENT=480
I. 03/10 06:34:57. Connection terminated abnormally
I. 03/10 06:34:57. Disconnected SharedMemory client's AppInfo: IP=10.199.9.86;HOST=ATPBACKUPSP01;OS=SunOS 5.10 Generic_120011-14 ;PID=0x504;THREAD=0x1;VERSIO
N=9.0.2.3854;API=ODBC;TIMEZONEADJUSTMENT=480
I. 03/10 06:35:02. Connection terminated abnormally
I. 03/10 06:35:02. Disconnected SharedMemory client's AppInfo: IP=10.199.9.86;HOST=ATPBACKUPSP01;OS=SunOS 5.10 Generic_120011-14

After making some space (df -h)

root@ATPBACKUPSP01 # df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c0t0d0s0       20G    15G   4.8G    76%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    10G   1.5M    10G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
                        20G    15G   4.8G    76%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
                        20G    15G   4.8G    76%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
/dev/dsk/c0t0d0s3       15G   706M    14G     5%    /var
swap                    10G    32K    10G     1%    /tmp
swap                    10G    56K    10G     1%    /var/run
/dev/dsk/c0t0d0s4       15G    13G   1.9G    88%    /opt
/dev/dsk/c0t0d0s5      7.9G   4.4G   3.4G    57%    /export/home

 

Then, moving the NBDB.log to another folder and running /usr/openv/db/bin/dbeng9 -f NBDB

2 physical processor(s) detected.
Running on SunOS 5.10 Generic_120011-14
Authenticated Server licensed for use with Authenticated Applications only
8192K of memory used for caching
Minimum cache size: 8192K, maximum cache size: 262016K
Using a maximum page size of 4096 bytes
Starting database "NBDB" (/opt/openv/db/data/NBDB.db) at Mon Mar 11 2013 10:43
Database recovery in progress
    Last checkpoint at Sun Mar 10 2013 06:30
    Checkpoint log...
Opening dbspace 'EMM_DATA' in file '/usr/openv/db/data/EMM_DATA.db' for database 'NBDB'
Opening dbspace 'EMM_INDEX' in file '/usr/openv/db/data/EMM_INDEX.db' for database 'NBDB'
    Transaction log: /usr/openv/db/data/NBDB.log...
    Forcing recovery without transaction log
    Rollback log...
    Checkpointing...
Starting checkpoint of "NBDB" (NBDB.db) at Mon Mar 11 2013 10:43
Finished checkpoint of "NBDB" (NBDB.db) at Mon Mar 11 2013 10:43
Recovery complete
Database server stopped at Mon Mar 11 2013 10:43

 

/usr/openv/db/bin/nbdb_ping says

Database [NBDB] is not available.

I cannot re create the NBDB.log
 

I encounter this before and I only move NBDB.log to other location and recreate the NBDB.log and able to start NBDB and NBEMM.

Now Netbackup cannot run backup because of this. Any help would be greatly appreciated..

 

Operating Systems:
Discussion Filed Under:

Comments 5 CommentsJump to latest comment

Marianne's picture

It seems that you have performed steps 6 and 7 of this TN: http://www.symantec.com/docs/TECH55797

What about first 5 steps?

 

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

SOLUTION
RamNagalla's picture

make sure you did followed all the below steps to recreate the ndbd.log

http://www.symantec.com/business/support/index?pag...

you command should be as below

/usr/openv/db/bin/dbeng9 -f /usr/openv/db/data/NBDB.db

not as below..

/usr/openv/db/bin/dbeng9 -f NBDB

 

____EDIT>>

Opps..  I am slow... Marianne is first.. :-)

e_win's picture

yes thanks, it seems I forgot these note " (please note, the NBDB.log will not be created until step 10):" and try to start netbackup and looking at GUI.

 

I have a question, I enable the verbose in vm.conf. Is the added verbose logs affect the NBDB.logs or only the /var/adm/messages? I check the old NBDB.log and it reaches 2g size.

Marianne's picture

It seems your NBU version is still on 6.5, right?

LOTS of fixes and enhancements in NBU 7.1.x and 7.5.x.

Your 20G root partition is WAY too small to accomodate OS as well as NBU. 
You will always need space for logging.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

e_win's picture

Yes its NBU Version 6.5, I will suggest to our client about the upgrade,

Maybe as of now I will disable verbose to vm.conf to have some future free space