Video Screencast Help

BMR Database

Created: 15 Dec 2012 | 21 comments

Hi friends.

I am facing problem while creating BMR master server.( I am using Netbackup 7.0.1)

/usr/openv/db/bin/nbdb_ping

Database[NBDB] is alive and well on the server.

 

/usr/openv/db/bin/nbdb_admin -start BMRDB

Error starting BMRDB

/usr/openv/netbackup/bin/bmrsetupmaster

Failed initializing the BMR Database

 

Thank You

Comments 21 CommentsJump to latest comment

Nagalla's picture

hi,

did you already configured the BMR ? and trying to start it..?

if not check this

 

To create the BMR database
1 Log on as the root user on the system on which the NetBackup master server
is installed.
2 Run the following command to start the BMR master server daemon, if it is
not running:
/usr/openv/netbackup/bin/rc.bmrd start
3 Run the following command to create the BMR database:
/usr/openv/netbackup/bin/bmrsetupmaster
After you create the BMR database, you can configure backup policies to
collect BMR required information from NetBackup clients.
 
and also you can verifiy below tech note,if that is related to you
 
http://www.symantec.com/business/support/index?page=content&id=TECH166437
 
hope this helps.

 

girish_nair1984's picture

Run the following command to create the BMR database:

/usr/openv/netbackup/bin/bmrsetupmaster
 
Failed initializing the BMR Database
 
Failed to setup BMR Master Server
Marianne's picture

Lets start at the beginning - which OS is your master?

Have you verified that it is supported as BMR master?

The steps in Nagalla's post can be seen in NBU 7.0 BMR Admin Guide: http://www.symantec.com/docs/TECH127064

Have you done step 2?

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

girish_nair1984's picture

Lets start at the beginning - which OS is your master?

Redhat Linux 5.5

Have you verified that it is supported as BMR master?

Yes

 

Have you done step 2?

Run the following command to start the BMR master server daemon, if it is

not running:
/usr/openv/netbackup/bin/rc.bmrd start
 
Yes, (Without any error)
Yasuhisa Ishikawa's picture

Please unconfigure BMR master server using "bmrsetupmaster -undo" and try bmrsetupmaster again.

If failed again, consider to try rebuild procedures described as Option 2 in this technote.

http://www.symantec.com/docs/TECH166437

Authorized Symantec Consultant(ASC) Data Protection in Tokyo, Japan

mandar_khanolkar's picture

Considering you are trying to setup bmr fresh and there are no bmr backups taken before on this master server. Then try doing below to re-setup bmr database.

bmrsetupmaster -redo

If this works successfully then it will start bmrd daemon as well on your master server.

If fails, provide /usr/openv/logs/bmrsetup logs with debuglevel set to 6 in nblog.conf file.

thanks.

mandar

girish_nair1984's picture

Hi

@Yasuhisa Ishikawa

I tried the steps as per mentioned in Option 2 but still it didn't worked.

I notice one thing as per mentioned in Option 2

Make a copy of the /usr/openv/var/global/databases.conf file and remove the initialization for BMRDB from within the /usr/openv/var/global/databases.conf file.

This line will need to be removed,
"/usr/openv/db/data/BMRDB.db" -n BMRDB

"/usr/openv/db/data/BMRDB.db" -n BMRDB this line was not there in /usr/openv/var/global/databases.conf file   initially.

@ Mandar : Please find the attached logs. (his1 is our master server hostname)

$Header 65543,51216,127,1355896957,-14400,his1
0,51216,127,127,1,1355896957600,15900,1,0:,17:Entering, line=59,26:setupMaster.cpp:SetupSig(),1
0,51216,127,127,2,1355896957610,15900,1,0:,18:Entering, line=124,29:setupMaster.cpp:SetupServer(),1
2,51216,127,127,3,1355896957611,15900,1,0:,0:,0:,0,(41|)
0,51216,128,127,1,1355896957734,15900,1,0:,177:Failed to connect to CS=utf8;UID=dba;PWD=nbusql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_his1;DBN=BMRDB. Msg=[Sybase][ODBC Driver][SQL Anywhere]Request to start/stop database denied,26:DbInterface::DbInterface(),1
0,51216,128,127,2,1355896957741,15900,1,0:,55:Could not do stat on file /usr/openv/db/bin/util_db.ini,40:fileAttribsCommon.cpp:FileExistsCommon(),1
2,51216,127,127,4,1355896957754,15900,1,0:,0:,0:,0,(38|)
0,51216,128,127,3,1355896957890,15900,1,0:,53:Child process pid=15902 exited with non-zero status=3,37:bmrSystemCommon.cpp:BmrSystemCommon(),1
0,51216,127,127,5,1355896958233,15900,1,0:,181:Failed SQL, start database '/usr/openv/db/data/BMRDB.db' as BMRDB autostop offMSG=[Sybase][ODBC Driver][SQL Anywhere]Cannot open transaction log file -- /usr/openv/db/data/BMRDB.log,25:CBmrSetupDb::startBmrDb(),1
0,51216,127,127,6,1355896958234,15900,1,0:,114:Failed SQL, stop database BMRDB unconditionallyMSG=[Sybase][ODBC Driver][SQL Anywhere]Specified database not found,24:CBmrSetupDb::stopBmrDb(),1
0,51216,127,127,7,1355896958323,15900,1,0:,181:Failed SQL, start database '/usr/openv/db/data/BMRDB.db' as BMRDB autostop offMSG=[Sybase][ODBC Driver][SQL Anywhere]Cannot open transaction log file -- /usr/openv/db/data/BMRDB.log,25:CBmrSetupDb::startBmrDb(),1
0,51216,127,127,8,1355896958325,15900,1,0:,199:Exiting, line=660, rc=3, Failed to connect to CS=utf8;UID=dba;PWD=sql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_his1;DBN=BMRDB. Msg=[Sybase][ODBC Driver][SQL Anywhere]Request to start/stop database denied,39:CBmrSetupDb::openInitialBmrConnection(),1
0,51216,127,127,9,1355896958325,15900,1,0:,59:Exiting, line=564, rc=3, Failed getting initial m_OdbcView.,43:CBmrSetupDb.cpp:CBmrSetupDb::initializeDb(),1
2,51216,127,127,10,1355896958325,15900,1,0:,0:,0:,2,(52|)
0,51216,127,127,11,1355896958326,15900,1,0:,36:line=244, mainSetupDb() failed, rc=3,29:setupMaster.cpp:SetupServer(),1
0,51216,128,127,4,1355896959175,15900,1,0:,53:Child process pid=15908 exited with non-zero status=1,37:bmrSystemCommon.cpp:BmrSystemCommon(),1
0,51216,127,127,12,1355896959175,15900,1,0:,34:Could not startbmrd server. rc = 1,40:setupPlat.cpp:ControlServiceUnixCommon(),1
2,51216,127,127,13,1355896959175,15900,1,0:,0:,0:,0,(67|)
0,51216,127,127,14,1355896959175,15900,1,0:,35:line=58, SetupServer() failed, rc=3,23:setupMain.cpp:bmrmain(),1
0,51216,127,127,1,1355897035906,15959,1,0:,17:Entering, line=59,26:setupMaster.cpp:SetupSig(),1
0,51216,127,127,2,1355897035907,15959,1,0:,18:Entering, line=124,29:setupMaster.cpp:SetupServer(),1
2,51216,127,127,3,1355897045936,15959,1,0:,0:,0:,0,(43|)
0,51216,128,127,1,1355897045952,15959,1,0:,177:Failed to connect to CS=utf8;UID=dba;PWD=nbusql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_his1;DBN=BMRDB. Msg=[Sybase][ODBC Driver][SQL Anywhere]Request to start/stop database denied,26:DbInterface::DbInterface(),1
2,51216,127,127,4,1355897045952,15959,1,0:,0:,0:,0,(56|)
2,51216,127,127,5,1355897045952,15959,1,0:,0:,0:,0,(41|)
0,51216,128,127,2,1355897045957,15959,1,0:,177:Failed to connect to CS=utf8;UID=dba;PWD=nbusql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_his1;DBN=BMRDB. Msg=[Sybase][ODBC Driver][SQL Anywhere]Request to start/stop database denied,26:DbInterface::DbInterface(),1
0,51216,128,127,3,1355897045957,15959,1,0:,55:Could not do stat on file /usr/openv/db/bin/util_db.ini,40:fileAttribsCommon.cpp:FileExistsCommon(),1
2,51216,127,127,6,1355897045958,15959,1,0:,0:,0:,0,(38|)
0,51216,128,127,4,1355897045975,15959,1,0:,53:Child process pid=15980 exited with non-zero status=3,37:bmrSystemCommon.cpp:BmrSystemCommon(),1
0,51216,127,127,7,1355897046315,15959,1,0:,181:Failed SQL, start database '/usr/openv/db/data/BMRDB.db' as BMRDB autostop offMSG=[Sybase][ODBC Driver][SQL Anywhere]Cannot open transaction log file -- /usr/openv/db/data/BMRDB.log,25:CBmrSetupDb::startBmrDb(),1
0,51216,127,127,8,1355897046316,15959,1,0:,114:Failed SQL, stop database BMRDB unconditionallyMSG=[Sybase][ODBC Driver][SQL Anywhere]Specified database not found,24:CBmrSetupDb::stopBmrDb(),1
0,51216,127,127,9,1355897046406,15959,1,0:,181:Failed SQL, start database '/usr/openv/db/data/BMRDB.db' as BMRDB autostop offMSG=[Sybase][ODBC Driver][SQL Anywhere]Cannot open transaction log file -- /usr/openv/db/data/BMRDB.log,25:CBmrSetupDb::startBmrDb(),1
0,51216,127,127,10,1355897046407,15959,1,0:,199:Exiting, line=660, rc=3, Failed to connect to CS=utf8;UID=dba;PWD=sql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_his1;DBN=BMRDB. Msg=[Sybase][ODBC Driver][SQL Anywhere]Request to start/stop database denied,39:CBmrSetupDb::openInitialBmrConnection(),1
0,51216,127,127,11,1355897046407,15959,1,0:,59:Exiting, line=564, rc=3, Failed getting initial m_OdbcView.,43:CBmrSetupDb.cpp:CBmrSetupDb::initializeDb(),1
2,51216,127,127,12,1355897046407,15959,1,0:,0:,0:,2,(52|)
0,51216,127,127,13,1355897046408,15959,1,0:,36:line=244, mainSetupDb() failed, rc=3,29:setupMaster.cpp:SetupServer(),1
0,51216,128,127,5,1355897046763,15959,1,0:,53:Child process pid=15986 exited with non-zero status=1,37:bmrSystemCommon.cpp:BmrSystemCommon(),1
0,51216,127,127,14,1355897046763,15959,1,0:,34:Could not startbmrd server. rc = 1,40:setupPlat.cpp:ControlServiceUnixCommon(),1
2,51216,127,127,15,1355897046763,15959,1,0:,0:,0:,0,(67|)
0,51216,127,127,16,1355897046764,15959,1,0:,35:line=58, SetupServer() failed, rc=3,23:setupMain.cpp:bmrmain(),1
0,51216,127,127,1,1355897057611,16006,1,0:,17:Entering, line=59,26:setupMaster.cpp:SetupSig(),1
0,51216,127,127,2,1355897057611,16006,1,0:,18:Entering, line=124,29:setupMaster.cpp:SetupServer(),1
2,51216,127,127,3,1355897060000,16006,1,0:,0:,0:,0,(43|)
0,51216,128,127,1,1355897060016,16006,1,0:,177:Failed to connect to CS=utf8;UID=dba;PWD=nbusql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_his1;DBN=BMRDB. Msg=[Sybase][ODBC Driver][SQL Anywhere]Request to start/stop database denied,26:DbInterface::DbInterface(),1
2,51216,127,127,4,1355897060016,16006,1,0:,0:,0:,0,(56|)
2,51216,127,127,5,1355897060016,16006,1,0:,0:,0:,0,(66|)
0,51216,127,127,1,1355897069709,16014,1,0:,17:Entering, line=59,26:setupMaster.cpp:SetupSig(),1
0,51216,127,127,2,1355897069710,16014,1,0:,18:Entering, line=124,29:setupMaster.cpp:SetupServer(),1
2,51216,127,127,3,1355897069710,16014,1,0:,0:,0:,0,(41|)
0,51216,128,127,1,1355897069727,16014,1,0:,177:Failed to connect to CS=utf8;UID=dba;PWD=nbusql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_his1;DBN=BMRDB. Msg=[Sybase][ODBC Driver][SQL Anywhere]Request to start/stop database denied,26:DbInterface::DbInterface(),1
0,51216,128,127,2,1355897069727,16014,1,0:,55:Could not do stat on file /usr/openv/db/bin/util_db.ini,40:fileAttribsCommon.cpp:FileExistsCommon(),1
2,51216,127,127,4,1355897069728,16014,1,0:,0:,0:,0,(38|)
0,51216,128,127,3,1355897069745,16014,1,0:,53:Child process pid=16015 exited with non-zero status=3,37:bmrSystemCommon.cpp:BmrSystemCommon(),1
0,51216,127,127,5,1355897069845,16014,1,0:,181:Failed SQL, start database '/usr/openv/db/data/BMRDB.db' as BMRDB autostop offMSG=[Sybase][ODBC Driver][SQL Anywhere]Cannot open transaction log file -- /usr/openv/db/data/BMRDB.log,25:CBmrSetupDb::startBmrDb(),1
0,51216,127,127,6,1355897069845,16014,1,0:,114:Failed SQL, stop database BMRDB unconditionallyMSG=[Sybase][ODBC Driver][SQL Anywhere]Specified database not found,24:CBmrSetupDb::stopBmrDb(),1
0,51216,127,127,7,1355897069943,16014,1,0:,181:Failed SQL, start database '/usr/openv/db/data/BMRDB.db' as BMRDB autostop offMSG=[Sybase][ODBC Driver][SQL Anywhere]Cannot open transaction log file -- /usr/openv/db/data/BMRDB.log,25:CBmrSetupDb::startBmrDb(),1
0,51216,127,127,8,1355897069944,16014,1,0:,199:Exiting, line=660, rc=3, Failed to connect to CS=utf8;UID=dba;PWD=sql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_his1;DBN=BMRDB. Msg=[Sybase][ODBC Driver][SQL Anywhere]Request to start/stop database denied,39:CBmrSetupDb::openInitialBmrConnection(),1
0,51216,127,127,9,1355897069945,16014,1,0:,59:Exiting, line=564, rc=3, Failed getting initial m_OdbcView.,43:CBmrSetupDb.cpp:CBmrSetupDb::initializeDb(),1
2,51216,127,127,10,1355897069945,16014,1,0:,0:,0:,2,(52|)
0,51216,127,127,11,1355897069946,16014,1,0:,36:line=244, mainSetupDb() failed, rc=3,29:setupMaster.cpp:SetupServer(),1
0,51216,128,127,4,1355897070298,16014,1,0:,53:Child process pid=16022 exited with non-zero status=1,37:bmrSystemCommon.cpp:BmrSystemCommon(),1
0,51216,127,127,12,1355897070298,16014,1,0:,34:Could not startbmrd server. rc = 1,40:setupPlat.cpp:ControlServiceUnixCommon(),1
2,51216,127,127,13,1355897070298,16014,1,0:,0:,0:,0,(67|)
0,51216,127,127,14,1355897070299,16014,1,0:,35:line=58, SetupServer() failed, rc=3,23:setupMain.cpp:bmrmain(),1
0,51216,127,127,1,1355897086012,16042,1,0:,17:Entering, line=59,26:setupMaster.cpp:SetupSig(),1
0,51216,127,127,2,1355897086013,16042,1,0:,18:Entering, line=124,29:setupMaster.cpp:SetupServer(),1
2,51216,127,127,3,1355897087984,16042,1,0:,0:,0:,0,(43|)
0,51216,128,127,1,1355897088000,16042,1,0:,177:Failed to connect to CS=utf8;UID=dba;PWD=nbusql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_his1;DBN=BMRDB. Msg=[Sybase][ODBC Driver][SQL Anywhere]Request to start/stop database denied,26:DbInterface::DbInterface(),1
2,51216,127,127,4,1355897088000,16042,1,0:,0:,0:,0,(56|)
2,51216,127,127,5,1355897088000,16042,1,0:,0:,0:,0,(66|)
0,51216,127,127,1,1355897153796,16221,1,0:,17:Entering, line=59,26:setupMaster.cpp:SetupSig(),1
0,51216,127,127,2,1355897153796,16221,1,0:,18:Entering, line=124,29:setupMaster.cpp:SetupServer(),1
2,51216,127,127,3,1355897153797,16221,1,0:,0:,0:,0,(41|)
0,51216,128,127,1,1355897153813,16221,1,0:,177:Failed to connect to CS=utf8;UID=dba;PWD=nbusql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_his1;DBN=BMRDB. Msg=[Sybase][ODBC Driver][SQL Anywhere]Request to start/stop database denied,26:DbInterface::DbInterface(),1
0,51216,128,127,2,1355897153813,16221,1,0:,55:Could not do stat on file /usr/openv/db/bin/util_db.ini,40:fileAttribsCommon.cpp:FileExistsCommon(),1
2,51216,127,127,4,1355897153814,16221,1,0:,0:,0:,0,(38|)
0,51216,128,127,3,1355897153831,16221,1,0:,53:Child process pid=16222 exited with non-zero status=3,37:bmrSystemCommon.cpp:BmrSystemCommon(),1
0,51216,127,127,5,1355897154147,16221,1,0:,181:Failed SQL, start database '/usr/openv/db/data/BMRDB.db' as BMRDB autostop offMSG=[Sybase][ODBC Driver][SQL Anywhere]Cannot open transaction log file -- /usr/openv/db/data/BMRDB.log,25:CBmrSetupDb::startBmrDb(),1
0,51216,127,127,6,1355897154147,16221,1,0:,114:Failed SQL, stop database BMRDB unconditionallyMSG=[Sybase][ODBC Driver][SQL Anywhere]Specified database not found,24:CBmrSetupDb::stopBmrDb(),1
0,51216,127,127,7,1355897154238,16221,1,0:,181:Failed SQL, start database '/usr/openv/db/data/BMRDB.db' as BMRDB autostop offMSG=[Sybase][ODBC Driver][SQL Anywhere]Cannot open transaction log file -- /usr/openv/db/data/BMRDB.log,25:CBmrSetupDb::startBmrDb(),1
0,51216,127,127,8,1355897154239,16221,1,0:,199:Exiting, line=660, rc=3, Failed to connect to CS=utf8;UID=dba;PWD=sql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_his1;DBN=BMRDB. Msg=[Sybase][ODBC Driver][SQL Anywhere]Request to start/stop database denied,39:CBmrSetupDb::openInitialBmrConnection(),1
0,51216,127,127,9,1355897154239,16221,1,0:,59:Exiting, line=564, rc=3, Failed getting initial m_OdbcView.,43:CBmrSetupDb.cpp:CBmrSetupDb::initializeDb(),1
2,51216,127,127,10,1355897154239,16221,1,0:,0:,0:,2,(52|)
0,51216,127,127,11,1355897154240,16221,1,0:,36:line=244, mainSetupDb() failed, rc=3,29:setupMaster.cpp:SetupServer(),1
0,51216,128,127,4,1355897154590,16221,1,0:,53:Child process pid=16228 exited with non-zero status=1,37:bmrSystemCommon.cpp:BmrSystemCommon(),1
0,51216,127,127,12,1355897154590,16221,1,0:,34:Could not startbmrd server. rc = 1,40:setupPlat.cpp:ControlServiceUnixCommon(),1
2,51216,127,127,13,1355897154590,16221,1,0:,0:,0:,0,(67|)
0,51216,127,127,14,1355897154591,16221,1,0:,35:line=58, SetupServer() failed, rc=3,23:setupMain.cpp:bmrmain(),1
0,51216,127,127,1,1355897615775,17648,1,0:,17:Entering, line=59,26:setupMaster.cpp:SetupSig(),1
0,51216,127,127,2,1355897615775,17648,1,0:,18:Entering, line=124,29:setupMaster.cpp:SetupServer(),1
2,51216,127,127,3,1355897615776,17648,1,0:,0:,0:,0,(43|)
0,51216,128,127,1,1355897615781,17648,1,0:,41:Failed to read VxDBMS COnfiguration file.,26:DbInterface::DbInterface(),1
2,51216,127,127,4,1355897615782,17648,1,0:,0:,0:,0,(56|)
2,51216,127,127,5,1355897615782,17648,1,0:,0:,0:,0,(41|)
0,51216,128,127,2,1355897615782,17648,1,0:,41:Failed to read VxDBMS COnfiguration file.,26:DbInterface::DbInterface(),1
0,51216,127,127,6,1355897615782,17648,1,0:,41:Failed to read VxDBMS COnfiguration file.,40:CBmrSetupDb.cpp:CBmrSetupDb::setVxdbms(),1
0,51216,128,127,3,1355897615782,17648,1,0:,55:Could not do stat on file /usr/openv/db/bin/util_db.ini,40:fileAttribsCommon.cpp:FileExistsCommon(),1
0,51216,127,127,7,1355897615782,17648,1,0:,37:line=244, mainSetupDb() failed, rc=13,29:setupMaster.cpp:SetupServer(),1
0,51216,128,127,4,1355897616116,17648,1,0:,53:Child process pid=17650 exited with non-zero status=1,37:bmrSystemCommon.cpp:BmrSystemCommon(),1
0,51216,127,127,8,1355897616116,17648,1,0:,34:Could not startbmrd server. rc = 1,40:setupPlat.cpp:ControlServiceUnixCommon(),1
2,51216,127,127,9,1355897616116,17648,1,0:,0:,0:,0,(67|)
0,51216,127,127,10,1355897616116,17648,1,0:,36:line=58, SetupServer() failed, rc=13,23:setupMain.cpp:bmrmain(),1
0,51216,127,127,1,1355897639800,17684,1,0:,17:Entering, line=59,26:setupMaster.cpp:SetupSig(),1
0,51216,127,127,2,1355897639801,17684,1,0:,18:Entering, line=124,29:setupMaster.cpp:SetupServer(),1
2,51216,127,127,3,1355897639801,17684,1,0:,0:,0:,0,(41|)
0,51216,128,127,1,1355897639806,17684,1,0:,41:Failed to read VxDBMS COnfiguration file.,26:DbInterface::DbInterface(),1
0,51216,127,127,4,1355897639807,17684,1,0:,41:Failed to read VxDBMS COnfiguration file.,40:CBmrSetupDb.cpp:CBmrSetupDb::setVxdbms(),1
0,51216,128,127,2,1355897639807,17684,1,0:,55:Could not do stat on file /usr/openv/db/bin/util_db.ini,40:fileAttribsCommon.cpp:FileExistsCommon(),1
0,51216,127,127,5,1355897639807,17684,1,0:,37:line=244, mainSetupDb() failed, rc=13,29:setupMaster.cpp:SetupServer(),1
0,51216,128,127,3,1355897640141,17684,1,0:,53:Child process pid=17685 exited with non-zero status=1,37:bmrSystemCommon.cpp:BmrSystemCommon(),1
0,51216,127,127,6,1355897640141,17684,1,0:,34:Could not startbmrd server. rc = 1,40:setupPlat.cpp:ControlServiceUnixCommon(),1
2,51216,127,127,7,1355897640141,17684,1,0:,0:,0:,0,(67|)
0,51216,127,127,8,1355897640141,17684,1,0:,36:line=58, SetupServer() failed, rc=13,23:setupMain.cpp:bmrmain(),1
0,51216,127,127,1,1355897857528,19416,1,0:,17:Entering, line=59,26:setupMaster.cpp:SetupSig(),1
0,51216,127,127,2,1355897857529,19416,1,0:,18:Entering, line=124,29:setupMaster.cpp:SetupServer(),1
2,51216,127,127,3,1355897857529,19416,1,0:,0:,0:,0,(41|)
0,51216,128,127,1,1355897862865,19416,1,0:,165:Failed to connect to CS=utf8;UID=dba;PWD=nbusql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_his1;DBN=BMRDB. Msg=[Sybase][ODBC Driver][SQL Anywhere]Database server not found,26:DbInterface::DbInterface(),1
0,51216,128,127,2,1355897862866,19416,1,0:,55:Could not do stat on file /usr/openv/db/bin/util_db.ini,40:fileAttribsCommon.cpp:FileExistsCommon(),1
2,51216,127,127,4,1355897862867,19416,1,0:,0:,0:,0,(38|)
0,51216,128,127,3,1355897862884,19416,1,0:,53:Child process pid=19460 exited with non-zero status=3,37:bmrSystemCommon.cpp:BmrSystemCommon(),1
0,51216,127,127,5,1355897868206,19416,1,0:,171:Failed to connect to CS=utf8;UID=dba;PWD=utilsql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_his1;DBN=utility_db. Msg=[Sybase][ODBC Driver][SQL Anywhere]Database server not found,33:CBmrSetupDb::openUtilConnection(),1
0,51216,127,127,6,1355897868206,19416,1,0:,46:Failed openning ODBC connection to UTILITY DB.,43:CBmrSetupDb.cpp:CBmrSetupDb::initializeDb(),1
2,51216,127,127,7,1355897868206,19416,1,0:,0:,0:,2,(52|)
0,51216,127,127,8,1355897868207,19416,1,0:,36:line=244, mainSetupDb() failed, rc=3,29:setupMaster.cpp:SetupServer(),1
0,51216,128,127,4,1355897873879,19416,1,0:,53:Child process pid=19510 exited with non-zero status=1,37:bmrSystemCommon.cpp:BmrSystemCommon(),1
0,51216,127,127,9,1355897873879,19416,1,0:,34:Could not startbmrd server. rc = 1,40:setupPlat.cpp:ControlServiceUnixCommon(),1
2,51216,127,127,10,1355897873879,19416,1,0:,0:,0:,0,(67|)
0,51216,127,127,11,1355897873879,19416,1,0:,35:line=58, SetupServer() failed, rc=3,23:setupMain.cpp:bmrmain(),1
0,51216,127,127,1,1355897920131,19763,1,0:,17:Entering, line=59,26:setupMaster.cpp:SetupSig(),1
0,51216,127,127,2,1355897920131,19763,1,0:,18:Entering, line=124,29:setupMaster.cpp:SetupServer(),1
2,51216,127,127,3,1355897920132,19763,1,0:,0:,0:,0,(43|)
0,51216,128,127,1,1355897925467,19763,1,0:,165:Failed to connect to CS=utf8;UID=dba;PWD=nbusql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_his1;DBN=BMRDB. Msg=[Sybase][ODBC Driver][SQL Anywhere]Database server not found,26:DbInterface::DbInterface(),1
2,51216,127,127,4,1355897925468,19763,1,0:,0:,0:,0,(56|)
2,51216,127,127,5,1355897925468,19763,1,0:,0:,0:,0,(41|)
0,51216,128,127,2,1355897930791,19763,1,0:,165:Failed to connect to CS=utf8;UID=dba;PWD=nbusql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_his1;DBN=BMRDB. Msg=[Sybase][ODBC Driver][SQL Anywhere]Database server not found,26:DbInterface::DbInterface(),1
0,51216,128,127,3,1355897930792,19763,1,0:,55:Could not do stat on file /usr/openv/db/bin/util_db.ini,40:fileAttribsCommon.cpp:FileExistsCommon(),1
2,51216,127,127,6,1355897930792,19763,1,0:,0:,0:,0,(38|)
0,51216,128,127,4,1355897930810,19763,1,0:,53:Child process pid=19848 exited with non-zero status=3,37:bmrSystemCommon.cpp:BmrSystemCommon(),1
0,51216,127,127,7,1355897936132,19763,1,0:,171:Failed to connect to CS=utf8;UID=dba;PWD=utilsql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_his1;DBN=utility_db. Msg=[Sybase][ODBC Driver][SQL Anywhere]Database server not found,33:CBmrSetupDb::openUtilConnection(),1
0,51216,127,127,8,1355897936132,19763,1,0:,46:Failed openning ODBC connection to UTILITY DB.,43:CBmrSetupDb.cpp:CBmrSetupDb::initializeDb(),1
2,51216,127,127,9,1355897936132,19763,1,0:,0:,0:,2,(52|)
0,51216,127,127,10,1355897936133,19763,1,0:,36:line=244, mainSetupDb() failed, rc=3,29:setupMaster.cpp:SetupServer(),1
0,51216,128,127,5,1355897941807,19763,1,0:,53:Child process pid=19896 exited with non-zero status=1,37:bmrSystemCommon.cpp:BmrSystemCommon(),1
0,51216,127,127,11,1355897941807,19763,1,0:,34:Could not startbmrd server. rc = 1,40:setupPlat.cpp:ControlServiceUnixCommon(),1
2,51216,127,127,12,1355897941808,19763,1,0:,0:,0:,0,(67|)
0,51216,127,127,13,1355897941808,19763,1,0:,35:line=58, SetupServer() failed, rc=3,23:setupMain.cpp:bmrmain(),1

 

 

girish_nair1984's picture

@ Yasuhisa Ishikawa

I performed the rebuild procedures described as Option 2 in this technote.

http://www.symantec.com/docs/TECH166437, but still there was a error in BMR setup

 

I noticed one thing while performing this step

Make a copy of the /usr/openv/var/global/databases.conf file and remove the initialization for BMRDB from within the /usr/openv/var/global/databases.conf file. This line will need to be removed,
"/usr/openv/db/data/BMRDB.db" -n BMRDB

The following line ""/usr/openv/db/data/BMRDB.db" -n BMRDB" was not available in databases.conf file.

 

Thank You

mandar_khanolkar's picture

This is weird.

Is it same NB master+EMM server?

Do you see any issue with NBDB related operations?

BMR setup master process is failing to contact database service for creating its db instance here. This is very basic and can happen if tried setting up bmr on non-nb_master host.

Thanks.

Mandar

girish_nair1984's picture

Hi Mandar

I don't find any problems, while taking normal backups .

I noticed something, while adding following line  "/usr/openv/db/data/BMRDB.db" -n BMRDB in  /usr/openv/var/global/databases.conf file

and restarting the NBU process, following daemons are failing.

nbrb,nbemm,nbaudit,nbpem,nbevtmgr.

When I remove that particular line from databases.conf file, the above mentioned processes are running

Yasuhisa Ishikawa's picture

Why do you edit database.conf? Are there any other files you have edited?

Have you already tried suggestions given here? If not, stop NetBackup, recover edited file as they were, restart NetBackup, then try "bmrsetupmaster -undo". 

Authorized Symantec Consultant(ASC) Data Protection in Tokyo, Japan

mandar_khanolkar's picture

Ok. IMO, the behavior you observed is a bug in nbemm where db connection drops in case any db settings are changed. I have seen this problem.

But I am wondering why BMR DB instance is not getting registered.

BTW do not change /usr/openv/var/global/databases.conf manually. In case you have done before revert it back; restart NBU services and run "bmrsetupmaster -redo".

Also try bmrsetupmaster -redo after restarting the NB server machine. We never know if something is wrong with current loaded system.

Thanks.

Mandar

girish_nair1984's picture

@Yasuhisa Ishikawa

@Mandar

I had the backup of the files before, and I have reverted back everything.

even after running the bmrsetupmaster -redo I am getting error Failed to setup BMR Master Server

 

girish_nair1984's picture

Also I have noted that bmrd process failed to start

mandar_khanolkar's picture

Did you try rebooting your server after reverting the files and before running "bmrsetupmaster -redo". It would look illogical but I would recommend to restart the box once to clean any process/es in malfunction mode. I am about sure that this issue is around NB Sybase server where DB configuration changes are making impact.

Recommendation is to revert all changes to exact orignal one that comes with NB installation; reboot box; make sure NB is functional; remove any BMR* files present inside /usr/openv/db/data folder and then do "bmrsetupmaster -redo".

Thanks.

Mandar

mandar_khanolkar's picture

bmrd process automatically shuts down if it finds no bmrdb is setup. This behavior is by design.

thanks.

mandar

girish_nair1984's picture

I tried the steps as mentioned above, but still its not working

mandar_khanolkar's picture

Hmmm...

Girish,

Up-front I do not have any pointer right now. I would recommend you to open a support case with Symantec on this issue and please provide below details.

1. db conf files

2. bmrsetup debug level 6 log file.

In case I do have any updates I will provide them over this thread.

Thanks.

Mandar