Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装agent然后卸载后,再次安装出现的【Install dependency, service error: exit status 1】的bug #1

Closed
zj1244 opened this issue Nov 14, 2018 · 0 comments

Comments

@zj1244
Copy link
Owner

zj1244 commented Nov 14, 2018

修改dependence_linux.go文件的第48行,把out, err = common.CmdExec(fmt.Sprintf("insmod %s/syshook_execve.ko", installPath))改成out, err = common.CmdExec(fmt.Sprintf("insmod %ssyshook_execve.ko", installPath))
造成的原因是因为路径拼接过程中因为多个/造成的,如:/usr/local//xxxx
image2018-10-31_16-45-46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant