Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operation not permitted (cannot access pid file) #5066

Closed
HadwinLing opened this issue Jan 3, 2024 · 4 comments
Closed

Operation not permitted (cannot access pid file) #5066

HadwinLing opened this issue Jan 3, 2024 · 4 comments
Labels

Comments

@HadwinLing
Copy link

描述bug
k8s 分为多个环境,其中在beta 环境下部署Apollo,报这个问题,但是在其他环境下部署时正常的。这个什么问题
Operation not permitted (cannot access pid file)
Wed Jan 3 19:50:54 CST 2024 Failed to start apollo-adminservice.jar, return code: 4

Copy link

dosubot bot commented Jan 3, 2024

🤖

你好 @HadwinLing,很高兴再次看到你。希望你一切都好!

您好,HadwinLing。根据您提供的信息,我注意到您在beta环境中使用的Apollo版本是2.3.0-SNAPSHOT,而在其他环境中部署成功的Apollo版本是2.2.0。这可能是导致问题的原因之一。

错误信息“Operation not permitted (cannot access pid file)”通常表示Apollo尝试访问或修改一个它没有权限的文件。这可能是由于在beta环境中的用户权限设置与其他环境不同,或者是由于文件的权限设置不正确。

我建议您检查以下几点:

  1. 检查运行Apollo的用户是否有足够的权限来访问和修改pid文件。
  2. 检查pid文件的权限设置,确保它可以被Apollo访问和修改。
  3. 检查您的beta环境中的Apollo配置是否与其他环境中的配置相同。特别是关于文件路径和用户权限的配置。

如果以上建议不能解决您的问题,那么问题可能与Apollo的版本有关。您可以尝试在beta环境中部署和其他环境相同的Apollo版本,看看问题是否仍然存在。

如果您需要更多的帮助,或者有任何其他问题,欢迎随时向我提问。

Sources


This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

@nobodyiam
Copy link
Member

nobodyiam commented Jan 4, 2024

麻烦提供下复现步骤和环境信息

Copy link

stale bot commented Feb 3, 2024

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Feb 3, 2024
Copy link

stale bot commented Feb 10, 2024

This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.

@stale stale bot closed this as completed Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants