LW4 on Rapsberry pi 3b+ not running

(Tom) #1

Hi everybody,
i installed laserweb 4 on a Raspberrypi according to this manual https://github.com/…/lw.co…/wiki/Manual-Installation-(RasPi)

so far so good…
but now when i start the LW-server it seems to work. but when i try you check if it works using the following command “systemctl status lw.comm-server”
i get the following response.


has anybody an idea what i did wrong?
thx

(Michael K Johnson) #2

The actual error messages are cut off.

You could systemctl status lw.comm-server | cat so that it doesn’t trim off the errors.

(Tom) #3


thanks for replying…
i did as u told me :slight_smile:

(Michael K Johnson) #4

(Hopefully someone who actually knows LW can help better now. I just happened to see that the information was truncated.)

(Claudio Prezzi) #5

Does it work if you manually start the server with node server.js?

(Tom) #6

Hi cprezzi,
it seems to work.
53

(Claudio Prezzi) #7

Ok, then the problem seems to be at the linux service script (or user rights). There are some pathes in the service script that probably need to be adjusted to your system. Check the script lw.comm-server.service at /etc/systemd/system/.

Unfortunately I am not a linux pro.

(Tom) #8

Thank you for trying to help…
seems there is really smth totally wrong.
i am not really used to linux as well.
05

(Michael K Johnson) #9

The directory /etc/systemd/system should contain a file lw.comm-server.service

ls -l /etc/systemd/system/lw.comm-server.service
cat /etc/systemd/system/lw.comm-server.service
(Tom) #10

its there…but what about the permissions ?

(Michael K Johnson) #11

The permissions are fine such as they are. It’s not a big file, just 512 bytes. The second command I provided will show the contents of the file.

(Tom) #12

(Michael K Johnson) #13

The file /var/log/messages may contain meaningful error messages from trying to start the service.

(I am @cprezzi’s complement here; I know something about Linux but nothing about LaserWeb at this point…)

1 Like
LaserWeb built-in references to plus.google.com