You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new with Fluentd. My "td-agent.conf" is very simple (and i hope correct) : I just want to read a log file from "c:/temp" and print the result on stdout, but an "Errno::EACCES" occurs, and i don't understand why, because the repository "c:/temp" exists and i can access it and add new file in it.
**2022-06-30 17:41:33 +0200 [warn]: #0 expand_paths: stat() for c:\temp failed with Errno::EACCES. Skip file.
2022-06-30 17:41:33 +0200 [warn]: #0 expand_paths: stat() for c:\temp failed with Errno::EACCES. Skip file**.
2022-06-30 17:41:33 +0200 [info]: #0 fluentd worker is now running worker=0
2022-06-30 17:42:33 +0200 [warn]: #0 expand_paths: stat() for c:\temp failed with Errno::EACCES. Skip file.
I launch td-agent with a cmd console in "Admin Mode"
The "gocad.pos" is created, and then the exception occurs :
The "td-agent" process is owned by me (ldavoine), and this Windows Account can acces c:\temp, and add new file in this repository. So why "td-agent" can't ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I am new with Fluentd. My "td-agent.conf" is very simple (and i hope correct) : I just want to read a log file from "c:/temp" and print the result on stdout, but an "Errno::EACCES" occurs, and i don't understand why, because the repository "c:/temp" exists and i can access it and add new file in it.
Here is my "td-agent.conf" :
`
<match *.log>
@type stdout
`
I tried with "c:\\temp" or "c:\temp" or "c:\temp" or "c:\temp\" and the problem is the same.
Here is the exception :
2022-06-30 17:41:28 +0200 [info]: starting fluentd-1.14.6 pid=3992 ruby="2.7.6"
2022-06-30 17:41:28 +0200 [info]: spawn command to main: cmdline=["C:/opt/td-agent/bin/ruby.exe", "-Eascii-8bit:ascii-8bit", "C:/opt/td-agent/bin/fluentd", "--under-supervisor"]
2022-06-30 17:41:32 +0200 [info]: adding match pattern="*.log" type="stdout"
2022-06-30 17:41:33 +0200 [info]: adding source type="tail"
2022-06-30 17:41:33 +0200 [info]: #0 starting fluentd worker pid=8492 ppid=3992 worker=0
**2022-06-30 17:41:33 +0200 [warn]: #0 expand_paths: stat() for c:\temp failed with Errno::EACCES. Skip file.
2022-06-30 17:41:33 +0200 [warn]: #0 expand_paths: stat() for c:\temp failed with Errno::EACCES. Skip file**.
2022-06-30 17:41:33 +0200 [info]: #0 fluentd worker is now running worker=0
2022-06-30 17:42:33 +0200 [warn]: #0 expand_paths: stat() for c:\temp failed with Errno::EACCES. Skip file.
I launch td-agent with a cmd console in "Admin Mode"
The "gocad.pos" is created, and then the exception occurs :
The "td-agent" process is owned by me (ldavoine), and this Windows Account can acces c:\temp, and add new file in this repository. So why "td-agent" can't ?
If you have any idea, it would be great !
Thanks
Beta Was this translation helpful? Give feedback.
All reactions