Problem
bmrsetupmaster command running on Red Hat Linux 8.x Master Server fails with "V-127-55 Failed creating BMR schema"
error due to the failure to load "libncurses.so.5".
Error Message
-------------------------
[root@hostname bin]# /usr/openv/netbackup/bin/bmrsetupmaster
[Info] V-127-41 Setting up BMR database ...
[Info] V-127-38 Initializing BMR database ...
[Info] V-127-39 Loading BMR database ...
/usr/openv/db/bin/dbisqlc: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[Error] V-127-55 Failed creating BMR schema.
-------------------------
Cause
"libncurses.so.5" which is required by bmrsetupmaster does not exist in Red Hat Linux 8.x,
["ls -al" commnad sample in Red Hat Linux 8.0]
-------------------------
[root@hostname lib64]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.0 (Ootpa)
[root@hostname lib64]# ls -al /lib64/libncurses.so.*
lrwxrwxrwx. 1 root root 17 Jan 16 2019 libncurses.so.6 -> libncurses.so.6.1
-rwxr-xr-x. 1 root root 216912 Jan 16 2019 libncurses.so.6.1
-------------------------
["ls -al" commnad sample in Red Hat Linux 6.6]
-------------------------
[root@hostname lib64]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.6 (Santiago)
[root@hostname lib64]# ls -al /lib64/libncurses.so.*
lrwxrwxrwx. 1 root root 17 Apr 15 2016 libncurses.so.5 -> libncurses.so.5.7
-rwxr-xr-x 1 root root 142504 Dec 4 2009 libncurses.so.5.7
-------------------------
Solution
Installing "ncurses-compat-libs" additional package on Red Hat Linux 8.x will add "libncurses.so.5" so that problem will be avoided.
1. Install "ncurses-compat-libs" additional package.
yum install ncurses-compat-libs
2. Perform the BMR invalidation task.
/usr/openv/netbackup/bin/bmrsetupmaster -undo -f
3. Run bmrsetupmaster again.
/usr/openv/netbackup/bin/bmrsetupmaster