Naming, NCM, Rex Connector and Telnetd services not starting for CA Spectrum
search cancel

Naming, NCM, Rex Connector and Telnetd services not starting for CA Spectrum

book

Article ID: 48469

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

The Naming, NCM and Telnetd services are not starting. The NAMINGSERVICE.OUT, NCMSERV.OUT and TELNETD.OUT files all have the same error:

JNI error finding main class

 

Environment

Release: Any
Component: SPCAPP - Spectrum Applications

Cause

The root cause of the issue may be the CLASSPATH variable configured in the system registry and/or environment variables. CLASSPATH is configured in the processd idb files for these services and should not be configured in the system registry and/or environment variables. To check if CLASSPATH is configured in the system registry and/or environment variables, open a bash shell and enter the following command:

echo $CLASSPATH

The result of the above echo command should be blank. If not, CLASSPATH needs to be removed from the system registry and/or environment variables.

Resolution

To remove the CLASSPATH entry from the system registry, as a user that has local system Administrator privileges, open a bash shell and enter the following command from the $SPECROOT/Install-Tools directory:

./setspenv CLASSPATH=

To remove the CLASSPATH entry from the system environmental variables, open the Environmental Variables and delete CLASSPATH from the System Variables.

After removing CLASSPATH from the system registry and/or environmental variables, restart the system.

To verify CLASSPATH has been removed, open a bash shell and enter "echo $CLASSPATH" to ensure it returns blank.

Verify the Naming, Rex, NCM and Telnetd services start.