NetWorker: nsrwatch and nsradmin report "Error opening terminal: xterm-256color"

Summary: After upgrading to v19.7 or later, nsrwatch and nsradmin do not work.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

NetWorker is installed on a Red Hat 9.x server.
nsrwatch and nsradmin commands return the following error:

[root@nwserver]# nsrwatch
Error opening terminal: xterm-256color.

Cause

This is related to the system TERM configuration, for example:

[root@nwserver]# echo $TERM
xterm-256color

 

Red Hat 9+ stopped providing /usr/lib64/libncursesw.so. NetWorker nsrwatch uses an integrated version of libncursesw.a.
v5.5 libncursesw.a should be fine on any Red Hat system. However, if you have a terminfo entry, like xterm-256color, modified to work with a version later than 5.5, the integrated v5.5 libncursesw.a of nsrwatch cannot parse the terminfo entry.

Resolution

Workaround 1 (temporary):

Change TERM first, for example, to vt220.
[root@nwserver]# TERM=vt220
[root@nwserver]# nsrwatch
(works ok)

Workaround 2 (persistent):

Use the /usr/share/terminfo/<directory>/<TERM> file from the prior Red Hat operating system.

Affected Products

NetWorker, NetWorker Series

Products

NetWorker Family
Article Properties
Article Number: 000212846
Article Type: Solution
Last Modified: 28 رجب 1447
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.