分页: 1 / 1

虚拟机上安装树莓派运行domoticz失败

发表于 : 周日 6月 21, 2020 08:36
lawzhangqi
虚拟机上安装了树莓派,安装domoticz成功,查询运行状态失败。
pi@raspberry:~/domoticz $ sudo service domoticz.sh status
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: active (exited) since Sun 2020-06-21 08:28:08 CST; 1min 28s ago
Docs: man:systemd-sysv-generator(8)
Process: 38811 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)

6月 21 08:28:08 raspberry systemd[1]: Starting LSB: Home Automation System...
6月 21 08:28:08 raspberry domoticz.sh[38811]: start-stop-daemon: unable to start /home/pi/domoticz/domoticz (No such file or directory)
6月 21 08:28:08 raspberry systemd[1]: Started LSB: Home Automation System.

Re: 虚拟机上安装树莓派运行domoticz失败

发表于 : 周一 6月 22, 2020 09:04
DT27
开日志记录,查日志里有什么错误。
https://www.domoticz.cn/wiki/%E9%85%8D% ... 7%E4%BB%B6

Re: 虚拟机上安装树莓派运行domoticz失败

发表于 : 周一 6月 22, 2020 10:34
obaby
domoticz.sh 中的文件路径不对。 /home/pi/domoticz/domoticz (No such file or directory)
修改
domoticz.sh中的/home/pi/domoticz/domoticz 修改为你的可执行文件路径,另外给domoticz 加可执行权限