求助,某位大佬用go语言重写频道channel
runtime: epollcreate failed with 38 fatal error: runtime: netpollinit failed用的是centos5,报错,是不是我得换个centos6,还是哪里设置错了
goroutine 1 :
runtime.throw({0x5f4d0c?, 0xc00009d8e8?})
/usr/local/go/src/runtime/panic.go:1047 +0x5d fp=0xc00009d8a8 sp=0xc00009d878 pc=0x433f5d
runtime.netpollinit()
/usr/local/go/src/runtime/netpoll_epoll.go:28 +0x1af fp=0xc00009d928 sp=0xc00009d8a8 pc=0x42fb2f
runtime.netpollGenericInit()
/usr/local/go/src/runtime/netpoll.go:197 +0x3b fp=0xc00009d940 sp=0xc00009d928 pc=0x42f0fb
internal/poll.runtime_pollServerInit()
/usr/local/go/src/runtime/netpoll.go:189 +0x17 fp=0xc00009d950 sp=0xc00009d940 pc=0x45f717
sync.(*Once).doSlow(0xc00009d9e0?, 0x4964c9?)
/usr/local/go/src/sync/once.go:74 +0xc2 fp=0xc00009d9b0 sp=0xc00009d950 pc=0x46acc2
sync.(*Once).Do(...)
/usr/local/go/src/sync/once.go:65
internal/poll.(*pollDesc).init(0xc0000a41f8, 0xc0000a41e0?)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:39 +0x3f fp=0xc00009d9d0 sp=0xc00009d9b0 pc=0x4ae11f
internal/poll.(*FD).Init(0xc0000a41e0, {0x5ee2d4?, 0x80000?}, 0x9c?)
/usr/local/go/src/internal/poll/fd_unix.go:63 +0x46 fp=0xc00009d9f0 sp=0xc00009d9d0 pc=0x4ae866
os.newFile(0x3, {0x5f0c73, 0xf}, 0x1)
/usr/local/go/src/os/file_unix.go:190 +0x17b fp=0xc00009da30 sp=0xc00009d9f0 pc=0x4b2adb
os.openFileNolog({0x5f0c73, 0xf}, 0x0, 0x0)
/usr/local/go/src/os/file_unix.go:250 +0x17a fp=0xc00009da78 sp=0xc00009da30 pc=0x4b2d1a
os.OpenFile({0x5f0c73, 0xf}, 0x0, 0x40a9e7?)
/usr/local/go/src/os/file.go:326 +0x45 fp=0xc00009dab0 sp=0xc00009da78 pc=0x4b2085
os.Open(...)
原文地址:https://tieba.baidu.com/p/8999604589 -----小调
由阿荣社区 https://bbs.vul7.com/ 转录 go最低内核版本要求2.6 他写了,建议cen7系统以上 别折腾了 这个最后你设置了域名,还是指向ip地址,也就是说你的频道文件还是得改静态ip地址。 能把他的教程发一份给我吗 https://bbs.vul7.com/data/attachment/forum/202405/09/011605viq7qq1iqmkb41x1.jpg
页:
[1]