SETCAP errors show when starting the SpectroSERVER
After installing Spectrum and starting the SpectroSERVER the following shows in the VNM.OUT and the SpectroSERVER will not start:
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.
**************************************************************************
Dec 30 13:19:02 ERROR TRACE at VNM.cc(446): Required capabilities cap_net_raw and cap_net_bind_service are not set properly.
Dec 30 13:19:02 ERROR TRACE at VNM.cc(447): If installed Spectrum as non-root,Please run the $SPECROOT/Install-Tools/spectrum_nonroot_prepost_install.sh as root to properly set capabilities if not run earlier
Dec 30 13:19:02 ERROR TRACE at VNM.cc(448): If replaced SpectroSERVER file, then once start SS using startSS.pl with install owner
The SpectroSERVER OS was recently patched before Spectrum was also upgraded.
Network Observability DX NetOps Spectrum
OS: Linux
App Server: SpectroSERVER
Seen with multiple causes and solutions.
If none of the standard solutions resolve this, it can also be due to the use of 3rd party tools like dzdo on the server. These are known to interfere with the SpectroSERVERs normal operations.
To resolve the misconfigured OS error (VNM.cc(446)) follow these steps.
Stop the processd service using the following command as the install owner.
systemctl stop processd
Manually assign system capabilities with the following commands.
Command 1:
/usr/sbin/setcap cap_net_raw,cap_net_bind_service+ep $SPECROOT/SS/SpectroSERVER
Command 2:
/usr/sbin/setcap cap_setuid+ep $SPECROOT/bin/launchinstdbapp
Command 3:
/usr/sbin/setcap cap_sys_ptrace+ep $SPECROOT/bin/gdb
Run them as root.
Replace the $SPECROOT reference with your installation path.
Start the processd service using the following command as the install owner.
systemctl start processd
Verify Success:
Check the $SPECROOT/SS/VNM.OUT log file for successful startup messages.
Confirm SpectroSERVER process is running using "ps -ef | grep SpectroSERVER"
OS changes above didn't resolve the problem?
VNM.cc(447): Using a sudo user install environment while seeing these errors? Follow these steps.
VNM.cc(448). Ensure the $SPECROOT/bin/startSS.pl script is run, using the correct install owner, to start the SpectroSERVER.