HFish icon indicating copy to clipboard operation
HFish copied to clipboard

openwrt部署linux-386客户端运行报错

Open wxw-fiwu opened this issue 3 years ago • 7 comments

root@OpenWrt:~/HFish# sh -c "$(curl -k https://xxx.xxx.xxx.xxx:4434/tmp/1XZMEpDlcGUp.sh)" % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1398 100 1398 0 0 17259 0 --:--:-- --:--:-- --:--:-- 17475 sh: whoami: not found install client! % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 6551k 100 6551k 0 0 672k 0 0:00:09 0:00:09 --:--:-- 617k download client ok! ps: unrecognized option: a BusyBox v1.31.1 () multi-call binary.

Usage: ps

Show list of processes

    w       Wide output

client config.ini decompress client ok! find mail check: [unset MAILCHECK] already unset mail check! sh: can't create /var/spool/cron/: Is a directory install client task success! start client daemon ok! Install client finish! root@OpenWrt:~/HFish# nohup: appending output to 'nohup.out' nohup: failed to run command '/root/HFish/client': Exec format error

root@OpenWrt:~/HFish# ls client client-1XZMEpDlcGUp.tar.gz config.ini nohup.out

root@OpenWrt:~/HFish# ./client ./client: line 4: syntax error: unexpected ")"

wxw-fiwu avatar Dec 16 '21 07:12 wxw-fiwu

检查下,生成节点时选择arm平台了么?

“Exec format error”,这个说明肯定是平台架构和节点不匹配, uname -a 看下架构贴上来?

my417 avatar Dec 18 '21 09:12 my417

Linux OpenWrt 5.4.85 #0 SMP Tue Dec 29 14:28:04 2020 x86_64 GNU/Linux

wxw-fiwu avatar Dec 18 '21 12:12 wxw-fiwu

你这个机器好像不是arm的,试试生成一个Linux版本节点安装。

my417 avatar Dec 19 '21 07:12 my417

你这个机器好像不是arm的,试试生成一个Linux版本节点安装。

生成的是x86架构的就报上面的错误

wxw-fiwu avatar Dec 22 '21 04:12 wxw-fiwu

我记得之前测试,发现有一款CPU,x64不兼容它的x32,你可能是这种CPU。 HFish生成的节点都是x32架构的,按理说可以兼容x64.

my417 avatar Dec 27 '21 02:12 my417

@my417 大佬这个问题解决了吗?openwrt用docker部署当服务端没有问题,但是通过节点安装就报错 download client ok! ps: unrecognized option: a BusyBox v1.35.0 (2023-07-05 07:27:39 UTC) multi-call binary.

Usage: ps

Show list of processes

    w       Wide output

client config.ini decompress client ok! add crontab task ok! start client daemon ok! ps: unrecognized option: e BusyBox v1.35.0 (2023-07-05 07:27:39 UTC) multi-call binary.

Usage: ps

Show list of processes

    w       Wide output

install client fail

HalcyonDaysssss avatar Mar 29 '24 07:03 HalcyonDaysssss

不能在这个环境运行吧,我们没测试过,你这个是busybox环境。


发件人: HalcyonDaysssss @.> 发送时间: 2024年3月29日 15:59 收件人: hacklcx/HFish @.> 抄送: HFish @.>; Mention @.> 主题: Re: [hacklcx/HFish] openwrt部署linux-386客户端运行报错 (Issue #167)

@my417https://github.com/my417 大佬这个问题解决了吗?openwrt用docker部署当服务端没有问题,但是通过节点安装就报错 download client ok! ps: unrecognized option: a BusyBox v1.35.0 (2023-07-05 07:27:39 UTC) multi-call binary.

Usage: ps

Show list of processes

w       Wide output

client config.ini decompress client ok! add crontab task ok! start client daemon ok! ps: unrecognized option: e BusyBox v1.35.0 (2023-07-05 07:27:39 UTC) multi-call binary.

Usage: ps

Show list of processes

w       Wide output

install client fail

― Reply to this email directly, view it on GitHubhttps://github.com/hacklcx/HFish/issues/167#issuecomment-2026831511, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABDHTTR62I64U7FTFK6ZCILY2UNMNAVCNFSM5KFRHBB2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBSGY4DGMJVGEYQ. You are receiving this because you were mentioned.Message ID: @.***>

my417 avatar Apr 13 '24 07:04 my417