The jettysrv service is terminating shortly after it is started in RSA Security Analytics
Issue
When trying to start the jettysrv service on the Security Analytics server, it stops automatically after 1 or 2 seconds.The /var/log/messages file reports the following:
Jun 11 04:46:46 NWAPPLIANCE17162 init: jettysrv main process (8096) terminated with status 1
Jun 11 04:46:46 NWAPPLIANCE17162 init: jettysrv main process ended, respawning
Jun 11 04:46:46 NWAPPLIANCE17162 init: jettysrv main process ended, respawning
The errors below are also reported in the /opt/rsa/jetty9/logs/threaddump.log file.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Unrecognized VM option 'MaxMetaspaceSize=256m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Unrecognized VM option 'MaxMetaspaceSize=256m'
Error: Could not create the Java Virtual Machine.
Cause
This issue is caused by an issue in the /etc/default/jetty file on the appliance.
Resolution
To fix the issue, follow the steps below.- Open the /etc/default/jetty file with the vi editor.
- Change the MaxMetaspaceSize parameter to be MaxPermSize.
- Start the jetty service with the command below.
systemctl start jetty
Internal Comments
as per SACE-4384, MaxPermSize is not appropriate, so this has not been applicable for over 10 years. Archiving it.
Product Details
RSA Product Set: NetWitnessRSA Product/Service Type: NetWitness
Platform: CentOS 7
Version: 11.x 12.x
Summary
When trying to start jettysrv it stops automatically after 1 or 2 seconds.
Approval Reviewer Queue
Technical approval queue