02-09-2011 03:16 AM
Can anoune help please.
I got a master server running SLES 11 64 bit and NetBAckup 6.5.6. i want to upgrade to Netbackup 7.
unfortunately the upgrade is failing with the following error:
Installation completed successfully
Database server is NB_hwhls015
NetBackup database already exists in /usr/openv/db/data/NBDB.db
Making a copy of the existing database files in /usr/openv/db/staging
Rebuilding the NetBackup database [NBDB]. This will take some time.
***** SQL error: Communication error
***** SQL error: Communication error
***** SQL error: Communication error
SQL Anywhere Unload Utility Version 11.0.1.2250
Connecting and initializing
Unloading user and group definitions
Unloading table definitions
Unloading index definitions
Unloading functions
Unloading view definitions
Unloading procedures
Unloading triggers
Unloading SQL Remote definitions
Unloading MobiLink definitions
Creating new database
Unloading "EMM_MAIN"."EMM_AllocationStatus" (0 rows)
Unloading "EMM_MAIN"."EMM_Allocations" (0 rows)
Unloading "EMM_MAIN"."EMM_ApiMediaType" (88 rows)
Unloading "EMM_MAIN"."EMM_ApiVendor" (6 rows)
Unloading "EMM_MAIN"."EMM_AppCluster_Server" (0 rows)
Unloading "EMM_MAIN"."EMM_BarcodeRule" (0 rows)
Unloading "EMM_MAIN"."EMM_DeletedMedia" (0 rows)
Unloading "EMM_MAIN"."EMM_Density" (87 rows)
Unloading "EMM_MAIN"."EMM_DensitySupport" (0 rows)
Unloading "EMM_MAIN"."EMM_Device" (0 rows)
Unloading "EMM_MAIN"."EMM_DiskGroup" (2 rows)
Unloading "EMM_MAIN"."EMM_DiskGroup_StorageUnit" (2 rows)
Unloading "EMM_MAIN"."EMM_DiskVolume" (2 rows)
Unloading "EMM_MAIN"."EMM_DiskVolumeMountPoint" (2 rows)
Unloading "EMM_MAIN"."EMM_DriveIndex" (0 rows)
Unloading "EMM_MAIN"."EMM_DriveInquiry" (138 rows)
Unloading "EMM_MAIN"."EMM_DriveType" (99 rows)
Unloading "EMM_MAIN"."EMM_DriveType_Density_MediaTyp" (457 rows)
Unloading "EMM_MAIN"."EMM_FatClient" (0 rows)
Unloading "EMM_MAIN"."EMM_FatInitiatorDevice" (0 rows)
Unloading "EMM_MAIN"."EMM_FatPipe" (0 rows)
Unloading "EMM_MAIN"."EMM_FatServer" (0 rows)
Unloading "EMM_MAIN"."EMM_FatTargetDevice" (0 rows)
Unloading "EMM_MAIN"."EMM_Image" (0 rows)
Unloading "EMM_MAIN"."EMM_ImageCopy" (0 rows)
Unloading "EMM_MAIN"."EMM_ImageFragment" (0 rows)
Unloading "EMM_MAIN"."EMM_LibraryGroup" (13 rows)
Unloading "EMM_MAIN"."EMM_LibraryInquiry" (388 rows)
Unloading "EMM_MAIN"."EMM_LibraryType" (365 rows)
Unloading "EMM_MAIN"."EMM_Machine" (2 rows)
Creating indexes
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.
02-09-2011 03:44 AM
See this section in the Upgrade Portal: http://www.symantec.com/docs/TECH74584
02-09-2011 04:11 AM
See attached the log file from /usr/openv/netbackup/logs/nbdb (log.020911).
from the /usr/openv/db/log/server.log i get this message: Database cannot be started -- /usr/openv/db/data/NBDB.db was created by a different version of the software. You must rebuild this database in order to use it with SQL Anywhere 11.
02-09-2011 04:25 AM
See this blog (created by our forum-friend Nicolai):
http://www.mass.dk/netbackup/quick-hints/78-netbackup-7-instllation-issue.html
02-09-2011 05:05 AM
i tried the suggestion from Nicolai's post: http://www.mass.dk/netbackup/quick-hints/78-netbackup-7-instllation-issue.html a while back and it didnt work.
02-09-2011 06:16 AM
Another thought :
Ensure that a localhost entry exists in the /etc/hosts file as follows:
127.0.0.1 localhost
as well as an entry for the master server itself.
Other than that - it will possibly be best to log a call with Symantec.
02-09-2011 07:42 AM
That entry is already in the /etc/hosts file.
i will log a call with Symantec and let you know how it goes.
06-21-2011 08:00 PM
Robert, how did you get on with this.? What was the solution.?