After installing Spectrum and starting the SpectroSERVER the following shows in the VNM.OUT and the SpectroSERVER will not start:
ERROR TRACE at VNM.cc(446): Required capabilities cap_net_raw and cap_net_bind_service are not set properly.
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
ERROR TRACE at VNM.cc(448): If replaced SpectroSERVER file, then once start SS using startSS.pl with install owner
root permissions. This often happens with dzdo configuration.
Stop processd and manually run setcap as root user.
Stop processd:
systemctl stop processd
Replace $SPECROOT with the path and run all three of these:
/usr/sbin/setcap cap_net_raw,cap_net_bind_service+ep $SPECROOT/SS/SpectroSERVER
/usr/sbin/setcap cap_setuid+ep $SPECROOT/bin/launchinstdbapp
/usr/sbin/setcap cap_sys_ptrace+ep $SPECROOT/bin/gdb
For example:
/usr/sbin/setcap cap_net_raw,cap_net_bind_service+ep /opt/CA/Spectrum/SS/SpectroSERVER
Start processd:
systemctl start processd