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
Permission denied @ rb_file_s_stat #2425
Comments
I've given |
I also read somewhere that run td-agent with root access..
I think td-agent must run with user ''td-agent" and cannot run as root otherwise ssh2 fails. |
Issue Resolved. |
Changing ownership & access in /var/log is a bad idea. /var/log/nginx is owned by the www-data user and by the adm group. Just add td-agent to the adm group:
|
Changing permission on /var/log/ is bad practice. When some processes put log files, the owner of their files is not I recommend you to use this. |
For
with the command The original settings only allowed the file owner to read and adding the |
I am working on reading nginx access logs and passing it to AWS Kinesis.
But i am getting below error in td-agent log.
Below is the config that i've used :
The text was updated successfully, but these errors were encountered: