Hi@akhtar,
I think you missed to add the conf. directory in your command. You need to specify the agent name, the config directory, and the config file on the command line to start the flume service.
bin/flume-ng agent -n $agent_name -c ./conf/ -f conf/twitter.conf
Hope this will help.