网站建设资讯

NEWS

网站建设资讯

dockerhttpd(pid1)alreadyrunning-创新互联

分析原因是因为容器重启后 httpd.pid 未删除,导致重启的时候检测到 apache 服务在运行
error

公司主营业务:成都网站建设、成都网站制作、移动网站开发等业务。帮助企业客户真正实现互联网宣传,提高企业的竞争能力。创新互联建站是一支青春激扬、勤奋敬业、活力青春激扬、勤奋敬业、活力澎湃、和谐高效的团队。公司秉承以“开放、自由、严谨、自律”为核心的企业文化,感谢他们对我们的高要求,感谢他们从不同领域给我们带来的挑战,让我们激情的团队有机会用头脑与智慧不断的给客户带来惊喜。创新互联建站推出湛河免费做网站回馈大家。
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
httpd (pid 1) already running
root@ubuntu:/var/lib/docker/overlay2#
docker container inspect 7e336d136e827e8b3daffbd80363d0daf4d0a40a54c5dfda85727bfdf1e9f7e5

docker httpd (pid 1) already running

搜索

root@ubuntu:/var/lib/docker/overlay2# find ./ -name apache2.pid

删除

root@ubuntu:/var/lib/docker/overlay2# rm -rf ./92cce34fc1ca4585ec25d729949f573a92b39ac0dd7f2fc8cc42b5a17016afb4/diff/run/apache2/apache2.pid

即可启动容器了

如果使用了容器编排的方式,请参考操作
https://forums.docker.com/t/httpd-already-running/33397

另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


当前名称:dockerhttpd(pid1)alreadyrunning-创新互联
网址分享:http://cdweb.net/article/diijci.html