"Unable to login : Server is unavailable" Problem?

Forum Home Forums Installation Issues "Unable to login : Server is unavailable" Problem?

This topic contains 16 replies, has 5 voices, and was last updated by  Muhd Afham 5 months, 4 weeks ago.

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #972

    tayfun_izmir
    Participant

    Deir friends,

    i was setup to software of manualy, my Os is Xp , IIS 5.1 , old version,

    bu setup is complate good, server and cominicator is already working but i never login, problem say “Unable to login : Server is unavailable”

    Where do you think the problem may be,?

    #974
    Mikhail
    Mikhail
    Moderator

    Hello,

    Make sure that Server works correctly by watching the file C:\SCADA\ScadaServer\Log\ScadaServerSvc.txt

    Then open C:\SCADA\ScadaWeb\log\ScadaWeb.log and check the details of the errors.

    #1951

    huary
    Participant

    i also have this problem
    this is Server Log,it is runing normal
    SCADA-Server
    ————
    Started : 20/02/2017 16:48:56
    Execution time : 00:19:31
    State : normal
    Version : 5.0.0.0

    Connected Clients
    —————–
    No

    This is web log,Can you tell you why i canot login?\

    2017-02-20 16:54:44 <L-PC><DefaultAppPool><ACT> Connect to SCADA-Server “localhost”
    2017-02-20 16:54:49 <L-PC><DefaultAppPool><EXC> Error connecting to SCADA-Server: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
    2017-02-20 16:54:49 <L-PC><DefaultAppPool><ACT> Disconnect from SCADA-Server
    2017-02-20 16:54:49 <L-PC><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-02-20 16:54:49 <L-PC><DefaultAppPool><ERR> Unable to connect to SCADA-Server. Try again.
    2017-02-20 16:54:49 <L-PC><DefaultAppPool><ERR> Unsuccessful login attempt: admin – Server is unavailable. IP address: ::1

    #1952
    Mikhail
    Mikhail
    Moderator

    SCADA-Server uses TCP port 10000. Make sure that this port is not used by other application. You can do this by TCPView.

    Also you can test the connection by Hercules utility. Just try to connect to 127.0.0.1:1000 as TCP client.

    #1956

    huary
    Participant

    The port 10000 is used by ScadaServerSvc,but i still unable to login, can you tell me why? thanks

    ScadaServerSvc.exe 13884 TCP L-PC 10000 L-PC 0 LISTENING

    #1957
    Mikhail
    Mikhail
    Moderator

    Can you connect to SCADA-Server using Hercules utility?

    #1958

    huary
    Participant

    I can connect to SCADA-Server using Hercules utility
    Module IP:127.0.0.1 Port:10000
    The Received/Sent data Panel showes “Connected to 127.0.0.1”

    OS: Win10,
    IIS version:10.0.14393.0
    installed .net framework:4.0,4.5,4.6

    Can you help me ?
    Best regard

    #1960
    Mikhail
    Mikhail
    Moderator

    I’ve sent you an email.

    #1961
    Mikhail
    Mikhail
    Moderator

    We found out the cause: port 10000 was used by another application.

    #1962

    huary
    Participant

    YES.
    The port 10000 is used by SangforSP
    Thanks to Mikhail

    #2072

    Ekaterina
    Participant

    Столкнулась с такой же проблемой – Сервер недоступен.
    SCADA-Сервер
    ————
    Запуск : 02.04.2017 23:19:41
    Время работы : 00:27:21
    Состояние : норма
    Версия : 5.0.1.0

    Подключенные клиенты
    ——————–
    Нет
    2017-04-02 23:19:41 <ЕКАТЕРИНА-ПК><система><ACT> Служба ScadaServerService 5.0.1.0 запущена
    2017-04-02 23:19:41 <ЕКАТЕРИНА-ПК><система><ACT> Проверка существования директорий данных выполнена успешно
    2017-04-02 23:19:41 <ЕКАТЕРИНА-ПК><система><ACT> Проверка существования файлов базы конфигурации выполнена успешно
    2017-04-02 23:19:41 <ЕКАТЕРИНА-ПК><система><ACT> Входные каналы считаны из базы конфигурации. Количество активных каналов: 4
    2017-04-02 23:19:41 <ЕКАТЕРИНА-ПК><система><ACT> Каналы управления считаны из базы конфигурации
    2017-04-02 23:19:41 <ЕКАТЕРИНА-ПК><система><ACT> Пользователи считаны из базы конфигурации
    2017-04-02 23:19:41 <ЕКАТЕРИНА-ПК><система><ACT> Формулы считаны из базы конфигурации
    2017-04-02 23:19:41 <ЕКАТЕРИНА-ПК><система><ACT> Исходный код формул калькулятора откомпилирован
    2017-04-02 23:19:41 <ЕКАТЕРИНА-ПК><система><ACT> Прослушиватель соединений запущен
    2017-04-02 23:19:41 <ЕКАТЕРИНА-ПК><система><ACT> Запуск работы сервера
    2017-04-02 23:19:41 <ЕКАТЕРИНА-ПК><система><ACT> Текущий срез загружен

    Подскажите пожалуйста, в чём проблема?

    #2073
    Mikhail
    Mikhail
    Moderator

    Hello,
    Probably, TCP port 10000 is already opened by another application. Use TCP View utility to check it. See this link.
    If you’d like to get answers in Russian, ask on http://forum.rapidscada.ru/

    #4290

    Muhd Afham
    Participant

    Hi, i am trying to login in (http://localhost/Scada/Login.aspx) but cannot log in. The web show message (services is unavailable). i have try using hercules utility to connect the TCP port and the IP address but the connection is failed.

    can you guide me how to solve this problem.

    This is the web log.
    ———————
    2018-09-21 03:20:29 <MSI><DefaultAppPool><ACT> Initialize common web application data
    2018-09-21 03:20:30 <MSI><DefaultAppPool><ACT> Connect to SCADA-Server “localhost”
    2018-09-21 03:20:31 <MSI><DefaultAppPool><EXC> Error connecting to SCADA-Server: No connection could be made because the target machine actively refused it 127.0.0.1:10000
    2018-09-21 03:20:31 <MSI><DefaultAppPool><ACT> Disconnect from SCADA-Server
    2018-09-21 03:20:31 <MSI><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()
    2018-09-21 03:20:31 <MSI><DefaultAppPool><ACT> User information has been added. IP address: ::1. Session: use4i2uxoisbvsmmkwxh2gmb
    2018-09-21 03:20:38 <MSI><DefaultAppPool><ERR> Unable to connect to SCADA-Server. Try again.
    2018-09-21 03:20:38 <MSI><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()
    2018-09-21 03:20:38 <MSI><DefaultAppPool><ERR> Unable to connect to SCADA-Server. Try again.
    2018-09-21 03:20:38 <MSI><DefaultAppPool><ERR> Unsuccessful login attempt: admin – Server is unavailable. IP address: ::1
    2018-09-21 03:21:02 <MSI><DefaultAppPool><ACT> Connect to SCADA-Server “localhost”
    2018-09-21 03:21:03 <MSI><DefaultAppPool><EXC> Error connecting to SCADA-Server: No connection could be made because the target machine actively refused it 127.0.0.1:10000
    2018-09-21 03:21:03 <MSI><DefaultAppPool><ACT> Disconnect from SCADA-Server
    2018-09-21 03:21:03 <MSI><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()
    2018-09-21 03:21:03 <MSI><DefaultAppPool><ERR> Unable to connect to SCADA-Server. Try again.
    2018-09-21 03:21:03 <MSI><DefaultAppPool><ERR> Unsuccessful login attempt: admin – Server is unavailable. IP address: ::1
    2018-09-21 03:21:08 <MSI><DefaultAppPool><ERR> Unable to connect to SCADA-Server. Try again.
    2018-09-21 03:21:08 <MSI><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()
    2018-09-21 03:21:08 <MSI><DefaultAppPool><ERR> Unable to connect to SCADA-Server. Try again.
    2018-09-21 03:21:08 <MSI><DefaultAppPool><ERR> Unsuccessful login attempt: admin – Server is unavailable. IP address: ::1
    2018-09-21 10:51:43 <MSI><DefaultAppPool><ACT> User information has been removed. IP address: ::1. Session: use4i2uxoisbvsmmkwxh2gmb
    2018-09-21 11:01:32 <MSI><DefaultAppPool><ACT> Application shutdown

    #4295
    Mikhail
    Mikhail
    Moderator

    Hi,

    Have you tried the above advice?
    What is written in C:\SCADA\ScadaServer\Log\ScadaServerSvc.log ?

    #4301

    Muhd Afham
    Participant

    Hi,
    I am new to learn this software for my project. Yes i have tried using the hercules utility. But the connection fail.

    Below is the link for resource monitor if you would like to see the port usage in my pc.
    https://ibb.co/jJ4REz

    scadaserver\log
    ——————————————————————————–
    2018-09-21 02:54:40 <MSI><SYSTEM><ACT> ScadaServerService 5.1.0.3 is started
    2018-09-21 02:54:40 <MSI><SYSTEM><ACT> Check the existence of the data directories is completed successfully
    2018-09-21 02:54:40 <MSI><SYSTEM><ACT> Check the existence of the configuration database files is completed successfully
    2018-09-21 02:54:40 <MSI><SYSTEM><ACT> Input channels are read from the configuration database. Active channel count: 100
    2018-09-21 02:54:40 <MSI><SYSTEM><ACT> Ouput channels are read from the configuration database
    2018-09-21 02:54:40 <MSI><SYSTEM><ACT> Users are read from the configuration database
    2018-09-21 02:54:40 <MSI><SYSTEM><ACT> Formulas are read from the configuration database
    2018-09-21 02:54:40 <MSI><SYSTEM><ERR> Error compiling the source code of the formulas:
    Line 571, column 125: error CS1026: ) expected
    Line 574, column 82: error CS1002: ; expected
    Line 574, column 82: error CS1525: Invalid expression term ‘)’
    Line 577, column 82: error CS1002: ; expected
    Line 577, column 82: error CS1525: Invalid expression term ‘)’
    See the file C:\SCADA\ScadaServer\Log\CalcEngine.cs with the source code
    2018-09-21 02:54:40 <MSI><SYSTEM><ERR> Normal program execution is impossible.
    2018-09-21 02:54:45 <MSI><SYSTEM><ACT> ScadaServerService is stopped

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in to reply to this topic.