Forum Home › Forums › Rapid SCADA on Linux Controllers and Raspberry Pi › Scada Agent error
Tagged: Scada Agent
- This topic has 15 replies, 2 voices, and was last updated 3 years, 1 month ago by Mikhail.
-
AuthorPosts
-
February 23, 2021 at 11:11 am #8313fedexParticipant
Hi,
I want to upload a project from windows pc to raspberry.
I have this error:Error Uploading configuration. There was no endpoint listening at http://192.168.1.3:10002/ScadaAgent/ScadaAgentSvc/
I have this error when starting the scada agent service, and the log file is not created in /opt/scada/ScadaAgent/Log:
pi@raspberry:~ $ sudo service scadaagent status
● scadaagent.service – LSB: SCADA-Agent daemon
Loaded: loaded (/etc/init.d/scadaagent; generated; vendor preset: enabled)
Active: active (exited) since Tue 2021-02-23 11:39:19 CET; 10min ago
Docs: man:systemd-sysv-generator(8)
Process: 1969 ExecStop=/etc/init.d/scadaagent stop (code=exited, status=0/SUCCESS)
Process: 2091 ExecStart=/etc/init.d/scadaagent start (code=exited, status=0/SUCCESS)Feb 23 11:39:19 raspberry systemd[1]: Starting LSB: SCADA-Agent daemon…
Feb 23 11:39:19 raspberry scadaagent[2091]: Delete ./Cmd/agentstop
Feb 23 11:39:19 raspberry scadaagent[2091]: Sending start SCADA-Agent command…
Feb 23 11:39:19 raspberry scadaagent[2091]: Start SCADA-Agent command is sent
Feb 23 11:39:19 raspberry systemd[1]: Started LSB: SCADA-Agent daemon.
Feb 23 11:39:19 raspberry scadaagent[2091]: Unhandled Exception:
Feb 23 11:39:19 raspberry scadaagent[2091]: System.IO.FileNotFoundException: Could not load file or assembly or one of its dependencies.
Feb 23 11:39:19 raspberry scadaagent[2091]: File name: ‘netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’Can you help me, thanks
February 23, 2021 at 11:26 am #8315MikhailModeratorHi,
Looks like the Agent application was not installed on RPi. Are there any files in /opt/scada/ScadaAgent directory?
February 23, 2021 at 11:28 am #8316MikhailModeratorIf the files presented, try the command line
mono /opt/scada/ScadaAgent/ScadaAgentMono.exeFebruary 23, 2021 at 12:03 pm #8317fedexParticipantHi,
the files are present.
The web application works with the sample project.
This is the error:
pi@raspberry:~ $ mono /opt/scada/ScadaAgent/ScadaAgentMono.exeUnhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly or one of its dependencies.
File name: ‘netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’Thanks
February 24, 2021 at 4:29 pm #8321fedexParticipantHi,
Can you help me, thanksFebruary 24, 2021 at 4:41 pm #8322MikhailModeratorHi,
Please check the version of Mono Framework by the command
mono --version
February 24, 2021 at 5:17 pm #8323fedexParticipantHi,
now i can’t check.
What is the correct version?February 24, 2021 at 7:13 pm #8324fedexParticipantHi,
this is the version:
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)February 25, 2021 at 1:08 pm #8326February 26, 2021 at 6:30 pm #8337fedexParticipantHi,
i installed version 6 of mono, but now i get this error from the web application:Description: HTTP 404.The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Details: Requested URL: /scada/
No log in /opt/scada/ScadaWeb/log
What can I check?
thank you.- This reply was modified 3 years, 1 month ago by fedex.
March 1, 2021 at 8:46 am #8356MikhailModeratorHi,
Try repeating the installation steps related to the web application.March 1, 2021 at 8:58 am #8360fedexParticipantHi,
i tried, with version 4 of mono, the web application worked.March 1, 2021 at 11:32 am #8363fedexParticipantHi,
the problem is the link to the web application:
sudo ln -s /opt/scada/ScadaWeb /var/www/html/scada
I copied ScadaWeb into /var/www/html/scada and it works.
Do you have ideas to solve the problem?March 2, 2021 at 2:44 pm #8378MikhailModeratorHi,
It may be an access rights problem.
When link is created, it works similar like copying files into the target directory.March 2, 2021 at 2:48 pm #8382fedexParticipantHi,
can you tell me what to check?
I have made some tests but I cannot solve the problem. -
AuthorPosts
- You must be logged in to reply to this topic.