cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Netbackup could not initiate a trust relationship with host

You have something strange going on with your hosts file, srvbackup is listed several times 

192.168.80.141  srvbackup
192.168.10.153  srvbackup_nfs   srvbackup
192.168.69.9    srvbackup_bck   srvbackup

Has that always been like that? Doesnt look right to me... im wondering if its causing a name mismatch with whats on the certificate. 

Can you also post your /etc/nsswitch.conf file?   

 

Also, it is kind of

Also, it is kind of concerning that nbatd is not running. 

Check this post for a similar situation. Check your logs to see if its dying instantly on netbackup restart, if so what are the errors?

grrr... I missed that - I

grrr... I missed that - I think NBU will get confused.  I agree, there should only be one IP for the one name of   srvbackup.

Re: Netbackup could not initiate a trust relationship with host

nbatd is not running because NBAC is not configured, or it has been turned off (USE_VXSS =  PROHIBITED)

 

Did you have NBAC running or just logging in with root?

 

And also, you've got reverse lookup mismatches for the extra IP addresses configured. I'd resolve that.

I have NBAC not configured

I have NBAC not configured and USE_VXSS = PROHIBITED, yet nbatd is running. I dont know enough about it to say if thats normal though. 

The reason why I thought it might be a concern is this error in the initial post:  

Connecting to NBATD at [ srvbackup!1556!nbatd ] for establishing trust.
vrts.shared.server.CertificateAuthenticationException: NetBackup could not initiate a trust relationship with host "srvbackup". Ensure that your Domain Name Service (DNS) resolves the hostname to the correct IP address and check network connectivity.

Re: Netbackup could not initiate a trust relationship with host

Get the host file sorted. Clear the host cache once hosts is sorted with bpclntcmd -clear_host_cache Then login again the the gui...if it still errors, enable the bpjava-msvc directoru in netbackup/logs. Try again then look in this file for /usr/openv/var/vxss/credentials There will be a certificate to delete.

Re: Netbackup could not initiate a trust relationship with host

Hi diego... did you get this working again?

Accepted Solution!

Re: Netbackup could not initiate a trust relationship with host

the solution was 

cp -rp /usr/openv/var/vxss/credentials/ /usr/openv/var/vxss/credentials.old

cd credentials

rm -rf srvbackup

rm -rf localhost6.localdomain6

/usr/openv/netbackup/bin/goodies/netbackup stop

./netbackup start -f -v

run again the jave program

/usr/openv/netbackup/bin/jnbSA &

Solve

View solution in original post

Re: Netbackup could not initiate a trust relationship with host

Thanks for posting the solution.

Re: Netbackup could not initiate a trust relationship with host

You do not have to restart the NetBackup services just rename the file.