Hauptmenü

FHEM startet laufend neu

Begonnen von tommi, 02 September 2014, 19:11:16

Vorheriges Thema - Nächstes Thema

tommi

Ich weiß irgendwie mal wieder nicht weiter....FHEM starte laufend neu..

Hier ein Auszug aus dem LOGfile
Zitat2014.09.02 19:02:52 1: Including fhem.cfg
2014.09.02 19:02:53 1: HMLAN_Parse: LANInterface new condition disconnected
2014.09.02 19:02:53 1: HMLAN_Parse: LANInterface new condition init
2014.09.02 19:02:53 1: OWX: Serial device /dev/ttyUSB0 defined
2014.09.02 19:02:53 1: Including /opt/fhem/include/temp1.cfg
2014.09.02 19:02:54 1: Including fhem.cfg
2014.09.02 19:02:54 1: telnetPort: Can't open server port at 7072: Address already in use. Exiting.
2014.09.02 19:02:54 1: Including /opt/fhem/include/Bad_oben.cfg
2014.09.02 19:02:54 1: Including /opt/fhem/include/Bad_unten.cfg
2014.09.02 19:02:54 1: Including /opt/fhem/include/wohnzimmer.cfg
2014.09.02 19:02:54 1: Including /opt/fhem/include/Flur_oben.cfg
2014.09.02 19:02:54 1: Including /opt/fhem/include/Flur_unten.cfg
2014.09.02 19:02:54 1: Including /opt/fhem/include/heizungskeller.cfg
2014.09.02 19:02:54 1: Including /opt/fhem/include/schaltbefehle.cfg
2014.09.02 19:02:54 2: VIERA: defined with host: 192.168.178.31 and interval: 30
2014.09.02 19:02:54 2: FB_CALLMONITOR: Fritz_Box read 8 contacts from Cache
2014.09.02 19:02:55 1: Including /opt/fhem/log/fhem.save
2014.09.02 19:02:55 1: OWX: 1-Wire bus OWio1: interface master DS2480 detected for the first time
2014.09.02 19:02:55 1: usb create starting
2014.09.02 19:02:55 1: usb create end
2014.09.02 19:02:55 2: SecurityCheck:  WEB,WEBphone has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2014.09.02 19:02:55 0: Server started with 175 defined entities (version $Id: fhem.pl 6425 2014-08-19 20:55:00Z rudolfkoenig $, os linux, user fhem, pid 9455)
2014.09.02 19:02:55 1: HMLAN_Parse: LANInterface new condition ok
2014.09.02 19:03:29 1: OWX: 1-Wire devices found on bus OWio1 (OWX_28_286C56040000,OWX_28_946C56040000,OWX_28_B9DB56040000,OWX_28_85D556040000,OWX_28_03DA65040000,OWX_28_4B0B66040000,OWX_28_ABFC55040000,OWX_28_7BD565040000,OWX_28_07E865040000,OWX_28_A70366040000,OWX_28_D75B56040000,OWX_28_4FA656040000)
2014.09.02 19:04:09 1: Including fhem.cfg
2014.09.02 19:04:09 1: HMLAN_Parse: LANInterface new condition disconnected
2014.09.02 19:04:09 1: HMLAN_Parse: LANInterface new condition init
2014.09.02 19:04:09 1: OWX: Serial device /dev/ttyUSB0 defined
2014.09.02 19:04:09 1: Including /opt/fhem/include/temp1.cfg
2014.09.02 19:04:10 1: Including /opt/fhem/include/Bad_oben.cfg
2014.09.02 19:04:10 1: Including /opt/fhem/include/Bad_unten.cfg
2014.09.02 19:04:10 1: Including /opt/fhem/include/wohnzimmer.cfg
2014.09.02 19:04:10 1: Including /opt/fhem/include/Flur_oben.cfg
2014.09.02 19:04:10 1: Including /opt/fhem/include/Flur_unten.cfg
2014.09.02 19:04:10 1: Including /opt/fhem/include/heizungskeller.cfg
2014.09.02 19:04:10 1: Including /opt/fhem/include/schaltbefehle.cfg
2014.09.02 19:04:10 2: VIERA: defined with host: 192.168.178.31 and interval: 30
2014.09.02 19:04:10 2: FB_CALLMONITOR: Fritz_Box read 8 contacts from Cache
2014.09.02 19:04:11 1: Including /opt/fhem/log/fhem.save
2014.09.02 19:04:11 1: OWX: 1-Wire bus OWio1: interface master DS2480 detected for the first time
2014.09.02 19:04:11 1: usb create starting
2014.09.02 19:04:11 1: usb create end
2014.09.02 19:04:11 2: SecurityCheck:  WEB,WEBphone has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2014.09.02 19:04:11 0: Server started with 175 defined entities (version $Id: fhem.pl 6425 2014-08-19 20:55:00Z rudolfkoenig $, os linux, user fhem, pid 9467)
2014.09.02 19:04:11 1: HMLAN_Parse: LANInterface new condition ok
2014.09.02 19:04:45 1: OWX: 1-Wire devices found on bus OWio1 (OWX_28_286C56040000,OWX_28_946C56040000,OWX_28_B9DB56040000,OWX_28_85D556040000,OWX_28_03DA65040000,OWX_28_4B0B66040000,OWX_28_ABFC55040000,OWX_28_7BD565040000,OWX_28_07E865040000,OWX_28_A70366040000,OWX_28_D75B56040000,OWX_28_4FA656040000)


FHEM läuft derzeit auf unserem Hauptrechner unter Linux Mint 17. Zur Konfiguration:

HMLan
Diverse HM Geräte

CUL um Intertechno Steckdosen zu schalten

OWIO um die Tempereturen im Keller (Warmwasser, Heizung etc) auszulesen.

Kennt jemand das Phänomen?

franky08

#1
Nimm mal das usb auto create (weis die genaue Bezeichnung im Moment nicht) aus deiner fhem.cfg, verursacht gerne Fehler.
VG
Frank


P.S. Die Codezeile lautet:
define initialUsbCheck notify global:INITIALIZED usb create
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

tommi

#2
 :( Das wars leider nicht.....geht trotzdem auf Neustart

Auffällig ist dass er immer gut eine Minute nachdem er die Temp-Sensoren auf dem 1-Wire Bus gefunden hat neustartet....

Zitat2014.09.02 19:32:47 1: Including fhem.cfg
2014.09.02 19:32:47 1: HMLAN_Parse: LANInterface new condition disconnected
2014.09.02 19:32:47 1: HMLAN_Parse: LANInterface new condition init
2014.09.02 19:32:47 1: OWX: Serial device /dev/ttyUSB0 defined
2014.09.02 19:32:47 1: Including /opt/fhem/include/temp1.cfg
2014.09.02 19:32:48 1: Including fhem.cfg
2014.09.02 19:32:48 1: Including /opt/fhem/include/Bad_oben.cfg
2014.09.02 19:32:48 1: Including /opt/fhem/include/Bad_unten.cfg
2014.09.02 19:32:48 1: Including /opt/fhem/include/wohnzimmer.cfg
2014.09.02 19:32:48 1: Including /opt/fhem/include/Flur_oben.cfg
2014.09.02 19:32:48 1: Including /opt/fhem/include/Flur_unten.cfg
2014.09.02 19:32:48 1: Including /opt/fhem/include/heizungskeller.cfg
2014.09.02 19:32:48 1: Including /opt/fhem/include/schaltbefehle.cfg
2014.09.02 19:32:48 2: VIERA: defined with host: 192.168.178.31 and interval: 30
2014.09.02 19:32:48 2: FB_CALLMONITOR: Fritz_Box read 8 contacts from Cache
2014.09.02 19:32:49 1: telnetPort: Can't open server port at 7072: Address already in use. Exiting.
2014.09.02 19:32:49 1: Including /opt/fhem/log/fhem.save
2014.09.02 19:32:49 1: OWX: 1-Wire bus OWio1: interface master DS2480 re-detected
2014.09.02 19:32:49 2: SecurityCheck:  WEB,WEBphone has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2014.09.02 19:32:49 0: Server started with 174 defined entities (version $Id: fhem.pl 6425 2014-08-19 20:55:00Z rudolfkoenig $, os linux, user fhem, pid 9646)
2014.09.02 19:32:49 1: HMLAN_Parse: LANInterface new condition ok
2014.09.02 19:33:23 1: OWX: 1-Wire devices found on bus OWio1 (OWX_28_286C56040000,OWX_28_946C56040000,OWX_28_B9DB56040000,OWX_28_85D556040000,OWX_28_03DA65040000,OWX_28_4B0B66040000,OWX_28_ABFC55040000,OWX_28_7BD565040000,OWX_28_07E865040000,OWX_28_A70366040000,OWX_28_D75B56040000,OWX_28_4FA656040000)
2014.09.02 19:35:12 1: Including fhem.cfg
2014.09.02 19:35:13 1: HMLAN_Parse: LANInterface new condition disconnected
2014.09.02 19:35:13 1: HMLAN_Parse: LANInterface new condition init
2014.09.02 19:35:13 1: OWX: Serial device /dev/ttyUSB0 defined
2014.09.02 19:35:13 1: Including /opt/fhem/include/temp1.cfg
2014.09.02 19:35:14 1: Including /opt/fhem/include/Bad_oben.cfg
2014.09.02 19:35:14 1: Including /opt/fhem/include/Bad_unten.cfg
2014.09.02 19:35:14 1: Including /opt/fhem/include/wohnzimmer.cfg
2014.09.02 19:35:14 1: Including /opt/fhem/include/Flur_oben.cfg
2014.09.02 19:35:14 1: Including /opt/fhem/include/Flur_unten.cfg
2014.09.02 19:35:14 1: Including /opt/fhem/include/heizungskeller.cfg
2014.09.02 19:35:14 1: Including /opt/fhem/include/schaltbefehle.cfg
2014.09.02 19:35:14 2: VIERA: defined with host: 192.168.178.31 and interval: 30
2014.09.02 19:35:14 2: FB_CALLMONITOR: Fritz_Box read 8 contacts from Cache
2014.09.02 19:35:14 1: Including /opt/fhem/log/fhem.save
2014.09.02 19:35:15 1: OWX: 1-Wire bus OWio1: interface master DS2480 detected for the first time
2014.09.02 19:35:15 2: SecurityCheck:  WEB,WEBphone has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2014.09.02 19:35:15 0: Server started with 174 defined entities (version $Id: fhem.pl 6425 2014-08-19 20:55:00Z rudolfkoenig $, os linux, user fhem, pid 9655)
2014.09.02 19:35:15 1: HMLAN_Parse: LANInterface new condition ok
2014.09.02 19:35:49 1: OWX: 1-Wire devices found on bus OWio1 (OWX_28_286C56040000,OWX_28_946C56040000,OWX_28_B9DB56040000,OWX_28_85D556040000,OWX_28_03DA65040000,OWX_28_4B0B66040000,OWX_28_ABFC55040000,OWX_28_7BD565040000,OWX_28_07E865040000,OWX_28_A70366040000,OWX_28_D75B56040000,OWX_28_4FA656040000)
2014.09.02 19:36:49 1: Including fhem.cfg
2014.09.02 19:36:50 1: HMLAN_Parse: LANInterface new condition disconnected
2014.09.02 19:36:50 1: HMLAN_Parse: LANInterface new condition init
2014.09.02 19:36:50 1: OWX: Serial device /dev/ttyUSB0 defined
2014.09.02 19:36:50 1: Including /opt/fhem/include/temp1.cfg
2014.09.02 19:36:51 1: Including /opt/fhem/include/Bad_oben.cfg
2014.09.02 19:36:51 1: Including /opt/fhem/include/Bad_unten.cfg
2014.09.02 19:36:51 1: Including /opt/fhem/include/wohnzimmer.cfg
2014.09.02 19:36:51 1: Including /opt/fhem/include/Flur_oben.cfg
2014.09.02 19:36:51 1: Including /opt/fhem/include/Flur_unten.cfg
2014.09.02 19:36:51 1: Including /opt/fhem/include/heizungskeller.cfg
2014.09.02 19:36:51 1: Including /opt/fhem/include/schaltbefehle.cfg
2014.09.02 19:36:51 2: VIERA: defined with host: 192.168.178.31 and interval: 30
2014.09.02 19:36:51 2: FB_CALLMONITOR: Fritz_Box read 8 contacts from Cache
2014.09.02 19:36:51 1: Including /opt/fhem/log/fhem.save
2014.09.02 19:36:51 1: OWX: 1-Wire bus OWio1: interface master DS2480 detected for the first time
2014.09.02 19:36:51 2: SecurityCheck:  WEB,WEBphone has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2014.09.02 19:36:51 0: Server started with 174 defined entities (version $Id: fhem.pl 6425 2014-08-19 20:55:00Z rudolfkoenig $, os linux, user fhem, pid 9661)
2014.09.02 19:36:51 1: HMLAN_Parse: LANInterface new condition ok
2014.09.02 19:37:26 1: OWX: 1-Wire devices found on bus OWio1 (OWX_28_286C56040000,OWX_28_946C56040000,OWX_28_B9DB56040000,OWX_28_85D556040000,OWX_28_03DA65040000,OWX_28_4B0B66040000,OWX_28_ABFC55040000,OWX_28_7BD565040000,OWX_28_07E865040000,OWX_28_A70366040000,OWX_28_D75B56040000,OWX_28_4FA656040000)
2014.09.02 19:39:17 1: Including fhem.cfg
2014.09.02 19:39:18 1: HMLAN_Parse: LANInterface new condition disconnected
2014.09.02 19:39:18 1: HMLAN_Parse: LANInterface new condition init
2014.09.02 19:39:18 1: OWX: Serial device /dev/ttyUSB0 defined
2014.09.02 19:39:18 1: Including /opt/fhem/include/temp1.cfg
2014.09.02 19:39:19 1: Including /opt/fhem/include/Bad_oben.cfg
2014.09.02 19:39:19 1: Including /opt/fhem/include/Bad_unten.cfg
2014.09.02 19:39:19 1: Including /opt/fhem/include/wohnzimmer.cfg
2014.09.02 19:39:19 1: Including /opt/fhem/include/Flur_oben.cfg
2014.09.02 19:39:19 1: Including /opt/fhem/include/Flur_unten.cfg
2014.09.02 19:39:19 1: Including /opt/fhem/include/heizungskeller.cfg
2014.09.02 19:39:19 1: Including /opt/fhem/include/schaltbefehle.cfg
2014.09.02 19:39:19 2: VIERA: defined with host: 192.168.178.31 and interval: 30
2014.09.02 19:39:19 2: FB_CALLMONITOR: Fritz_Box read 8 contacts from Cache
2014.09.02 19:39:19 1: Including /opt/fhem/log/fhem.save
2014.09.02 19:39:19 1: OWX: 1-Wire bus OWio1: interface master DS2480 detected for the first time
2014.09.02 19:39:19 2: SecurityCheck:  WEB,WEBphone has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2014.09.02 19:39:19 0: Server started with 174 defined entities (version $Id: fhem.pl 6425 2014-08-19 20:55:00Z rudolfkoenig $, os linux, user fhem, pid 9688)
2014.09.02 19:39:19 1: HMLAN_Parse: LANInterface new condition ok
2014.09.02 19:39:54 1: OWX: 1-Wire devices found on bus OWio1 (OWX_28_286C56040000,OWX_28_946C56040000,OWX_28_B9DB56040000,OWX_28_85D556040000,OWX_28_03DA65040000,OWX_28_4B0B66040000,OWX_28_ABFC55040000,OWX_28_7BD565040000,OWX_28_07E865040000,OWX_28_A70366040000,OWX_28_D75B56040000,OWX_28_4FA656040000)

franky08

Such mal hier im Forum, wenn ich mich richtig erinnere war da was mit OWX 1-Wire. Welchen Softwarestand hat dein fhem? Mal einen update gemacht? Was sagt ein version?
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

tommi

Update gestern noch gemacht. Also Top aktuell.... :-[

betateilchen

Das ist ein Ubuntu Problem (Mint ist ein Abkömmling von Ubuntu!), das hier im Forum in den letzten Tagen mehrfach berichtet wurde. Es hängt wohl mit der Art und Weise zusammen, wie das Betriebssystem das fhem beim Booten startet.

Abhilfe: Entferne das derzeit genutzte Startskript, um den Service per respawn zu starten und verwende das "übliche" Startskript.

-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

tommi

Kannst Du dass evtl. etwas näher erklären??  ::)

franky08

Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

tommi

Danke....werde dann mal weiter probieren