cancel
Showing results for 
Search instead for 
Did you mean: 

NBU 6.5 Install - Unable to perform EMM operations (Status code: 77, 195, and 196)

Ajenda
Level 4
Partner
Hello,
I installed NBU 6.5 and whenever I attempt EMM related operations it fails:
root /usr/openv/netbackup/bin/admincmd # nbemmcmd -getemmserver
NBEMMCMD, Version:6.5
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.

root /usr/openv/netbackup/bin/admincmd # /usr/openv/volmgr/bin/tpconfig -d
EMM interface initialization failed, status = 77

root /usr/openv/netbackup/bin/admincmd # nbemmcmd -listhosts
NBEMMCMD, Version:6.5
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.

vxlogview logs:
07/24/09 12:20:59.260 [EMMServer::isLocalHostEMMServer] LocalHost = <short_name>, EmmServer = <FQDN>
07/24/09 12:20:59.263 [Error] V-111-1049 EMMServer generic error = This host is not the EMM Server. NetBackup EMM Service will not start
07/24/09 13:04:22.747 V-111-1008 [CSettings::Initialize] error reading the db configuration file in ReadVxDBMS_Conf.
07/24/09 13:04:22.748 [CSettings::Initialize] Can't open configuration file: /usr/openv/db/data/vxdbms.conf
07/24/09 13:04:22.765 [EMMServer::EMMServer]

The vxlogview indicates the FQDN is being resolved, however, I have the bp.conf setup to use the short name for the EMMSERVER= (which matches the /etc/hosts file). Is there another config. file that should be checked? I also restarted the daemons and pbx twice with no change.

1 ACCEPTED SOLUTION

Accepted Solutions

Anonymous
Not applicable
You have to ask yourself, if you have confidence in this installation. What other errors might follow.

I know you said you can't re-install. But at what price.
A re-installation would give you piece of mind and also when contacting support with any future issues.

Get the master's config right and the rest falls into place.

View solution in original post

12 REPLIES 12

CRZ
Level 6
Employee Accredited Certified
You also have a "SERVER =" entry in the bp.conf for that name, right?

Does "localhost" resolve to 127.0.0.1?  Check the hosts file for that.

emm connection failure on new media server. The command "nbemmcmd -getemmserver" on a new UNIX based NetBackup 6.5 media server produces the error: "Failed to initialize EMM connection". 
 http://support.veritas.com/docs/317120

Ajenda
Level 4
Partner
Hi,
The /etc/hosts file has the following entry:
127.0.0.1 localhost

Also, I attempted to start the following processes (which were not appearing under bpps)
/usr/openv/netbackup/bin/nbemm
/usr/openv/netbackup/bin/nbrb

However, they do not start, it just returns to the prompt.
I have not arn the nbemmcmd -addhost command, is that needed when the master server is also the media server?
And if so, would this be the correct syntax:
/usr/openv/netbackup/bin/admincmd/nbemmcmd -addhost -machinename <host_name> -machinetype master -operatingsystem solaris

Anonymous
Not applicable
If this is a brand new installation and it never has worked, check that the installation was a success.

The install trace logs are in these directories.

/usr/openv/tmp
/usr/openv/log

Review the answers you gave. Which should be reflected in the bp.conf

Is this the master server install you are referring to?

Ajenda
Level 4
Partner
Hi,
Yes this is the Master server install. The bp.conf file lists the short name for the Master server for all entries (SERVER, CLIENT, and EMMSERVER). Previously there was an issue where they were all listed as the FQDN, which I changed after the install. Here are the errors from the trace:
The NetBackup daemon process (bpdbm) was not started.
Check the services configuration -- files, YP, NIS, or NIS+.
Enter <RETURN> to continue, "x" to exit.
<16>bpauthorize main: Function connect_to_remote_server(FQDN) failed: 11
system call failed

You do not have the proper authorization to perform
this task. Please resolve and try again.
<16>bpauthorize main: Function connect_to_remote_server(FQDN) failed: 11
system call failed

{repeated]

You do not have the proper authorization to perform
this task. Please resolve and try again.

cannot connect on socket (25)


Yasuhisa_Ishika
Level 6
Partner Accredited Certified
> Previously there was an issue where they were all listed as the FQDN, which I changed after the install.

Can you uninstall and re-install NB?
I guess name resolution by FQDN was failded on initial installation, and PBX or EMM can not work correctly.

J_H_Is_gone
Level 6
or the emm was set up in install with FQDN and now that you have ti short name it does not match.

Ajenda
Level 4
Partner
Hi,
If I am unable to reinstall, is there a way to change how the EMM server is resolving the host name so it uses the short name that is listed in the bp.conf file? 
Thanks,

CRZ
Level 6
Employee Accredited Certified
In your hosts file, do you have BOTH names listed?  Try adding the missing one, if you don't.

Ajenda
Level 4
Partner
Hi,
Well, I finally resolved the issue with the EMM Server hostname, however, now I noticed the following errors from the vxlogivew:
07/28/09 15:14:22.591 [Info] V-111-1003 [EMMServer::fini] EMMServer shutting down
07/28/09 15:14:22.642 [Error] V-111-1049 EMMServer generic error = Exception caught for IORTable clean up <NotFound>
07/28/09 15:14:22.642 [EMMServer::fini] EMM Server shut down complete
07/28/09 15:14:22.693 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
07/28/09 15:14:22.694 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
07/28/09 15:14:22.695 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
07/28/09 15:14:22.695 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
07/28/09 15:14:22.695 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
07/28/09 15:14:22.696 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
07/28/09 15:14:22.693 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
07/28/09 15:14:22.697 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
07/28/09 15:14:22.697 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
07/28/09 15:14:22.698 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
07/28/09 15:14:22.696 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
07/28/09 15:14:22.698 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
07/28/09 15:14:22.695 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
07/28/09 15:14:22.699 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
07/28/09 15:14:22.700 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
07/28/09 15:14:22.700 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
07/28/09 15:14:22.700 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
07/28/09 15:14:22.701 [EMMTaskBase::run_event_loop] Caught the following <BAD_INV_ORDER> CORBA exception
07/28/09 15:14:22.701 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
07/28/09 15:14:22.701 [EMMTaskBase::run_event_loop] Finished run() in this thread for <EMM>
07/28/09 15:14:22.705 [EMMMain] <EXIT>
07/28/09 15:14:22.706 [Log::deinit]
07/28/09 15:14:22.708 [EMMServer::~EMMServer]


I am not familiar with these errors.

Anonymous
Not applicable
You have to ask yourself, if you have confidence in this installation. What other errors might follow.

I know you said you can't re-install. But at what price.
A re-installation would give you piece of mind and also when contacting support with any future issues.

Get the master's config right and the rest falls into place.

Ajenda
Level 4
Partner
Hi,
I think you may be correct. I will look into reinstalling this on the Master to continue. Thanks everyone for the responses.

Ajenda
Level 4
Partner
Well, I guess 3 times is the charm. I reinstalled and now everything is working. #/usr/openv/netbackup/bin/admincmd/nbemmcmd -listhosts returns the correct name for the EMM Server. Thanks again to everyone to responded.