mirror of
https://github.com/nezhahq/nezha.git
synced 2025-02-02 09:38:13 -05:00
📝 增加 Agent 问题自检说明
This commit is contained in:
parent
7728573e13
commit
68624b15d6
@ -221,8 +221,9 @@ URL 里面也可放置占位符,请求时会进行简单的字符串替换。
|
|||||||
<details>
|
<details>
|
||||||
<summary>Agent 不断重启/无法启动 ?</summary>
|
<summary>Agent 不断重启/无法启动 ?</summary>
|
||||||
|
|
||||||
1. 直接执行 `/opt/nezha/agent/nezha-agent -s 面板IP或非CDN域名:面板RPC端口 -p Agent密钥 -d` 查看是否是 DNS 问题 或 Agent 出口网络/面板入口网络防火墙问题,自行解决。
|
1. 直接执行 `/opt/nezha/agent/nezha-agent -s 面板IP或非CDN域名:面板RPC端口 -p Agent密钥 -d` 查看日志是否是 DNS 问题。
|
||||||
2. 如果上面命令执行正常,Agent 正常上线,尝试关闭 SELinux,[如何关闭 SELinux?](https://www.google.com/search?q=%E5%85%B3%E9%97%ADSELINUX)
|
2. `nc -v 域名/IP 面板RPC端口` 或者 `telnet 域名/IP 面板RPC端口` 检验是否是网络问题,检查本机与面板服务器出入站防火墙,如果单机无法判断可借助 https://port.ping.pe/ 提供的端口检查工具进行检测。
|
||||||
|
3. 如果上面步骤检测正常,Agent 正常上线,尝试关闭 SELinux,[如何关闭 SELinux?](https://www.google.com/search?q=%E5%85%B3%E9%97%ADSELINUX)
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
|
Loading…
Reference in New Issue
Block a user