2 lines
1.4 KiB
JavaScript
2 lines
1.4 KiB
JavaScript
import{_ as e,o as t,c as a,R as o}from"./chunks/framework.44fd0451.js";const f=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q2.md","filePath":"guide/q2.md","lastUpdated":1701534410000}'),n={name:"guide/q2.md"},r=o('<h4 id="agent-启动-上线-问题自检流程" tabindex="-1">Agent 启动/上线 问题自检流程 <a class="header-anchor" href="#agent-启动-上线-问题自检流程" aria-label="Permalink to "Agent 启动/上线 问题自检流程""></a></h4><ol><li>直接执行 <code>/opt/nezha/agent/nezha-agent -s 面板IP或非CDN域名:面板RPC端口 -p Agent密钥 -d</code> 查看日志是否是因为 DNS、网络不佳导致超时(timeout)</li><li><code>nc -v 域名/IP 面板RPC端口</code> 或者 <code>telnet 域名/IP 面板RPC端口</code> 来检验是否是网络问题,检查本机与面板服务器的出入站防火墙,如果无法判断问题可借助 <a href="https://port.ping.pe/" target="_blank" rel="noreferrer">https://port.ping.pe/</a> 提供的端口检查工具进行检测。</li><li>如果上面步骤检测正常,Agent 正常上线,尝试关闭 SELinux,<a href="https://www.google.com/search?q=%E5%85%B3%E9%97%ADSELINUX" target="_blank" rel="noreferrer">如何关闭 SELinux?</a></li></ol>',2),i=[r];function c(s,_,d,l,p,h){return t(),a("div",null,i)}const u=e(n,[["render",c]]);export{f as __pageData,u as default};
|