nezhahq.github.io/assets/guide_q2.md.61838f10.js

2 lines
1.4 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as e,o as t,c as a,R as o}from"./chunks/framework.1625126e.js";const f=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q2.md","filePath":"guide/q2.md","lastUpdated":1688379725000}'),n={name:"guide/q2.md"},r=o('<h4 id="agent-启动-上线-问题自检流程" tabindex="-1">Agent 启动/上线 问题自检流程 <a class="header-anchor" href="#agent-启动-上线-问题自检流程" aria-label="Permalink to &quot;Agent 启动/上线 问题自检流程&quot;"></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};