taoxincn / wvp-docker

22 stars 2 forks source link

部署出现问题 #1

Open trytrytogo opened 2 years ago

trytrytogo commented 2 years ago

你好,我在部署的时候,遇到一些问题,请给分析一下,谢谢。

centos 7 Ubuntu 20.04 情况类似 执行完 docker-compose up -d后,下载都正常。 配置文件只修改了WVP_HOST和ZLM_HOST 但是taoxin/zlm的容器一直重启。 查询日志 [root@test wvp-docker]# docker-compose logs

wvp-docker-wvp-1 | 2022-06-28 14:24:22.711 [threadPoolTaskScheduler-74] ERROR com.genersoft.iot.vmp.media.zlm.ZLMRESTfulUtils:89 - [ http://192.168.1.10:8088/index/api/getServerConfig ]请求失败: Failed to connect to /192.168.1.10:8088 wvp-docker-wvp-1 | 2022-06-28 14:24:22.712 [threadPoolTaskScheduler-74] ERROR com.genersoft.iot.vmp.media.zlm.ZLMRESTfulUtils:97 - 连接ZLM失败: http://192.168.1.10:8088/index/api/getServerConfig, Failed to connect to /192.168.1.10:8088 wvp-docker-wvp-1 | 2022-06-28 14:24:25.765 [threadPoolTaskScheduler-25] ERROR com.genersoft.iot.vmp.media.zlm.ZLMRESTfulUtils:89 - [ http://192.168.1.10:8088/index/api/getServerConfig ]请求失败: Connection reset wvp-docker-wvp-1 | 2022-06-28 14:24:26.719 [threadPoolTaskScheduler-25] ERROR com.genersoft.iot.vmp.media.zlm.ZLMRESTfulUtils:89 - [ http://192.168.1.10:8088/index/api/getServerConfig ]请求失败: Connection reset wvp-docker-wvp-1 | 2022-06-28 14:24:28.712 [threadPoolTaskScheduler-2] ERROR com.genersoft.iot.vmp.media.zlm.ZLMRESTfulUtils:89 - [ http://192.168.1.10:8088/index/api/getServerConfig ]请求失败: Failed to connect to /192.168.1.10:8088 wvp-docker-wvp-1 | 2022-06-28 14:24:28.718 [threadPoolTaskScheduler-2] ERROR com.genersoft.iot.vmp.media.zlm.ZLMRESTfulUtils:97 - 连接ZLM失败: http://192.168.1.10:8088/index/api/getServerConfig, Failed to connect to /192.168.1.10:8088 wvp-docker-wvp-1 | 2022-06-28 14:24:30.711 [threadPoolTaskScheduler-86] ERROR com.genersoft.iot.vmp.media.zlm.ZLMRESTfulUtils:89 - [ http://192.168.1.10:8088/index/api/getServerConfig ]请求失败: Failed to connect to /192.168.1.10:8088 wvp-docker-wvp-1 | 2022-06-28 14:24:30.712 [threadPoolTaskScheduler-86] ERROR com.genersoft.iot.vmp.media.zlm.ZLMRESTfulUtils:97 - 连接ZLM失败: http://192.168.1.10:8088/index/api/getServerConfig, Failed to connect to /192.168.1.10:8088 wvp-docker-wvp-1 | 2022-06-28 14:24:32.711 [threadPoolTaskScheduler-88] ERROR com.genersoft.iot.vmp.media.zlm.ZLMRESTfulUtils:89 - [ http://192.168.1.10:8088/index/api/getServerConfig ]请求失败: Failed to connect to /192.168.1.10:8088 wvp-docker-wvp-1 | 2022-06-28 14:24:32.712 [threadPoolTaskScheduler-88] ERROR com.genersoft.iot.vmp.media.zlm.ZLMRESTfulUtils:97 - 连接ZLM失败: http://192.168.1.10:8088/index/api/getServerConfig, Failed to connect to /192.168.1.10:8088 wvp-docker-wvp-1 | 2022-06-28 14:24:32.714 [threadPoolTaskScheduler-89] ERROR com.genersoft.iot.vmp.media.zlm.ZLMRunner:112 - [ DefaultMediaServer ]]主动连接失败,不再尝试连接 wvp-docker-wvp-1 | 2022-06-28 14:25:00.000 [threadPoolTaskScheduler-128] INFO com.genersoft.iot.vmp.gb28181.event.SipSubscribe:36 - [定时任务] 清理过期的SIP订阅信息

查询对应容器的运行情况 [root@test wvp-docker]# docker logs -f 57f695d35890 exec /opt/media/docker-entrypoint.sh: no such file or directory exec /opt/media/docker-entrypoint.sh: no such file or directory exec /opt/media/docker-entrypoint.sh: no such file or directory exec /opt/media/docker-entrypoint.sh: no such file or directory exec /opt/media/docker-entrypoint.sh: no such file or directory exec /opt/media/docker-entrypoint.sh: no such file or directory exec /opt/media/docker-entrypoint.sh: no such file or directory exec /opt/media/docker-entrypoint.sh: no such file or directory exec /opt/media/docker-entrypoint.sh: no such file or directory exec /opt/media/docker-entrypoint.sh: no such file or directory exec /opt/media/docker-entrypoint.sh: no such file or directory exec /opt/media/docker-entrypoint.sh: no such file or directory exec /opt/media/docker-entrypoint.sh: no such file or directory exec /opt/media/docker-entrypoint.sh: no such file or directory exec /opt/media/docker-entrypoint.sh: no such file or directory

taoxincn commented 2 years ago

已经修复,重新试试看。 @ixinshang

trytrytogo commented 2 years ago

已经修复,重新试试看。 @ixinshang

可以正常打开了,但是还不熟悉这个平台。 后面再试试。 感谢修复。

trytrytogo commented 2 years ago

可以正常打开了,但是还不熟悉这个平台。 后面再试试。 感谢修复。