[Gelöst]FHEM in einer Vitualbox mit Fehlern...

Begonnen von moonsorrox, 18 Oktober 2018, 13:27:49

Vorheriges Thema - Nächstes Thema

moonsorrox

Ich habe Fhem mal in einer Virtualbox unter Ubuntu Server instaliert, jetzt sehe ich jede Menge Fehler im Log...!
2018.10.18 13:18:44 3: telnetForBlockingFn_1539861524: port 33463 opened
2018.10.18 13:05:38 3: FHEMWEB WEB CSRF error: csrf_386995847411125 ne csrf_835438896969936 for client WEB_10.0.0.11_50869 / command shutdown restart. For details see the csrfToken FHEMWEB attribute.
2018.10.18 13:05:38 0: Server started with 8 defined entities (fhem.pl:17528/2018-10-14 perl:5.026001 os:linux user:fhem pid:1872)
2018.10.18 13:05:38 0: Featurelevel: 5.9
2018.10.18 13:05:38 1: usb create end
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS9: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS9
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS8: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS8
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS7: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS7
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS6: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS6
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS5: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS5
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS4: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS4
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS31: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS31
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS30: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS30
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS3: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS3
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS29: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS29
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS28: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS28
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS27: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS27
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS26: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS26
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS25: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS25
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS24: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS24
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS23: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS23
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS22: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS22
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS21: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS21
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS20: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS20
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS2: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS2
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS19: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS19
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS18: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS18
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS17: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS17
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS16: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS16
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS15: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS15
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS14: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS14
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS13: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS13
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS12: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS12
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS11: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS11
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS10: Input/output error
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS10
2018.10.18 13:05:38 1: CUL: Can't open /dev/ttyS1: Input/output error
2018.10.18 13:05:38 1: PERL WARNING: can't getattr: Input/output error at ./FHEM/DevIo.pm line 419.
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS1
2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS0
2018.10.18 13:05:38 1: usb create starting


kommen diese ganzen "tty" Fehler daher das ich noch kein HMUSB installiert habe. Da ich nur ein nacktes Fhem bisher habe brauche ich doch eigentlich noch kein HMUSB
Da ich das so langsam aufbauen möchte muss ich dazu evtl. meine HMLAN nehmen..?
Habe bisher noch kein Fhem in einer Virtualbox gehabt, deshalb vllt. die etwas doofen Fragen  ;)
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

Tedious

Er klopft bei Start das System nach USB Devices ab. Da Du die in einer VM durchreichen musst düfte der Fehler hierher kommen. Dazu gibts auch nen Parameter in der FHEM.cfg (hier mit # deaktiviert)

Zitat# Disable this to avoid looking for new USB devices on startup
#define initialUsbCheck notify global:INITIALIZED usb create
FHEM auf Proxmox-VM (Intel NUC) mit 4xMapleCUN (433,3x868) und Jeelink, HUE, MiLight, Max!, SonOff, Zigbee, Alexa, uvm...

moonsorrox

Ich hatte in den Schnittstellen der VB "USB-2.0-Controller (EHCI)" angehakt, aber bei den Filtern habe ich nichts drin, evtl. ist das verkehrt.
In der fhem.cfg habe ich nur folgendes drin.
define initialUsbCheck notify global:INITIALIZED usb create
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

Tedious

Dein Log sagt es doch...

Zitat2018.10.18 13:05:38 3: Probing CUL device /dev/ttyS0
2018.10.18 13:05:38 1: usb create starting

Deaktiviere es doch einfach mal. Er testet alle /dev/tty** durch...

FHEM auf Proxmox-VM (Intel NUC) mit 4xMapleCUN (433,3x868) und Jeelink, HUE, MiLight, Max!, SonOff, Zigbee, Alexa, uvm...

moonsorrox

Oh, ich habe vergessen es zu schreiben  :-\

Ja ich habe es schon deaktiviert  ;) und die Meldungen sind natürlich weg...!  :D
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

Tedious

Prima. Denn versehe doch den Thread noch mit einem [Gelöst] im Betreff, denn findet der nächste schnell eine Antwort :)
FHEM auf Proxmox-VM (Intel NUC) mit 4xMapleCUN (433,3x868) und Jeelink, HUE, MiLight, Max!, SonOff, Zigbee, Alexa, uvm...