Closed GigaVik closed 1 month ago
Hello. I have the same error. Did you find the way to solve it?
Hello. I have the same error. Did you find the way to solve it?
I haven't figured it out yet. But the suspicion is on the OPC DA Automation Wrapper library. It looks like the library got up correctly on the first server, but not on the second. I'm still trying to figure it out. The error that GO issues is similar to errors when the system does not meet the minimum requirements for startup. I'm sorry for my English (Yandex translate)
I’m experiencing the same issue. Have there been any updates or solutions identified for this problem?
I updated all dependencies to latest. Please test again.
I updated all dependencies to latest. Please test again.
Hi! Now, with the same configuration, the program gives me:
C:\Program Files\InfluxData\telegraf\opcda>opcda_amd64 -config opcda_data.conf
Exception 0xc0000005 0x8 0x0 0x0
PC=0x0
runtime.asmstdcall(0x3a0900060009)
runtime/sys_windows_amd64.s:76 +0x89 fp=0xf5f570 sp=0xf5f550 pc=0x135d89
rax 0x0
rbx 0x9075c0
rcx 0x9577e8
rdx 0x20
rdi 0x7fffffdd000
rsi 0xf5f768
rbp 0xf5f6b0
rsp 0xf5f548
r8 0x9072e0
r9 0x95724a
r10 0xf7a2e8
r11 0xc000004000
r12 0xf5f7b8
r13 0x0
r14 0x906440
r15 0x3
rip 0x0
rflags 0x10246
cs 0x33
fs 0x53
gs 0x2b
C:\Program Files\InfluxData\telegraf\opcda>opcda_i386 -config opcda_data.conf
Exception 0xc0000005 0x8 0x0 0x0
PC=0x0
runtime.asmstdcall(0x20)
runtime/sys_windows_386.s:44 +0x2a fp=0x32f948 sp=0x32f944 pc=0xd64cba
eax 0x8
ebx 0x14a59ac
ecx 0x0
edx 0x32f970
edi 0x32f94c
esi 0x32f9a4
ebp 0x32f94c
esp 0x32f940
eip 0x0
eflags 0x10206
cs 0x23
fs 0x53
gs 0x2b
I was able to reproduce your error by unregistering gbda_aut.dll
You can get the Graybox DA Automation Wrapper here. Follow the installation instruction for this wrapper.
For 32-bit OPC servers on 64-bit systems follow these steps:
gbda_aut.dll
to C:\Windows\SysWOW64
folder;%systemroot%\SysWoW64\regsvr32.exe gbda_aut.dll
Here is my opcda.conf
with Gray Simulator:
[[inputs.opcda]]
name = "sim"
server = "Graybox.Simulator.1"
nodes = ["localhost"]
items = [
{ item = "numeric.sin.int64" },
]
Output:
>opcda_i386.exe -config .\opcda.conf
2024/09/02 23:20:22 I! Connecting to Graybox.Simulator.1[localhost]
sim numeric.sin.int64=-63i 1725276024000000000
sim numeric.sin.int64=-37i 1725276025000000000
sim numeric.sin.int64=-7i 1725276026000000000
sim numeric.sin.int64=25i 1725276027000000000
sim numeric.sin.int64=53i 1725276028000000000
Hallo! Windows Server 2008 R2 Standart SP1 64x conf:
error:
However, on another server with the same configuration it works without any problems.