Amazon Linux 2에 Artifactory를 설치했지만
http:// domain
:8081/artifactory/
그냥 돌아온다
HTTP 상태 404 – 찾을 수 없음
이것은 새로운 설치이며 구성을 변경하지 않았습니다. 방금 제공된 RPM을 사용하여 설치하고 PostgreSQL RDS 인스턴스에 연결했습니다.
/opt/jfrog/artifactory/var/log/console.log에는 다음 내용이 포함되어 있습니다.
2023-02-03T17:25:33.664Z [jfint] [INFO ] [54433008cb1b7bc1] [security_keys.go:163 ] [main ] - Master key is missing. Pending for 115 seconds with 2m0s timeout [startup]
2023-02-03T17:25:34.094Z [jfcon] [INFO ] [25766041ca3801f3] [security_keys.go:163 ] [main ] - Master key is missing. Pending for 115 seconds with 2m0s timeout [startup]
2023-02-03T17:25:36.687Z [jfrou] [FATAL] [695c435436df16dd] [bootstrap.go:99 ] [main ] [] - Failed resolving master key: failed resolving 'shared.security.masterKey' key; file does not exist: /opt/jfrog/artifactory/var/etc/security/master.key
2023-02-03T17:25:37.048Z [jfmd ] [ERROR] [ ] [keys.go:23 ] [main ] - Failed resolving master key: failed resolving 'shared.security.masterKey' key; file does not exist: /opt/jfrog/artifactory/var/etc/security/master.key
2023-02-03T17:26:38.891Z [jffe ] [INFO ] [ ] [ ] [main ] - pinging artifactory attempt number 180 failed with code : ECONNREFUSED
2023-02-03T17:26:39.893Z [jffe ] [ERROR] [ ] [ ] [main ] - Error starting application - Error: Failed pinging artifactory for 180connect ECONNREFUSED 127.0.0.1:8046
2023-02-03T17:26:39.894Z [jffe ] [INFO ] [ ] [ ] [main ] - exit detected
실행하면 systemctl artifactory status
다음이 반환됩니다.
● artifactory.service - Artifactory service
Loaded: loaded (/usr/lib/systemd/system/artifactory.service; disabled; vendor preset: disabled)
Active: active (running) since Fri 2023-02-03 17:23:39 UTC; 54min ago
Process: 7325 ExecStop=/opt/jfrog/artifactory/app/bin/artifactoryManage.sh stop (code=exited, status=0/SUCCESS)
Process: 7836 ExecStart=/opt/jfrog/artifactory/app/bin/artifactoryManage.sh start (code=exited, status=0/SUCCESS)
Main PID: 11148 (java)
CGroup: /system.slice/artifactory.service
‣ 11148 /opt/jfrog/artifactory/app/third-party/java/bin/java -Djava.util.logging.config.file=/opt/jfrog/artifactory/app/artifactory/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassL...
실행 중에는 systemctl restart artifactory
404가 사라지고 교체되어 ERR_EMPTY_RESPONSE
서비스가 실행되는 동안 작업을 시도하고 있음을 나타냅니다.
봤어"HTTP 상태 404 - 찾을 수 없음이 나타나는 이유는 무엇입니까?"비슷해 보이지만 참조하는 파일을 볼 수 없습니다. 제가 뭘 잘못하고 있는 걸까요?