Zabbix-agent 安装失败求解决方案

2017-06-12 16:48:50 +08:00
 lmaq
[root@iZt4neu3rcorbjgau17egoZ zabbix-3.0.8]# make
Making all in src
make[1]: Entering directory `/root/zabbix-3.0.8/src'
Making all in libs
make[2]: Entering directory `/root/zabbix-3.0.8/src/libs'
Making all in zbxcrypto
make[3]: Entering directory `/root/zabbix-3.0.8/src/libs/zbxcrypto'
gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT libzbxcrypto_a-md5.o -MD -MP -MF .deps/libzbxcrypto_a-md5.Tpo -c -o libzbxcrypto_a-md5.o `test -f 'md5.c' || echo './'`md5.c
/bin/sh: /usr/bin/gcc: Permission denied
make[3]: *** [libzbxcrypto_a-md5.o] Error 126
make[3]: Leaving directory `/root/zabbix-3.0.8/src/libs/zbxcrypto'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/zabbix-3.0.8/src/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/zabbix-3.0.8/src'
make: *** [all-recursive] Error 1

然而 zabbix 目录是下的文件都是存在的,安装包未做修改
1520 次点击
所在节点    问与答
2 条回复
notgod
2017-06-12 17:13:49 +08:00
/bin/sh: /usr/bin/gcc: Permission denied

你们家 gcc 有小情绪了
lmaq
2017-06-12 23:58:02 +08:00
@notgod 防护软件拦截了权限,已解决,感谢!

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/367869

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX