categraf不兼容Windows Server 2008 R2

Viewed 246

下面这个问题有办法解决吗?

categraf --intall报错:

Exception 0xc0000005 0x8 0x0 0x0
PC=0x0

runtime.asmstdcall()
/opt/hostedtoolcache/go/1.21.7/x64/src/runtime/sys_windows_amd64.s:65 +0x75 fp=0x22fca0 sp=0x22fc80 pc=0x474e35
rax 0x0
rbx 0x89a9300
rcx 0x8a0d1e0
rdi 0x7fffffde000
rsi 0x22fea0
rbp 0x22fde0
rsp 0x22fc78
r8 0x0
r9 0x22fee0
r10 0x89dd438
r11 0x21
r12 0x22fec0
r13 0x1
r14 0x89a8620
r15 0x0
rip 0x0
rflags 0x10293
cs 0x33
fs 0x53
gs 0x2b
Exception 0xc0000005 0x8 0x0 0x0
PC=0x0

2 Answers

可以去掉依赖go 1.21的插件(忘了是chrony还是ldap了),降低go版本重新编译一个

问题找到了:Just found the "why" Golang 1.21 require at least Windows 10 so its a no go on Windows 7 and Server 2008