Forum Home › Forums › Installation Issues › SCADA-Web Installation › Bad Gateway / scadaweb6.service
- This topic has 49 replies, 5 voices, and was last updated 3 months, 1 week ago by Mikhail.
-
AuthorPosts
-
June 28, 2024 at 10:12 am #14803hendra_alloParticipant
sorry, scadaweb6.service seems still doesn’t work
● scadaweb6.service – Rapid SCADA Webstation
Loaded: loaded (/etc/systemd/system/scadaweb6.service; enabled; vendor pre>
Active: activating (auto-restart) since Fri 2024-06-28 22:10:22 NZST; 2s a>
Process: 5152 ExecStart=/usr/bin/dotnet /opt/scada/ScadaWeb/ScadaWeb.dll –>
Main PID: 5152 (code=exited, status=0/SUCCESS)
CPU: 864msJune 28, 2024 at 10:15 am #14805manjey73ParticipantJudging by the fact that you haven’t installed dotnet, maybe you haven’t installed nginx either?
systemctl status nginx
June 28, 2024 at 10:17 am #14806hendra_alloParticipant● nginx.service – A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset:>
Active: active (running) since Fri 2024-06-28 22:03:29 NZST; 13min ago
Docs: man:nginx(8)June 28, 2024 at 10:23 am #14807manjey73ParticipantHave you made a self-signed certificate for nginx as described in the readme?
and copying the configuration for the available site ?
June 28, 2024 at 10:25 am #14808manjey73Participant5.2.
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/nginx-selfsigned.key -out /etc/ssl/certs/nginx-selfsigned.crt
5.3. Copy the nginx/default file from the distribution directory to the /etc/nginx/sites-available directory,
after saving a backup copy of an existing file.June 28, 2024 at 10:35 am #14809hendra_alloParticipantwhere is nginx default file located?
June 28, 2024 at 10:37 am #14810manjey73Participant/etc/nginx/sites-available
June 28, 2024 at 10:39 am #14811manjey73Participantrapidscada_6.2.1_linux_ru\nginx\
from the installation folder
You will have a folder with a different language indication – en- This reply was modified 3 months, 2 weeks ago by manjey73.
June 28, 2024 at 11:04 am #14813MikhailModeratorDo ScadaServer and ScadaComm work well according to their log files?
June 28, 2024 at 11:12 am #14814hendra_alloParticipantI have copied the file, still bad gateway appear
June 28, 2024 at 11:30 am #14815manjey73Participant@hendra_allo It is probably necessary to look at the logs of nginx itself, Since nginx itself does not start
/var/log/nginx/error.logAs well as the ScadaWeb logs /var/log/scada/ScadaWeb/log/ after you solve the nginx startup problem
June 28, 2024 at 11:30 am #14816manjey73ParticipantHave you overloaded nginx services?
June 28, 2024 at 11:32 am #14817hendra_alloParticipantSession with ID -7665733298275766740 created
2024-06-28 23:31:02 [hendra-ThinkPad-X220][root][ACT] Client 127.0.0.1 connected
2024-06-28 23:31:02 [hendra-ThinkPad-X220][root][ACT] User ScadaWeb is successfully authenticated
2024-06-28 23:31:04 [hendra-ThinkPad-X220][root][ACT] Client 127.0.0.1 disconnectedJune 28, 2024 at 11:35 am #14818hendra_alloParticipantnginx error log (last line)
2024/06/28 23:28:08 [error] 1235#1235: *14 recv() failed (104: Unknown error) while reading response header from upstream, client: 127.0.0.1, server: _, request: “GET /Scada/ HTTP/1.1”, upstream: “http://127.0.0.1:10008/Scada/”, host: “127.0.0.1”
June 28, 2024 at 11:48 am #14819hendra_alloParticipantScadaComm.log:
2024-06-28 22:03:31 [hendra-ThinkPad-X220][root][ACT] Communicator 6.2.0.0 started
2024-06-28 22:03:33 [hendra-ThinkPad-X220][root][ACT] Storage FileStorage 6.2.0.0 loaded from file /opt/scada/ScadaComm/FileStorage.dll
2024-06-28 22:03:33 [hendra-ThinkPad-X220][root][ACT] Start logic processing
2024-06-28 22:03:33 [hendra-ThinkPad-X220][root][ACT] Driver DrvDsScadaServer 6.0.1.1 loaded from file /opt/scada/ScadaComm/Drv/DrvDsScadaServer.Logic.dll
2024-06-28 22:03:33 [hendra-ThinkPad-X220][root][ACT] Driver DrvSimulator 6.0.0.0 loaded from file /opt/scada/ScadaComm/Drv/DrvSimulator.Logic.dll
2024-06-28 22:03:33 [hendra-ThinkPad-X220][root][ACT] Data source ScadaServer initialized successfully
2024-06-28 22:03:33 [hendra-ThinkPad-X220][root][ACT] Data source ScadaServer: Receive the configuration database
2024-06-28 22:03:33 [hendra-ThinkPad-X220][root][ERR] Data source ScadaServer: Error checking server connection:
Connection refused [::ffff:127.0.0.1]:10000
2024-06-28 22:03:33 [hendra-ThinkPad-X220][root][ERR] Unable to start communication lines because the configuration database is not received
2024-06-28 22:03:43 [hendra-ThinkPad-X220][root][ACT] Data source ScadaServer: Receive the configuration database
2024-06-28 22:03:44 [hendra-ThinkPad-X220][root][ACT] Data source ScadaServer: The configuration database has been received successfully
2024-06-28 22:03:44 [hendra-ThinkPad-X220][root][ACT] Start communication lines
2024-06-28 22:03:44 [hendra-ThinkPad-X220][root][ACT] Start reading commands from files
2024-06-28 22:03:44 [hendra-ThinkPad-X220][root][ACT] Data source ScadaServer: Connection state is Logged In -
AuthorPosts
- You must be logged in to reply to this topic.