Hello Everybody,
3 weeks ago I had converted an RPI project from 5.7 to v5.8. With a patch from Claes I was able to compile the project.
Now I've finally found the time to set up the new RPi 4 B for this project.
It was noticed that the command "systemctl enable pwr" and then "systemctl start pwr" are acknowledged with an error.
pwrp@rpihzg58:~ $ sudo systemctl status pwr
? pwr.service - ProviewR Runtime Environment
Loaded: loaded (/etc/systemd/system/pwr.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2021-06-10 20:36:00 CEST; 13s ago
Docs: man:pwr(1)
Process: 1668 ExecStart=/etc/init.d/pwr start (code=exited, status=2)
Jun 10 20:36:00 rpihzg58 systemd[1]: Starting ProviewR Runtime Environment...
Jun 10 20:36:00 rpihzg58 ProviewR[1668]: /etc/init.d/pwr: 37: /etc/init.d/pwr: Syntax error: word unexpected (expecting ";;")
Jun 10 20:36:00 rpihzg58 systemd[1]: pwr.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
Jun 10 20:36:00 rpihzg58 systemd[1]: pwr.service: Failed with result 'exit-code'.
Jun 10 20:36:00 rpihzg58 systemd[1]: Failed to start ProviewR Runtime Environment.
Has anything changed in the instructions for starting Runtime?
Why does the pwr service not start on the runtime station?
I had exactly the same problem today with an Ubuntu 20.04 with pwrrt v5.8.
The packed file pwrp_pkg_project_00xx.tgz is still transferred to the runtime station with distribute.
Then I get the message /pwr_pkg.sh No such file or ??? in the terminal.
I think it has to do with the service pwr on the runtime station. But I can't find a point where I have to change something or what I've done wrong.
If I unpack the project with pwr_pkg.sh -i project_name_0001.tgz on the runtime station and start it with rt_ini -i and rt_xtt -q Nodes-project_name-OpPlaces-Op, it even seems to run
Thanks for help
/Wolfgang