z-way-server daemon with ubuntu 12.04
Posted: 17 Feb 2015 19:09
Hello everyone,
i have been trying to install z-way-Server on voyage-linux on an Alix-3d board. Since this does not seem to be possible, i now switched to ubuntu 12.04 precise. I edited the install script to use the right libraries, and fixed the Serial port issue.
I am able to use the z-way-Server by launching it manually:
I get a warning about curl 7.22.0 DNS-timeout bug, but i can access ip:8083 and do z-way stuff (include, Switch on/off etc., everything works fine).
However, the deamon does not work. By uncommenting "#> /dev/null 2>&1" i learned that ubuntu 12.04 does not support "deamon-start-stop --no-close", so no PID-file is created. I tried to edit this, and ubuntu now creates the PID-file, but i still get the "error handling data from Server"-message again.
In conclusion the z-way-Server only works when i start it manually. Since i want it to start at boot, this is not a suitable Option.
Naturally i tried installing ubuntu 14.04, but i dont get it to work on the Alix-Board.
Can anyone help me to edit the z-way-Server script (/etc/init.d/z-way-Server) so that it works with ubuntu 12.04?
i have been trying to install z-way-Server on voyage-linux on an Alix-3d board. Since this does not seem to be possible, i now switched to ubuntu 12.04 precise. I edited the install script to use the right libraries, and fixed the Serial port issue.
I am able to use the z-way-Server by launching it manually:
Code: Select all
cd /opt/z-way-Server && ./z-way-Server
However, the deamon does not work. By uncommenting "#> /dev/null 2>&1" i learned that ubuntu 12.04 does not support "deamon-start-stop --no-close", so no PID-file is created. I tried to edit this, and ubuntu now creates the PID-file, but i still get the "error handling data from Server"-message again.
In conclusion the z-way-Server only works when i start it manually. Since i want it to start at boot, this is not a suitable Option.
Naturally i tried installing ubuntu 14.04, but i dont get it to work on the Alix-Board.
Can anyone help me to edit the z-way-Server script (/etc/init.d/z-way-Server) so that it works with ubuntu 12.04?