我们正在尝试将 Xray 与我们的 Jfrog Artifactory 集成。在 Amazon Linux 2 中,我们尝试使用 docker compose 进行安装,同时运行 config.sh
运行以下 docker compose 命令后
启动rabbitmq:docker-compose -p xray-rabbitmq -f docker-compose-rabbitmq.yaml up -d
启动 postgresql: docker-compose -p xray-postgres -f docker-compose-postgres.yaml up -d
开始: docker-compose -p xray up -d
xray 路由器在 20 秒后重新启动,出现以下错误
我们检查了是否有任何 selinux、firewalld 或 iptables 被阻塞,但都处于禁用状态。
有人可以帮助我们解决问题吗?
现在私有 IP 可以访问 Artifactory 服务器,我们在 Artifactory 的同一 VPC 中创建了 Xray。现在 Xray 的所有容器都在 Xray 服务器中运行,但现在我们遇到了不同的问题。在 xray 服务器容器中,我们得到以下日志
2021-08-12T13:41:17.601Z [jfxr ] [INFO ] [469946e5f04dd2c6] [updates_service:486 ] [main ] Initializing JFrog vendor
2021-08-12T13:41:17.700Z [jfxr ] [ERROR] [ ] [bin_mgr_cache:50 ] [main ] Failed to get binary managerid:failed on GetAllBinaryManagerIds query
--- at /go/src/jfrog.com/xray/internal/dbaccess/dao/binary_managers_dao.go:367 (binMgrDao.GetBinaryManagerId) ---
Caused by: not found
2021-08-12T13:41:17.701Z [jfxr ] [ERROR] [ ] [bin_mgr_cache:59 ] [main ] Failed to get binary manager'' version, err :failed to fetch binary manager
--- at /go/src/jfrog.com/xray/internal/dbaccess/dao/binary_managers_dao.go:290 (binMgrDao.GetBinMgrByID) ---
Caused by: not found
2021-08-12T13:41:17.701Z [jfxr ] [WARN ] [ ] [indexed_resources_cache:36 ] [main ] Failed to get binary managerfor cache:failed to fetch binary manager
--- at /go/src/jfrog.com/xray/internal/dbaccess/dao/binary_managers_dao.go:290 (binMgrDao.GetBinMgrByID) ---
Caused by: not found
对此有任何想法吗?