Backup & Recovery

Your answers to private cloud is here...

  • Increase font size
  • Default font size
  • Decrease font size

upgarde from 6.5.6 to 7.1 failed with error Database [NBDB] can't be rebuilt

AddThis Social Bookmark Button

Upgrade from netbackup 6.5.6 to 7.1 failed with the following error:

***** SQL error: Unable to start specified database: autostarting database failed
SQL Anywhere Unload Utility Version 11.0.1.2468
Connecting and initializing
Database [NBDB] can't be rebuilt.

Unable to create/upgrade the NB database.  Refer to the
log file in /usr/openv/netbackup/ logs/nbdb for more
information.  Rerun /usr/openv/netbackup/bin/install_bp
when the problem has been resolved.

nbdb log shows the following errors:

16:26:39.819 [14226] <4> startDBServer: Entering.
16:26:39.819 [14226] <4> startDBServer: Running "/usr/openv/netbackup/bin/nbdbms_start_stop" start
16:27:28.117 [14226] <16> NBDBsystem: System call failed with status: 256
16:27:28.117 [14226] <16> startDBServer: "/usr/openv/netbackup/bin/nbdbms_start_stop" start failed.
16:27:28.117 [14226] <4> startDBServer: Exiting. rc = 77
16:27:28.117 [14226] <4> rebuildDBifNecessary: Unable to start the database server.  Continuing with rebuild process.
16:27:28.120 [14226] <4> rebuildDBifNecessary: Making a copy of the existing database files in /usr/openv/db/staging
16:27:29.720 [14226] <4> move_dbspaces: Source /usr/openv/db/data/EMM_DATA.db
16:27:29.720 [14226] <4> move_dbspaces: Destination /usr/openv/db/staging/EMM_DATA.db
16:27:29.908 [14226] <4> move_dbspaces: Source /usr/openv/db/data/NBDB.db
16:27:29.908 [14226] <4> move_dbspaces: Destination /usr/openv/db/staging/NBDB.db
16:27:31.295 [14226] <4> move_dbspaces: Source /usr/openv/db/data/EMM_INDEX.db
16:27:31.296 [14226] <4> move_dbspaces: Destination /usr/openv/db/staging/EMM_INDEX.db
16:28:26.117 [14226] <4> move_dbspaces: Source /usr/openv/db/data/NBDB.log
16:28:26.117 [14226] <4> move_dbspaces: Destination /usr/openv/db/staging/NBDB.log
16:28:26.117 [14226] <4> rebuildDBifNecessary: Rebuilding the NetBackup database [NBDB].  This will take some time.
16:28:26.117 [14226] <4> rebuild_db: Entering.
16:28:26.293 [14226] <4> pingDBServer: Entering.
16:28:26.293 [14226] <4> pingDBServer: Running . /usr/openv/db/vxdbms_env.sh && "/usr/openv/db/bin/dbping"
-q -c "ENG=NB_server;LINKS=shmem,tcpip{PORT=13785}"
16:29:09.950 [14226] <16> NBDBsystem: System call failed with status: 256
16:29:09.950 [14226] <16> pingDBServer: Database server [NB_server] not available.
16:29:09.950 [14226] <4> pingDBServer: Exiting. rc = 12
16:29:09.988 [14226] <4> rebuild_db: Running . /usr/openv/db/vxdbms_env.sh && /usr/openv/db/bin/dbunload -ar -c "UID=dba;PWD=******;DBF=/usr/openv/db/data/NBDB.db" -v -o "/usr/openv/db/log/dbunload.NBDB.log"
16:30:28.981 [14226] <16> NBDBsystem: System call failed with status: 256
16:30:28.981 [14226] <16> rebuild_db: Error calling dbunload
16:30:28.981 [14226] <4> rebuild_db: Exiting. rc = 77
16:30:28.981 [14226] <16> rebuildDBifNecessary: Database [NBDB] can't be rebuilt.
16:30:28.982 [14226] <4> rebuildDBifNecessary: Exiting. rc = 77
16:30:28.982 [14226] <4> upgradedb: Exiting with rc = 77
16:30:28.982 [14226] <4> create_nbdb: Exiting with rc = 77

 

Root cause:

Current DISPLAY environment variable that causes the connection to fail.

Solution:

Luckily the fix to this issue is simply Set DISPLAY to NULL and rerun install.

Do:

$ echo $DISPLAY
localhost:11.0
$ export DISPLAY=""

Then re-run the install_bp script to resume the 7.1 upgrade :

$ /usr/openv/netbackup/bin/install_bp

P.S> If this doesn't work please contact your symantec support before you get your db corrupted.


 

 

 

How much data removed during daily garbage colletion?

AddThis Social Bookmark Button

How much data removed during daily garbage colletion?

The script capacity.sh can help you analyze the amount of data  removed from the system on a daily basis and and also shows you clients cause the greatest amount of data change on the grid.
To run the script:
1)  Login to the utility node as the admin or dpn user

2)  run /usr/local/avamar/bin/capacity.sh
You will get the following output:
/usr/local/avamar/bin/>: capacity.sh
Date          New Data #BU       Removed #GC    Net Change
----------  ---------- -----  ---------- -----  ----------
2011-03-15    61301 mb 377     -38685 mb 1        22616 mb
2011-03-16    40056 mb 377     -75940 mb 1       -35883 mb
2011-03-17    47496 mb 377     -35616 mb 1        11880 mb
2011-03-18    44583 mb 377     -42402 mb 1         2181 mb
2011-03-19    40870 mb 377     -47695 mb 1        -6824 mb
2011-03-20    36769 mb 379     -38655 mb 1        -1885 mb
2011-03-21    42157 mb 377     -54021 mb 1       -11863 mb
2011-03-22    43204 mb 380     -20890 mb 1        22314 mb
2011-03-23    38348 mb 380     -81867 mb 1       -43518 mb
2011-03-24    49594 mb 377     -40165 mb 1         9429 mb
2011-03-25    46618 mb 379     -41717 mb 1         4901 mb
2011-03-26    42548 mb 377     -42476 mb 1           72 mb
2011-03-27    40528 mb 377     -39695 mb 1          833 mb
2011-03-28    60641 mb 382     -41778 mb 2        18863 mb
2011-03-29   103095 mb 388          0 mb         103095 mb
2011-03-30    63050 mb 384    -107608 mb 1       -44557 mb
2011-03-31    88647 mb 388     -35849 mb 1        52798 mb
2011-04-01    81117 mb 386      -8739 mb 1        72378 mb
2011-04-02    39159 mb 385     -83058 mb 1       -43898 mb
2011-04-03    39561 mb 383     -36245 mb 1         3316 mb
2011-04-04    75077 mb 385     -38237 mb 1        36840 mb
2011-04-05    55034 mb 401     -33625 mb 1        21409 mb
2011-04-06    92756 mb 406     -75346 mb 1        17410 mb
2011-04-07    46478 mb 415     -34896 mb 1        11582 mb
2011-04-08    78134 mb 408     -41729 mb 1        36405 mb
2011-04-09    44712 mb 409     -44268 mb 1          444 mb
2011-04-10    43960 mb 410     -35968 mb 1         7992 mb
2011-04-11    73186 mb 410     -17358 mb 1        55828 mb
2011-04-12    78748 mb 407     -69418 mb 1         9330 mb
2011-04-13    72976 mb 407     -73959 mb 1         -982 mb
2011-04-14    54242 mb 402     -36746 mb 1        17496 mb
----------  ---------- -----  ---------- -----  ----------
Average       56924 mb         -45633 mb          11290 mb

Top 3 High Change Clients:
--------------------------
Total for all clients                     1764660 mb      100.0%
avamar-client_1                         438770 mb        24.9%
avamar-client_2                         410366 mb        23.3%
avamar-client_3                         51116 mb          2.9%

 
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  3 
  •  4 
  •  5 
  •  6 
  •  7 
  •  8 
  •  9 
  •  10 
  •  Next 
  •  End 
  • »


Page 1 of 72

Easy Sign In
RPX

Documents

Newest Users

Welcome our newest members:
We have 5492 registered members.

Online Users

We have 173 guests and no users online

Search Here

Webwww.netbackupcommands.com

Poll

What Salary range are you earning for a Netbackup Administrator?