使用netstat -lntp来看看有侦听在网络某端口的进程。当然,也可以使用 lsof。

filebeat启动失败

Beats | 作者 yinyao | 发布于2019年12月23日 | 阅读数:4604

runtime: epollwait on fd 4 failed with 38
fatal error: runtime: netpoll failed

runtime stack:
runtime.throw(0x16ec0fb, 0x17)
/usr/local/go/src/runtime/panic.go:616 +0x81
runtime.netpoll(0x15e2ef1b55648b00, 0x0)
/usr/local/go/src/runtime/netpoll_epoll.go:75 +0x216
runtime.sysmon()
/usr/local/go/src/runtime/proc.go:4265 +0x424
runtime.mstart1(0x0)
/usr/local/go/src/runtime/proc.go:1227 +0xe7
runtime.mstart()
/usr/local/go/src/runtime/proc.go:1193 +0x76

goroutine 1 [runnable, locked to thread]:
github.com/elastic/beats/vendor/github.com/opencontainers/image-spec/specs-go.init()
/go/src/github.com/elastic/beats/vendor/github.com/opencontainers/image-spec/specs-go/version.go:32 +0x5b

goroutine 34 [syscall]:
os/signal.signal_recv(0xc4200f1fc8)
/usr/local/go/src/runtime/sigqueue.go:139 +0xa6
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.0
/usr/local/go/src/os/signal/signal_unix.go:28 +0x41
已邀请:

liuxg - Elastic

赞同来自: yinyao

请问问一下你这个是在centOS上运行吗?我看到说出现这个错的原因是centos的版本太低的缘故。请查看一下golang的最低版本要求https://github.com/golang/go/w ... ments

myth

赞同来自:

我的redhat5.9 就遇到这个问题,还在想办法

要回复问题请先登录注册