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失败 #35
Comments
-t 的参数值是控制台的地址,确认控制台是否启动成功。 |
请问您最后手动装chaosagent成功了吗? |
成功了,就把脚本里url改成自己搭建的文件服务器地址 |
请问chaosagentctl.sh脚本实怎么修改的呀? 如果方便的话 可以加一下我嘛~~ |
我也遇到类似问题了,现在是手动安装探针报错: 2021-10-25 11:24:33.864, ERROR, [http-nio-8080-exec-4] com.alibaba.chaosblade.box.toolsmgr.ssh.SSHChaosToolsMgr - Connection refused (Connection refused) |
我这是因为chaosblade-box有报错,我的mysql停掉了,脚本目前已跑通,没有问题 |
内网搭建了一个http服务器,上面放了需要下载的文件,修改了代码和配置文件相关url,结果无论是手动还是自动安装都失败,手动安装命令如下:
wget http://xxxxxx/chaosagentctl.sh -O chaosagentctl.sh && chmod +x chaosagentctl.sh && ./chaosagentctl.sh install -r http://xxxxxx/chaosagent -t 127.0.0.1:8080
报错如下:
2021-04-01 17:11:04 [INFO] [-rm f] /var/run/chaosagent.pid
2021-04-01 17:11:04 [INFO] [+stop] chaosagent is stopped.
2021-04-01 17:11:04 [INFO] [+downloading] chaosagent to [/opt/chaos/chaosagent]
2021-04-01 17:11:04 [INFO] [+saved] chaosagent to [/opt/chaos/chaosagent]
2021-04-01 17:11:04 [INFO] [+starting] chaosagent is starting...
2021-04-01 17:11:05 [WARN] start failed
./chaosagentctl.sh: line 69: exit: 2021-04-01 17:11:05 [WARN] [start] failed:time="2021-04-01T17:06:43+08:00" level=info msg="Init config completed" time="2021-04-01T17:06:43+08:00" level=warning msg="Connection to server failed, err: connect server failed, " time="2021-04-01T17:06:43+08:00" level=warning msg="start chaos failed because of connect server failed, " time="2021-04-01T17:06:43+08:00" level=error msg="chaos agent will exit" time="2021-04-01T17:09:36+08:00" level=info msg="Init config completed" time="2021-04-01T17:09:36+08:00" level=warning msg="Connection to server failed, err: connect server failed, " time="2021-04-01T17:09:36+08:00" level=warning msg="start chaos failed because of connect server failed, " time="2021-04-01T17:09:36+08:00" level=error msg="chaos agent will exit" time="2021-04-01T17:11:04+08:00" level=info msg="Init config completed" time="2021-04-01T17:11:04+08:00" level=warning msg="Connection to server failed, err: connect server failed, " time="2021-04-01T17:11:04+08:00" level=warning msg="start chaos failed because of connect server failed, " time="2021-04-01T17:11:04+08:00" level=error msg="chaos agent will exit"
The text was updated successfully, but these errors were encountered: