cokemine / nodestatus-client-go

The client of NodeStatus / Go Version
MIT License
35 stars 9 forks source link

甲骨文ARM机器安装客户端出错 #13

Open szsyzx opened 2 years ago

szsyzx commented 2 years ago

[错误] NodeStatus Client 启动失败! [root@abudhabi-tz ~]# systemctl start status-client [root@abudhabi-tz ~]# systemctl status status-client ● status-client.service - NodeStatus-Client Loaded: loaded (/usr/lib/systemd/system/status-client.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2022-02-11 08:09:41 GMT; 7s ago Docs: https://github.com/cokemine/nodestatus-client-go Process: 86278 ExecStart=/usr/local/NodeStatus/client/status-client --dsn $DSN (code=exited, status=203/EXEC) Main PID: 86278 (code=exited, status=203/EXEC)

Feb 11 08:09:41 abudhabi-tz systemd[1]: status-client.service: Main process exited, code=exited, status=203/EXEC Feb 11 08:09:41 abudhabi-tz systemd[1]: status-client.service: Failed with result 'exit-code'. Feb 11 08:09:41 abudhabi-tz systemd[1]: status-client.service: Service RestartSec=100ms expired, scheduling restart. Feb 11 08:09:41 abudhabi-tz systemd[1]: status-client.service: Scheduled restart job, restart counter is at 5. Feb 11 08:09:41 abudhabi-tz systemd[1]: Stopped NodeStatus-Client. Feb 11 08:09:41 abudhabi-tz systemd[1]: status-client.service: Start request repeated too quickly. Feb 11 08:09:41 abudhabi-tz systemd[1]: status-client.service: Failed with result 'exit-code'. Feb 11 08:09:41 abudhabi-tz systemd[1]: Failed to start NodeStatus-Client. [root@abudhabi-tz ~]#

cokemine commented 2 years ago

你使用一键脚本安装的吗

szsyzx commented 2 years ago

是的Oracle Linux系统

---原始邮件--- 发件人: @.> 发送时间: 2022年2月11日(周五) 下午5:19 收件人: @.>; 抄送: @.**@.>; 主题: Re: [cokemine/nodestatus-client-go] 甲骨文ARM机器安装客户端出错 (Issue #13)

你使用一键脚本安装的吗

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

cokemine commented 2 years ago

@szsyzx 我没有 Oracle ARM 的机器可以测试。手动执行一下/usr/local/NodeStatus/client/status-client试试能不能启动

dmcimi commented 2 years ago

@szsyzx 我没有 Oracle ARM 的机器可以测试。手动执行一下试试能不能启动/usr/local/NodeStatus/client/status-client 手动安装arm64的客户端,可以启动。开发有需要免费可提供机器测试。 Oracle Linux系统 Linux version 5.4.17-2136.302.7.2.1.el8uek.aarch64 (mockbuild@host-100-100-224-38) (gcc version 8.3.1 20190507 (Red Hat 8.3.1-4.5.0.8) (GCC)) #2 SMP Tue Jan 18 12:11:39 PST 2022

./status-client -dsn="wss://use:password@127.0.0.1:35601" 2022/02/22 04:04:11 Caught Exception: dial tcp 127.0.0.1:35601: connect: connection refused 2022/02/22 04:04:16 Caught Exception: dial tcp 127.0.0.1:35601: connect: connection refused 2022/02/22 04:04:21 Caught Exception: dial tcp 127.0.0.1:35601: connect: connection refused

cokemine commented 2 years ago

@szsyzx 我没有 Oracle ARM 的机器可以测试。手动执行一下试试能不能启动/usr/local/NodeStatus/client/status-client 手动安装arm64的客户端,可以启动。开发有需要免费可提供机器测试。 Oracle Linux系统 Linux version 5.4.17-2136.302.7.2.1.el8uek.aarch64 (mockbuild@host-100-100-224-38) (gcc version 8.3.1 20190507 (Red Hat 8.3.1-4.5.0.8) (GCC)) #2 SMP Tue Jan 18 12:11:39 PST 2022

./status-client -dsn="wss://use:password@127.0.0.1:35601" 2022/02/22 04:04:11 Caught Exception: dial tcp 127.0.0.1:35601: connect: connection refused 2022/02/22 04:04:16 Caught Exception: dial tcp 127.0.0.1:35601: connect: connection refused 2022/02/22 04:04:21 Caught Exception: dial tcp 127.0.0.1:35601: connect: connection refused

@dmcimi 本地监听的话应该没有SSL吧。DSN应该填 ws://xxxx:password@127.0.0.1:35601