Столкнулся с проблемой при установке masterscadaRT
по савету техподдержки мастерскада начал устанавливать masterscadaRT
логи:
root@raspberrypi:/home/rpi/Templates# chmod u+x ./install.sh
root@raspberrypi:/home/rpi/Templates#
root@raspberrypi:/home/rpi/Templates#
root@raspberrypi:/home/rpi/Templates# ./install.sh --with-reports
Install dir: /opt/mplc4
Update configs... OK
Stopping MasterPLC... OK
Install MPLC4... OK
Install Nginx... OK
Install ReportBuiler... OK
Installed successfully
Starting MasterPLC... BAD
/opt/mplc4/start_mplc.sh: строка 95: /opt/mplc4/nginx/sbin/nginx: не удаётся запустить бинарный файл: Ошибка формата выполняемого файла
Help for MasterPLC:
/etc/init.d/mplc4 [local | N ] ["mplc opts"]
start Runing MasterPLC (mplc_service, mplc and nginx processes). If
something was started before, a warning will be displayed
(not restarted).
stop Full stop MasterPLC (mplc_service, mplc and nginx processes)
restart Always use if MasterPLC is already running and need to reload
local Running MasterPLC in debug mode with output to the terminal
If MasterPLC is already running, nothing happens
N Number of MasterPLC services for launche
"mplc opts" Additional startup options that will be passed when starting
MasterPLC exemple "/nowdt /imit"
root@raspberrypi:/home/rpi/Templates#
root@raspberrypi:/home/rpi/Templates#
root@raspberrypi:/home/rpi/Templates#
root@raspberrypi:/home/rpi/Templates# mplc
bash: mplc: команда не найдена
root@raspberrypi:/home/rpi/Templates#
root@raspberrypi:/home/rpi/Templates#
root@raspberrypi:/home/rpi/Templates# /opt/mplc4/mplc
bash: /opt/mplc4/mplc: не удаётся запустить бинарный файл: Ошибка формата выполняемого файла
root@raspberrypi:/home/rpi/Templates# /etc/init.d/mplc4 start
Starting MasterPLC... BAD
/opt/mplc4/start_mplc.sh: строка 95: /opt/mplc4/nginx/sbin/nginx: не удаётся запустить бинарный файл: Ошибка формата выполняемого файла
root@raspberrypi:/home/rpi/Templates# file /etc/init.d/mplc4
/etc/init.d/mplc4: Bourne-Again shell script, ASCII text executable
root@raspberrypi:/home/rpi/Templates# file /opt/mplc4/mplc
/opt/mplc4/mplc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 4.4.255, stripped
root@raspberrypi:/home/rpi/Templates# /opt/mplc4/uninstall.sh
Stopping MasterPLC... OK
Remove from autostart
Remove installed files
root@raspberrypi:/home/rpi/Templates#
Как видите, мне посоветовали версию для x86, но не беда, в том же ftp хранилище нашел версию для raspberry pi
логи:
Затем установил 0:/Updates/Installation/MasterSCADA 4D/RunTime/raspberry/ отсюда для raspberry
root@raspberrypi:/home/rpi/Templates#
root@raspberrypi:/home/rpi/Templates# chmod u+x ./install.sh
root@raspberrypi:/home/rpi/Templates#
root@raspberrypi:/home/rpi/Templates#
root@raspberrypi:/home/rpi/Templates# ./install.sh --with-reports
Install dir: /opt/mplc4
Update configs... OK
Stopping MasterPLC... OK
Install MPLC4... OK
Install Nginx... OK
Install ReportBuiler... OK
Installed successfully
Starting MasterPLC... BAD
/opt/mplc4/start_mplc.sh: строка 95: /opt/mplc4/nginx/sbin/nginx: Отказано в доступе
Help for MasterPLC:
/etc/init.d/mplc4 [local | N ] ["mplc opts"]
start Runing MasterPLC (mplc_service, mplc and nginx processes). If
something was started before, a warning will be displayed
(not restarted).
stop Full stop MasterPLC (mplc_service, mplc and nginx processes)
restart Always use if MasterPLC is already running and need to reload
local Running MasterPLC in debug mode with output to the terminal
If MasterPLC is already running, nothing happens
N Number of MasterPLC services for launche
"mplc opts" Additional startup options that will be passed when starting
MasterPLC exemple "/nowdt /imit"
root@raspberrypi:/home/rpi/Templates# /etc/init.d/mplc4 start
Starting MasterPLC... BAD
/opt/mplc4/start_mplc.sh: строка 95: /opt/mplc4/nginx/sbin/nginx: Отказано в доступе
root@raspberrypi:/home/rpi/Templates#
попробовал 32 разрядную, та же история, попробовал расширить доступ, он вообще перестал видеть nginx
как мне запустить это чудо? тех поддержка молчит, да и надежды мало, так как изначально повели по ложному следу (порекомендовали ту версию которая адаптирована x86), а сама SCADA интересная, хочу ее изучить