我跟随这个tuto在beagle bone重新启动后启动openhab:
http://tuxtec.blogspot.fr/2013/11/installing-openhab-on-beaglebone-black.html ($ 4.自动启动OpenHAB)
但它不起作用,我收到以下错误:
root@beaglebone:~# systemctl status openhab.service
openhab.service - OpenHAB
Loaded: loaded (/lib/systemd/system/openhab.service; enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri, 29 May 2015 12:26:39 +0200; 17s ago
Process: 1812 ExecStart=/usr/local/OpenHab1.7/start.sh (code=exited, status=127)
CGroup: name=systemd:/system/openhab.service
我的beagle bone操作系统是:“Debian GNU / Linux 7(wheezy)” 任何想法为什么? 在此先感谢您的帮助!
答案 0 :(得分:0)
OpenHAB 1.7(撰写本文时的最新版本)有一个apt-repo,因此您可以轻松安装OpenHAB代码和插件,就像在Debian上安装所有软件一样。对于所有Linux和OSX安装,请按these instructions for Beaglebone Black继续generic instructions。当新的稳定版本发布时,您只需要
sudo apt-get update
sudo apt-get upgrade
为了保持最新状态。