Page 1 of 1

Error while starting C based OPC UA server for Raspberry Pi

Posted: 15 Mar 2014, 11:31
by hyperdanny
Hi everybody,

Fortunately i received my CD of the C based OPC UA server for Raspberry a few days ago.
So i tried to get it working.
Unfortunately i do get some error message and the programm aborts, when starting the server on my pi:

UA Server: Main stopped due ERROR! (0x80050000)

Code: Select all

pi@raspberrypi ~/ua/bin $ ./uaserverc_piface
UA Server: Initializing Stack...


This is an evaluation version of the

   Unified Automation GmbH - Ansi C SDK OPC UA Sample Server
   ---------------------------------------------------------



The server stopps communication after the expiration time of 60 minutes.

Do you agree to the Unified Automation Software Licence Agreement?
(this SLA can be found in the SDK package)
(type 'y' for yes, 'n' for no or 'r' to read the SLA)

y
Generating application instance certificate, this may take a while...done!
UA Server: Building Provider List...
UA Server: Loading Provider Modules...
Initialize Server Provider ...
   NS0:
   1254 Nodes created
   2992 References created
   38 Arguments created
   62 EnumStrings created
   82 EnumValues created
Server Provider initialized!
Initialize Demo Provider ...
Demo Provider initialized!
   2399 Nodes created
   NS4:
   399 static nodes created
   840 static references created
   18 static methods created
Initialize PiFace Provider ...
PiFace Provider initialized!
   46 Nodes created
   NS5:
   44 static nodes created
   108 static references created
   0 static methods created
Cleanup PiFace Provider ...
Cleanup PiFace Provider DONE!
Cleanup Demo Provider ...
Cleanup Demo Provider DONE!
Cleanup Server Provider ...
Cleanup Server Provider DONE!
UA Server: Main stopped due ERROR! (0x80050000)
Press Enter to close Window!


Does anybody know how to fix this?

Re: Error while starting C based OPC UA server for Raspberry

Posted: 15 Mar 2014, 11:40
by hyperdanny
was my stupid mistake.

Forgot to enbalbe iPv6:

$ sudo modprobe ipv6

Re: Error while starting C based OPC UA server for Raspberry

Posted: 14 May 2014, 19:02
by Raspberry
Hallo Hyperdanny,

i have just began with my raspberry pi. Now I don't have piface. But I am very interested with the opc ua on Pi so now I am trying the settings of readme_raspberry. But at the end by "pi@raspberrypi ~ $ ./uaserverc_piface # starting the release versionby " there is a problem. It says: Permission denied.

I have tried chmod +x ./uaserverc_piface but it also doesn't work. Could you please tell me, if this is because the pi doesn't have Piface? If possible, could you have a try, if the situation is the same by you, when you don't put the Piface on the Pi? Thanks a lot.

Re: Error while starting C based OPC UA server for Raspberry

Posted: 07 Oct 2014, 12:20
by Stefan Ma
Hello "Raspberry",

I have the same mistake, do you have a solution? Do we need a Piface to run the server?

Re: Error while starting C based OPC UA server for Raspberry

Posted: 15 Oct 2014, 06:04
by Support Team
Hello,

You don't need a Piface to run our OPC A demo server on the Raspberry Pi. Did you follow the readme exactly? Maybe your user don't have access to the SPI bus. You need this access also without the Piface.

Best regards
Support Team