Experimental Physics and
| |||||||||||||||
|
Dear guys, installing and checking the EPICS archiver appliance I have the following problem.
The mgmt container (the first that I launch) is launched correctly, and it permits me to add PVs and are registered correctly both in the webbrowser as in the mySQL data base, but the following containers does not execute because all of them report in the log file the same error: Caused by: com.hazelcast.core.HazelcastException: Port [17670] is already in use and auto-increment is disabled. Hazelcast cannot start I understand waht it means, but I follow the configuration explained in the https://slacmshankar.github.io/epicsarchiver_docs/installguide.html my appliance configuration is: <appliances> <appliance> <identity>appliance0</identity> <cluster_inetport>localhost:17670</cluster_inetport> <mgmt_url>http://localhost:17665/mgmt/bpl</mgmt_url> <engine_url>http://localhost:17666/engine/bpl</engine_url> <etl_url>http://localhost:17667/etl/bpl</etl_url> <retrieval_url>http://localhost:17668/retrieval/bpl</retrieval_url> <data_retrieval_url>http://localhost/retrieval</data_retrieval_url> </appliance> </appliances> the way in which I launch the cluster is: function startTomcatAtLocation() { if [ -z "$1" ]; then echo "startTomcatAtLocation called without any arguments"; exit 1; fi export CATALINA_HOME=$TOMCAT_HOME export CATALINA_BASE=$1 echo "Starting tomcat at location ${CATALINA_BASE}" ARCH=`uname -m` if [[ $ARCH == 'x86_64' || $ARCH == 'amd64' ]] then echo "Using 64 bit versions of libraries" ### export LD_LIBRARY_PATH=${CATALINA_BASE}/webapps/engine/WEB-INF/lib/native/linux-x86_64:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH=${CATALINA_BASE}/webapps/engine/WEB-INF/lib/native/linux-x86_64:/home/max/EPICS/base/lib/linux-x86_64:${LD_LIBRARY_PATH} else echo "Using 32 bit versions of libraries" export LD_LIBRARY_PATH=${CATALINA_BASE}/webapps/engine/WEB-INF/lib/native/linux-x86:${LD_LIBRARY_PATH} fi pushd ${CATALINA_BASE}/logs ${CATALINA_HOME}/bin/jsvc \ -server \ -cp ${CATALINA_HOME}/bin/bootstrap.jar:${CATALINA_HOME}/bin/tomcat-juli.jar:/home/max/scratch/mgmt/webapps/WEB-INF/lib/log4j-1.2.17.jar \ ${JAVA_OPTS} \ -Dcatalina.base=${CATALINA_BASE} \ -Dcatalina.home=${CATALINA_HOME} \ -cwd ${CATALINA_BASE}/logs \ -outfile ${CATALINA_BASE}/logs/catalina.out \ -errfile ${CATALINA_BASE}/logs/catalina.err \ -pidfile ${CATALINA_BASE}/pid \ org.apache.catalina.startup.Bootstrap run popd } function start() { startTomcatAtLocation ${ARCHAPPL_DEPLOY_DIR}/mgmt sleep 20s startTomcatAtLocation ${ARCHAPPL_DEPLOY_DIR}/engine sleep 20s startTomcatAtLocation ${ARCHAPPL_DEPLOY_DIR}/etl sleep 20s startTomcatAtLocation ${ARCHAPPL_DEPLOY_DIR}/retrieval } any idea? Thank you in advance
| ||||||||||||||
ANJ, 24 Nov 2016 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |