首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >elasticbeanstalk无法部署web环境/var/pid/web.pid:没有这样的文件或目录

elasticbeanstalk无法部署web环境/var/pid/web.pid:没有这样的文件或目录
EN

Stack Overflow用户
提问于 2021-03-25 22:50:35
回答 1查看 455关注 0票数 4

我想在AWS Beanstalk上部署一个JAVA应用程序(基于PlayFramework 1.x)。我使用的是基于Corretto 8的web服务器环境,运行在64位Amazon Linux 2/3.1.6上。

我还在环境中添加了一个负载均衡器。在部署期间,我的钩子工作得很好(例如数据库模式演变),然后就是启动web服务器的时候了。

部署失败,出现以下错误:

代码语言:javascript
复制
[ERROR] update processes [web cfn-hup nginx healthd] pid symlinks failed with error Read pid source file /var/pids/web.pid failed with error:open /var/pids/web.pid: no such file or directory
[ERROR] An error occurred during execution of command [app-deploy] - [Track pids in healthd]. Stop running the command. Error: update processes [web cfn-hup nginx healthd] pid symlinks failed with error Read pid source file /var/pids/web.pid failed with error:open /var/pids/web.pid: no such file or directory 

对于nginx,我没有使用任何特定的配置。我在缺省端口(5000)上运行JAVA应用程序。

我在AWS论坛和stackoverflow上看到,有些人在worker环境中遇到了这个问题,但我不使用这种配置。

你遇到过这个问题吗?

EN

回答 1

Stack Overflow用户

发布于 2021-03-27 00:18:06

您的web.service无法启动。您可能在jar中缺少清单,或者在清单文件中缺少主类。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66802010

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档