Unable to start Spectrum service after installing on Linux Ubuntu 18.04.04 LTS

Product Name: Spectrum Technology Platform™

Product Feature: Installation / Upgrade

Operating System: Linux Ubuntu 18.04.04 LTS 


 

Issue

After performing a fresh install of Spectrum 2019.1 and applying all relevant patches up to S14, the Spectrum service does not start. 

The following errors are recorded in the server log

 
Caused by: java.io.IOException: Unable to connect to Elasticsearch instance

        at com.pb.spectrum.platform.server.index.elasticsearch.ElasticsearchExternalBean.waitUntilRunning(ElasticsearchExternalBean.java:265)

        at com.pb.spectrum.platform.server.index.elasticsearch.ElasticsearchExternalBean.start(ElasticsearchExternalBean.java:243)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1904)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1846)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1774)

        ... 31 common frames omitted

 

Cause

This issue is potentially caused by the system not recognizing the updated limits set for file descriptors, processes, and other entities from their default limits. 

Resolution

UPDATED: July 28, 2020
Review the spectrum-logs.log file within the install directory. For example, under /home/trillium/PBSpectrum/index/logs directory. Open this log file and check if there are any relevant errors reported.  

User-added image

Ensure that the allowed limits are increased on file descriptors, processes, and other entities from their default limits as per the instructions provided under the relevant section in the Installation Guide for Linux below.

https://support.pb.com/help/spectrum/19.1/en/webhelp/InstallationGuide-UnixLinux/index.html#InstallationGuide/source/SystemRequirements/LinuxUnixLimits.html

After updating the allowed limits, the Ubuntu server needs to be restarted. To restart the server via the commandline, use the following command:
$ sudo reboot