Z way server libraries present, but fails to start

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
NTwoO
Posts: 2
Joined: 24 Jan 2020 00:09

Z way server libraries present, but fails to start

Post by NTwoO »

I am trying to set up my razberry stick with z-way-server. The server failed to start from the service, so I tried to run it from the command line. Via the command line the libraries are not found, even though the libraries are present. See the output below.

Code: Select all

root@loihi:/opt/z-way-server# ldd z-way-server 
	linux-vdso.so.1 (0x7e9de000)
	/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so (0x76ec1000)
	libzcommons.so => libs/libzcommons.so (0x76eae000)
	libzwayjs.so => not found
	libv8.so => libs/libv8.so (0x7690e000)
	libxml2.so.2 => not found
	libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0x768fb000)
	libcrypto.so.1.1 => /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.1 (0x766ea000)
	libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x766c0000)
	libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0x76579000)
	libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x764f7000)
	libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0x764ca000)
	libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x7637c000)
	libxml2.so.2 => not found
	librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0x76365000)
	/lib/ld-linux-armhf.so.3 (0x76ed6000)
root@loihi:/opt/z-way-server# echo $LD_LIBRARY_PATH
/opt/z-way-server/libs
root@loihi:/opt/z-way-server# ls /opt/z-way-server/libs -lah
total 11M
drwxrwxr-x  2 root root 4.0K Jan 23 19:28 .
drwxrwxr-x 12 root root 4.0K Jan 23 21:52 ..
-rwxrwxr-x  1 root root 467K Jan 21 16:40 libcurl.so
-rwxrwxr-x  1 root root 467K Jan 21 16:40 libcurl.so.4
-rwxrwxr-x  1 root root 467K Jan 21 16:40 libcurl.so.4.6.0
-rwxrwxr-x  1 root root 7.4M Jan 21 16:40 libv8.so
-rwxrwxr-x  1 root root  45K Jan 21 16:40 libzcommons.so
-rwxrwxr-x  1 root root  80K Jan 21 16:40 libzenocean.so
-rwxrwxr-x  1 root root  55K Jan 21 16:40 libzs2.so
-rwxrwxr-x  1 root root 543K Jan 21 16:40 libzwayjs.so
-rwxrwxr-x  1 root root 962K Jan 21 16:40 libzway.so
root@loihi:/opt/z-way-server# ls /usr/lib/arm-linux-gnueabihf/libxml2.so.2* -lah
lrwxrwxrwx 1 root root 16 May 26  2018 /usr/lib/arm-linux-gnueabihf/libxml2.so.2 -> libxml2.so.2.9.4
-rw-r--r-- 1 root root 1.5M May 26  2018 /usr/lib/arm-linux-gnueabihf/libxml2.so.2.9.4

I tried to run the install script anew, but now the service is not available anymore.

Code: Select all

root@loihi:/opt/z-way-server# service z-way-server status
● z-way-server.service
   Loaded: not-found (Reason: Unit z-way-server.service not found.)
   Active: failed (Result: exit-code) since Thu 2020-01-23 21:58:12 CET; 22h ago

Jan 23 21:58:12 loihi systemd[1]: Starting LSB: RaZberry Z-Wave service...
Jan 23 21:58:12 loihi systemd[11400]: z-way-server.service: Failed to execute command: No such file or directory
Jan 23 21:58:12 loihi systemd[11400]: z-way-server.service: Failed at step EXEC spawning /etc/init.d/z-way-server: No such file or directory
Jan 23 21:58:12 loihi systemd[1]: z-way-server.service: Control process exited, code=exited, status=203/EXEC
Jan 23 21:58:12 loihi systemd[1]: z-way-server.service: Failed with result 'exit-code'.
Jan 23 21:58:12 loihi systemd[1]: Failed to start LSB: RaZberry Z-Wave service.

Can someone help? Service was available before the reinstall.

User avatar
PoltoS
Posts: 5820
Joined: 26 Jan 2011 19:36

Re: Z way server libraries present, but fails to start

Post by PoltoS »

What is your OS ? What have you done so that the init.d script is not here anymore? Try to fully remove the .deb package and install again

NTwoO
Posts: 2
Joined: 24 Jan 2020 00:09

Re: Z way server libraries present, but fails to start

Post by NTwoO »

I'm running DietPi. It has Raspbian as base with systemd

User avatar
PoltoS
Posts: 5820
Joined: 26 Jan 2011 19:36

Re: Z way server libraries present, but fails to start

Post by PoltoS »

Re-install the Debian package

Post Reply