The application is not ready……

Forum Home Forums Rapid SCADA on Linux Controllers and Raspberry Pi The application is not ready……

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #17186
    123
    Participant

    I installed Rapid SCADA on Linux. Every time I restart my computer and open 127.0.0.1:10008, the following error is displayed:

    Please correct the following errors: The application is not ready. Try again later.

    I have to go to the /opt/scada directory and first execute scadastop.sh, then execute scadastart.sh to start it normally.

    The log content in ScadaWeb and the log content in ScadaServer are as follows:
    ScadaWeb.log

    2025-10-20 13:44:15 [RD-pc][root][ACT] Webstation 6.2.1.0 started
    2025-10-20 13:44:17 [RD-pc][root][ACT] Storage FileStorage 6.2.0.0 loaded from file /opt/scada/ScadaWeb/FileStorage.dll
    2025-10-20 13:44:17 [RD-pc][root][ACT] Plugin PlgChart 6.1.0.0 loaded from file /opt/scada/ScadaWeb/PlgChart.dll
    2025-10-20 13:44:17 [RD-pc][root][ACT] Plugin PlgMain 6.1.0.1 loaded from file /opt/scada/ScadaWeb/PlgMain.dll
    2025-10-20 13:44:17 [RD-pc][root][ACT] Plugin PlgScheme 6.1.0.0 loaded from file /opt/scada/ScadaWeb/PlgScheme.dll
    2025-10-20 13:44:17 [RD-pc][root][ACT] Plugin PlgSchBasicComp 6.1.0.0 loaded from file /opt/scada/ScadaWeb/PlgSchBasicComp.dll
    2025-10-20 13:44:17 [RD-pc][root][ACT] Plugin PlgStore 6.1.0.1 loaded from file /opt/scada/ScadaWeb/PlgStore.dll
    2025-10-20 13:44:17 [RD-pc][root][ACT] Plugin PlgWebPage 6.1.0.0 loaded from file /opt/scada/ScadaWeb/PlgWebPage.dll
    2025-10-20 13:44:17 [RD-pc][root][ERR] Plugin PlgStore: Dictionary file not found and replaced with default file: /opt/scada/ScadaWeb/lang/PlgStore.zh-Hans.xml
    2025-10-20 13:44:17 [RD-pc][root][ACT] Plugin PlgScheme: Retrieve scheme components from the installed plugins
    2025-10-20 13:44:17 [RD-pc][root][ACT] Plugin PlgScheme: Added components from the PlgSchBasicComp plugin
    2025-10-20 13:44:18 [RD-pc][root][ACT] Receive the configuration database
    2025-10-20 13:44:18 [RD-pc][root][ERR] Error checking server connection:
    Connection refused [::ffff:127.0.0.1]:10000
    2025-10-20 13:44:19 [RD-pc][root][ERR] Error loading application part from file /opt/scada/ScadaWeb/PlgScheme.Common - 原版.dll:
    System.IO.FileLoadException: Assembly with same name is already loaded
       at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
       at System.Reflection.Assembly.LoadFrom(String assemblyFile)
       at Scada.Web.Program.ConfigureApplicationParts(ApplicationPartManager apm)
    2025-10-20 13:44:28 [RD-pc][root][ACT] Receive the configuration database
    2025-10-20 13:45:09 [RD-pc][root][ERR] Error checking server connection:
    Unable to write data to the transport connection: Permission denied.
    2025-10-20 13:45:09 [RD-pc][root][ACT] Receive the configuration database
    2025-10-20 13:45:09 [RD-pc][root][ERR] Error checking server connection:
    Unable to write data to the transport connection: Permission denied.
    

    If I execute the following commands in Linux:
    sudo systemctl disable scadaagent6.service
    sudo systemctl disable scadaserver6.service
    sudo systemctl disable scadacomm6.service
    sudo systemctl disable scadaweb6.service

    Then, after booting up, if I directly execute scadastart.sh, SCADA can start normally.

    Finally, I would like to ask how to solve the problem so that it can start directly upon boot?

    • This topic was modified 1 month ago by Mikhail.
    #17187
    123
    Participant

    ScadaServer.log

    2025-10-20 13:44:17 [RD-pc][root][ACT] Server 6.2.2.0 started
    2025-10-20 13:44:17 [RD-pc][root][ACT] Storage FileStorage 6.2.0.0 loaded from file /opt/scada/ScadaServer/FileStorage.dll
    2025-10-20 13:44:17 [RD-pc][root][ACT] Start logic processing
    2025-10-20 13:44:18 [RD-pc][root][ACT] The configuration database has been read successfully
    2025-10-20 13:44:18 [RD-pc][root][INF] Number of active channels for archiving: 697
    2025-10-20 13:44:18 [RD-pc][root][INF] Number of active channels for sending commands: 697
    2025-10-20 13:44:18 [RD-pc][root][ACT] Compile the source code of scripts and formulas
    2025-10-20 13:44:18 [RD-pc][root][ACT] Added the following dependencies:
        /opt/scada/ScadaServer/ScadaCommon.dll
        /opt/scada/ScadaServer/ScadaServerEngine.dll
        /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.16/netstandard.dll
        /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.16/System.ComponentModel.Primitives.dll
        /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.16/System.Console.dll
        /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.16/System.Diagnostics.Process.dll
        /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.16/System.Linq.dll
        /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.16/System.Private.CoreLib.dll
        /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.16/System.Runtime.dll
    2025-10-20 13:44:20 [RD-pc][root][ACT] The source code of scripts and formulas has been compiled successfully
    2025-10-20 13:44:20 [RD-pc][root][ACT] Module ModArcBasic 6.2.0.0 loaded from file /opt/scada/ScadaServer/Mod/ModArcBasic.Logic.dll
    2025-10-20 13:44:20 [RD-pc][root][ACT] Module ModArcPostgreSql 6.2.1.0 loaded from file /opt/scada/ScadaServer/Mod/ModArcPostgreSql.Logic.dll
    2025-10-20 13:44:20 [RD-pc][root][ACT] Archive Cur initialized successfully
    2025-10-20 13:44:20 [RD-pc][root][ACT] Archive Min initialized successfully
    2025-10-20 13:44:20 [RD-pc][root][ACT] Archive Hour initialized successfully
    2025-10-20 13:44:20 [RD-pc][root][ACT] Archive Events initialized successfully
    2025-10-20 13:44:20 [RD-pc][root][ACT] Start listener on port 10000
    2025-10-20 13:44:20 [RD-pc][root][INF] Archive in DAT format: /opt/scada/Archive
    2025-10-20 13:44:20 [RD-pc][root][INF] Archive copy in DAT format: /opt/scada/ArchiveCopy
    2025-10-20 13:44:21 [RD-pc][root][ACT] Delete outdated data from the Min archive older than 2024/10/20
    2025-10-20 13:44:21 [RD-pc][root][ACT] Delete outdated data from the Hour archive older than 2024/10/20
    2025-10-20 13:44:21 [RD-pc][root][ACT] Delete outdated data from the Events archive older than 2024/10/20
    2025-10-20 13:44:28 [RD-pc][root][ACT] Session with ID -8567776689079243990 created
    2025-10-20 13:44:28 [RD-pc][root][ACT] Client 127.0.0.1 connected
    2025-10-20 13:44:28 [RD-pc][root][ACT] Session with ID -7755861321725536353 created
    2025-10-20 13:44:28 [RD-pc][root][ACT] Client 127.0.0.1 connected
    2025-10-20 13:44:29 [RD-pc][root][ACT] User ScadaComm is successfully authenticated
    2025-10-20 13:44:29 [RD-pc][root][ACT] Session with ID -9120833948422862970 created
    2025-10-20 13:44:29 [RD-pc][root][ACT] Client 127.0.0.1 connected
    2025-10-20 13:44:29 [RD-pc][root][ACT] User ScadaComm is successfully authenticated
    2025-10-20 13:44:30 [RD-pc][root][ACT] Client 127.0.0.1 disconnected
    2025-10-20 13:45:09 [RD-pc][root][ACT] Session with ID -6124496869083433959 created
    2025-10-20 13:45:09 [RD-pc][root][ACT] Client 127.0.0.1 connected
    
    • This reply was modified 1 month ago by Mikhail.
    #17194
    Mikhail
    Moderator

    Hi,
    The Server service may start longer than the Webstation app and the Communicator service. The client applications try to connect Server while is it initializing. If they connect successfully after several attempts, it’s OK.

    #17195
    Mikhail
    Moderator

    Error checking server connection:
    Unable to write data to the transport connection: Permission denied.

    This error looks weird.
    Does Communicator have any connection issues?

    #17197
    123
    Participant

    The following is the report content of the Communicator?
    But if I go to the /opt/scada directory and first execute scadastop.sh, then execute scadastart.sh to start it normally.

    ScadaComm.txt
    Communicator
    ————
    Started : 2025/10/20 下午1:44:17
    Execution time : 00:03:04
    Status : Normal
    Version : 6.2.0.1

    Data Sources (1)
    —————-
    [ScadaServer] Server Data Source : Ready

    Server Data Source
    ——————
    Connection : Logged In
    Current data queue : 0 of 1000, skipped 0
    Historical data queue : 0 of 1000, skipped 0
    Event queue : 0 of 1000, skipped 0

    Communication Lines (2)
    ———————–
    [1] RDW6000 : Normal
    [2] 定值 : Normal

    ScadaComm.log
    ——————————————————————————–
    2025-10-20 13:44:17 [RD-pc][root][ACT] Communicator 6.2.0.1 started
    2025-10-20 13:44:17 [RD-pc][root][ACT] Storage FileStorage 6.2.0.0 loaded from file /opt/scada/ScadaComm/FileStorage.dll
    2025-10-20 13:44:17 [RD-pc][root][ACT] 启动逻辑处理
    2025-10-20 13:44:17 [RD-pc][root][ACT] Driver DrvCnlBasic 6.1.0.1 loaded from file /opt/scada/ScadaComm/Drv/DrvCnlBasic.Logic.dll
    2025-10-20 13:44:17 [RD-pc][root][ACT] Driver DrvDsScadaServer 6.0.1.1 loaded from file /opt/scada/ScadaComm/Drv/DrvDsScadaServer.Logic.dll
    2025-10-20 13:44:18 [RD-pc][root][ACT] Driver DrvModbus 6.0.0.4 loaded from file /opt/scada/ScadaComm/Drv/DrvModbus.Logic.dll
    2025-10-20 13:44:18 [RD-pc][root][ACT] Data source ScadaServer initialized successfully
    2025-10-20 13:44:18 [RD-pc][root][ACT] Data source ScadaServer: Receive the configuration database
    2025-10-20 13:44:18 [RD-pc][root][ERR] Data source ScadaServer: Error checking server connection:
    Connection refused [::ffff:127.0.0.1]:10000
    2025-10-20 13:44:18 [RD-pc][root][ERR] Unable to start communication lines because the configuration database is not received
    2025-10-20 13:44:28 [RD-pc][root][ACT] Data source ScadaServer: Receive the configuration database
    2025-10-20 13:44:29 [RD-pc][root][ACT] Data source ScadaServer: The configuration database has been received successfully
    2025-10-20 13:44:29 [RD-pc][root][ACT] Start communication lines
    2025-10-20 13:44:29 [RD-pc][root][ACT] Start reading commands from files
    2025-10-20 13:44:29 [RD-pc][root][ACT] Data source ScadaServer: Connection state is Logged In

    #17199
    Mikhail
    Moderator

    My knowledge of Linux, unfortunately, is not enough to answer the question of why an error occurs when the system starts:

    Unable to write data to the transport connection: Permission denied.
    

    Another unknown thing, why the same error does not occur for Communicator.
    What Linux version is used?

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.