cancel
Showing results for 
Search instead for 
Did you mean: 

Linux Client inistallation error

mohammad_yaseen
Level 4

Dear All,

 

Good day,

 

Kindly note Ive an error during the inistallation of Netbackup Client on a Linux Redhat 6.2 Machine the full log you can find it on the attachment,

 

Many thanks

1 ACCEPTED SOLUTION

Accepted Solutions

sdo
Moderator
Moderator
Partner    VIP    Certified

Backup the corrupt rpm database using:

cd /var/lib
tar czvf rpmdb.tar.gz rpm


.
Rebuild the rpm database:

cd /var/lib/rpm
rm -f __db*
rpm --rebuilddb -vv


.
You could also try:

yum clean all


...and then retry the install.

View solution in original post

5 REPLIES 5

Nicolai
Moderator
Moderator
Partner    VIP   

Its a problem with the OS package manager. Do you run the install as root ?

 

[02-24-16-09:12:37] rpm -U --nodeps --nopostun --nopreun /var/tmp/VRTSpbx_38974/VRTSpbx-1.5.26.4-4.RH_x86_64.rpm
rpmdb: unable to join the environment
error: db3 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
error: cannot open Packages database in /var/lib/rpm
rpmdb: unable to join the environment
error: db3 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages database in /var/lib/rpm

This is not Netbackup related error. I search the error on Google and found multiple suggestion to fix it. But I am not 100% sure the suggestions is the right fix so I will not post them here. 

mohammad_yaseen
Level 4

Dear Nicolai,

 

Yes sure I've run it with root, do you have any suggesstion.

Nicolai
Moderator
Moderator
Partner    VIP   

You need to get the unix admin to fix the rpm package manager. it has a issue , so Netbackup can't install the needed packages.

sdo
Moderator
Moderator
Partner    VIP    Certified

Backup the corrupt rpm database using:

cd /var/lib
tar czvf rpmdb.tar.gz rpm


.
Rebuild the rpm database:

cd /var/lib/rpm
rm -f __db*
rpm --rebuilddb -vv


.
You could also try:

yum clean all


...and then retry the install.

mohammad_yaseen
Level 4

Thanks a lot sdo, the problem solved I've used the below 3 steps:

# rm -f /var/lib/rpm/__db*
# echo “%__dbi_cdb create private cdb mpool mp_mmapsize=16Mb mp_size=1Mb” > /etc/rpm/macros
# rpm --rebuilddb