Comments (7)
运行出错信息如下:
root@unknown:/mnt/sda1/frp_0.49.0_linux_mipsle# frpc
runtime: epollcreate failed with 89
fatal error: runtime: netpollinit failed
goroutine 1 [running, locked to thread]:
runtime.throw({0x82f08b, 0x1b})
runtime/panic.go:1047 +0x54 fp=0x117d1b4 sp=0x117d1a0 pc=0x59b98
runtime.netpollinit()
runtime/netpoll_epoll.go:28 +0x290 fp=0x117d204 sp=0x117d1b4 pc=0x54568
runtime.netpollGenericInit()
runtime/netpoll.go:197 +0x88 fp=0x117d20c sp=0x117d204 pc=0x53630
internal/poll.runtime_pollServerInit()
runtime/netpoll.go:189 +0x38 fp=0x117d210 sp=0x117d20c pc=0x9b1dc
sync.(*Once).doSlow(0xd5aca8, 0x900940)
sync/once.go:74 +0x114 fp=0x117d238 sp=0x117d210 pc=0xacdf8
sync.(*Once).Do(...)
sync/once.go:65
internal/poll.(*pollDesc).init(0x1266894, 0x1266880)
internal/poll/fd_poll_runtime.go:39 +0x6c fp=0x117d248 sp=0x117d238 pc=0x1a2908
internal/poll.(*FD).Init(0x1266880, {0x81aaa4, 0x4}, 0x1)
internal/poll/fd_unix.go:63 +0xc0 fp=0x117d25c sp=0x117d248 pc=0x1a3b28
os.newFile(0x3, {0x825c60, 0xf}, 0x1)
os/file_unix.go:190 +0x20c fp=0x117d280 sp=0x117d25c pc=0x1b2554
os.openFileNolog({0x825c60, 0xf}, 0x0, 0x0)
os/file_unix.go:250 +0x1f8 fp=0x117d2ac sp=0x117d280 pc=0x1b2808
os.OpenFile({0x825c60, 0xf}, 0x0, 0x0)
os/file.go:326 +0x70 fp=0x117d2cc sp=0x117d2ac pc=0x1b0214
os.Open(...)
os/file.go:306
os.ReadFile({0x825c60, 0xf})
os/file.go:675 +0x70 fp=0x117d324 sp=0x117d2cc pc=0x1b05d8
io/ioutil.ReadFile(...)
io/ioutil/ioutil.go:37
golang.org/x/sys/cpu.readHWCAP()
golang.org/x/[email protected]/cpu/hwcap_linux.go:27 +0x4c fp=0x117d354 sp=0x117d324 pc=0x5a5f68
golang.org/x/sys/cpu.archInit(...)
golang.org/x/[email protected]/cpu/cpu_linux.go:11
golang.org/x/sys/cpu.init.0()
golang.org/x/[email protected]/cpu/cpu.go:199 +0x3c fp=0x117d360 sp=0x117d354 pc=0x5a56dc
runtime.doInit(0xcf3e80)
runtime/proc.go:6506 +0x1a8 fp=0x117d480 sp=0x117d360 pc=0x6fd24
runtime.doInit(0xcf9220)
runtime/proc.go:6483 +0x98 fp=0x117d5a0 sp=0x117d480 pc=0x6fc14
runtime.doInit(0xcf3e00)
runtime/proc.go:6483 +0x98 fp=0x117d6c0 sp=0x117d5a0 pc=0x6fc14
runtime.doInit(0xcf3050)
runtime/proc.go:6483 +0x98 fp=0x117d7e0 sp=0x117d6c0 pc=0x6fc14
runtime.doInit(0xcf7680)
runtime/proc.go:6483 +0x98 fp=0x117d900 sp=0x117d7e0 pc=0x6fc14
runtime.doInit(0xcf4a80)
runtime/proc.go:6483 +0x98 fp=0x117da20 sp=0x117d900 pc=0x6fc14
runtime.doInit(0xcf8ae0)
runtime/proc.go:6483 +0x98 fp=0x117db40 sp=0x117da20 pc=0x6fc14
runtime.doInit(0xcf7b60)
runtime/proc.go:6483 +0x98 fp=0x117dc60 sp=0x117db40 pc=0x6fc14
runtime.doInit(0xcf8a40)
runtime/proc.go:6483 +0x98 fp=0x117dd80 sp=0x117dc60 pc=0x6fc14
runtime.doInit(0xcf8900)
runtime/proc.go:6483 +0x98 fp=0x117dea0 sp=0x117dd80 pc=0x6fc14
runtime.doInit(0xcf22f0)
runtime/proc.go:6483 +0x98 fp=0x117dfc0 sp=0x117dea0 pc=0x6fc14
runtime.main()
runtime/proc.go:233 +0x250 fp=0x117dfec sp=0x117dfc0 pc=0x5da18
runtime.goexit()
runtime/asm_mipsx.s:617 +0x4 fp=0x117dfec sp=0x117dfec pc=0xa1810
goroutine 2 [force gc (idle)]:
runtime.gopark(0x900de4, 0xd483d8, 0x11, 0x14, 0x1)
runtime/proc.go:381 +0x124 fp=0x102afd8 sp=0x102afcc pc=0x5e030
runtime.goparkunlock(...)
runtime/proc.go:387
runtime.forcegchelper()
runtime/proc.go:305 +0x120 fp=0x102afec sp=0x102afd8 pc=0x5de10
runtime.goexit()
runtime/asm_mipsx.s:617 +0x4 fp=0x102afec sp=0x102afec pc=0xa1810
created by runtime.init.5
runtime/proc.go:293 +0x44
goroutine 3 [GC sweep wait]:
runtime.gopark(0x900de4, 0xd48c20, 0xc, 0x14, 0x1)
runtime/proc.go:381 +0x124 fp=0x102b7c8 sp=0x102b7bc pc=0x5e030
runtime.goparkunlock(...)
runtime/proc.go:387
runtime.bgsweep(0x1040000)
runtime/mgcsweep.go:278 +0xdc fp=0x102b7e4 sp=0x102b7c8 pc=0x404d0
runtime.gcenable.func1()
runtime/mgc.go:178 +0x64 fp=0x102b7ec sp=0x102b7e4 pc=0x2e0d0
runtime.goexit()
runtime/asm_mipsx.s:617 +0x4 fp=0x102b7ec sp=0x102b7ec pc=0xa1810
created by runtime.gcenable
runtime/mgc.go:178 +0xb4
goroutine 4 [GC scavenge wait]:
runtime.gopark(0x900de4, 0xd48f60, 0xd, 0x14, 0x2)
runtime/proc.go:381 +0x124 fp=0x102bfbc sp=0x102bfb0 pc=0x5e030
runtime.goparkunlock(...)
runtime/proc.go:387
runtime.(*scavengerState).park(0xd48f60)
runtime/mgcscavenge.go:400 +0x94 fp=0x102bfd0 sp=0x102bfbc pc=0x3d008
runtime.bgscavenge(0x1040000)
runtime/mgcscavenge.go:628 +0x74 fp=0x102bfe4 sp=0x102bfd0 pc=0x3da08
runtime.gcenable.func2()
runtime/mgc.go:179 +0x64 fp=0x102bfec sp=0x102bfe4 pc=0x2e05c
runtime.goexit()
runtime/asm_mipsx.s:617 +0x4 fp=0x102bfec sp=0x102bfec pc=0xa1810
created by runtime.gcenable
runtime/mgc.go:179 +0x114
goroutine 5 [finalizer wait]:
runtime.gopark(0x900d1c, 0xd5a9c4, 0x10, 0x14, 0x1)
runtime/proc.go:381 +0x124 fp=0x102a794 sp=0x102a788 pc=0x5e030
runtime.runfinq()
runtime/mfinal.go:193 +0x154 fp=0x102a7ec sp=0x102a794 pc=0x2ccc0
runtime.goexit()
runtime/asm_mipsx.s:617 +0x4 fp=0x102a7ec sp=0x102a7ec pc=0xa1810
created by runtime.createfing
runtime/mfinal.go:163 +0x98
from frp.
大概率是新版本中 Go 不支持了,你可以考虑使用 Go1.18 去编译旧版本的源码试试看,也不一定能行了。
from frp.
大概率是新版本中 Go 不支持了,你可以考虑使用 Go1.18 去编译旧版本的源码试试看,也不一定能行了。
好的,谢谢,我试试,请问0.49是用哪个Go版本了。
from frp.
1.20
from frp.
还是失败了,提示需要Go 1.19,但用1.19编译成功出来,又是上面的错误。
root@ubuntu:/home/lcx/frp-0.49.0# make
go fmt ./...
env CGO_ENABLED=0 go build -trimpath -ldflags "-s -w" -o bin/frps ./cmd/frps
github.com/quic-go/quic-go/internal/qtls
/root/go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/go_oldversion.go:5:13: cannot use "The version of quic-go you're using can't be built using outdated Go versions. For more details, please see https://github.com/quic-go/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built using outdated Go...) as int value in variable declaration
note: module requires Go 1.19
Makefile:29: recipe for target 'frps' failed
make: *** [frps] Error 2
root@ubuntu:/home/lcx/frp-0.49.0#
from frp.
那就别折腾了吧,Go 会逐渐放弃对旧系统的支持,旧系统的兼容会增加很大的维护负担和成本,所以也可以理解。
frp 始终会用最新的 Go 版本(或者兼容最近两个版本)来编译,所以同样随着版本的更新也会逐渐不再支持旧的系统。
如果你自己有能力修改的话,也可以尝试移除掉你不需要的代码,仍然使用旧版本的 Go 编译,但是并不推荐,耗费精力,收益也不高。
from frp.
那就别折腾了吧,Go 会逐渐放弃对旧系统的支持,旧系统的兼容会增加很大的维护负担和成本,所以也可以理解。
frp 始终会用最新的 Go 版本(或者兼容最近两个版本)来编译,所以同样随着版本的更新也会逐渐不再支持旧的系统。
如果你自己有能力修改的话,也可以尝试移除掉你不需要的代码,仍然使用旧版本的 Go 编译,但是并不推荐,耗费精力,收益也不高。
好的,不折腾了,谢谢了!
from frp.
Related Issues (20)
- frps-panel
- frp用dev分支编译之后提示socks插件未注册 HOT 1
- subdomains not supported HOT 2
- serverAddr 配置域名连接不上,用IP就可以 HOT 1
- [Feature Request] frp http using random port like tcp and udp HOT 2
- [Feature Request] 我现在想使用URL路由 根据访问的路由代理到不同的服务器,比如 访问www.baidu.com:8060/aaa 代理到本机1.100的80端口,访问www.baidu.com:8060/bbb代理到本机1.110的80端口.服务器端和客户端怎么配置呢 请教 HOT 7
- From v0.55.0 to 0.57.0, linux_arm arch won't work and shows illegal instruction when its start HOT 3
- [Feature Request] 增加命令行 强制以 TOML/JSON/INI 方式解析配置文件 HOT 2
- hack/download.sh using latest release page HOT 1
- With using authtoken,it cloud be link failure in version 0.57.0 HOT 2
- [Feature Request] Enable dashboard behind a reverse proxy HOT 1
- [Feature Request] [1;34m2024-05-09 14:12:54.709 [I] [sub/root.go:142] start frpc service for config file [frpc.toml] [0m[1;34m2024-05-09 14:12:54.714 [I] [client/service.go:294] try to connect to server... [0m[1;33m2024-05-09 14:13:04.716 [W] [client/service.go:297] connect to server error: dial tcp 112.124.65.163:7070: i/o timeout [0m[1;34m2024-05-09 14:13:04.716 [I] [sub/root.go:160] frpc service for config file [frpc.toml] stopped [0mlogin to the server failed: dial tcpxxx.xxx.xxx.xxx:7070: i/o timeout. With loginFailExit enabled, no additional retries will be attempted HOT 1
- frpc 客户端自定义端口不起作用 HOT 1
- Wake On LAN HOT 3
- error: dial tcp 127.0.0.1:22: connect: connection refused HOT 5
- 客户端一会就会断开 HOT 2
- Variable substitution for TOML config in Docker Compose - how to make it happen? HOT 2
- 最新版0.58.0,报错vhost_http_port没有设置 HOT 1
- 不能开机自启动 HOT 1
- Server can bind to 80 but client failed to connect with it HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frp.