问题
在启动 Flume 代理进程 Agent时报错:
bash: flume-ng: 没有那个文件或目录

解决方法
在命令前加入flume具体路径/bin,我的flume 的bin目录路径是/opt/softwares/apache-flume-1.6.0-bin/bin
softwares/apache-flume-1.6.0-bin/bin/flume-ng agent --conf-file conf2 --name a1 -Dflume.root.logger=INFO,console
