已解决 使用docker启动容器时apache启动失败

启动命令:

 docker run -it \
    -v $PWD/data:/data \
    --net host \
    -p 10086:80 \
    --name zentao \
    -e MYSQL_INTERNAL=false \
    -e ZT_MYSQL_HOST=180.x.x.x \
    -e ZT_MYSQL_PORT=3306 \
    -e ZT_MYSQL_USER=root \
    -e ZT_MYSQL_PASSWORD=123567 \
    -e ZT_MYSQL_DB=zentao \
    hub.zentao.net/app/zentao:18.10


失败信息:

08:59:30.86 
 08:59:30.86 Welcome to the Easysoft ZenTao 18.10 container
 08:59:30.86 Subscribe to project updates by watching https://www.zentao.net
 08:59:30.86 Submit issues and feature requests at https://www.zentao.net/ask.html
 08:59:30.86 
 08:59:30.87 INFO  ==> Prepare persistence directories.
 08:59:30.96 INFO  ==> Render php.ini with environment variables.
 08:59:30.96 INFO  ==> Check zentao data owner...
 08:59:30.97 INFO  ==> Render apache sites config with envionment variables.
 08:59:30.97 INFO  ==> Prepare custom extensions.
 08:59:30.98 INFO  ==> Check whether the MySQL is available.
 08:59:30.99 INFO  ==> Check whether the Apache is available.
 08:59:31.99 WARN  ==> Sentry: Waiting Apache 1 seconds
 08:59:34.00 WARN  ==> Sentry: Waiting Apache 2 seconds
 08:59:38.00 WARN  ==> Sentry: Waiting Apache 4 seconds
 08:59:46.00 WARN  ==> Sentry: Waiting Apache 8 seconds
 09:00:02.01 WARN  ==> Sentry: Waiting Apache 16 seconds
 09:00:34.01 WARN  ==> Sentry: Waiting Apache 32 seconds
 09:00:34.01 ERROR ==> Sentry Maximum number of retries reached!
 09:00:34.01 ERROR ==> Sentry Unable to connect to Apache: 127.0.0.1:80
s6-supervise 03-roadrunner: warning: finish script lifetime reached maximum value - sending it a SIGKILL

禅道版本 18.10 源码包
操作系统 CentOS
客户端浏览器 Chrome

提问者: 禅道1314 悬赏:1 日期: 2024-01-03 09:10:32 答案:1 点击:237

获取技术支持

QQ: 电话:
设置备注
答案列表
2024/01/03
这个问题,我们已经在禅道开源交流群沟通了。
2024/01/30
碰到同样的问题,能否给个链接,搜不到在哪里解决的,谢谢。
2024/01/30
该用户处理了下网络防火墙问题,可以先试试。有问题,可以联系官网顶部商务QQ,邀请加入技术交流群沟通。