Forum Home › Forums › Rapid SCADA on Linux Controllers and Raspberry Pi › Server is unavailable
- This topic has 10 replies, 4 voices, and was last updated 3 years, 7 months ago by Mikhail.
-
AuthorPosts
-
February 17, 2020 at 8:53 pm #6535colin60Participant
Hi
I have installed RapidScada on Raspberry pi 3.
Using Raspbian9 and Mono 6.8.0.105
When trying to connect on Chromium using localhost/scada, using admin / 12345 the RapidScada message box returns “Server is unavailable”
The ScadaServerSvc.log shows:
——————————————————————————–
2020-02-17 20:29:35 <raspberrypi><root><ACT> ScadaServerService 5.1.3.0 is started
2020-02-17 20:29:36 <raspberrypi><root><ACT> Check the existence of the data directories is completed successfully
2020-02-17 20:29:36 <raspberrypi><root><ACT> Check the existence of the configuration database files is completed successfully
2020-02-17 20:29:37 <raspberrypi><root><ACT> Input channels are read from the configuration database. Active channel count: 5
2020-02-17 20:29:37 <raspberrypi><root><ACT> Ouput channels are read from the configuration database
2020-02-17 20:29:37 <raspberrypi><root><ACT> Users are read from the configuration database
2020-02-17 20:29:37 <raspberrypi><root><ACT> Formulas are read from the configuration database
2020-02-17 20:29:41 <raspberrypi><root><ACT> The formulas source code has been compiled
2020-02-17 20:29:41 <raspberrypi><root><ACT> Connection listener is started
2020-02-17 20:29:41 <raspberrypi><root><ACT> Start server
2020-02-17 20:29:41 <raspberrypi><root><ACT> Current data are not loaded
2020-02-17 20:29:48 <raspberrypi><root><ACT> Connect to client 127.0.0.1
2020-02-17 20:29:48 <raspberrypi><root><ACT> The user ScadaComm is successfully authenticated
2020-02-17 20:34:54 <raspberrypi><root><ACT> Connect to client 127.0.0.1
2020-02-17 20:34:54 <raspberrypi><root><ACT> Unsuccessful attempt to authenticate the user
2020-02-17 20:34:54 <raspberrypi><root><ACT> Disconnect client 127.0.0.1
2020-02-17 20:35:05 <raspberrypi><root><ACT> Connect to client 127.0.0.1
2020-02-17 20:35:05 <raspberrypi><root><ACT> Unsuccessful attempt to authenticate the user
2020-02-17 20:35:05 <raspberrypi><root><ACT> Disconnect client 127.0.0.1It looks like it cannot authenticate.
Any suggestions on further tests or solutions?
Thanks.February 18, 2020 at 1:54 pm #6538MikhailModeratorHi,
There should be 2 connections to SCADA-Server, by the users ScadaComm and ScadaWeb.
Please check what is written in ScadaServerSvc.txt about active connections.
Also check ScadaCommSvc.log and ScadaWeb.logFebruary 18, 2020 at 6:23 pm #6539colin60ParticipantHi Mikhail
I found an error in the log:
error loading web application settings: File/var/www/html/scada/config/websetting.xmlThere was no /config/.
Also noticed that /opt/scada/ScadaWeb had infinite directories, that is:
/opt/scada/ScadaWeb/ScadaWeb/ScadaWeb on so on.
I removed the ScadaWeb directories (first used sudo umount -l as the directories were locked)
Then copied the files into the /opt/scada folder again and re-installed.
Now everything works…Thank you for your help.
February 19, 2020 at 3:41 pm #6540MikhailModeratorHi,
Also noticed that /opt/scada/ScadaWeb had infinite directories
Haven’t faced this before.
February 21, 2020 at 1:09 pm #6543hethongscada62ParticipantDear Mr.Mikhail,
My Demo project was working very very well. I can login to Web every where by Username: admin, password: 12345. That seems is unsafe so the password:12345 was changed by another but i can not upload. Returns to old password 12345, can not upload. And now i can not login to Web too. Some screenshots here:
https://ibb.co/tMYW4rp
https://ibb.co/VM1QyML
https://ibb.co/t3BPq6P
How will i do now, could you help me?
Thanks and best regards
Han hoangFebruary 21, 2020 at 3:07 pm #6544MikhailModeratorHello,
Please check what user name and password are specified in the deployment profile options.February 22, 2020 at 3:26 am #6545hethongscada62ParticipantDear Mr. Mikhail,
My Demo project was repaired but not completely. I can login to web, every thing that seems is running OK except processing a upload configuration. I can not upload configuration. I checked an Instance Status that shows: “Unable to login – Invalid username or password”, “Unable to create session”.
What is wrong with Instance Default?
https://ibb.co/hm0Pp72
Could you show me again how i have to do?
Thanks and best regards
Han HoangFebruary 22, 2020 at 6:01 am #6546hethongscada62ParticipantDear Mr. Mikhail,
I want to notice that i created many projects in “Demo Project”.
https://ibb.co/CQLm2tP
The only one project that was changed password and the “secret key” Button was clicked can not upload configuration. The remain projects can upload normally.
Why, i don’t understand?
Pls help me.
Thanks and best regards
Han HoangFebruary 22, 2020 at 2:33 pm #6550MikhailModeratorYou should provide screenshots of the Interface table and of the deployment profile.
February 26, 2021 at 8:10 am #8329percy011Participanterror uploading configuration : unable to login – Error validating user
February 26, 2021 at 1:28 pm #8335MikhailModerator -
AuthorPosts
- You must be logged in to reply to this topic.