Spectrum install fails with the following message in the preinst log file: executeScript failed: (NULL)
search cancel

Spectrum install fails with the following message in the preinst log file: executeScript failed: (NULL)

book

Article ID: 190903

calendar_today

Updated On:

Products

Spectrum Network Observability

Issue/Introduction

The Spectrum upgrade run failed due to the terminal timing out and closing down the install run before it was completed. Running the install again returns the errors seen below.

While trying to upgrade or fresh install Spectrum, the following the install failed with the following errors in the preinst.xx.xx log:

Creating installation log: LOGS_20180907/
Starting installation
Extracting installation information
Verifying extraction key
Caching installation information files
Creating installation parameters
Checking installation filters
Determining components to install
Performing host evaluation
Executing pre-installation test scripts
Outputting installation summary to installation machine at:
/opt/spectrum/Install-Tools/LOGS/10.2.3.0.107_20180907/summary.08.12
Preparing host information
Checking for and preserving user modified files
Running pre-installation scripts
executeScript failed: (NULL)
SPC-INT-20029: Pre-installation failed
SPC-INT-20065: The installation of Spectrum is finished, but some errors occurred during the install. Please see the installation log for details.

Environment

All supported Network Observability DX NetOps Spectrum releases

Cause

The install requires all but one Spectrum processes to be down when an upgrade runs. Only the SRAdmin service should remain running.

When running an upgrade with more than SRAdmin running the errors reported are expected due to the running processes.

Resolution

Ensure that all Spectrum processes have been stopped before running the Spectrum installer again.

Ensure that only the SRAdmin process is left running.

Only then, with only SRAdmin left running, should the installer be run again.

Additional Information

To start SRadmin follow these steps.

 

Linux (Non-root User)

Starting with version 21.2.x, Spectrum uses systemctl for non-root service management.

Critical Caveat: Services started with the --user option stop when you log out. To ensure SRAdmin continues running after logout, you must run the following command once: loginctl enable-linger <username>

Steps to Start:

    1. Log in as the non-root user.
    2. Issue the following command: bash systemctl --user start sradmin
    3. Verify the status: bash systemctl --user status sradmin Note: If you encounter errors using su, log directly into the user account instead.

Linux (Root User / Legacy)

For root-based installations or older versions, use the standard system service management.

Steps to Start:

    1. Log in as root.
    2. Issue the following command: bash systemctl start sradmin OR (Legacy/init.d): bash /etc/init.d/sradmin start