安装采集代理报错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 回答

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

撰写回答

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

提问者

发布63
回答112

相关资料