【发布时间】:2020-02-13 06:34:45
【问题描述】:
在配置文件后尝试在 docker 容器中创建灯堆栈 当尝试使用命令重新启动时
service apache2 restart
报错
[....] Restarting Apache httpd web server: apache2/usr/sbin/apache2ctl: 99: ulimit: error setting limit (Operation not permitted)
Setting ulimit failed. See README.Debian for more information.
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
failed!
即使我已经尝试过
service apache2 reload
apache2 graceful
【问题讨论】:
-
另外,看起来像是权限问题。
标签: linux apache docker containers httpd.conf