日常管理 发表于 2017-09-24 阅读 1148回复 1

安装采集代理报错Permission denied

描述:
root@192.168.5.128: -- Executing -- cd /opt//Agent;sh Agent.sh
cd /opt//Agent;sh Agent.sh
gccopy:Agent.sh: line 6: jre/jre_linux/bin/GAgent: Permission denied
echo $?Exitcode
0Exitcode
gccopy:root@192.168.5.129: -- Executing -- cd /opt//Agent;sh Agent.sh
cd /opt//Agent;sh Agent.sh
gccopy:Agent.sh: line 6: jre/jre_linux/bin/GAgent: Permission denied
echo $?Exitcode
0Exitcode
gccopy:================================================
install result:
192.168.5.128 {'GAgent': 'FAILD'}
192.168.5.129 {'GAgent': 'FAILD'} ======================================================



回答 (1)

高凡
发表于2017-9-24 10:10
解决办法:
监控的安装文件权限不能设置为777,权限太大,执行不成功,可改为644

撰写回答

您需要登录后才可以回帖 登录 | 立即注册