Appears flume is not running correctly

Hi,
As per the demo, the example.conf was created and on running the command - flume-ng agent --name a1 --conf-file /home/jshivakumaar/flume_demo/example.conf, I get an error at the end
as below:

ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property ‘log4j2.debug’ to show Log4j2 internal initialization logging.

Also, on using the telnet localhost 44444 in another session to test, I get a connection refused.

Can you please help ?

Regards,
Shiva

Wondering why there is no response for the last 11 days. Can you please respond ?

Shiva,
I am also a student in itversity and hope the below link helps.

Hello,

copy all the config files available at /etc/flume/conf to your flume_demo directory

[manix049@gw03 flume_demo]$ cp /etc/flume/conf/ . /home/manix049/flume_demo/

[manix049@gw03 flume_demo]$ ls
example.conf flume-env.ps1 log4j.properties
flume.conf flume-env.sh.template
flume-conf.properties.template log4j2.xml

[manix049@gw03 flume_demo]$ flume-ng agent --name a1 --conf-file /home/manix049/flume_demo/example.conf --conf /home/manix049/flume_demo/

Hope this helps.

Regards,
Manish