Hallo zusammen,
ich habe bei mir auf Raspi3 knxd und smarthome installiert, und bis jetzt immer manuel gestartet mit
Im smarthome.log stehen keine Fehlermeldungen, die Loggingfunktion die ich eingebaut habe, funktioniert prima.
Ich habe 2 Plugins, knx und BackendServer aktiviert.
Wenn ich den Status von smarthome.service abfrage, bekomme ich einen Fehler:
Den Startup-Dienst habe ich ebenfalls erstellt im /lib/systemd/system/smarthome.service:
Nach einem Spannungsreset wird smarthome nicht automatisch gestartet(die Loggingfunktion geht nicht) und die Seite http:\:8383 wird nicht angezeigt.
Weiss jemand, wo ich den Fehler gemacht habe ?
Danke
Hier noch meine Einstellungen:
plugin.yaml: https://pastebin.com/9d469NKr
logging.yaml: https://pastebin.com/kmFDvsav
items/Schaff.yaml: https://pastebin.com/mtc6cP1B
ich habe bei mir auf Raspi3 knxd und smarthome installiert, und bis jetzt immer manuel gestartet mit
Code:
cd /usr/local/smarthome/bin sudo python3 ./smarthome.py -d
Ich habe 2 Plugins, knx und BackendServer aktiviert.
Wenn ich den Status von smarthome.service abfrage, bekomme ich einen Fehler:
Code:
pi@raspberrypi:~ $ sudo systemctl status smarthome.service ● smarthome.service - SmartHomeNG daemon Loaded: loaded (/lib/systemd/system/smarthome.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2017-11-25 21:25:19 CET; 1 day 12h ago Main PID: 573 (code=exited, status=1/FAILURE) Nov 25 21:25:06 raspberrypi systemd[1]: Starting SmartHomeNG daemon... Nov 25 21:25:18 raspberrypi python3[455]: Daemon PID 573 Nov 25 21:25:18 raspberrypi systemd[1]: smarthome.service: Supervising process 573 which is not our child. We'll most likely not notice when it exits. Nov 25 21:25:18 raspberrypi systemd[1]: Started SmartHomeNG daemon. Nov 25 21:25:19 raspberrypi systemd[1]: smarthome.service: Main process exited, code=exited, status=1/FAILURE Nov 25 21:25:19 raspberrypi systemd[1]: smarthome.service: Unit entered failed state. Nov 25 21:25:19 raspberrypi systemd[1]: smarthome.service: Failed with result 'exit-code'. pi@raspberrypi:~ $
Den Startup-Dienst habe ich ebenfalls erstellt im /lib/systemd/system/smarthome.service:
Code:
[Unit] Description=SmartHomeNG daemon After=network.target After=knxd.service After=knxd.socket [Service] Type=forking ExecStart=/usr/bin/python3 /usr/local/smarthome/bin/smarthome.py User=smarthome PIDFile=/usr/local/smarthome/var/run/smarthome.pid Restart=on-abort [Install] WantedBy=default.target
Weiss jemand, wo ich den Fehler gemacht habe ?
Danke
Hier noch meine Einstellungen:
plugin.yaml: https://pastebin.com/9d469NKr
logging.yaml: https://pastebin.com/kmFDvsav
items/Schaff.yaml: https://pastebin.com/mtc6cP1B
Kommentar