SecurityRiskAdvisors / VECTR

VECTR is a tool that facilitates tracking of your red and blue team testing activities to measure detection and prevention capabilities across different attack scenarios
1.37k stars 162 forks source link

Cannot start vectr_tomcat 8.7.2 #224

Closed hjrrs closed 1 year ago

hjrrs commented 1 year ago

I downloaded sra-vectr-runtime-8.7.2-ce.zip yesterday, when I run docker command to start vector, it does not start tomcat. Logs show following error:

# docker logs dev_vectr-tomcat_1
RUNNING run-parts
run-parts: executing /opt/vectr/release/scripts/docker-entrypoint.d/1_configure
run-parts: executing /opt/vectr/release/scripts/docker-entrypoint.d/2_build_certs
run-parts: executing /opt/vectr/release/scripts/docker-entrypoint.d/3_auth_setup
[0.002s][warning][os,thread] Failed to start thread "GC Thread#0" - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create worker GC thread. Out of system resources.
# An error report file with more information is saved as:
# /usr/local/tomcat/hs_err_pid56.log
run-parts: /opt/vectr/release/scripts/docker-entrypoint.d/3_auth_setup exited with return code 1
Cannot find /usr/local/tomcat/bin/setclasspath.sh
This file is needed to run this program

I am using docker-ce version 19.03.1-3 on RHEL 7.9

# lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 7.9 (Maipo)
Release:        7.9
Codename:       Maipo

# uname -r
3.10.0-1160.83.1.el7.x86_64

# rpm -qa | grep docker
docker-ce-cli-19.03.1-3.el7.x86_64
docker-ce-19.03.11-3.el7.x86_64
hjrrs commented 1 year ago

Closing the issue. Upgrading docker-ce to the latest version fixed the issue.

hjrrs commented 1 year ago

Closing the issue. Upgrading docker-ce to the latest version fixed the issue.