-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[BUG] Access denied error opening rotated log files #9609
Comments
What user are you using for the log rotation @AlexRuiz7 ? Does the user in the group of opensearch? |
Hello @peterzhuamazon Thanks for the reply.
|
I am not able to reproduce this on my side tho. @AlexRuiz7 could you detailed your steps and commands you used? As well as the permission and ownership of /var/log/opensearch (this particular folder) Thanks. |
Thanks for the reply! I installed OpenSearch on a Vagrant box and that's it. I think I removed the environment sometime ago, so I'll try to reproduce it and get back with more details. |
I got the same issue. There is a solution from the forum. It works for me. |
It's working. Thanks @Mudboyzh |
I see the same issue with the deb packages on Debian bookworm with OpenSearch version 2.15.0. |
Describe the bug
This error shows up when the rotation of logs is performed:
We've been able to replicate this problem is several operative systems and OpenSearch versions (present in latest version 2.9.0)
To Reproduce
Steps to reproduce the behavior:
journalctl
Expected behavior
No errors
Plugins
All plugins enabled by default.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Extended logs
Details
File permissions before the rotation:
File permissions after the rotation:
The text was updated successfully, but these errors were encountered: