Docker
597626

通过docker安装20.4,启动后会自动退出,看日志好像是Apache服务器已解决 悬赏5积分

提问者乖乖的小蝌蚪 答案数2 阅读数250 发表时间2024-08-09 16:08:25

版本:20.4,启动几十秒后自动退出。


docker日志如下:



 16:04:02.89 
 16:04:02.89 Welcome to the Easysoft ZenTao 20.4 container
 16:04:02.89 Subscribe to project updates by watching https://www.zentao.net
 16:04:02.89 Submit issues and feature requests at https://www.zentao.net/ask.html
 16:04:02.90 
 16:04:02.92 INFO  ==> Prepare persistence directories.
 16:04:03.14 INFO  ==> Render php.ini with environment variables.
 16:04:03.18 INFO  ==> Check whether the Redis is available.
 16:04:04.19 INFO  ==> Init: Redis is ready.
 16:04:04.19 INFO  ==> Enable redis extension for session.
 16:04:04.20 INFO  ==> Check zentao data owner...
 16:04:04.20 INFO  ==> Render apache sites config with envionment variables.
 16:04:04.22 INFO  ==> Prepare custom extensions.
 16:04:04.25 INFO  ==> Check whether the MySQL is available.
 16:04:04.26 INFO  ==> Check whether the Apache is available.
 16:04:05.27 WARN  ==> Sentry: Waiting Apache 1 seconds
 16:04:05.27 INFO  ==> Apache: MySQL is ready.
[Fri Aug 09 16:04:05.405066 2024] [mpm_prefork:notice] [pid 174:tid 174] AH00163: Apache/2.4.60 (Unix) OpenSSL/1.0.2k-fips SVN/1.14.3 configured -- resuming normal operations
[Fri Aug 09 16:04:05.405232 2024] [core:notice] [pid 174:tid 174] AH00094: Command line: '/opt/zbox/run/apache/httpd -D FOREGROUND'
 16:04:07.28 WARN  ==> Sentry: Waiting Apache 2 seconds
 16:04:11.28 WARN  ==> Sentry: Waiting Apache 4 seconds
 16:04:19.29 WARN  ==> Sentry: Waiting Apache 8 seconds
 16:04:35.30 WARN  ==> Sentry: Waiting Apache 16 seconds
 16:05:07.30 WARN  ==> Sentry: Waiting Apache 32 seconds
 16:05:07.30 ERROR ==> Sentry Maximum number of retries reached!
 16:05:07.31 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

禅道版本:禅道开源版 20.4

安装包类型:源码包

操作系统:CentOS

客户端浏览器:Chrome

备注
已解决
设置备注
内容
答案列表
2024-08-09 17:39:00
已在群里沟通解决问题 :)
🦁
2024-08-12 17:02:35
我也遇到这个问题,请问怎么解决的
zentao  |  17:57:20.44 Welcome to the Easysoft ZenTao 20.4 container
zentao  |  17:57:20.44 Subscribe to project updates by watching https://www.zentao.net
zentao  |  17:57:20.44 Submit issues and feature requests at https://www.zentao.net/ask.html
zentao  |  17:57:20.45 
zentao  |  17:57:20.45 INFO  ==> Prepare persistence directories.
zentao  |  17:57:24.89 INFO  ==> Render php.ini with environment variables.
zentao  |  17:57:24.91 INFO  ==> Check zentao data owner...
zentao  |  17:57:25.10 INFO  ==> Render apache sites config with envionment variables.
zentao  |  17:57:25.13 INFO  ==> Prepare custom extensions.
zentao  |  17:57:25.15 INFO  ==> MySQL config file exists, skip configure.
zentao  |  17:57:25.16 INFO  ==> Check whether the MySQL is available.
zentao  |  17:57:25.16 INFO  ==> Check whether the Apache is available.
zentao  | 460115 17:57:25 mysqld_safe Logging to '/data/mysql/logs/mysql_error.log'.
zentao  | 460115 17:57:25 mysqld_safe Starting mariadbd daemon with databases from /data/mysql/data
zentao  | s6-supervise 03-roadrunner: warning: finish script lifetime reached maximum value - sending it a SIGKILL
zentao exited with code 0



2024/08/12
您好,上述用户是因为端口设置错误,容器内apache端口设置为默认的80就可以了;
可以提供下启动容器的命令或者compose文件,以便我们定位下问题。
可以添加下方客户经理QQ,邀请进群协助排查下。
联系我们
联系人
刘斌/高级客户经理
电话(微信)
17685869372
QQ号码
526288068
联系邮箱
liubin@chandao.com
返回顶部
刘斌
高级客户经理
17685869372
526288068
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。