HFish
HFish copied to clipboard
openwrt部署linux-386客户端运行报错
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 ")"
检查下,生成节点时选择arm平台了么?
“Exec format error”,这个说明肯定是平台架构和节点不匹配, uname -a 看下架构贴上来?
Linux OpenWrt 5.4.85 #0 SMP Tue Dec 29 14:28:04 2020 x86_64 GNU/Linux
你这个机器好像不是arm的,试试生成一个Linux版本节点安装。
你这个机器好像不是arm的,试试生成一个Linux版本节点安装。
生成的是x86架构的就报上面的错误
我记得之前测试,发现有一款CPU,x64不兼容它的x32,你可能是这种CPU。 HFish生成的节点都是x32架构的,按理说可以兼容x64.
@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
不能在这个环境运行吧,我们没测试过,你这个是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: @.***>