NetBackup malware detection scan fails with message "Failed to get response from NetBackup malware utility"

Article: 100053050
Last Published: 2022-06-30
Ratings: 2 1
Product(s): NetBackup & Alta Data Protection

Problem

NetBackup malware detection scan fails with message "Failed to get response from NetBackup malware utility"

Error Message

Error in WebUI:

Failed to get response from NetBackup malware utility

Error in ncfnbcs logs of media server:

<Logs are trimmed to show only required lines>

5/11/2022 14:44:46.009 [Debug] NB 51216 ncfnbcs 366 PID:32301 TID:4294967295 File ID:366 [No context] 1 [MalwareScanOperationHandler::scan] Starting scan operation on scanhost :<malware_scan_host> (../MalwareScanOperationHandler.cpp:347)
5/11/2022 14:44:46.009 [Debug] NB 51216 ncfnbcs 366 PID:32301 TID:4294967295 File ID:366 [No context] 1 [MalwareCmd::executeCmd] Received command : mount, options :  -worklistid 29 -mountsrcpath media_server.example.com:/mnt/vpfs_shares/29_1/29_1652190396 -sharetype NFS (../helper/MalwareCmdMgmt.cpp:382)
5/11/2022 14:44:46.300 [Debug] NB 51216 ncfnbcs 366 PID:32301 TID:4294967295 File ID:366 [No context] 6 [RemoteCliHandler::perform] Command stderr response : /tmp/malware/29/nbmalwareutil: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
5/11/2022 14:44:46.300 [Debug] NB 51216 ncfnbcs 366 PID:32301 TID:4294967295 File ID:366 [No context] 6 [MalwareCmd::executeCmd] Command after send - std err response : /tmp/malware/29/nbmalwareutil: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
5/11/2022 14:44:51.354 [Debug] NB 51216 ncfnbcs 366 PID:32301 TID:4294967295 File ID:366 [No context] 1 [MalwareCmd::parseCommandResponse] Error while parsing command response: on line : 1 : '[' or '{' expected near '/' (../helper/MalwareCmdMgmt.cpp:508)
5/11/2022 14:44:51.354 [Debug] NB 51216 ncfnbcs 366 PID:32301 TID:4294967295 File ID:366 [No context] 1 [MalwareCmd::executeCmd] Failed to parse results rc: -1 (../helper/MalwareCmdMgmt.cpp:480)
5/11/2022 14:44:51.354 [Debug] NB 51216 ncfnbcs 366 PID:32301 TID:4294967295 File ID:366 [No context] 1 [MalwareCmd::mountImage] Failed to execute mountImage rc : -1 (../helper/MalwareCmdMgmt.cpp:261)
5/11/2022 14:44:51.354 [Debug] NB 51216 ncfnbcs 366 PID:32301 TID:4294967295 File ID:366 [No context] 1 [MalwareCmd::scan] Failed to mount path, Error : -1 (../helper/MalwareCmdMgmt.cpp:190)
5/11/2022 14:44:51.354 [Debug] NB 51216 ncfnbcs 366 PID:32301 TID:4294967295 File ID:366 [No context] 1 [MalwareCmd::updateMalwareUtilStatus] nbmalwareutil error code was not set. (../helper/MalwareCmdMgmt.cpp:642)

5/11/2022 14:45:06.691 [Debug] NB 51216 ncfnbcs 366 PID:32301 TID:4294967295 File ID:366 [No context] 1 [MalwareCmd::updateStatus] Failed to get response from NetBackup malware utility. (../helper/MalwareCmdMgmt.cpp:634)
5/11/2022 14:45:06.692 [Debug] NB 51216 ncfnbcs 366 PID:32301 TID:4294967295 File ID:366 [No context] 1 [MalwareScanOperationHandler::scan] Failed to scan backupid backup_id rc:-1 (../MalwareScanOperationHandler.cpp:351)
5/11/2022 14:45:06.702 [Debug] NB 51216 ncfnbcs 366 PID:32301 TID:4294967295 File ID:366 [No context] 1 [MalwareScanOperationHandler::objReceived] errMsg :Failed to perform malware scan of the backup image. (../MalwareScanOperationHandler.cpp:204)

Cause

/usr/lib64/libnsl.so.1 library file does not exist on the scan host which is needed by nbmalwareutil script

Solution

To allow NetBackup malware detection utility to execute on scan host, install libnsl.so.1 library on scan host.
If the latest version of libnsl library file is present (e.g. /usr/lib64/libnsl.so.2), then as a workaround, you can try creating a softlink file /usr/lib64/libnsl.so.1 which points to /usr/lib64/libnsl.so.2

Example of creating softlink file:

# cd /usr/lib64
# ln -sf libnsl.so.2 libnsl.so.1

Note: Please consult with your operating system administrator if you need assistance with installing libnsl* library file.

Was this content helpful?