Heka 编译安装后 运行报错 panic: runtime error: cgo argument has Go pointer to Go pointer
2017-01-16 10:38 DillGao 阅读(1528) 评论(0) 编辑 收藏 举报Heka 编译安装后 运行报错 panic: runtime error: cgo argument has Go pointer to Go pointer
1. Start hekad with the GODEBUG variable exported in its environment: export GODEBUG=cgocheck=0
2. 之后出现如下报错,找不到lua文件
2017/01/16 10:33:38 Decoder 'MemStats-MemStatsDecoder' error: Init() cannot open /usr/share/heka/lua_decoders/linux_memstats.lua: No such file or directory
2017/01/16 10:33:38 Decoder 'MemStats-MemStatsDecoder' error: SandboxDecoder has been terminated
提供lua文件:
sudo mv /usr/local/share/heka/ /usr/share/heka
3. 报错解决,程序往下执行