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
mcdanlj
(Michael K Johnson)
April 22, 2019, 6:15pm
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.
mcdanlj
(Michael K Johnson)
April 22, 2019, 6:35pm
4
(Hopefully someone who actually knows LW can help better now. I just happened to see that the information was truncated.)
cprezzi
(Claudio Prezzi)
April 23, 2019, 8:00am
5
Does it work if you manually start the server with node server.js
?
Tomahawk
(Tom)
April 23, 2019, 12:10pm
6
cprezzi:
node server.js
Hi cprezzi,
it seems to work.
cprezzi
(Claudio Prezzi)
April 23, 2019, 1:48pm
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.
Thank you for trying to help…
seems there is really smth totally wrong.
i am not really used to linux as well.
mcdanlj
(Michael K Johnson)
April 23, 2019, 9:26pm
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
Tomahawk
(Tom)
April 23, 2019, 10:03pm
10
its there…but what about the permissions ?
mcdanlj
(Michael K Johnson)
April 23, 2019, 10:10pm
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.
mcdanlj
(Michael K Johnson)
April 23, 2019, 10:53pm
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