Spectrum SDC installer fails to upgrade and does not generate error messages
search cancel

Spectrum SDC installer fails to upgrade and does not generate error messages

book

Article ID: 437442

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

When running any of the SDC installation commands from the <Installmedia>/linux folder the install appears to be successful and returns you to the prompt:

./install.bin -i Silent

./install.bin -i Silent  -DUSER_INSTALL_DIR="/app/spectrum"

./install.bin -i Silent -DTRAPX_ENABLE=true -DUSER_INSTALL_DIR="/app/spectrum"

However if you review the timestamp on your $SDConnector/bin files and check the SDConnector version you will see that the install.bin did not actually upgrade SDC.  To verify the version navigate to the $SDM_Install/bin directory and run:

./SdmConnectorService.exe --version

Cause

The wrong install.bin file is being used.  The install.bin in the <Installmedia>/linux folder is for a GUI based install of the SpectroSERVER and/or OneClick.

Resolution

The correct install.bin file is located in the <InstallMedia>/sdmc/linux directory.  For example:

 

/netops-media/<version>/sdmc/linux/install.bin

cd /netops-media/<version>/sdmc/linux

Then run one of the following installation commands that meets your needs:

./install.bin -i Silent

./install.bin -i Silent  -DUSER_INSTALL_DIR="/app/spectrum"

./install.bin -i Silent -DTRAPX_ENABLE=true -DUSER_INSTALL_DIR="/app/spectrum"

Additional Information

You can enable debugging by running:

export LAX_DEBUG=true

This will print statements to the window.

If you are running the <Installmedia>/linux/install.bin file you will see the following output:

TOMCAT_ROOT =
VCD_PATH =
Setting $nt_install_dir$ to C:\win32app\Spectrum
Setting $nt_tomcat_port$ to 80
Setting $linux_tomcat_port$ to 8080
Setting $sunos5_tomcat_port$ to 8080
Setting $linux_install_dir$ to /usr/Spectrum
Setting $sunos5_install_dir$ to /usr/Spectrum
magic folder
Retrying Installables deferred in pass 0
Deferral retries done because:
There were no deferrals in the last pass.
Installation wizard has finished installing DX NetOps Spectrum.
Command.run(): Cannot run program "/bin/sh": error=2, No such file or directory

 

If you see that output navigate to the  <InstallMedia>/sdmc/linux directory and run the install.