cancel
Showing results for 
Search instead for 
Did you mean: 

NBU Update to 7.1.0.1 - Failed to initialize EMM connection. (195)

MartinVi
Level 6

Hi all,

today i update our NBU environment from 7.0.1 to 7.1 and then to 7.1.0.1. Our Master Server is running on Solaris 10 x86 and the Media Server on Solaris 10 SPARC. The update to 7.1 was successful and all services are up and running and working well. After upgrade to 7.1.0.1 i facing the following problem:

bash-3.00# /usr/openv/netbackup/bin/admincmd/nbemmcmd -getemmserver
NBEMMCMD, Version:7.1
Failed to initialize EMM connection.  Verify that network access to the EMM server is available and that the services nbemm and pbx_exchange are running on the EMM server. (195)
Command did not complete successfully.

I check the bp.conf on the media and master server:

Media:

bash-3.00# vi /usr/openv/netbackup/bp.conf
"/usr/openv/netbackup/bp.conf" 7 lines, 195 characters
SERVER = rozrhsecp01
SERVER = rozrhtest03
CLIENT_NAME = rozrhtest03
USE_VXSS = PROHIBITED
VXSS_SERVICE_TYPE = INTEGRITYANDCONFIDENTIALITY
EMMSERVER = rozrhsecp01

Master:

bash-3.00# more /usr/openv/netbackup/bp.conf
SERVER = rozrhsecp01
SERVER = rozrhtest03
MEDIA_SERVER = rozrhtest03
CLIENT_NAME = rozrhsecp01
USE_VXSS = PROHIBITED
VXSS_SERVICE_TYPE = INTEGRITYANDCONFIDENTIALITY
EMMSERVER = rozrhsecp01
VXDBMS_NB_DATA = /usr/openv/db/data
VERBOSE = 5
bash-3.00#

Also i check the db:

bash-3.00# /usr/openv/db/bin/dbadm
                Selected Database:  NBDB
                           Status:  UP
                      Consistency:  OK
                Space Utilization:  2 %  

and the

bash-3.00# ./nbdb_ping
Database [NBDB] is alive and well on server [NB_rozrhsecp01].
bash-3.00#

and i check the both /etc/hosts files:

bash-3.00# more /etc/hosts
#
# Internet host table
#
::1     localhost       
127.0.0.1       localhost       
xx.xx.xx.xx   rozrhtest03     rozrhtest03.couttsch.couttsint.net      loghost
xx.xx.xx.xx   rozrhsecp01    rozrhsecp01.couttsch.couttsint.net
bash-3.00#

I have restart NBU but without success! Can someone help me with this problem?

Regards,

Martin

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified

"Schema version mismatch. expected <7.1.0.1> Db <7.1.0.0> "

Seems database upgrade was somehow skipped during the upgrade process.

Please stop NBU and try this:

 /usr/openv/db/bin/nbdbms_start_stop start

 /usr/openv/db/bin/nbdb_ping

/usr/openv/db/bin/nbdb_upgrade -dbn NBDB

View solution in original post

10 REPLIES 10

Marianne
Level 6
Partner    VIP    Accredited Certified

"Verify that ..... the services nbemm and pbx_exchange are running on the EMM server."

Did you restart pbx as well?

Please try the following:

Stop NetBackup: /usr/openv/netbackup/bin/bp.kill_all
Stop pbx: /opt/VRTSpbx/bin/vxpbx_exchanged stop

Start pbx: /opt/VRTSpbx/bin/vxpbx_exchanged start
Start NetBackup: /usr/openv/netbackup/bin/bp.start_all

 

Post output of 'bpps -x'

Do you have the 7.1.0.1 installation log? Please see if you can locate it and post, please.
 

PraveenCH
Level 4

you se this error on Master server or media server?

MartinVi
Level 6

Hi all,

i see this error on both system. Now i have stop and start the services and here is the output of 'bpps -x':

 

Master Server (x86):

bash-3.00# ./bpps -x
NB Processes
------------
    root 20211     1   0 06:50:04 ?           0:00 /usr/openv/netbackup/bin/vnetd -standalone
    root 20318     1   0 06:50:07 ?           0:00 /usr/openv/netbackup/bin/bpdbm
    root 20374     1   0 06:50:09 ?           0:00 /usr/openv/netbackup/bin/nbars
    root 20295     1   0 06:50:06 ?           0:00 /usr/openv/netbackup/bin/nbrb
    root 20280     1   0 06:50:05 ?           0:00 /usr/openv/netbackup/bin/nbevtmgr
    root 20342 20340   0 06:50:08 ?           0:00 sh -c /usr/openv/netbackup/bin/bptm -delete_all_expired 1>/dev/null 2>/dev/null
    root 20331 20327   0 06:50:07 ?           0:00 /usr/openv/netbackup/bin/nbproxy dblib nbpem
    root 20327     1   0 06:50:07 ?           0:00 /usr/openv/netbackup/bin/nbpem
    root 20345     1   0 06:50:08 ?           0:00 /usr/openv/netbackup/bin/nbrmms
    root 20320     1   0 06:50:07 ?           0:00 /usr/openv/netbackup/bin/nbjm
    root 20324 20318   0 06:50:07 ?           0:00 /usr/openv/netbackup/bin/bpjobd
    root 20333 20327   0 06:50:07 ?           0:00 /usr/openv/netbackup/bin/nbproxy dblib nbpem_cleanup
    root 20313     1   0 06:50:06 ?           0:00 /usr/openv/netbackup/bin/bpcompatd
    root 20266     1   0 06:50:04 ?           0:00 /usr/openv/db//bin/NB_dbsrv @/usr/openv/var/global/server.conf @/usr/openv/var/
    root 20343 20342   0 06:50:08 ?           0:00 /usr/openv/netbackup/bin/bptm -delete_all_expired
    root 20486     1   0 06:50:28 ?           0:00 /usr/openv/netbackup/bin/admincmd/bpstsinfo -UPDATE
    root 20340 20216   0 06:50:08 ?           0:00 /usr/openv/netbackup/bin/bpcd -standalone
    root 20403     1   0 06:50:10 ?           0:00 /usr/openv/netbackup/bin/nbsvcmon
    root 20368     1   0 06:50:09 ?           0:00 /usr/openv/netbackup/bin/nbsl
    root 20305     1   0 06:50:06 ?           0:00 /usr/openv/netbackup/bin/bprd
    root 20335     1   0 06:50:07 ?           0:00 /usr/openv/netbackup/bin/nbstserv
    root 20216     1   0 06:50:04 ?           0:00 /usr/openv/netbackup/bin/bpcd -standalone
    root 20394     1   0 06:50:10 ?           0:00 /usr/openv/netbackup/bin/nbvault
    root 20372 20320   0 06:50:09 ?           0:00 /usr/openv/netbackup/bin/nbproxy dblib nbjm
    root 20285     1   0 06:50:05 ?           0:00 /usr/openv/netbackup/bin/nbaudit


MM Processes
------------
    root 20299     1   0 06:50:06 ?           0:00 /usr/openv/volmgr/bin/ltid
    root 20389     1   0 06:50:09 ?           0:00 vmd


Shared Symantec Processes
-------------------------
    root   547     1   0   Jun 21 ?           0:01 /opt/VRTSat/bin/vxatd
    root 20064     1   0 06:49:50 ?           0:01 /opt/VRTSpbx/bin/pbx_exchange
bash-3.00#

Media Server (SPARC):

bash-3.00# ./bpps -x
NB Processes
------------
    root 15303     1   0 06:52:57 ?           0:00 /usr/openv/netbackup/bin/bpcd -standalone
    root 15458     1   0 06:53:08 ?           0:00 /usr/openv/netbackup/bin/bpcompatd
    root 15500     1   0 06:53:17 ?           0:01 /usr/openv/netbackup/bin/nbsl
    root 15479     1   0 06:53:14 ?           0:01 /usr/openv/netbackup/bin/nbrmms
    root 15298     1   0 06:52:57 ?           0:00 /usr/openv/netbackup/bin/vnetd -standalone
    root 15529     1   0 06:53:22 ?           0:00 /usr/openv/netbackup/bin/nbsvcmon


MM Processes
------------
    root 15469     1   0 06:53:11 ?           0:00 vmd
    root 15442     1   0 06:53:07 ?           0:00 /usr/openv/volmgr/bin/ltid


Shared Symantec Processes
-------------------------
    root 15279     1   0 06:52:42 ?           0:00 /opt/VRTSpbx/bin/pbx_exchange
bash-3.00#

Also the 7.1.0.1 installation logs are attached:

 

  • master_installlog.txt
  • master_pbxinstalllog.txt
  • media_installlog.txt
  • media_pbxinstalllog.txt

Regards,

Martin

 

Marianne
Level 6
Partner    VIP    Accredited Certified

I hope that you've logged a Sev 1 support call by now?

You can see that nbemm is not running on the master. Does it start initially and then 'die' afterwards?

Pleas check emm log for errors:

vxlogview -o 111 -t ##:##:##

Provide enough time with -t to catch last startup attempt. Easiest will be to stop and start NBU again. If nbemm dies again, check log for last 5 minutes:  vxlogview -o 111 -t 00:05:00

 

(No errors in installation log on master).

MartinVi
Level 6

Hi Marianne,

here the output from vxlogview -o 111 -t 00:10:00.

bash-3.00# ./vxlogview -o 111 -t 00:10:00
06/23/11 08:06:31.129 [EMMServer::EMMServer]  
06/23/11 08:06:31.134 [DSMFSMORBConfig::DSMFSMORBConfig] Setting DSM ORB thread count to <10>
06/23/11 08:06:31.134 [REMORBConfig::REMORBConfig] Setting REM ORB thread count to <10>
06/23/11 08:06:31.134 [FATClientORBConfig::FATClientORBConfig] Setting FTClient ORB thread count to <10>
06/23/11 08:06:31.198 [EMMMain] <ENTER>
06/23/11 08:06:31.201 [EMMServer::isLocalHostEMMServer]  
06/23/11 08:06:31.201 [EMMServer::isLocalHostEMMServer] LocalHost = <rozrhsecp01>, EmmServer = <rozrhsecp01>
06/23/11 08:06:31.201 [NBEmmSvc::doShouldStart] Should start
06/23/11 08:06:31.375 [NBEmmSvc::doInit] <ENTER>
06/23/11 08:06:31.375 [NBEmmSvc::doInit] NumberOrbThreads = <10>, NumberDbConnections = <4>, NumberDbBrowseConnections = <3>
06/23/11 08:06:31.661 [EMMServer::SetOrb] Orb is set
06/23/11 08:06:31.732 [NBEmmSvc::doInit] Extra orb options:  -ORBCollocation no
06/23/11 08:06:31.732 [EMMServer::init] Server initializing VxEMM
06/23/11 08:06:31.732 [Info] V-111-1000 [EMMServer::init] EMMServer initializing = VxEMM
06/23/11 08:06:31.732 [EMMServer::init] Option: -DbServer *** Unrecognized option -DbServer ***
06/23/11 08:06:31.732 [Info] V-111-1001 [EMMServer::init] EMMServer initialization option = Option: -DbServer *** Unrecognized option -DbServer ***
06/23/11 08:06:31.732 [EMMServer::init] Option: NB_rozrhsecp01 *** Unrecognized option NB_rozrhsecp01 ***
06/23/11 08:06:31.732 [Info] V-111-1001 [EMMServer::init] EMMServer initialization option = Option: NB_rozrhsecp01 *** Unrecognized option NB_rozrhsecp01 ***
06/23/11 08:06:31.732 [EMMServer::init] Option: -DbPort *** Unrecognized option -DbPort ***
06/23/11 08:06:31.732 [Info] V-111-1001 [EMMServer::init] EMMServer initialization option = Option: -DbPort *** Unrecognized option -DbPort ***
06/23/11 08:06:31.732 [EMMServer::init] Option: 13785 *** Unrecognized option 13785 ***
06/23/11 08:06:31.732 [Info] V-111-1001 [EMMServer::init] EMMServer initialization option = Option: 13785 *** Unrecognized option 13785 ***
06/23/11 08:06:31.732 [EMMServer::init] Option: -DbName *** Unrecognized option -DbName ***
06/23/11 08:06:31.732 [Info] V-111-1001 [EMMServer::init] EMMServer initialization option = Option: -DbName *** Unrecognized option -DbName ***
06/23/11 08:06:31.732 [EMMServer::init] Option: NBDB *** Unrecognized option NBDB ***
06/23/11 08:06:31.732 [Info] V-111-1001 [EMMServer::init] EMMServer initialization option = Option: NBDB *** Unrecognized option NBDB ***
06/23/11 08:06:31.732 [EMMServer::init] Option: -ConnectString *** Unrecognized option -ConnectString ***
06/23/11 08:06:31.732 [Info] V-111-1001 [EMMServer::init] EMMServer initialization option = Option: -ConnectString *** Unrecognized option -ConnectString ***
06/23/11 08:06:31.733 [EMMServer::init] Option: PROWS=600;CS=utf8;UID=EMM_MAIN;PWD=******;LINKS=shmem,tcpip{PORT=13785};ENG=NB_rozrhsecp01;DBN=NBDB *** Unrecognized option PROWS=600;CS=utf8;UID=EMM_MAIN;PWD=nbusql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_rozrhsecp01;DBN=NBDB ***
06/23/11 08:06:31.733 [Info] V-111-1001 [EMMServer::init] EMMServer initialization option = Option: PROWS=600;CS=utf8;UID=EMM_MAIN;PWD=******;LINKS=shmem,tcpip{PORT=13785};ENG=NB_rozrhsecp01;DBN=NBDB *** Unrecognized option PROWS=600;CS=utf8;UID=EMM_MAIN;PWD=nbusql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_rozrhsecp01;DBN=NBDB ***
06/23/11 08:06:32.775 [EMMServer::run] Server running
06/23/11 08:06:32.775 [Info] V-111-1002 [EMMServer::run] EMMServer running
06/23/11 08:06:32.869 [Error] V-111-1049 EMMServer generic error = Schema version mismatch. expected <7.1.0.1> Db <7.1.0.0>
06/23/11 08:06:32.869 [Info] V-111-1041 [EMMServer::run] Can't read schema version or version mismatch
06/23/11 08:06:32.870 [Error] V-111-1049 EMMServer generic error = controlledRun() failed -> doShouldStart(), doInitialize() or doRun() failed
06/23/11 08:06:33.885 [FATClientORBConfig::shutServant] Calling fini() on FAT Client
06/23/11 08:06:33.885 [FATClientORBConfig::shutServant] Done fini() on FAT Client
06/23/11 08:06:33.885 [REMORBConfig::shutServant] Calling fini() on REM
06/23/11 08:06:33.885 [REMORBConfig::shutServant] Done fini() on REM
06/23/11 08:06:33.885 [DSMFSMORBConfig::shutServants] Calling fini() on FSM
06/23/11 08:06:33.885 [DSMFSMORBConfig::shutServants] Done fini() on FSM
06/23/11 08:06:33.885 [DSMFSMORBConfig::shutServants] Calling fini() on DSM
06/23/11 08:06:33.885 [DSMFSMORBConfig::shutServants] Done fini() on DSM
06/23/11 08:06:33.885 [EMMServer::fini] EMM Server shutting down
06/23/11 08:06:33.885 [Info] V-111-1003 [EMMServer::fini] EMMServer shutting down
06/23/11 08:06:33.895 [Error] V-111-1049 EMMServer generic error = Exception caught for IORTable clean up <NotFound>
06/23/11 08:06:34.148 [EMMServer::fini] Deactivated DB connections
06/23/11 08:06:34.148 [EMMServer::fini] EMM Server shut down complete
06/23/11 08:06:34.166 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.166 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.166 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.166 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.166 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.166 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.168 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.168 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.168 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.169 [EMMMain] <EXIT>
06/23/11 08:06:34.169 [Log::deinit]  
06/23/11 08:06:34.169 [EMMServer::~EMMServer]  
bash-3.00# ./vxlogview -o 111 -t 00:10:00
06/23/11 08:06:31.129 [EMMServer::EMMServer]  
06/23/11 08:06:31.134 [DSMFSMORBConfig::DSMFSMORBConfig] Setting DSM ORB thread count to <10>
06/23/11 08:06:31.134 [REMORBConfig::REMORBConfig] Setting REM ORB thread count to <10>
06/23/11 08:06:31.134 [FATClientORBConfig::FATClientORBConfig] Setting FTClient ORB thread count to <10>
06/23/11 08:06:31.198 [EMMMain] <ENTER>
06/23/11 08:06:31.201 [EMMServer::isLocalHostEMMServer]  
06/23/11 08:06:31.201 [EMMServer::isLocalHostEMMServer] LocalHost = <rozrhsecp01>, EmmServer = <rozrhsecp01>
06/23/11 08:06:31.201 [NBEmmSvc::doShouldStart] Should start
06/23/11 08:06:31.375 [NBEmmSvc::doInit] <ENTER>
06/23/11 08:06:31.375 [NBEmmSvc::doInit] NumberOrbThreads = <10>, NumberDbConnections = <4>, NumberDbBrowseConnections = <3>
06/23/11 08:06:31.661 [EMMServer::SetOrb] Orb is set
06/23/11 08:06:31.732 [NBEmmSvc::doInit] Extra orb options:  -ORBCollocation no
06/23/11 08:06:31.732 [EMMServer::init] Server initializing VxEMM
06/23/11 08:06:31.732 [Info] V-111-1000 [EMMServer::init] EMMServer initializing = VxEMM
06/23/11 08:06:31.732 [EMMServer::init] Option: -DbServer *** Unrecognized option -DbServer ***
06/23/11 08:06:31.732 [Info] V-111-1001 [EMMServer::init] EMMServer initialization option = Option: -DbServer *** Unrecognized option -DbServer ***
06/23/11 08:06:31.732 [EMMServer::init] Option: NB_rozrhsecp01 *** Unrecognized option NB_rozrhsecp01 ***
06/23/11 08:06:31.732 [Info] V-111-1001 [EMMServer::init] EMMServer initialization option = Option: NB_rozrhsecp01 *** Unrecognized option NB_rozrhsecp01 ***
06/23/11 08:06:31.732 [EMMServer::init] Option: -DbPort *** Unrecognized option -DbPort ***
06/23/11 08:06:31.732 [Info] V-111-1001 [EMMServer::init] EMMServer initialization option = Option: -DbPort *** Unrecognized option -DbPort ***
06/23/11 08:06:31.732 [EMMServer::init] Option: 13785 *** Unrecognized option 13785 ***
06/23/11 08:06:31.732 [Info] V-111-1001 [EMMServer::init] EMMServer initialization option = Option: 13785 *** Unrecognized option 13785 ***
06/23/11 08:06:31.732 [EMMServer::init] Option: -DbName *** Unrecognized option -DbName ***
06/23/11 08:06:31.732 [Info] V-111-1001 [EMMServer::init] EMMServer initialization option = Option: -DbName *** Unrecognized option -DbName ***
06/23/11 08:06:31.732 [EMMServer::init] Option: NBDB *** Unrecognized option NBDB ***
06/23/11 08:06:31.732 [Info] V-111-1001 [EMMServer::init] EMMServer initialization option = Option: NBDB *** Unrecognized option NBDB ***
06/23/11 08:06:31.732 [EMMServer::init] Option: -ConnectString *** Unrecognized option -ConnectString ***
06/23/11 08:06:31.732 [Info] V-111-1001 [EMMServer::init] EMMServer initialization option = Option: -ConnectString *** Unrecognized option -ConnectString ***
06/23/11 08:06:31.733 [EMMServer::init] Option: PROWS=600;CS=utf8;UID=EMM_MAIN;PWD=******;LINKS=shmem,tcpip{PORT=13785};ENG=NB_rozrhsecp01;DBN=NBDB *** Unrecognized option PROWS=600;CS=utf8;UID=EMM_MAIN;PWD=nbusql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_rozrhsecp01;DBN=NBDB ***
06/23/11 08:06:31.733 [Info] V-111-1001 [EMMServer::init] EMMServer initialization option = Option: PROWS=600;CS=utf8;UID=EMM_MAIN;PWD=******;LINKS=shmem,tcpip{PORT=13785};ENG=NB_rozrhsecp01;DBN=NBDB *** Unrecognized option PROWS=600;CS=utf8;UID=EMM_MAIN;PWD=nbusql;LINKS=shmem,tcpip{PORT=13785};ENG=NB_rozrhsecp01;DBN=NBDB ***
06/23/11 08:06:32.775 [EMMServer::run] Server running
06/23/11 08:06:32.775 [Info] V-111-1002 [EMMServer::run] EMMServer running
06/23/11 08:06:32.869 [Error] V-111-1049 EMMServer generic error = Schema version mismatch. expected <7.1.0.1> Db <7.1.0.0>
06/23/11 08:06:32.869 [Info] V-111-1041 [EMMServer::run] Can't read schema version or version mismatch
06/23/11 08:06:32.870 [Error] V-111-1049 EMMServer generic error = controlledRun() failed -> doShouldStart(), doInitialize() or doRun() failed
06/23/11 08:06:33.885 [FATClientORBConfig::shutServant] Calling fini() on FAT Client
06/23/11 08:06:33.885 [FATClientORBConfig::shutServant] Done fini() on FAT Client
06/23/11 08:06:33.885 [REMORBConfig::shutServant] Calling fini() on REM
06/23/11 08:06:33.885 [REMORBConfig::shutServant] Done fini() on REM
06/23/11 08:06:33.885 [DSMFSMORBConfig::shutServants] Calling fini() on FSM
06/23/11 08:06:33.885 [DSMFSMORBConfig::shutServants] Done fini() on FSM
06/23/11 08:06:33.885 [DSMFSMORBConfig::shutServants] Calling fini() on DSM
06/23/11 08:06:33.885 [DSMFSMORBConfig::shutServants] Done fini() on DSM
06/23/11 08:06:33.885 [EMMServer::fini] EMM Server shutting down
06/23/11 08:06:33.885 [Info] V-111-1003 [EMMServer::fini] EMMServer shutting down
06/23/11 08:06:33.895 [Error] V-111-1049 EMMServer generic error = Exception caught for IORTable clean up <NotFound>
06/23/11 08:06:34.148 [EMMServer::fini] Deactivated DB connections
06/23/11 08:06:34.148 [EMMServer::fini] EMM Server shut down complete
06/23/11 08:06:34.166 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.166 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.166 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.166 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.166 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.166 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.167 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
06/23/11 08:06:34.168 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.168 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.168 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
06/23/11 08:06:34.169 [EMMMain] <EXIT>
06/23/11 08:06:34.169 [Log::deinit]  
06/23/11 08:06:34.169 [EMMServer::~EMMServer]  
bash-3.00# date
Thu Jun 23 08:07:52 CEST 2011
bash-3.00#

Nicolai
Moderator
Moderator
Partner    VIP   

./nbdbms_start_server located in /usr/openv/db/bin.

You may be able to see in clear text why EMM doesn't start as intended.

 

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Hi,

 

This seems to be the issue

 

06/23/11 08:06:32.775 [Info] V-111-1002 [EMMServer::run] EMMServer running
06/23/11 08:06:32.869 [Error] V-111-1049 EMMServer generic error = Schema version mismatch. expected <7.1.0.1> Db <7.1.0.0>
06/23/11 08:06:32.869 [Info] V-111-1041 [EMMServer::run] Can't read schema version or version mismatch
06/23/11 08:06:32.870 [Error] V-111-1049 EMMServer generic error = controlledRun() failed -> doShouldStart(), doInitialize() or doRun() failed

 

The solution (from an old technote ) is http://www.symantec.com/docs/TECH46021

 

I'm sure it would still apply.

 

Resolution:
Windows:

From a command prompt, change to the <install_path>\veritas\netbackup\bin\ directory, and then run:
nbdb_upgrade -v
 
Then run:
nbdb_upgrade -dbn NBDB
 
UNIX:
From a command prompt, change to the /usr/openv/db/bin directory, and then run:
nbdb_upgrade -v
 
Then run:
nbdb_upgrade -dbn NBDB


Both commands should finish successfully.

Marianne
Level 6
Partner    VIP    Accredited Certified

"Schema version mismatch. expected <7.1.0.1> Db <7.1.0.0> "

Seems database upgrade was somehow skipped during the upgrade process.

Please stop NBU and try this:

 /usr/openv/db/bin/nbdbms_start_stop start

 /usr/openv/db/bin/nbdb_ping

/usr/openv/db/bin/nbdb_upgrade -dbn NBDB

MartinVi
Level 6

Hi Marianne,

thanks for the hint. Now it works! Is this a known issue or is this step required for update NBU to 7.1.0.1?

Thanks all for the help ...

Regards,

Martin

 

Marianne
Level 6
Partner    VIP    Accredited Certified

I honestly don't know - I have not yet upgraded to 7.1.0.1 (or know anybody who has!). 

I was actually looking for the database upgrade in the installation log but could not find it. Since there was no error, I thought that this patch did not need a database upgrade since this is only a patch and not a release update. EMM log proved that database needed to be upgraded...

Hopefully you have logged a call with Symantec? If this is a bug, they need to know about it!