TO 清风老师:
按照您的提示,我将/etc/artifactory整个干掉,容器、镜像删除,重新做还是不行,提示Cluster join: Failed resolving join key: failed resolving ‘shared.security.joinKey’ key; file does not exist: /opt/jfrog/artifactory/var/etc/security/join.key
以下是虚拟机环境信息和详细的JFROG容器启动信息
[root@master etc]# env |grep JFROG_HOME
JFROG_HOME=/etc
[root@master etc]# cat ~/.bash_profile|grep JFROG_HOME
export JFROG_HOME=/etc
[root@master etc]# id
uid=0(root) gid=0(root) groups=0(root)
[root@master etc]# ls -ltr $JFROG_HOME/artifactory/var
total 4
drwxrwxrwx 9 1030 1030 206 Feb 28 14:27 etc
drwxr-xr-x 4 1030 1030 4096 Feb 28 14:27 log
drwxr-xr-x 6 1030 1030 69 Feb 28 14:27 work
drwxr-xr-x 6 1030 1030 69 Feb 28 14:27 data
drwxr-xr-x 5 1030 1030 47 Feb 28 14:27 bootstrap
drwxr-xr-x 6 1030 1030 69 Feb 28 14:27 backup
[root@master etc]# ls -ltr $JFROG_HOME/artifactory
total 0
drwxrwxrwx 8 1030 1030 83 Feb 28 14:27 var
[root@master etc]# docker ps -a |grep jcr
c49abbbacda2 registry.cn-beijing.aliyuncs.com/qingfeng666/artifactory-jcr:7.4.3 “/entrypoint-artifac…” 7 minutes ago Exited (0) 4 minutes ago artifactory-jcr
[root@master etc]# docker logs c49abbbacda2
Preparing to run Artifactory in Docker
Running as uid=1030(artifactory) gid=1030(artifactory)
Dockerfile for this image can found inside the container.
To view the Dockerfile: ‘cat /docker/artifactory-pro/Dockerfile.artifactory’.
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [installerCommon.sh:1162 ] [main] - Checking open files and processes limits
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [installerCommon.sh:1165 ] [main] - Current max open files is 1048576
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [installerCommon.sh:1176 ] [main] - Current max open processes is unlimited
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [installerCommon.sh:1243 ] [main] - Testing directory /opt/jfrog/artifactory/var has read/write permissions for user id 1030
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [installerCommon.sh:1258 ] [main] - Permissions for /opt/jfrog/artifactory/var are good
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [installerCommon.sh:2721 ] [main] - Setting JF_SHARED_NODE_ID to c49abbbacda2
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [installerCommon.sh:2721 ] [main] - Setting JF_SHARED_NODE_IP to 172.17.0.2
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [installerCommon.sh:2721 ] [main] - Setting JF_SHARED_NODE_NAME to c49abbbacda2
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [artifactoryCommon.sh:104 ] [main] - Final command: -server -Xms512m -Xmx2g -Xss256k -XX:+UseG1GC -XX:OnOutOfMemoryError=“kill -9 %p” --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED --add-opens java.base/java.text=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.desktop/java.awt.font=ALL-UNNAMED -Dfile.encoding=UTF8 -Djruby.compile.invokedynamic=false -Djruby.bytecode.version=1.8 -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true -Djava.security.egd=file:/dev/./urandom -Dartdist=docker -Djf.product.home=/opt/jfrog/artifactory
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [artifactoryCommon.sh:141 ] [main] - Saving /opt/jfrog/artifactory/app/artifactory/tomcat/conf/server.xml as /opt/jfrog/artifactory/app/artifactory/tomcat/conf/server.xml.orig
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [artifactoryCommon.sh:149 ] [main] - Using Tomcat template to generate : /opt/jfrog/artifactory/app/artifactory/tomcat/conf/server.xml
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [artifactoryCommon.sh:700 ] [main] - Resolved ${artifactory.port||8081} to default value : 8081
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [artifactoryCommon.sh:700 ] [main] - Resolved ${artifactory.tomcat.connector.maxThreads||200} to default value : 200
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [artifactoryCommon.sh:700 ] [main] - Resolved ${artifactory.tomcat.maintenanceConnector.port||8091} to default value : 8091
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [artifactoryCommon.sh:700 ] [main] - Resolved ${artifactory.tomcat.maintenanceConnector.maxThreads||5} to default value : 5
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [artifactoryCommon.sh:700 ] [main] - Resolved ${artifactory.tomcat.maintenanceConnector.acceptCount||5} to default value : 5
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [artifactoryCommon.sh:700 ] [main] - Resolved ${access.http.port||8040} to default value : 8040
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [artifactoryCommon.sh:700 ] [main] - Resolved ${access.tomcat.connector.maxThreads||50} to default value : 50
2021-02-28T06:27:10.000Z [shell] [INFO ] [] [systemYamlHelper.sh:292 ] [main] - Resolved JF_PRODUCT_HOME (/opt/jfrog/artifactory) from environment variable
2021-02-28T06:27:11.000Z [shell] [INFO ] [] [artifactoryCommon.sh:700 ] [main] - Resolved ${shared.tomcat.workDir||/opt/jfrog/artifactory/var/work/artifactory/tomcat} to default value : /opt/jfrog/artifactory/var/work/artifactory/tomcat
JF_SHARED_NODE_NAME : c49abbbacda2
JF_SYSTEM_YAML : /opt/jfrog/artifactory/var/etc/system.yaml
JF_ARTIFACTORY_PID : /opt/jfrog/artifactory/app/run/artifactory.pid
JF_PRODUCT_DATA_INTERNAL : /var/opt/jfrog/artifactory
JF_PRODUCT_HOME : /opt/jfrog/artifactory
JF_ROUTER_TOPOLOGY_LOCAL_REQUIREDSERVICETYPES : jfrt,jfac,jfmd,jffe
JF_SHARED_NODE_IP : 172.17.0.2
JF_SHARED_NODE_ID : c49abbbacda2
JF_ARTIFACTORY_USER : artifactory
Starting router…
router not running. Proceed to start it up.
router started. PID: 2344
Starting frontend…
2021-02-28T06:27:11.217Z [jfrou] [INFO ] [18537a89ccf301d6] [bootstrap.go:70 ] [main ] - Router (jfrou) service initialization started. Version: 1.3.0 Revision: 52dff67afbeb25ab9d5ce3577c420a6562acb89f PID: 2344 Home: /opt/jfrog/artifactory
2021-02-28T06:27:11.218Z [jfrou] [INFO ] [18537a89ccf301d6] [bootstrap.go:73 ] [main ] - JFrog Router IP: 172.17.0.2
frontend not running. Proceed to start it up.
frontend started. PID: 2431
Starting metadata…
JF_METADATA_ACCESSCLIENT_URL: http://localhost:8081/access
metadata started. PID: 2560
[DEBUG] Resolved system configuration file path: /opt/jfrog/artifactory/var/etc/system.yaml
NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
2021-02-28T06:27:11.715Z [jffe ] [INFO ] [ ] [ ] [main ] - frontend (jffe) service initialization started. Version: 1.4.3 Revision: 0.0.0 PID: 2431 Home: /opt/jfrog/artifactory
2021-02-28T06:27:12.421L [tomct] [INFO ] [ ] [org.apache.coyote.http11.Http11NioProtocol] [org.apache.coyote.AbstractProtocol init] - Initializing ProtocolHandler [“http-nio-8081”]
2021-02-28T06:27:12.445L [tomct] [INFO ] [ ] [org.apache.tomcat.util.net.NioSelectorPool] [org.apache.tomcat.util.net.NioSelectorPool getSharedSelector] - Using a shared selector for servlet write/read
2021-02-28T06:27:12.456L [tomct] [INFO ] [ ] [org.apache.coyote.http11.Http11NioProtocol] [org.apache.coyote.AbstractProtocol init] - Initializing ProtocolHandler [“http-nio-127.0.0.1-8091”]
2021-02-28T06:27:12.456L [tomct] [INFO ] [ ] [org.apache.tomcat.util.net.NioSelectorPool] [org.apache.tomcat.util.net.NioSelectorPool getSharedSelector] - Using a shared selector for servlet write/read
2021-02-28T06:27:12.458L [tomct] [INFO ] [ ] [org.apache.coyote.http11.Http11NioProtocol] [org.apache.coyote.AbstractProtocol init] - Initializing ProtocolHandler [“http-nio-127.0.0.1-8040”]
2021-02-28T06:27:12.458L [tomct] [INFO ] [ ] [org.apache.tomcat.util.net.NioSelectorPool] [org.apache.tomcat.util.net.NioSelectorPool getSharedSelector] - Using a shared selector for servlet write/read
2021-02-28T06:27:12.465L [tomct] [INFO ] [ ] [org.apache.catalina.core.StandardService] [org.apache.catalina.core.StandardService startInternal] - Starting service [Catalina]
2021-02-28T06:27:12.466L [tomct] [INFO ] [ ] [org.apache.catalina.core.StandardEngine] [org.apache.catalina.core.StandardEngine startInternal] - Starting Servlet Engine: Apache Tomcat/8.5.41
2021-02-28T06:27:12.508L [tomct] [INFO ] [ ] [org.apache.catalina.startup.HostConfig] [org.apache.catalina.startup.HostConfig deployDescriptor] - Deploying configuration descriptor [/opt/jfrog/artifactory/app/artifactory/tomcat/conf/Catalina/localhost/access.xml]
2021-02-28T06:27:12.515L [tomct] [INFO ] [ ] [org.apache.catalina.startup.HostConfig] [org.apache.catalina.startup.HostConfig deployDescriptor] - Deploying configuration descriptor [/opt/jfrog/artifactory/app/artifactory/tomcat/conf/Catalina/localhost/artifactory.xml]
2021-02-28T06:27:12.586L [tomct] [WARNING] [ ] [org.apache.catalina.startup.HostConfig] [org.apache.catalina.startup.HostConfig deployDescriptor] - A docBase [/opt/jfrog/artifactory/app/artifactory/tomcat/webapps/artifactory.war] inside the host appBase has been specified, and will be ignored
2021-02-28T06:27:12.586L [tomct] [WARNING] [ ] [org.apache.catalina.startup.HostConfig] [org.apache.catalina.startup.HostConfig deployDescriptor] - A docBase [/opt/jfrog/artifactory/app/artifactory/tomcat/webapps/access.war] inside the host appBase has been specified, and will be ignored
2021-02-28T06:27:14.963Z [jfrt ] [INFO ] [2c29aa574bf863de] [o.a.c.h.HaNodeProperties:67 ] [ocalhost-startStop-2] - Artifactory is running in non-clustered mode.
2021-02-28T06:27:15.000Z [jfrt ] [INFO ] [2c29aa574bf863de] [tifactoryHomeConfigListener:70] [ocalhost-startStop-2] - Resolved Home: '/opt/jfrog/artifactory
2021-02-28T06:27:15.076Z [jfrt ] [INFO ] [ ] [o.j.c.w.FileWatchingManager:75] [Thread-5 ] - Starting watch of folder configurations
2021-02-28T06:27:15.266Z [jfrt ] [INFO ] [2c29aa574bf863de] [.a.w.s.BasicConfigManagers:140] [ocalhost-startStop-2] - Artifactory (jfrt) service initialization started. Version: 7.4.3 Revision: 70403900 PID: 2631 Home: /opt/jfrog/artifactory
2021-02-28T06:27:15.285Z [jfrt ] [INFO ] [2c29aa574bf863de] [.a.c.ConvertersManagerImpl:142] [ocalhost-startStop-2] - Triggering PRE_INIT conversion, from 7.4.3 to 7.4.3
2021-02-28T06:27:15.286Z [jfrt ] [INFO ] [2c29aa574bf863de] [.a.c.ConvertersManagerImpl:144] [ocalhost-startStop-2] - Finished PRE_INIT conversion, current version is: 7.4.3
2021-02-28T06:27:16.235Z [jfrou] [INFO ] [18537a89ccf301d6] [security_keys.go:114 ] [main ] - Master key is missing. Pending for 5 seconds with 2m0s timeout
2021-02-28T06:27:16.488Z [jfmd ] [INFO ] [270f87d0dda61328] [security_keys.go:114 ] [main ] - Master key is missing. Pending for 5 seconds with 2m0s timeout [init]
2021-02-28T06:27:16.723Z [jfac ] [INFO ] [1d9780231ff03b4 ] [licationContextInitializer:162] [ocalhost-startStop-1] - Access (jfac) service initialization started. Version: 5.4.6 Revision: 50406900 PID: 2631 Home: /opt/jfrog/artifactory
2021-02-28T06:27:16.769Z [jfac ] [INFO ] [1d9780231ff03b4 ] [o.j.a.AccessApplication:50 ] [ocalhost-startStop-1] - Starting AccessApplication v5.4.6 on c49abbbacda2 with PID 2631 (/opt/jfrog/artifactory/app/artifactory/tomcat/webapps/access/WEB-INF/lib/access-application-5.4.6.jar started by artifactory in /var/opt/jfrog/artifactory)
2021-02-28T06:27:16.769Z [jfac ] [INFO ] [1d9780231ff03b4 ] [o.j.a.AccessApplication:651 ] [ocalhost-startStop-1] - The following profiles are active: production
2021-02-28T06:27:20.358Z [jfrt ] [INFO ] [2c29aa574bf863de] [o.j.s.c.KeyUtils:108 ] [ocalhost-startStop-2] - Master key is missing. Pending for 5 seconds with 60 seconds timeout
2021-02-28T06:27:21.356Z [jfrou] [INFO ] [18537a89ccf301d6] [security_keys.go:114 ] [main ] - Master key is missing. Pending for 10 seconds with 2m0s timeout
2021-02-28T06:27:21.650Z [jfmd ] [INFO ] [270f87d0dda61328] [security_keys.go:114 ] [main ] - Master key is missing. Pending for 10 seconds with 2m0s timeout [init]
2021-02-28T06:27:23.266Z [jfac ] [INFO ] [1d9780231ff03b4 ] [s.d.u.AccessJdbcHelperImpl:138] [ocalhost-startStop-1] - Database: Apache Derby 10.14.2.0 - (1828579). Driver: Apache Derby Embedded JDBC Driver 10.14.2.0 - (1828579)
2021-02-28T06:27:23.266Z [jfac ] [INFO ] [1d9780231ff03b4 ] [s.d.u.AccessJdbcHelperImpl:141] [ocalhost-startStop-1] - Connection URL: jdbc:derby:/opt/jfrog/artifactory/var/data/access/derby
2021-02-28T06:27:23.872Z [jfac ] [INFO ] [1d9780231ff03b4 ] [s.d.u.AccessJdbcHelperImpl:150] [ocalhost-startStop-1] - Creating database schema
2021-02-28T06:27:25.208Z [jfac ] [INFO ] [1d9780231ff03b4 ] [s.d.u.AccessJdbcHelperImpl:166] [ocalhost-startStop-1] - Setting new schema baseline to latest version: 4.8
2021-02-28T06:27:25.372Z [jfrt ] [INFO ] [2c29aa574bf863de] [o.j.s.c.KeyUtils:108 ] [ocalhost-startStop-2] - Master key is missing. Pending for 5 seconds with 60 seconds timeout
2021-02-28T06:27:25.973Z [jfac ] [INFO ] [1d9780231ff03b4 ] [alConfigurationServiceBase:179] [ocalhost-startStop-1] - Configuration data wasn’t found in db. Loading defaults
2021-02-28T06:27:26.552Z [jfrou] [INFO ] [18537a89ccf301d6] [security_keys.go:114 ] [main ] - Master key is missing. Pending for 15 seconds with 2m0s timeout
2021-02-28T06:27:26.680Z [jfac ] [INFO ] [1d9780231ff03b4 ] [.h.AccessNodeIdProviderImpl:69] [ocalhost-startStop-1] - Service id initialized: jfac@01ezkn3znwq6mv1gd5bh2205e4
2021-02-28T06:27:26.840Z [jfmd ] [INFO ] [270f87d0dda61328] [security_keys.go:114 ] [main ] - Master key is missing. Pending for 15 seconds with 2m0s timeout [init]
2021-02-28T06:27:26.914Z [jfac ] [INFO ] [1d9780231ff03b4 ] [a.k.m.MasterKeyBootstrapper:70] [ocalhost-startStop-1] - No master.key supplied. Generating master.key
2021-02-28T06:27:27.042Z [jfac ] [INFO ] [1d9780231ff03b4 ] [.k.m.MasterKeyBootstrapper:145] [ocalhost-startStop-1] - Saving master.key to /opt/jfrog/artifactory/var/etc/security/master.key
2021-02-28T06:27:33.225Z [jfac ] [INFO ] [1d9780231ff03b4 ] [j.a.s.s.t.TokenServiceImpl:106] [ocalhost-startStop-1] - Scheduling task for revoking expired tokens using cron expression: 0 0 0/1 * * ?
2021-02-28T06:27:50.439Z [jfmd ] [INFO ] [270f87d0dda61328] [security_keys.go:128 ] [main ] - Cluster join: Join key is missing. Pending for 30 seconds with 2m0s timeout [init]
2021-02-28T06:28:28.178Z [jfmd ] [INFO ] [270f87d0dda61328] [security_keys.go:128 ] [main ] - Cluster join: Join key is missing. Pending for 65 seconds with 2m0s timeout [init]
2021-02-28T06:28:37.472Z [jfrou] [INFO ] [18537a89ccf301d6] [security_keys.go:128 ] [main ] - Cluster join: Join key is missing. Pending for 70 seconds with 2m0s timeout
2021-02-28T06:29:27.177Z [jfmd ] [ERROR] [270f87d0dda61328] [keys.go:22 ] [main ] - Cluster join: Failed resolving join key: failed resolving ‘shared.security.joinKey’ key; file does not exist: /opt/jfrog/artifactory/var/etc/security/join.key
goroutine 1 [running]:
runtime/debug.Stack(0x9e, 0x14d69c0, 0xc00031d180)
/src/runtime/debug/stack.go:24 +0x9d
jfrog.com/metadata/common/log.(*standardLogger).Panicfc(0xc0000b6c70, 0x14f8be0, 0xc0004d70e0, 0xc00031d180, 0x9e, 0x0, 0x0, 0x1)
/src/jfrog.com/metadata/common/log/standard_logger.go:44 +0x6a
jfrog.com/metadata/services/common.MustResolveSecurityKeys(0x14f8be0, 0xc0004d70e0, 0x14f97a0, 0xc0000ca910, 0x1508f00, 0xc0000b6c70)
/src/jfrog.com/metadata/services/common/keys.go:22 +0x1c0
main.main()
/src/jfrog.com/metadata/metadata.go:30 +0x3f1
[init]
panic: Cluster join: Failed resolving join key: failed resolving ‘shared.security.joinKey’ key; file does not exist: /opt/jfrog/artifactory/var/etc/security/join.key
goroutine 1 [running]:
runtime/debug.Stack(0x9e, 0x14d69c0, 0xc00031d180)
/src/runtime/debug/stack.go:24 +0x9d
jfrog.com/metadata/common/log.(*standardLogger).Panicfc(0xc0000b6c70, 0x14f8be0, 0xc0004d70e0, 0xc00031d180, 0x9e, 0x0, 0x0, 0x1)
/src/jfrog.com/metadata/common/log/standard_logger.go:44 +0x6a
jfrog.com/metadata/services/common.MustResolveSecurityKeys(0x14f8be0, 0xc0004d70e0, 0x14f97a0, 0xc0000ca910, 0x1508f00, 0xc0000b6c70)
/src/jfrog.com/metadata/services/common/keys.go:22 +0x1c0
main.main()
/src/jfrog.com/metadata/metadata.go:30 +0x3f1
goroutine 1 [running]:
github.com/rs/zerolog.(*Logger).Panic.func1(0xc00001e300, 0x2cd)
/pkg/mod/github.com/rs/zerolog@v1.17.2/log.go:338 +0x4f
github.com/rs/zerolog.(*Event).msg(0xc0000801e0, 0xc00001e300, 0x2cd)
/pkg/mod/github.com/rs/zerolog@v1.17.2/event.go:146 +0x186
github.com/rs/zerolog.(*Event).Msgf(0xc0000801e0, 0xc0003066e0, 0xa1, 0xc000019d80, 0x1, 0x1)
/pkg/mod/github.com/rs/zerolog@v1.17.2/event.go:126 +0x83
jfrog.com/metadata/common/log.(*standardLogger).logMessage(0xc0000b6c70, 0x14f8be0, 0xc0004d70e0, 0xc0000801e0, 0xc0003066e0, 0xa1, 0xc000019d80, 0x1, 0x1)
/src/jfrog.com/metadata/common/log/standard_logger.go:88 +0xbc
jfrog.com/metadata/common/log.(*standardLogger).Panicfc(0xc0000b6c70, 0x14f8be0, 0xc0004d70e0, 0xc00031d180, 0x9e, 0xc000019d80, 0x1, 0x1)
/src/jfrog.com/metadata/common/log/standard_logger.go:45 +0x1df
jfrog.com/metadata/services/common.MustResolveSecurityKeys(0x14f8be0, 0xc0004d70e0, 0x14f97a0, 0xc0000ca910, 0x1508f00, 0xc0000b6c70)
/src/jfrog.com/metadata/services/common/keys.go:22 +0x1c0
main.main()
/src/jfrog.com/metadata/metadata.go:30 +0x3f1
2021-02-28T06:29:11.240Z [jfrou] [INFO ] [18537a89ccf301d6] [security_keys.go:128 ] [main ] - Cluster join: Join key is missing. Pending for 110 seconds with 2m0s timeout
2021-02-28T06:29:42.620Z [jfrt ] [INFO ] [2c29aa574bf863de] [.s.d.v.c.DbSqlConverterUtil:93] [ocalhost-startStop-2] - Starting schema conversion: /conversion/derby/derby_v570a.sql
2021-02-28T06:29:39.990Z [jfrou] [FATAL] [18537a89ccf301d6] [bootstrap.go:92 ] [main ] - Cluster join: Failed resolving join key: failed resolving ‘shared.security.joinKey’ key; file does not exist: /opt/jfrog/artifactory/var/etc/security/join.key
2021-02-28T06:29:50.769Z [jfrt ] [INFO ] [2c29aa574bf863de] [.s.d.v.c.DbSqlConverterUtil:95] [ocalhost-startStop-2] - Finished schema conversion: /conversion/derby/derby_v570a.sql
2021-02-28T06:30:08.652Z [jfrt ] [INFO ] [37d0ad39a61940f7] [ctoryContextConfigListener:308] [art-init ] -
_ _ __ _ _ _____ _____
/\ | | ()/ | | | | |/ | __
/ \ _ | | | | __ _ | | ___ _ __ _ _ | | | | |) |
/ /\ \ | '_| | | / ` |/ _| / _ | '| | | | | | | | _ /
/ ____ | | | || | || (| | (| || () | | | || | |__| | || | \
// __| _||| _,|_|___/|| _, |_/ _|| _
Version: 7.4.3 / |
Revision: 70403900 |_/
Artifactory Home: '/opt/jfrog/artifactory’
Node ID: ‘c49abbbacda2’
2021-02-28T06:30:08.784L [tomct] [INFO ] [ ] [org.apache.catalina.startup.HostConfig] [org.apache.catalina.startup.HostConfig deployDescriptor] - Deployment of configuration descriptor [/opt/jfrog/artifactory/app/artifactory/tomcat/conf/Catalina/localhost/artifactory.xml] has finished in [176,266] ms
2021-02-28T06:30:08.875Z [jfac ] [INFO ] [1d9780231ff03b4 ] [b.AccessServerBootstrapImpl:36] [ocalhost-startStop-1] - [ACCESS BOOTSTRAP] Starting JFrog Access bootstrap…
2021-02-28T06:30:08.877Z [jfac ] [INFO ] [1d9780231ff03b4 ] [CertificateFileHandlerBase:108] [ocalhost-startStop-1] - [ACCESS BOOTSTRAP] Initializing root certificate.
2021-02-28T06:30:08.884Z [jfac ] [INFO ] [1d9780231ff03b4 ] [CertificateFileHandlerBase:275] [ocalhost-startStop-1] - [ACCESS BOOTSTRAP] Generating root private key and certificate.
2021-02-28T06:30:10.308Z [jfac ] [INFO ] [1d9780231ff03b4 ] [CertificateFileHandlerBase:331] [ocalhost-startStop-1] - [ACCESS BOOTSTRAP] Saved new root certificate at: /opt/jfrog/artifactory/var/etc/access/keys/root.crt
2021-02-28T06:30:10.308Z [jfac ] [INFO ] [1d9780231ff03b4 ] [CertificateFileHandlerBase:125] [ocalhost-startStop-1] - [ACCESS BOOTSTRAP] Finished initializing root certificate. Certificate source: GENERATED
2021-02-28T06:30:10.309Z [jfac ] [INFO ] [1d9780231ff03b4 ] [CertificateFileHandlerBase:108] [ocalhost-startStop-1] - [ACCESS BOOTSTRAP] Initializing ca certificate.
2021-02-28T06:30:10.311Z [jfac ] [INFO ] [1d9780231ff03b4 ] [CertificateFileHandlerBase:275] [ocalhost-startStop-1] - [ACCESS BOOTSTRAP] Generating ca private key and certificate.
2021-02-28T06:30:10.352Z [jfrt ] [INFO ] [37d0ad39a61940f7] [ifactoryApplicationContext:523] [art-init ] - Artifactory application context set to NOT READY by refresh
2021-02-28T06:30:11.399Z [jfac ] [INFO ] [1d9780231ff03b4 ] [CertificateFileHandlerBase:331] [ocalhost-startStop-1] - [ACCESS BOOTSTRAP] Saved new ca certificate at: /opt/jfrog/artifactory/var/etc/access/keys/ca.crt
2021-02-28T06:30:11.416Z [jfac ] [INFO ] [1d9780231ff03b4 ] [CertificateFileHandlerBase:125] [ocalhost-startStop-1] - [ACCESS BOOTSTRAP] Finished initializing ca certificate. Certificate source: GENERATED
2021-02-28T06:30:25.960Z [jfac ] [INFO ] [1d9780231ff03b4 ] [b.AccessServerBootstrapImpl:42] [ocalhost-startStop-1] - [ACCESS BOOTSTRAP] JFrog Access bootstrap finished.
/opt/jfrog/artifactory/app/bin/artifactory.sh: line 576: 2631 Killed $TOMCAT_HOME/bin/catalina.sh run > >(tee >(redirectServiceLogsToFile)) 2>&1
[root@master etc]#
[root@master etc]#
[root@master etc]#
[root@master etc]# docker inspect c49abbbacda2
[
{
“Id”: “c49abbbacda216c9c9b39d294fd9588ffaff2aeebdc76672a72e2db033f1529d”,
“Created”: “2021-02-28T06:27:09.20835648Z”,
“Path”: “/entrypoint-artifactory.sh”,
“Args”: [],
“State”: {
“Status”: “exited”,
“Running”: false,
“Paused”: false,
“Restarting”: false,
“OOMKilled”: false,
“Dead”: false,
“Pid”: 0,
“ExitCode”: 0,
“Error”: “”,
“StartedAt”: “2021-02-28T06:27:09.616116993Z”,
“FinishedAt”: “2021-02-28T06:30:48.185472886Z”
},
“Image”: “sha256:a29093baef61ad168b006b16162703298d6ce905535c1f25b58c1395d55310a5”,
“ResolvConfPath”: “/var/lib/docker/containers/c49abbbacda216c9c9b39d294fd9588ffaff2aeebdc76672a72e2db033f1529d/resolv.conf”,
“HostnamePath”: “/var/lib/docker/containers/c49abbbacda216c9c9b39d294fd9588ffaff2aeebdc76672a72e2db033f1529d/hostname”,
“HostsPath”: “/var/lib/docker/containers/c49abbbacda216c9c9b39d294fd9588ffaff2aeebdc76672a72e2db033f1529d/hosts”,
“LogPath”: “/var/lib/docker/containers/c49abbbacda216c9c9b39d294fd9588ffaff2aeebdc76672a72e2db033f1529d/c49abbbacda216c9c9b39d294fd9588ffaff2aeebdc76672a72e2db033f1529d-json.log”,
“Name”: “/artifactory-jcr”,
“RestartCount”: 0,
“Driver”: “overlay2”,
“Platform”: “linux”,
“MountLabel”: “”,
“ProcessLabel”: “”,
“AppArmorProfile”: “”,
“ExecIDs”: null,
“HostConfig”: {
“Binds”: [
"/etc/artifactory/var/:/var/opt/jfrog/artifactory"
],
“ContainerIDFile”: “”,
“LogConfig”: {
“Type”: “json-file”,
“Config”: {}
},
“NetworkMode”: “default”,
“PortBindings”: {
“8081/tcp”: [
{
“HostIp”: “”,
“HostPort”: “8081”
}
],
“8082/tcp”: [
{
“HostIp”: “”,
“HostPort”: “8082”
}
]
},
“RestartPolicy”: {
“Name”: “no”,
“MaximumRetryCount”: 0
},
“AutoRemove”: false,
“VolumeDriver”: “”,
“VolumesFrom”: null,
“CapAdd”: null,
“CapDrop”: null,
“Capabilities”: null,
“Dns”: [],
“DnsOptions”: [],
“DnsSearch”: [],
“ExtraHosts”: null,
“GroupAdd”: null,
“IpcMode”: “private”,
“Cgroup”: “”,
“Links”: null,
“OomScoreAdj”: 0,
“PidMode”: “”,
“Privileged”: false,
“PublishAllPorts”: false,
“ReadonlyRootfs”: false,
“SecurityOpt”: null,
“UTSMode”: “”,
“UsernsMode”: “”,
“ShmSize”: 67108864,
“Runtime”: “runc”,
“ConsoleSize”: [
0,
0
],
“Isolation”: “”,
“CpuShares”: 0,
“Memory”: 0,
“NanoCpus”: 0,
“CgroupParent”: “”,
“BlkioWeight”: 0,
“BlkioWeightDevice”: [],
“BlkioDeviceReadBps”: null,
“BlkioDeviceWriteBps”: null,
“BlkioDeviceReadIOps”: null,
“BlkioDeviceWriteIOps”: null,
“CpuPeriod”: 0,
“CpuQuota”: 0,
“CpuRealtimePeriod”: 0,
“CpuRealtimeRuntime”: 0,
“CpusetCpus”: “”,
“CpusetMems”: “”,
“Devices”: [],
“DeviceCgroupRules”: null,
“DeviceRequests”: null,
“KernelMemory”: 0,
“KernelMemoryTCP”: 0,
“MemoryReservation”: 0,
“MemorySwap”: 0,
“MemorySwappiness”: null,
“OomKillDisable”: false,
“PidsLimit”: null,
“Ulimits”: null,
“CpuCount”: 0,
“CpuPercent”: 0,
“IOMaximumIOps”: 0,
“IOMaximumBandwidth”: 0,
“MaskedPaths”: [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware"
],
“ReadonlyPaths”: [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
},
“GraphDriver”: {
“Data”: {
“LowerDir”: “/var/lib/docker/overlay2/2414261e9e75e235898866402bffd0e8c8b73a96ce31bcbfa7df12ec31f74a00-init/diff:/var/lib/docker/overlay2/4317d61a6c7e271e0c6907e55112143cf5ab134d6d57f0586ae06c584b812b4e/diff:/var/lib/docker/overlay2/34c1aaae754b9f018121b9cecff8058dd757920f7da87af5ac12149159e0cc54/diff:/var/lib/docker/overlay2/69cf6b864bd51029b9a3f014f17e8cc8dbd48d500214f5bee3cae320451a63e1/diff:/var/lib/docker/overlay2/98c71a27144159921b92a1fa9bd676ac149e2e3c654735646c175b7b7c370e0c/diff:/var/lib/docker/overlay2/22831a7914617782a9daa4e33046cc0259f8141501e87be4cad037605148fdec/diff:/var/lib/docker/overlay2/48432ef195e114a5c532313c75a70ce71c23da26fb83c9f3b94888b83d7de967/diff:/var/lib/docker/overlay2/f66a3555d6232aed53bbff44eb5fc754cb5d167df7c8d0b4519a8a6f9118533d/diff:/var/lib/docker/overlay2/f77e8c17d11e7e9633414feb0aaa5e92743f8a5d0161368f2bc02d2a20dacb42/diff:/var/lib/docker/overlay2/45ab95eeee9e4b3ce57a0164cded0c1deba684fbec8926aa80defe8292f4c631/diff:/var/lib/docker/overlay2/90dcde1965b37ba67ab40dd9f5cce895aca8657894be3fdcf5cafd5fb9b520f8/diff:/var/lib/docker/overlay2/a8af72fc89596f0e6d5448bdaea7bac99dc40fbd98bec70b94f0ea3be4c31b05/diff”,
“MergedDir”: “/var/lib/docker/overlay2/2414261e9e75e235898866402bffd0e8c8b73a96ce31bcbfa7df12ec31f74a00/merged”,
“UpperDir”: “/var/lib/docker/overlay2/2414261e9e75e235898866402bffd0e8c8b73a96ce31bcbfa7df12ec31f74a00/diff”,
“WorkDir”: “/var/lib/docker/overlay2/2414261e9e75e235898866402bffd0e8c8b73a96ce31bcbfa7df12ec31f74a00/work”
},
“Name”: “overlay2”
},
“Mounts”: [
{
“Type”: “bind”,
“Source”: “/etc/artifactory/var”,
“Destination”: “/var/opt/jfrog/artifactory”,
“Mode”: “”,
“RW”: true,
“Propagation”: “rprivate”
}
],
“Config”: {
“Hostname”: “c49abbbacda2”,
“Domainname”: “”,
“User”: “artifactory”,
“AttachStdin”: false,
“AttachStdout”: false,
“AttachStderr”: false,
“ExposedPorts”: {
“8081/tcp”: {},
“8082/tcp”: {}
},
“Tty”: false,
“OpenStdin”: false,
“StdinOnce”: false,
“Env”: [
“PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/busybox:/curl”,
“SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt”,
“JF_ARTIFACTORY_USER=artifactory”,
“ARTIFACTORY_VERSION=7.4.3”,
“JF_PRODUCT_HOME=/opt/jfrog/artifactory”,
“JF_PRODUCT_DATA_INTERNAL=/var/opt/jfrog/artifactory”,
“RECOMMENDED_MAX_OPEN_FILES=32000”,
“MIN_MAX_OPEN_FILES=10000”,
“RECOMMENDED_MAX_OPEN_PROCESSES=1024”,
“POSTGRESQL_VERSION=9.4.1212”
],
“Cmd”: null,
“Image”: “registry.cn-beijing.aliyuncs.com/qingfeng666/artifactory-jcr:7.4.3”,
“Volumes”: {
"/var/opt/jfrog/artifactory": {}
},
“WorkingDir”: “/opt/jfrog/artifactory”,
“Entrypoint”: [
"/entrypoint-artifactory.sh"
],
“OnBuild”: null,
“Labels”: {
“maintainer”: "devops@jfrog.com"
}
},
“NetworkSettings”: {
“Bridge”: “”,
“SandboxID”: “033d9eac2904861d4243a73f9bcfb8cce6785a4f238e893aaec392f891453757”,
“HairpinMode”: false,
“LinkLocalIPv6Address”: “”,
“LinkLocalIPv6PrefixLen”: 0,
“Ports”: {},
“SandboxKey”: “/var/run/docker/netns/033d9eac2904”,
“SecondaryIPAddresses”: null,
“SecondaryIPv6Addresses”: null,
“EndpointID”: “”,
“Gateway”: “”,
“GlobalIPv6Address”: “”,
“GlobalIPv6PrefixLen”: 0,
“IPAddress”: “”,
“IPPrefixLen”: 0,
“IPv6Gateway”: “”,
“MacAddress”: “”,
“Networks”: {
“bridge”: {
“IPAMConfig”: null,
“Links”: null,
“Aliases”: null,
“NetworkID”: “fd26a1c7adc6588445875d80ef675a2cb090ef18657f8d941c0d2b10add100b9”,
“EndpointID”: “”,
“Gateway”: “”,
“IPAddress”: “”,
“IPPrefixLen”: 0,
“IPv6Gateway”: “”,
“GlobalIPv6Address”: “”,
“GlobalIPv6PrefixLen”: 0,
“MacAddress”: “”,
“DriverOpts”: null
}
}
}
}
]
[root@master etc]#