Forum Home › Forums › Installation Issues › SCADA-Web Installation › Server is unavailable
Tagged: Migration
- This topic has 38 replies, 6 voices, and was last updated 9 months, 3 weeks ago by Mikhail.
-
AuthorPosts
-
November 24, 2017 at 5:37 pm #2841LPG57Participant
Hello,
After migrating to Scada 5.4.1, I can’t log in on the Scada web page, get the message “Server is unavailable”.
I used the same user as I used with the old version (admin).
ScadaserverSVC log:
2017-11-22 22:21:50 <SERVER7><SYSTEM><ACT> ScadaServerService 5.1.0.2 is started
2017-11-22 22:21:50 <SERVER7><SYSTEM><ACT> Check the existence of the data directories is completed successfully
2017-11-22 22:21:50 <SERVER7><SYSTEM><ACT> Check the existence of the configuration database files is completed successfully
2017-11-22 22:21:50 <SERVER7><SYSTEM><ACT> Input channels are read from the configuration database. Active channel count: 43
2017-11-22 22:21:50 <SERVER7><SYSTEM><ACT> Ouput channels are read from the configuration database
2017-11-22 22:21:50 <SERVER7><SYSTEM><ACT> Users are read from the configuration database
2017-11-22 22:21:50 <SERVER7><SYSTEM><ACT> Formulas are read from the configuration database
2017-11-22 22:21:50 <SERVER7><SYSTEM><ACT> The formulas source code has been compiled
2017-11-22 22:21:50 <SERVER7><SYSTEM><ACT> Connection listener is started
2017-11-22 22:21:50 <SERVER7><SYSTEM><ACT> Start server
2017-11-22 22:21:51 <SERVER7><SYSTEM><ACT> Current data are loaded
2017-11-22 22:21:51 <SERVER7><SYSTEM><ACT> Connect to client 127.0.0.1
2017-11-22 22:21:51 <SERVER7><SYSTEM><ACT> The user ScadaComm is successfully authenticated
2017-11-22 22:22:03 <SERVER7><SYSTEM><ACT> Connect to client 127.0.0.1
2017-11-22 22:22:03 <SERVER7><SYSTEM><ACT> The user ScadaComm is successfully authenticated
2017-11-22 22:22:30 <SERVER7><SYSTEM><ACT> Connect to client 127.0.0.1
2017-11-22 22:22:30 <SERVER7><SYSTEM><ACT> Unsuccessful attempt to authenticate the user
2017-11-22 22:42:25 <SERVER7><SYSTEM><ACT> Disconnect client 127.0.0.1
2017-11-22 22:48:37 <SERVER7><SYSTEM><ACT> Connect to client 127.0.0.1
2017-11-22 22:48:37 <SERVER7><SYSTEM><ACT> Unsuccessful attempt to authenticate the user
2017-11-22 22:48:37 <SERVER7><SYSTEM><ACT> Disconnect client 127.0.0.1
2017-11-22 22:49:04 <SERVER7><SYSTEM><ACT> Connect to client 127.0.0.1
2017-11-22 22:49:04 <SERVER7><SYSTEM><ACT> Unsuccessful attempt to authenticate the user
2017-11-22 23:09:08 <SERVER7><SYSTEM><ACT> Connect to client 127.0.0.1
2017-11-22 23:09:08 <SERVER7><SYSTEM><ACT> Unsuccessful attempt to authenticate the user
2017-11-22 23:09:08 <SERVER7><SYSTEM><ACT> Disconnect client 127.0.0.1
2017-11-22 23:09:22 <SERVER7><SYSTEM><ACT> Connect to client 127.0.0.1
2017-11-22 23:09:22 <SERVER7><SYSTEM><ACT> Unsuccessful attempt to authenticate the user
2017-11-22 23:09:22 <SERVER7><SYSTEM><ACT> Disconnect client 127.0.0.1
2017-11-24 18:25:00 <SERVER7><SYSTEM><ACT> Connect to client 127.0.0.1
2017-11-24 18:25:00 <SERVER7><SYSTEM><ACT> Unsuccessful attempt to authenticate the user
2017-11-24 18:25:00 <SERVER7><SYSTEM><ACT> Disconnect client 127.0.0.1ScadaServerSvc.txt:
SCADA-Server
————
Started : 22/11/2017 22:21:50
Execution time : 1.20:12:49
State : normal
Version : 5.1.0.2Connected Clients (1)
———————
1. 127.0.0.1; ScadaComm (Application); activity: 18:34:39ScadaWeb.log
2017-11-22 23:09:08 <SERVER7><DefaultAppPool><ACT> User information has been added. IP address: ::1. Session: 54ao1isfna1zamq3si5xtkqo
2017-11-22 23:09:22 <SERVER7><DefaultAppPool><ACT> Connect to SCADA-Server “localhost”
2017-11-22 23:09:22 <SERVER7><DefaultAppPool><ERR> User name or password is incorrect
2017-11-22 23:09:22 <SERVER7><DefaultAppPool><ACT> Disconnect from SCADA-Server
2017-11-22 23:09:22 <SERVER7><DefaultAppPool><EXC> Error refreshing the tables of the configuration database:
Scada.ScadaException: Unable to receive the configuration database modification time.
at Scada.Client.DataCache.RefreshBaseTables()
2017-11-22 23:09:22 <SERVER7><DefaultAppPool><ERR> Unable to connect to SCADA-Server. Try again.
2017-11-22 23:09:22 <SERVER7><DefaultAppPool><ERR> Unsuccessful login attempt: peder – Server is unavailable. IP address: ::1
2017-11-22 23:29:22 <SERVER7><DefaultAppPool><ACT> User information has been removed. IP address: ::1. Session: 54ao1isfna1zamq3si5xtkqo
2017-11-24 18:25:00 <SERVER7><DefaultAppPool><ACT> Connect to SCADA-Server “localhost”
2017-11-24 18:25:00 <SERVER7><DefaultAppPool><ERR> User name or password is incorrect
2017-11-24 18:25:00 <SERVER7><DefaultAppPool><ACT> Disconnect from SCADA-Server
2017-11-24 18:25:00 <SERVER7><DefaultAppPool><EXC> Error refreshing the tables of the configuration database:
Scada.ScadaException: Unable to receive the configuration database modification time.
at Scada.Client.DataCache.RefreshBaseTables()
2017-11-24 18:25:00 <SERVER7><DefaultAppPool><ACT> User information has been added. IP address: 83.142.103.76. Session: lxw0v20243tol44phkjh34ul
2017-11-24 18:25:10 <SERVER7><DefaultAppPool><ERR> Unable to connect to SCADA-Server. Try again.
2017-11-24 18:25:10 <SERVER7><DefaultAppPool><EXC> Error refreshing the tables of the configuration database:
Scada.ScadaException: Unable to receive the configuration database modification time.
at Scada.Client.DataCache.RefreshBaseTables()
2017-11-24 18:25:10 <SERVER7><DefaultAppPool><ERR> Unable to connect to SCADA-Server. Try again.
2017-11-24 18:25:10 <SERVER7><DefaultAppPool><ERR> Unsuccessful login attempt: admin – Server is unavailable. IP address: 83.142.103.76November 25, 2017 at 11:29 am #2842MikhailModeratorHi,
Please open C:\SCADA\ScadaWeb\config\WebSettings.xml in a text editor and check CommSettings section. These are the connection parameters for the web app. Can you provide them here?
November 25, 2017 at 11:30 am #2843MikhailModeratorAlso check CPU load of ScadaServerSvc.exe.
November 25, 2017 at 12:40 pm #2844LPG57ParticipantHello Mikhail,
The CPU load of ScadaServerSvc.exe is currently 0
and here is the WebSettings.xml:<?xml version=”1.0″ encoding=”utf-8″ ?>
– <WebSettings>
<Param name=”SrezRefrFreq” value=”5″ descr=”Values refresh frequency, sec” />
<Param name=”EventRefrFreq” value=”5″ descr=”Events refresh frequency, sec” />
<Param name=”EventCnt” value=”50″ descr=”Display events count” />
<Param name=”EventFltr” value=”true” descr=”Set ‘View’ events filter by default” />
<Param name=”DiagBreak” value=”90″ descr=”Distance between points on the diagramm to make a break, sec” />
<Param name=”CmdEnabled” value=”true” descr=”Enable commands” />
<Param name=”SimpleCmd” value=”false” descr=”Simple commands sending” />
<Param name=”RemEnabled” value=”false” descr=”Enable to remember logged on user” />
</WebSettings>November 25, 2017 at 12:45 pm #2845LPG57Participantand here is the CommSettings.xml
<?xml version=”1.0″ encoding=”utf-8″ ?>
– <CommSettings>
<Param name=”ServerHost” value=”localhost” descr=”SCADA-Server host or IP address” />
<Param name=”ServerPort” value=”10000″ descr=”SCADA-Server TCP port number” />
<Param name=”ServerUser” value=”ScadaWeb” descr=”User name for the connection” />
<Param name=”ServerPwd” value=”12345″ descr=”User password for the connection” />
<Param name=”ServerTimeout” value=”10000″ descr=”Response timeout, ms” />
</CommSettings>I tried also with user “ScadaWeb”, but the result was the same
November 26, 2017 at 9:23 am #2849MikhailModeratorThe format of the WebSettings.xml file was changed. You should take the new one from the distributive.
You don’t need CommSettings.xml for the web app no more.November 26, 2017 at 2:58 pm #2856LPG57ParticipantFollowing the instructions above solved the login problem – thanks’
However, when logged in the following message appear:
“The requested view does not exist or you have insufficient rights to access it.”I can open the tables in the table editor.
November 26, 2017 at 4:25 pm #2857LPG57ParticipantI solved the issue above, found out that there were differences in the Interface table between the old and new version.
Now I only wonders how the “Rights” table “Interface Objects” field is populated? In the drop down list, there is only the demo objects, not the tables I built?
November 27, 2017 at 9:48 am #2858LPG57ParticipantMikhail
The issue with the rights table is solve, but now I have a new problem:
When connecting with the web station, it works OK while doing it directly on the server itself, but when doing it from a PC outside the domain, I can login, but the tables are not updated with data and the message “Error updating current data” appear. After 10 secs, I’m thrown out.
Login performed 10:21 was on localhost and succeeded, login performed 10:23 was from a remote PC and failed.
ScadaWeb.log
2017-11-27 10:21:54 <SERVER7><DefaultAppPool><ACT> Request SCADA-Server state
2017-11-27 10:21:54 <SERVER7><DefaultAppPool><ACT> Disconnect from SCADA-Server
2017-11-27 10:21:54 <SERVER7><DefaultAppPool><ACT> Connect to SCADA-Server “localhost”
2017-11-27 10:21:54 <SERVER7><DefaultAppPool><ACT> User information has been added. IP address: ::1. Session: b3knixrzaedaicjuaoku3wml
2017-11-27 10:21:57 <SERVER7><DefaultAppPool><ACT> Login: admin (Administrator). IP address: ::1
2017-11-27 10:21:57 <SERVER7><DefaultAppPool><ACT> User information has been updated. IP address: ::1. Session: b3knixrzaedaicjuaoku3wml
2017-11-27 10:22:27 <SERVER7><DefaultAppPool><ACT> Logout: admin. IP address: ::1
2017-11-27 10:23:22 <SERVER7><DefaultAppPool><ACT> Request SCADA-Server state
2017-11-27 10:23:22 <SERVER7><DefaultAppPool><ACT> Login: admin (Administrator). IP address: 199.64.75.186
2017-11-27 10:23:22 <SERVER7><DefaultAppPool><ACT> User information has been updated. IP address: 199.64.75.186. Session: lxw0v20243tol44phkjh34ulScadaServerSvc.log
2017-11-27 10:21:54 <SERVER7><SYSTEM><ACT> Connect to client 127.0.0.1
2017-11-27 10:21:54 <SERVER7><SYSTEM><ACT> The user ScadaWeb is successfully authenticated
2017-11-27 10:21:57 <SERVER7><SYSTEM><ACT> Check user admin name and password. Result: passed
2017-11-27 10:23:22 <SERVER7><SYSTEM><ACT> Check user admin name and password. Result: passedNovember 27, 2017 at 4:03 pm #2860MikhailModeratorHi,
Does it work from another PC in the same network?
Please press F12 in a browser and provide logs (or screenshots) from the Console and Network tabs.November 28, 2017 at 9:32 pm #2880LPG57ParticipantHello,
If I’m connect using http://servername7scada from another computer within the domain, it works OK. But if I’m from the same computer use the external https://domainname/scada, it doesn’t work.
November 29, 2017 at 1:54 pm #2888November 29, 2017 at 9:02 pm #2897LPG57ParticipantThere was already a certificate for port 443 for this web site, so when creating another one, I couldn’t log on remotely anymore. (Running SBS 2011)
November 30, 2017 at 6:25 pm #2898MikhailModeratorHTTPS is more tricky. To solve this issue, a remote connection is required – this is a commercial service.
November 30, 2017 at 6:26 pm #2899MikhailModeratorDoes https://localhost/ work?
-
AuthorPosts
- You must be logged in to reply to this topic.