Flume Not Working - Even with the Common Error's Solution

#1

I got into this issue when starting flume_demo conf.

main ERROR RollingFileManager (/tmp/flume/flume.log) java.io.FileNotFoundException: /tmp/flume/flume.log (Permission denied) java.io.FileNotFoundException: /tmp/flume/flume.log (Permission denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.(FileOutputStream.java:213)
at java.io.FileOutputStream.(FileOutputStream.java:133)

main ERROR Null object returned for RollingFile in Appenders.
2019-07-13 17:30:19,148 (main) [ERROR - org.apache.flume.node.Application.main(Application.java:307)] A fatal error occurred while running. Exception follows.
org.apache.commons.cli.ParseException: The specified configuration file does not exist: /home/nnguyen248/flume_demo/flume.conf
at org.apache.flume.node.Application.main(Application.java:275) [flume-ng-node-1.5.2.2.6.5.0-292.jar:1.5.2.2.6.5.0-292]

Here is my command:
flume-ng agent --name a1 --conf-file /home/nnguyen248/flume_demo/flume.conf --conf /etc/flume/conf

Also, I got “connection refused” with “telnet localhost 44444”

0 Likes

#2

@itversity can you help with this?

0 Likes

#3

Here the error is file does not exist:

image

0 Likes

#4

Oh I got it working. Thank you for your help!

0 Likes