RapidScada / scada

Contains Rapid SCADA sources
Apache License 2.0
680 stars 311 forks source link

Server State is "File not Found." Server does not appear to be running. #117

Open jonathan-ibex-controls opened 1 year ago

jonathan-ibex-controls commented 1 year ago

RapidScada version 5.8.4 Windows 10 Home Version 64-bit 1909 18353.1556

I was trying to do the RapidScada First Run Tutorial. I was able to load the project DemoProject.en-GB. At 1:15 it advises to check the status of the services. In the video, the SCADA server details are displayed under Stats > Server State. But in my case Stats > Server state and Server Log both say "File not found."

What I've Tried:

What partially fixed the issue:

Did I fix this the proper way? Is there something else I need to do to stabilize the server state? Is there a way that the server can start up by itself without me manually running svc_start.bat as Administrator?

2mik commented 1 year ago

Hello,

If I run SCADA\ScadaServer\svc_start.bat as Administrator, it succeeds.

Run services.msc and check if ScadaServerService, ScadaCommService and ScadaAgentService are configured to start automatically. Likely, svc_start.bat was needed only for the 1st start.

The only odd thing is that in RapidScada Administrator Server > Stats, it seems to lose connection for a beat every now and then, showing "No data" for a second and then going right back to State:normal

The Agent service reads status files, for example, ScadaServer.txt, parses the service status from this file and provides to the Administrator app. If there is no errors in log files, there is nothing to fix.