open-falcon / falcon-plus

An open-source and enterprise-level monitoring system.
Apache License 2.0
7.27k stars 1.53k forks source link

-bash: ./agent/bin/falcon-agent: No such file or directory #947

Closed mamh2021 closed 3 years ago

mamh2021 commented 3 years ago

11M 的 falcon-agent 还不能直接运行?还依赖什么吗???

mamh2021 commented 3 years ago

用的docker 安装的。 复制 docker falcon-plus 里面的 agent 目录出来的。docker 里面可以执行 ./agent/bin/falcon-agent ,

bash-4.4# ./agent/bin/falcon-agent -h
Usage of ./agent/bin/falcon-agent:
  -c string
        configuration file (default "cfg.json")
  -check
        check collector
  -v    show version
bash-4.4# ./agent/bin/falcon-agent -v
5.1.2
bash-4.4# 
bash-4.4# 

falcon/agent/bin/falcon-agent: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-x86_64.so.1, Go BuildID=DOnvxkcYWX4swTsab7tx/lfRuhXJa3YYdTGblx2kV/XMPTmzErSEl1ZD3pd7lq/7_B_26RrNQbAFsGVHb4R, with debug_info, not stripped

唉,Ubuntu下面依赖 sudo apt-get install musl 呀。

ld-linux-x86-64.so.2 -> /lib/x86_64-linux-gnu/ld-2.31.so ld-musl-x86_64.so.1 -> x86_64-linux-musl/libc.so

mamh2021 commented 3 years ago

坑真多,https://github.com/open-falcon/falcon-plus/releases/download/v0.3/open-falcon-v0.3.tar.gz 这里下的 就能直接使用。 docker 里面带的真坑。