DX Spectrum : IcmpServer.cc(897) error in VNM.OUT

book

Article ID: 211546

calendar_today

Updated On:

Products

CA Spectrum DX NetOps Insights

Issue/Introduction

The following error is seen in the $SPECROOT/SS/VNM.OUT file:

SPC-SHD-29021:
**************************************************************************
The following output is intended to facilitate debugging, please forward
to CA technical support.  The files listed are not part of the customer
installation of SPECTRUM.
**************************************************************************

Mar 19 13:10:14 ERROR TRACE at IcmpServer.cc(897): socket() failed for address 0.0.0.0, Cs_sock_get_last_error() = 1
Mar 19 13:10:14 ERROR TRACE at IcmpServer.cc(897): socket() failed for address ::, Cs_sock_get_last_error() = 1

Cause

It looks like SpectroSERVER doesn’t have the proper the capabilities to create the socket for ICMP.

Environment

Release : Any Spectrum version running on Linux

Component : Spectrum Core / SpectroSERVER

Resolution

NOTE: The following commands use "/usr/Spectrum" as the Spectrum root directory. Your Spectrum maybe installed in a different Spectrum root directory. If so, replace "/use/Spectrum" with your Spectrum root directory.

Run the following command as the root user:

setcap cap_net_bind_service,cap_net_raw+ep /usr/Spectrum/SS/SpectroSERVER

To verify the above command ran correctly, run the following command:

getcap /usr/Spectrum/SS/SpectroSERVER

Your output should look similar to the following:

/usr/Spectrum/SS/SpectroSERVER = cap_net_bind_service,cap_net_raw+ep

Additional Information

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/10-4-3/installing-and-upgrading/fresh-install/install-ca-spectrum-with-non-root-user.html