Difference between revisions of "OPC UA PubSub Common Traps And Pitfalls"

From OPC Labs Knowledge Base
Jump to navigation Jump to search
(Created page with "; Error "Unable to activate the adapter (...). Return code: -8" : On Linux, elevated privileges are needed in order to send Ethernet packets. Run your program with '''sudo...")
 
Line 1: Line 1:
 +
[[Category:Troubleshooting]] [[Category:OPC UA PubSub]]
 
; Error "Unable to activate the adapter (...). Return code: -8"
 
; Error "Unable to activate the adapter (...). Return code: -8"
 
: On Linux, elevated privileges are needed in order to send Ethernet packets. Run your program with '''sudo''' to resolve this issue.
 
: On Linux, elevated privileges are needed in order to send Ethernet packets. Run your program with '''sudo''' to resolve this issue.
 
; Error "Unable to load shared library 'libpcap' or one of its dependencies. ..."
 
; Error "Unable to load shared library 'libpcap' or one of its dependencies. ..."
 
: If you are on Ubuntu 18: Libpcap is "preinstalled", but SharpPcap won't find it. There are various ways how to resolve it. One of them is to create a copy of symlink '''/user/lib/x86_64-linux-gnu/libpcap.so.0.8''' to symlink '''libpcap.so''' in the same directory.
 
: If you are on Ubuntu 18: Libpcap is "preinstalled", but SharpPcap won't find it. There are various ways how to resolve it. One of them is to create a copy of symlink '''/user/lib/x86_64-linux-gnu/libpcap.so.0.8''' to symlink '''libpcap.so''' in the same directory.

Revision as of 08:15, 28 July 2019

Error "Unable to activate the adapter (...). Return code: -8"
On Linux, elevated privileges are needed in order to send Ethernet packets. Run your program with sudo to resolve this issue.
Error "Unable to load shared library 'libpcap' or one of its dependencies. ..."
If you are on Ubuntu 18: Libpcap is "preinstalled", but SharpPcap won't find it. There are various ways how to resolve it. One of them is to create a copy of symlink /user/lib/x86_64-linux-gnu/libpcap.so.0.8 to symlink libpcap.so in the same directory.