cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β 

NBU 7.6.1 BMR

John_F1
Level 2

Hello all, I have a quick question regarding setting up NBU BMR. This is what I have done so far. This is all on a RHEL6 server. Ideally, this server is going to be the BMR Master server and the bootserver. I am getting a hangup when I go to create the SRT. Here is what I have done....

-Installed NBU server

-/usr/openv/netbackup/bin/bmrsetupmaster

-/usr/openv/netbackup/bin/bmrsetupboot -r

-/usr/openv/netbackup/bin/bmrsrtadm

At this point, I go to create the SRT, insert a stock RHEL 6 DVD, which it extracts just fine. It then asks for the NBU Client location, which is on the file system. The issue stems up when it goes to install PBX...

[09-01-15-17:41:24] Checking for VRTSpbx
[09-01-15-17:41:24] rpm -qa | grep VRTSpbx
[09-01-15-17:41:24] VRTSpbx is not installed
[09-01-15-17:41:24] Preparing for package installation
[09-01-15-17:41:24] Checking whether required package tar ball is present...
[09-01-15-17:41:24] Required package tar ball PBX.tar.gz is present
[09-01-15-17:41:24] ********************************************************************************
[09-01-15-17:41:24] ***************************Present status of PBX installation*******************
[09-01-15-17:41:24] ********************************************************************************
[09-01-15-17:41:24] /opt/VRTSpbx/build_version is not present
[09-01-15-17:41:24] ********************************************************************************
[09-01-15-17:41:24] ps -ef | grep pbx
fake_user fake_pid /opt/VRTSpbx/bin/pbx_exchange
[09-01-15-17:41:24] ********************************************************************************
[09-01-15-17:41:24] /etc/vx/VxICS/icsul.conf is not present
[09-01-15-17:41:24] ********************************************************************************
[09-01-15-17:41:24] /etc/vx/VxICS/VxPBX.cfg is not present
[09-01-15-17:41:24] ***********************End present status of PBX installation*******************
[09-01-15-17:41:24] ********************************************************************************
[09-01-15-17:41:24] Removing temporary directory
[09-01-15-17:41:24] rm -rf /var/tmp/VRTSpbx_14569
[09-01-15-17:41:24] Creating temporary directory
[09-01-15-17:41:24] mkdir -p /var/tmp/VRTSpbx_14569
[09-01-15-17:41:24] Copying PBX.tar.gz to /var/tmp/VRTSpbx_14569
[09-01-15-17:41:24] Extracting /var/tmp/VRTSpbx_14569/PBX.tar.gz into /var/tmp/VRTSpbx_14569
[09-01-15-17:41:24] Please wait while installation is in progress...
[09-01-15-17:41:24] Installing/Upgrading private branch exchange on Linux
[09-01-15-17:41:24] Checking for the PBX process...
[09-01-15-17:41:24] rpm -U --nodeps --nopostun --nopreun /var/tmp/VRTSpbx_14569/VRTSpbx-1.5.4.0-0.RH_x86_64.rpm
error: /var/tmp/VRTSpbx_14569/VRTSpbx-1.5.4.0-0.RH_x86_64.rpm: Header SHA1 digest: BAD
error: /var/tmp/VRTSpbx_14569/VRTSpbx-1.5.4.0-0.RH_x86_64.rpm cannot be installed
[09-01-15-17:41:24] ERROR: Could not install VRTSpbx package
[09-01-15-17:41:24] Removing temporary directory
[09-01-15-17:41:24] rm -rf /var/tmp/VRTSpbx_14569
[09-01-15-17:41:24] installpbx exiting with return code: 1
[09-01-15-17:41:24] Please see installation log for more details
[09-01-15-17:41:24] Installation log located here: /var/tmp/installpbx-14569-090115174124.log

 

Now, it seems to think that PBX is not installed, but when I manually run a rpm -qa | grep VRTSpbx, the system indicates the rpm is already installed (I am guessing it was installed when the master was installed).

# rpm -qa | grep VRTSpbx
VRTSpbx-1.5.4.0-0.x86_64

 

Am I doing something wrong here or is this a bug? It seems the PBX install script is failing because PBX is actually already installed.

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

cradlemtn
Level 3

Hello,

I had the same problem creating an SRT for RHEL 6.7 with NBU771.

A short deep dive into the net these links helped me to find the issue:

http://superuser.com/questions/865327/header-v3-rsa-sha1-signature-key-id-c105b9de-bad

http://kiteplans.info/2015/01/15/solved-bug-centos-yum-rpm-broken-by-nss-softokn-3-14-3-19-el6_6-upd...

 

It seems that the lib libfreeblpriv3.so is missing from the package nss-softokn-freebl for checking the signature of the rpm. Veritas is installing only libs that are necessary to boor and run a srt image on a client. The definitions are in the file /usr/openv/var/global/createsrt.conf. In the file version for 7.7.1 there ist only the lib libfreebl3.so installed to the srt.

Hence, I modified the createsrt.conf file to install all from the package nss-softokn-freebl. And now I can succesfully create a SRT for RHEL 6.7.

Here are my modifications for /usr/openv/var/global/createsrt.conf

bmrrhel01:/usr/openv/var/global # diff createsrt.conf createsrt.conf.orig771
2130,2131c2130
< #nss-softokn-freebl  /usr/lib64/libfreebl3.so /lib64/libfreebl3.so
< nss-softokn-freebl ALL
---
> nss-softokn-freebl  /usr/lib64/libfreebl3.so /lib64/libfreebl3.so
2655,2656c2654
< #nss-softokn-freebl  /usr/lib64/libfreebl3.so
< nss-softokn-freebl  ALL
---
> nss-softokn-freebl  /usr/lib64/libfreebl3.so

I hope this will help. I have logged a case with veritas to let this confirm.

 

Ciao
Michael

View solution in original post

4 REPLIES 4

Jaime_Vazquez
Level 6
Employee

The NBU Client install software script is the one identical for a regular client install. It is invoke under a 'chroot' of the SRT base path name.

By the look of the messaging you may have a bad install file set. I see this:

error: /var/tmp/VRTSpbx_14569/VRTSpbx-1.5.4.0-0.RH_x86_64.rpm: Header SHA1 digest: BAD
error: /var/tmp/VRTSpbx_14569/VRTSpbx-1.5.4.0-0.RH_x86_64.rpm cannot be installed
[09-01-15-17:41:24] ERROR: Could not install VRTSpbx package

Try getting another copy of the client install file set and try again.

What release of RHEL 6 are you installing?

John_F1
Level 2

The base OS is RHEL 6.7. Is it possible that it is not supported yet?

I chrooted into the srt directory and manually tried to install the rpm...

bash-4.1# rpm -U --nodeps --nopostun --nopreun VRTSpbx-1.5.4.0-0.RH_x86_64.rpm -vvv
D: ============== VRTSpbx-1.5.4.0-0.RH_x86_64.rpm
D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
D: loading keyring from rpmdb
D: opening  db environment /var/lib/rpm cdb:mpool:joinenv
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: locked   db index       /var/lib/rpm/Packages
D: opening  db index       /var/lib/rpm/Name rdonly mode=0x0
D: Expected size:      9452848 = lead(96)+sigs(180)+pad(4)+data(9452568)
D:   Actual size:      9452848
error: VRTSpbx-1.5.4.0-0.RH_x86_64.rpm: Header SHA1 digest: BAD
error: VRTSpbx-1.5.4.0-0.RH_x86_64.rpm cannot be installed
D:      added source package [0]
D: found 1 source and 0 binary packages
D: closed   db index       /var/lib/rpm/Name
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm
 

I think it might be due to the fact that RHEL6.7 is not yet supported?? I just created a RHEL6.6 SRT with no issues.

 

cradlemtn
Level 3

I have had the same problem creating a SRT for RHEL 6.7 with NBU 7.7.1. And it is supported in NBU 7.7.1 for sure.

[12-02-15-04:18:10] rpm -U --nodeps --nopostun --nopreun /var/tmp/VRTSpbx_20487/VRTSpbx-1.5.26.4-4.RH_x86_64.rpm
error: /var/tmp/VRTSpbx_20487/VRTSpbx-1.5.26.4-4.RH_x86_64.rpm: Header SHA1 digest: BAD
error: /var/tmp/VRTSpbx_20487/VRTSpbx-1.5.26.4-4.RH_x86_64.rpm cannot be installed
[12-02-15-04:18:10] ERROR: Could not install VRTSpbx package
[12-02-15-04:18:10] Removing temporary directory
[12-02-15-04:18:10] rm -rf /var/tmp/VRTSpbx_20487
[12-02-15-04:18:10] installpbx exiting with return code: 1
[12-02-15-04:18:10] Please see installation log for more details


So after a while crawling the net these two links give me the right hints.

http://superuser.com/questions/865327/header-v3-rsa-sha1-signature-key-id-c105b9de-bad

http://kiteplans.info/2015/01/15/solved-bug-centos-yum-rpm-broken-by-nss-softokn-3-14-3-19-el6_6-upd...

I do not know why but it seems that the addtional library /usr/lib64/libfreeblpriv3.so is needed from the package nss-softokn-freebl. Veritas installs only one lib (/lib64/libfreebl3.so) from that package in srt creation.

You can see this in the file /usr/openv/var/global/createsrt.conf. There you can find some package and package file information. I have changed this to use all files of the package nss-softokn-freebl. Here you can see the diff output of my changed createsrt.conf of NBU 7.7.1:

bmrrhel01:/usr/openv/var/global # diff createsrt.conf createsrt.conf.orig771
2130,2131c2130
< #nss-softokn-freebl  /usr/lib64/libfreebl3.so /lib64/libfreebl3.so
< nss-softokn-freebl ALL
---
> nss-softokn-freebl  /usr/lib64/libfreebl3.so /lib64/libfreebl3.so
2655,2656c2654
< #nss-softokn-freebl  /usr/lib64/libfreebl3.so
< nss-softokn-freebl  ALL
---
> nss-softokn-freebl  /usr/lib64/libfreebl3.so

After this I could create the SRT without any problems. A boot test of the SRT with a client will follow. I am going to log a case with veritas support to let this confirm.

I hope this might help a little.

Ciao

Michael

cradlemtn
Level 3

Hello,

I had the same problem creating an SRT for RHEL 6.7 with NBU771.

A short deep dive into the net these links helped me to find the issue:

http://superuser.com/questions/865327/header-v3-rsa-sha1-signature-key-id-c105b9de-bad

http://kiteplans.info/2015/01/15/solved-bug-centos-yum-rpm-broken-by-nss-softokn-3-14-3-19-el6_6-upd...

 

It seems that the lib libfreeblpriv3.so is missing from the package nss-softokn-freebl for checking the signature of the rpm. Veritas is installing only libs that are necessary to boor and run a srt image on a client. The definitions are in the file /usr/openv/var/global/createsrt.conf. In the file version for 7.7.1 there ist only the lib libfreebl3.so installed to the srt.

Hence, I modified the createsrt.conf file to install all from the package nss-softokn-freebl. And now I can succesfully create a SRT for RHEL 6.7.

Here are my modifications for /usr/openv/var/global/createsrt.conf

bmrrhel01:/usr/openv/var/global # diff createsrt.conf createsrt.conf.orig771
2130,2131c2130
< #nss-softokn-freebl  /usr/lib64/libfreebl3.so /lib64/libfreebl3.so
< nss-softokn-freebl ALL
---
> nss-softokn-freebl  /usr/lib64/libfreebl3.so /lib64/libfreebl3.so
2655,2656c2654
< #nss-softokn-freebl  /usr/lib64/libfreebl3.so
< nss-softokn-freebl  ALL
---
> nss-softokn-freebl  /usr/lib64/libfreebl3.so

I hope this will help. I have logged a case with veritas to let this confirm.

 

Ciao
Michael