Forum Home › Forums › Rapid SCADA on Linux Controllers and Raspberry Pi › Server is unavailable
- This topic has 3 replies, 3 voices, and was last updated 7 years, 2 months ago by manjey73.
-
AuthorPosts
-
June 27, 2017 at 4:05 pm #2293roskaParticipant
Hi,
I tried installing Rapid Scada on a raspberry pi. I can connect to the webserver, and the login screen shows, but after entering the user and password, it shows “Server is unavailable” above the login frame.
The logfiles show (not from the very beginning, only the last few lines):
ScadaServerSvc.log:
—————————————————————–
2017-06-27 15:44:04 <SCADA><root><ACT> ScadaServerService 5.0.1.0 is started
2017-06-27 15:44:04 <SCADA><root><ACT> Check the existence of the data directories is completed successfully
2017-06-27 15:44:04 <SCADA><root><ACT> Check the existence of the configuration database files is completed successfully
2017-06-27 15:44:04 <SCADA><root><ACT> Input channels are read from the configuration database. Active channel count: 40
2017-06-27 15:44:04 <SCADA><root><ACT> Ouput channels are read from the configuration database
2017-06-27 15:44:04 <SCADA><root><ACT> Users are read from the configuration database
2017-06-27 15:44:04 <SCADA><root><ACT> Formulas are read from the configuration database
2017-06-27 15:44:05 <SCADA><root><ERR> Error compiling the source code of the formulas:
Line 85, column 31: error CS0589: Internal compiler error during parsingSystem.FormatException: Input string was not in the correct format
Line 0, column 0: error : at System.Double.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00000] in <filename unknown>:0
Line 0, column 0: error : at Mono.CSharp.Tokenizer.adjust_real (TypeCode t, Location loc) [0x00000] in <filename unknown>:0
Line 0, column 0: error : at Mono.CSharp.Tokenizer.is_number (Int32 c, Boolean dotLead) [0x00000] in <filename unknown>:0
Line 0, column 0: error : at Mono.CSharp.Tokenizer.xtoken () [0x00000] in <filename unknown>:0
Line 0, column 0: error : at Mono.CSharp.Tokenizer.token () [0x00000] in <filename unknown>:0
Line 0, column 0: error : at Mono.CSharp.CSharpParser.yyparse (yyInput yyLex) [0x00000] in <filename unknown>:0
Line 0, column 0: error : at Mono.CSharp.CSharpParser.parse () [0x00000] in <filename unknown>:0
See the file /opt/scada/ScadaServer/Log/CalcEngine.cs with the source code
—————————–ScadaWeb.log:
——————————-
Scada.ScadaException: Unable to receive the configuration database modification time.
at Scada.Client.DataCache.RefreshBaseTables () [0x00000] in <filename unknown>:0
2017-06-27 15:44:37 <SCADA><www-data><ERR> Unable to connect to SCADA-Server. Try again.
2017-06-27 15:44:37 <SCADA><www-data><ERR> Unsuccessful login attempt: admin – Server is unavailable. IP address: 10.100.35.119
2017-06-27 15:48:03 <SCADA><www-data><ACT> Connect to SCADA-Server “localhost”
2017-06-27 15:48:03 <SCADA><www-data><EXC> Error connecting to SCADA-Server: Connection refused
2017-06-27 15:48:03 <SCADA><www-data><ACT> Disconnect from SCADA-Server
2017-06-27 15:48:03 <SCADA><www-data><EXC> Error refreshing the tables of the configuration database:
Scada.ScadaException: Unable to receive the configuration database modification time.
at Scada.Client.DataCache.RefreshBaseTables () [0x00000] in <filename unknown>:0
2017-06-27 15:48:03 <SCADA><www-data><ACT> User information has been added. IP address: 127.0.0.1. Session: 21964F2728334F14896F1738
2017-06-27 15:48:13 <SCADA><www-data><ACT> Connect to SCADA-Server “localhost”
2017-06-27 15:48:13 <SCADA><www-data><EXC> Error connecting to SCADA-Server: Connection refused
2017-06-27 15:48:13 <SCADA><www-data><ACT> Disconnect from SCADA-Server
2017-06-27 15:48:13 <SCADA><www-data><EXC> Error refreshing the tables of the configuration database:
Scada.ScadaException: Unable to receive the configuration database modification time.
at Scada.Client.DataCache.RefreshBaseTables () [0x00000] in <filename unknown>:0
2017-06-27 15:48:13 <SCADA><www-data><ERR> Unable to connect to SCADA-Server. Try again.
2017-06-27 15:48:13 <SCADA><www-data><ERR> Unsuccessful login attempt: admin – Server is unavailable. IP address: 127.0.0.1First I tried the default configuration of the linux installation package, then I copied the files from the (working) windows installation according the manual. The behaviour is the same.
Any idea what could be wrong?Thanks,
Robert (from Austira)
June 28, 2017 at 5:03 am #2295MikhailModeratorThe cause is:
2017-06-27 15:44:05Error compiling the source code of the formulas:
Line 85, column 31: error CS0589: Internal compiler error during parsingSystem.FormatException: Input string was not in the correct format
Line 0, column 0: error : at System.Double.ParseYou have to switch localization of RPi into English and restart SCADA-Server. There is a bug in Mono .NET compiler.
June 28, 2017 at 12:19 pm #2297roskaParticipantThanks,
that helped!
June 28, 2017 at 8:22 pm #2307manjey73ParticipantCan also change the display number according to British standard (11.5 instead of 11.5) at the same time leave the localization.
Unfortunately I don’t remember how I did it somewhere recorded, but could not find it.
Then, too, everything starts to work. -
AuthorPosts
- You must be logged in to reply to this topic.