EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Re:Re: Re:RE: archiver appliance start failed
From: "Wilson, Andy \(DLSLtd, RAL, LSCI\) via Tech-talk" <tech-talk at aps.anl.gov>
To: 网易邮件中心 <l123173 at 163.com>, "jeonghan.lee at gmail.com" <jeonghan.lee at gmail.com>, tech-talk <tech-talk at aps.anl.gov>
Date: Tue, 9 Nov 2021 08:54:25 +0000
From a quick look it appears that user is created by the command make tomcat.preinst

Although I think this is being called by make tomcat​, you could try first explicitly executing
make tomcat.preinst​ before doing make tomcat​ and see if that makes a difference.

Andy

From: 网易邮件中心 <l123173 at 163.com>
Sent: Tuesday, November 9, 2021 08:20
To: Wilson, Andy (DLSLtd,RAL,LSCI) <andrew.wilson at diamond.ac.uk>; jeonghan.lee at gmail.com <jeonghan.lee at gmail.com>; tech-talk <tech-talk at aps.anl.gov>
Subject: Re:Re: Re:RE: archiver appliance start failed
 

Hi Andy and all,

     Thank you for your answer. I updated java from 1.8 to 16, but more question happened.

     So,I intend to reinstall archiver appliance, using https://github.com/jeonghanlee/epicsarchiverap-env/blob/master/docs/README.centos8.md.
     It was good until i go to "make tomcat"
Output:
install: invalid user ‘tomcat’

make: *** [/home/iasf/epics/module/epicsarchiverap-env-master/configure/RULES_TOMCAT:54: tomcat.src_install] Error 1

   
    I did as the web said, could someone give me some advice?

Regards,
Liang






At 2021-11-05 16:07:32, "Wilson, Andy (DLSLtd,RAL,LSCI)" <andrew.wilson at diamond.ac.uk> wrote:

Hi Liang,

I think the important error in the log file is this one:

java.lang.UnsupportedClassVersionError: org/epics/archiverappliance/config/ArchServletContextListener has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 52.0 (unable to load class [org.epics.archiverappliance.config.ArchServletContextListener])

The JAVA_HOME you have defined points to Java 1.8. This needs to be the same version that the AA code was built with. If you're using the latest archiver code then this needs to be JDK16+ http://slacmshankar.github.io/epicsarchiver_docs/details.html#SystemRequirements

Andy

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of 网易邮件中心 via Tech-talk <tech-talk at aps.anl.gov>
Sent: Friday, November 5, 2021 08:52
To: Abdalla Ahmad <Abdalla.Ahmad at sesame.org.jo>; tech-talk <tech-talk at aps.anl.gov>
Subject: Re:RE: archiver appliance start failed
 
Hi Abdalla,
       Thank you for your answer.
       I check some more information:
       1) I could open localhost:8080, I think the tomcat service was good and i tried the archiver after restart tomcat service,  not working.
       2) the log file in /mgmt/logs said that "Error configuring application listener of class [org.epics.archiverappliance.config.ArchServletContextListener]", i put the whold log below and label the error red color.
       3)  the appliacnces.xml file have not been changed.
 -------------------My appliances.xml file  ( i did not change it. )-----------------------
<appliances>

   <appliance>
     <identity>appliance0</identity>
     <cluster_inetport>localhost:16670</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:17668/retrieval</data_retrieval_url>
   </appliance>
 </appliances>
-------------------------------------------End      appliances.xml file--------------------------------------------------------


4)
Whether comment line 9 of sampleStartup.sh( "#source /opt/local/setEPICSEnv.sh"), does it right ?
Comment the line, Because I do not have setEPICSEnv.sh and have export them in my ~/.bashrc
-------------------------------------------~/.bashrc---------------------------------------
export EPICS_HOST_ARCH=linux-x86_64
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.el8_4.x86_64
export JRE_HOME=$JAVA_HOME/jre
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib
export EPICS_BASE=/home/iasf/base-7.0.6.1
export EPICS_EXTENSIONS=/home/iasf/extensions-master
export EPICS_CA_ADDR_LIST=localhost
export EPICS_CA_AUTO_ADDR_LIST=YES
export EPICS_CA_MAX_ARRAY_BYTES=16384
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/tomcat-native-1.2.23/lib
export LD_LIBRARY_PATH
-------------------------------------------~/.bashrc---------------------------------------

The log file:
--------------------------------catalina.err    for start once ------------------------
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version name:   Apache Tomcat/9.0.54
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built:          Sep 28 2021 13:51:49 UTC
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version number: 9.0.54.0
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name:               Linux
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version:            4.18.0-305.3.1.el8.x86_64
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture:          amd64
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home:             /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.el8_4.x86_64/jre
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version:           1.8.0_312-b07
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor:            Red Hat, Inc.
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE:         /home/iasf/EpicsAA/tomcat_instances/mgmt
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME:         /home/iasf/EpicsAA/tomcat_instances/apache-tomcat-9.0.54
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:MaxPermSize=128M
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:+UseG1GC
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Xmx4G
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Xms4G
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -ea
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=/home/iasf/EpicsAA/tomcat_instances/mgmt
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=/home/iasf/EpicsAA/tomcat_instances/apache-tomcat-9.0.54
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcommons.daemon.process.id=705692
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcommons.daemon.process.parent=705691
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcommons.daemon.version=1.2.4
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: abort
Nov 05, 2021 4:33:52 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: An older version [1.2.23] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [1.2.30]
Nov 05, 2021 4:33:52 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Loaded Apache Tomcat Native library [1.2.23] using APR version [1.6.3].
Nov 05, 2021 4:33:52 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [false].
Nov 05, 2021 4:33:52 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
Nov 05, 2021 4:33:52 PM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized [OpenSSL 1.1.1g FIPS  21 Apr 2020]
Nov 05, 2021 4:33:52 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-17665"]
Nov 05, 2021 4:33:52 PM org.apache.catalina.startup.Catalina load
INFO: Server initialization in [574] milliseconds
Nov 05, 2021 4:33:53 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Catalina]
Nov 05, 2021 4:33:53 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.54]
Nov 05, 2021 4:33:53 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive [/home/iasf/EpicsAA/tomcat_instances/mgmt/webapps/mgmt.war]
Nov 05, 2021 4:33:55 PM org.apache.tomcat.jdbc.pool.ConnectionPool checkPoolConfiguration
WARNING: maxIdle is larger than maxActive, setting maxIdle to: 10
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
Nov 05, 2021 4:33:56 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Nov 05, 2021 4:33:56 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class [org.epics.archiverappliance.config.ArchServletContextListener]
java.lang.UnsupportedClassVersionError: org/epics/archiverappliance/config/ArchServletContextListener has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 52.0 (unable to load class [org.epics.archiverappliance.config.ArchServletContextListener])
        at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2483)
        at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:870)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1371)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1215)
        at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:538)
        at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:519)
        at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:149)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4691)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:698)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1024)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1911)/
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
        at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:825)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1618)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
        at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
        at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
        at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:946)
        at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
       at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
        at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
        at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
        at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:263)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:927)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
        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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
        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.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:241)

Nov 05, 2021 4:33:56 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Nov 05, 2021 4:33:56 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
Nov 05, 2021 4:33:56 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/mgmt] startup failed due to previous errors
Nov 05, 2021 4:33:56 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive [/home/iasf/EpicsAA/tomcat_instances/mgmt/webapps/mgmt.war] has finished in [3,071] ms
Nov 05, 2021 4:33:56 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory [/home/iasf/EpicsAA/tomcat_instances/mgmt/webapps/ROOT]
Nov 05, 2021 4:33:56 PM org.apache.tomcat.jdbc.pool.ConnectionPool checkPoolConfiguration
WARNING: maxIdle is larger than maxActive, setting maxIdle to: 10
Nov 05, 2021 4:33:56 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Nov 05, 2021 4:33:56 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory [/home/iasf/EpicsAA/tomcat_instances/mgmt/webapps/ROOT] has finished in [210] ms
Nov 05, 2021 4:33:56 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory [/home/iasf/EpicsAA/tomcat_instances/mgmt/webapps/docs]
Nov 05, 2021 4:33:56 PM org.apache.tomcat.jdbc.pool.ConnectionPool checkPoolConfiguration
WARNING: maxIdle is larger than maxActive, setting maxIdle to: 10
Nov 05, 2021 4:33:56 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Nov 05, 2021 4:33:56 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory [/home/iasf/EpicsAA/tomcat_instances/mgmt/webapps/docs] has finished in [191] ms
Nov 05, 2021 4:33:56 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory [/home/iasf/EpicsAA/tomcat_instances/mgmt/webapps/examples]
Nov 05, 2021 4:33:56 PM org.apache.tomcat.jdbc.pool.ConnectionPool checkPoolConfiguration
WARNING: maxIdle is larger than maxActive, setting maxIdle to: 10
Nov 05, 2021 4:33:56 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Nov 05, 2021 4:33:56 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Nov 05, 2021 4:33:56 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Nov 05, 2021 4:33:56 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('StockTicker', 'async.Stockticker@73e2862a')
Nov 05, 2021 4:33:56 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory [/home/iasf/EpicsAA/tomcat_instances/mgmt/webapps/examples] has finished in [345] ms
Nov 05, 2021 4:33:56 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory [/home/iasf/EpicsAA/tomcat_instances/mgmt/webapps/host-manager]
Nov 05, 2021 4:33:56 PM org.apache.tomcat.jdbc.pool.ConnectionPool checkPoolConfiguration
WARNING: maxIdle is larger than maxActive, setting maxIdle to: 10
Nov 05, 2021 4:33:57 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Nov 05, 2021 4:33:57 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory [/home/iasf/EpicsAA/tomcat_instances/mgmt/webapps/host-manager] has finished in [150] ms
Nov 05, 2021 4:33:57 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory [/home/iasf/EpicsAA/tomcat_instances/mgmt/webapps/manager]
Nov 05, 2021 4:33:57 PM org.apache.tomcat.jdbc.pool.ConnectionPool checkPoolConfiguration
WARNING: maxIdle is larger than maxActive, setting maxIdle to: 10
Nov 05, 2021 4:33:57 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Nov 05, 2021 4:33:57 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory [/home/iasf/EpicsAA/tomcat_instances/mgmt/webapps/manager] has finished in [144] ms
Nov 05, 2021 4:33:57 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-17665"]
Nov 05, 2021 4:33:57 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in [4191] milliseconds
-----------------------------end  of  catalina.err  ----------------------







At 2021-11-04 18:30:26, "Abdalla Ahmad" <Abdalla.Ahmad at sesame.org.jo> wrote:

Forgot to add tech-talk.

 

From: Abdalla Ahmad
Sent: Thursday, November 4, 2021 12:35 PM
To:
网易邮件中心 <l123173 at 163.com>
Subject: RE: archiver appliance start failed

 

Hi Liang

 

As long as the sampleStartup.sh script showed no errors the archiver appliance should be running. Can you please show the contents of appliances.xml file? Could be the IP addresses of the instances defined as “localhost” instead of your PC’s IP address.

 

Best Regards,

Abdalla.

 

From: Tech-talk [mailto:tech-talk-bounces at aps.anl.gov] On Behalf Of ?????? via Tech-talk
Sent: Thursday, November 4, 2021 10:24 AM
To: tech-talk <tech-talk at aps.anl.gov>
Subject: archiver appliance start failed

 

Hi all,

      I installed the archiver appliance using the instruction:  http://slacmshankar.github.io/epicsarchiver_docs/installguide.html

      the installation was good, but when I did: ./sampleStartup.sh start.

     Software: Centos 8(64),  Apache Tomcat/9.0.54, jdk 1.8.0_312

 

1)----------First -----------------

                 [iasf@localhost tomcat_instances]$ ./sampleStartup.sh start

                 ./sampleStartup.sh: line 9: /opt/local/setEPICSEnv.sh: No such file or directory

---------------------------

Then I uncomment the line, since (1) I could not found "setEPICSEnv.sh" file. (2)I have already set  EPICS_CA_ADDR_LIST=localhost, EPICS_CA_AUTO_ADDR_LIST=YES, EPICS_CA_MAX_ARRAY_BYTES=16384, JAVA_HOME, JRE_HOME,EPICS_HOST_ARCH=linux-x86_64,EPICS_BASE  in my own environment.

I do not know whether it was right.

 

2)---------------Second----------------( i did as "https://github.com/slacmshankar/epicsarchiverap/issues/41" said [ the LD_LIBRARY_PATH error], but nothing changed. )

[iasf@localhost tomcat_instances]$ ./sampleStartup.sh start
Starting tomcat at location /home/iasf/EpicsAA/tomcat_instances/mgmt
Using 64 bit versions of libraries
~/EpicsAA/tomcat_instances/mgmt/logs ~/EpicsAA/tomcat_instances
~/EpicsAA/tomcat_instances
Starting tomcat at location /home/iasf/EpicsAA/tomcat_instances/engine
Using 64 bit versions of libraries
~/EpicsAA/tomcat_instances/engine/logs ~/EpicsAA/tomcat_instances
~/EpicsAA/tomcat_instances
Starting tomcat at location /home/iasf/EpicsAA/tomcat_instances/etl
Using 64 bit versions of libraries
~/EpicsAA/tomcat_instances/etl/logs ~/EpicsAA/tomcat_instances
~/EpicsAA/tomcat_instances
Starting tomcat at location /home/iasf/EpicsAA/tomcat_instances/retrieval
Using 64 bit versions of libraries
~/EpicsAA/tomcat_instances/retrieval/logs ~/EpicsAA/tomcat_instances
~/EpicsAA/tomcat_instances

 

It seems not good, and the  http://{MY_IP_address}:17665/mgmt/ui/index.html could not connect, it shows 404 code.

I check the firewall, it was stop.

 

What should I do it? why it did not start.

 

Cheers,

Liang

 

 



 

 

-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 



 

 

-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 


Replies:
Re: Re:Re: Re:RE: archiver appliance start failed Han Lee via Tech-talk
References:
archiver appliance start failed 网易邮件中心 via Tech-talk
RE: archiver appliance start failed Abdalla Ahmad via Tech-talk
Re:RE: archiver appliance start failed 网易邮件中心 via Tech-talk
Re: Re:RE: archiver appliance start failed Wilson, Andy (DLSLtd, RAL, LSCI) via Tech-talk
Re:Re: Re:RE: archiver appliance start failed 网易邮件中心 via Tech-talk

Navigate by Date:
Prev: Re:Re: Re:RE: archiver appliance start failed 网易邮件中心 via Tech-talk
Next: RE: EPICS support for the Omega Platinum Series PID Controllers Saleh, Ibrahim via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: Re:Re: Re:RE: archiver appliance start failed 网易邮件中心 via Tech-talk
Next: Re: Re:Re: Re:RE: archiver appliance start failed Han Lee via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 09 Nov 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·