www.mass.dk

Sharing what I know...

  • Increase font size
  • Default font size
  • Decrease font size
Home Netbackup Quick hints Netbackup 7 installation issue

Netbackup 7 installation issue

During Netbackup 7 installation on SuSe Linux the creation of NBDB fails with the following message:

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.


Inspecting /usr/openv/netbackup/nbdb show the following critical errors (those with <16>):

10:58:29.304 [13929] <4> pingDBServer: Running . /usr/openv/db/vxdbms_env.sh && "/usr/openv/db/bin/dbping" -q -c "ENG=NB_white;LINKS=shmem,tcpip{PORT=13785}"
10:58:34.746 [13929] <16> NBDBsystem: System call failed with status: 256
10:58:34.747 [13929] <16> pingDBServer: Database server [NB_white] not available.

Root cause:

The installation program try to open an X11 Window, however if you do the installation over a plain vanilla putty connection X11 is not available.

Workaround:
Start an X11 Windows manger, no X11 Windows will open, but the installation will succeed.


To reproduce the problem, issue the commands:

/usr/openv/db/bin # ./create_nbdb
Database server is NB_white
NetBackup data files will be created in: /usr/openv/db/data
NetBackup index files will be created in: /usr/openv/db/data
NetBackup transaction log file will be created in: /usr/openv/db/data

/usr/openv/db/bin # ./nbdbms_start_server
Start ASA Server Failed! error code: 1
/usr/openv/db//bin/dbspawn -f "/usr/openv/db//bin/NB_dbsrv" @"/usr/openv/var/global/server.conf" @"/usr/openv/var/global/databases.conf"
The application 'dummy' lost its connection to the display localhost:11.0;
most likely the X server was shut down or you killed/destroyed
the application.
DBSPAWN ERROR:  -80
Unable to start database server
SQL Anywhere Start Server In Background Utility Version 11.0.1.2250

Official response from Symantec:

Etrack: 1948643 -  NB_dbsrv failing to start if DISPLAY is set and X server not running

Workaround:
Run "unset DISPLAY" (to move "localhost:10.0" as the display variable)
Run "echo $DISPLAY" (to confirm display environment variable has been changed)
Run /usr/openv/netbackup/bin/install_bp to continue with installation

Symantec Engineering acknowledge the findings and advise it will be fixed in a later release of 7.0.x

Last Updated on Wednesday, 18 August 2010 11:29