StromPI 2 daemon gibt Fehler aus / startet nicht
See original GitHub issueDescribe the bug RM kann den StromPI2 daemon nicht starten, da dieser beim Start einen Fehler meldet.
Steps to reproduce the behavior Trigger-File erstellen mittels
touch /etc/config/strompi2
Ein manueller des StromPI2 daemons Start scheint erfolgreich:
/etc/init.d/S51strompi2d start
Starting StromPi2 UPS daemon: OK
Doch lässt sich der Daemon danach nicht ermitteln:
ps aux | grep strom
2483 root 0:00 grep strom
Nutzt man das init.d Script zum Stoppen des Daemons, erhält man eine Fehlermeldung:
/etc/init.d/S51strompi2d stop
Stopping StromPi2 UPS daemon: start-stop-daemon: warning: killing process 2464: No such process
FAIL
Auch beim Versuch, das Script manuell zu starten, erhält man eine Fehlermeldung:
/opt/strompi2d# ./strompi2d.sh
sh: write error: Device or resource busy
Auch, wenn man das ganze Sytem neu startet und RM durch den Triggerfile den Daemon laden sollte, ist dieser nach dem Neustart nicht in der Prozessliste zu finden. Getestet mit der produktiven RM sowie einer blanken RM.
Expected behavior StromPI2 daemon bricht den Start nicht mit einer Fehlermeldung ab
System information:
- RaspberryMatic Version: 3.59.6.20210911
- Used Hardware: Raspi 3b + StromPI 2
- Used HomeMatic RF-Module: HM-MOD-RPI-PCB
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
So, ich denke ich hab den daemon nun so angepasst das er mit der nächsten Version bzw. nächsten nightly snapshot funktionieren sollte. Zusätzlich kann man jetzt im
/etc/config/strompi2
File z.B.GPIO_POWER=20
angeben und dann wird GPIO20 verwendet.Perfekt! Vielen Dank für den schnellen Fix!