Hallo Gemeinde,
da die Tage wieder kürzer sind, habe ich mich der Aktualität meiner Systeme gewidmet. Bei meiner 2ten FHEM Instanz begonnen und erfolgreich abgeschlossen, habe ich mein primäres FHEM in angriff genommen (Backup vorhanden).
Nach Update, Upgrade, Remove und CleanUp... kamen die ersten Probleme mit Pilight und NUT noch unter Wheezy. Der Deamon ist nicht gestartet. Nach hin und her, habe ich in der rc.local ein wait eingebaut und einen restart des Services. Danach funktionierte er wieder wie gewohnt.
Ich habe dann den Umstieg auf Jessie gemacht... wieder Update, Upgrade, Remove und CleanUp...
nach dem ersten Start, hing der Webzugriff von FHEM. Reboot ...FHEM ging wieder, allerdings mit den Meldungen, dass ich diverse Pilight-Geräte definieren sollte, welche aber schon Monate in der CFG waren.
Nun sieht der Log nach einem weiteren Reboot wie folgt aus:
2016.12.01 13:38:38 0: Server shutdown
2016.12.01 13:38:43 1: BlockingInformParent (BlockingStart): Can't connect to localhost:42472: IO::Socket::INET: connect: Verbindungsaufbau abgelehnt
2016.12.01 13:38:43 1: BlockingInformParent (PRESENCE_ProcessLocalScan): Can't connect to localhost:42472: IO::Socket::INET: connect: Verbindungsaufbau abgelehnt
2016.12.01 13:47:52 1: PERL WARNING: Scalar value @Wetterwarnungen[...] better written as $Wetterwarnungen[...] at ./FHEM/99_myUtils.pm line 116.
2016.12.01 13:47:52 1: Including fhem.cfg
2016.12.01 13:47:53 2: eventTypes: loaded 5283 events from ./log/eventTypes.txt
2016.12.01 13:47:53 1: HMLAN_Parse: HMLAN1 new condition disconnected
2016.12.01 13:47:53 1: HMLAN_Parse: HMLAN1 new condition init
2016.12.01 13:48:08 1: Can't open file: GPIOGaszaehler, active_low
2016.12.01 13:48:08 1: reload: Error:Modul 98_pilight deactivated:
Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/98_pilight.pm line 7, <$fh> line 115.
BEGIN failed--compilation aborted at ./FHEM/98_pilight.pm line 7, <$fh> line 115.
2016.12.01 13:48:08 0: Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/98_pilight.pm line 7, <$fh> line 115.
BEGIN failed--compilation aborted at ./FHEM/98_pilight.pm line 7, <$fh> line 115.
2016.12.01 13:48:08 1: reload: Error:Modul 98_pilight deactivated:
Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/98_pilight.pm line 7, <$fh> line 119.
BEGIN failed--compilation aborted at ./FHEM/98_pilight.pm line 7, <$fh> line 119.
2016.12.01 13:48:08 0: Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/98_pilight.pm line 7, <$fh> line 119.
BEGIN failed--compilation aborted at ./FHEM/98_pilight.pm line 7, <$fh> line 119.
2016.12.01 13:48:08 2: Registering GEOFANCY geofancy for URL /geo...
2016.12.01 13:48:08 2: TH_Zirkulationspumpe: Unknown actor device Warm_Wasser_Pumpe specified
2016.12.01 13:48:10 1: reload: Error:Modul 98_pilight deactivated:
Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/98_pilight.pm line 7, <$fh> line 441.
BEGIN failed--compilation aborted at ./FHEM/98_pilight.pm line 7, <$fh> line 441.
2016.12.01 13:48:10 0: Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/98_pilight.pm line 7, <$fh> line 441.
BEGIN failed--compilation aborted at ./FHEM/98_pilight.pm line 7, <$fh> line 441.
2016.12.01 13:48:10 1: reload: Error:Modul 98_pilight deactivated:
Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/98_pilight.pm line 7, <$fh> line 446.
BEGIN failed--compilation aborted at ./FHEM/98_pilight.pm line 7, <$fh> line 446.
2016.12.01 13:48:10 0: Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/98_pilight.pm line 7, <$fh> line 446.
BEGIN failed--compilation aborted at ./FHEM/98_pilight.pm line 7, <$fh> line 446.
2016.12.01 13:48:10 1: reload: Error:Modul 98_pilight deactivated:
Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/98_pilight.pm line 7, <$fh> line 560.
BEGIN failed--compilation aborted at ./FHEM/98_pilight.pm line 7, <$fh> line 560.
2016.12.01 13:48:10 0: Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/98_pilight.pm line 7, <$fh> line 560.
BEGIN failed--compilation aborted at ./FHEM/98_pilight.pm line 7, <$fh> line 560.
2016.12.01 13:48:10 1: reload: Error:Modul 98_pilight deactivated:
Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/98_pilight.pm line 7, <$fh> line 564.
BEGIN failed--compilation aborted at ./FHEM/98_pilight.pm line 7, <$fh> line 564.
2016.12.01 13:48:10 0: Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/98_pilight.pm line 7, <$fh> line 564.
BEGIN failed--compilation aborted at ./FHEM/98_pilight.pm line 7, <$fh> line 564.
2016.12.01 13:48:11 1: reload: Error:Modul 10_pilight_ctrl deactivated:
Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/10_pilight_ctrl.pm line 56, <$fh> line 683.
BEGIN failed--compilation aborted at ./FHEM/10_pilight_ctrl.pm line 56, <$fh> line 683.
2016.12.01 13:48:11 0: Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/10_pilight_ctrl.pm line 56, <$fh> line 683.
BEGIN failed--compilation aborted at ./FHEM/10_pilight_ctrl.pm line 56, <$fh> line 683.
2016.12.01 13:48:11 0: HourCounter HC_Gaszaehler_GPIO Define.228 parameters: HC_Gaszaehler_GPIO HourCounter GPIOGaszaehler:on GPIOGaszaehler:off
2016.12.01 13:48:13 1: Including ./log/fhem.save
2016.12.01 13:48:14 1: configfile: Cannot load module pilight
Cannot load module pilight
Cannot load module pilight
Cannot load module pilight
Cannot load module pilight
Cannot load module pilight
Cannot load module pilight_ctrl
PL_SW_OG_SZTEST: unknown IODev PL_Control specified
./log/fhem.save: Please define FileLog_KG_HZ_SW_Umwaelzpumpe first
Please define FileLog_KG_HZ_SW_Umwaelzpumpe first
Please define FileLog_OG_BUE_Kombisignalgeber first
Please define FileLog_OG_BUE_Kombisignalgeber first
Please define KG_HZ_SW_Umwaelzpumpe first
Please define KG_HZ_SW_Umwaelzpumpe first
.....
Please define KG_HZ_SW_Umwaelzpumpe first
Please define KG_HZ_SW_Umwaelzpumpe first
Please define OG_BUE_Kombisignalgeber first
Please define OG_BUE_Kombisignalgeber first
...
Please define OG_BUE_Kombisignalgeber first
Please define STA_KG_FL_SEN_Stromzaehler first
Please define STA_KG_FL_SEN_Stromzaehler first
...
Please define STA_KG_FL_SEN_Stromzaehler first
Please define STA_KG_FL_SEN_Stromzaehler first
2016.12.01 13:48:14 1: usb create starting
2016.12.01 13:48:15 1: usb create end
2016.12.01 13:48:15 2: Messages collected while initializing FHEM: configfile: Cannot load module pilight Cannot load module pilight Cannot load module pilight Cannot load module pilight Cannot load module pilight Cannot load module pilight Cannot load module pilight_ctrl PL_SW_OG_SZTEST: unknown IODev PL_Control specified ./log/fhem.save: Please define FileLog_KG_HZ_SW_Umwaelzpumpe first Please define FileLog_KG_HZ_SW_Umwaelzpumpe first Please define FileLog_OG_BUE_Kombisignalgeber first Please define FileLog_OG_BUE_Kombisignalgeber first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define KG_HZ_SW_Umwaelzpumpe first Please define OG_BUE_Kombisignalgeber first Please define OG_BUE_Kombisignalgeber first Please define OG_BUE_Kombisignalgeber first Please define OG_BUE_Kombisignalgeber first Please define OG_BUE_Kombisignalgeber first Please define OG_BUE_Kombisignalgeber first Please define OG_BUE_Kombisignalgeber first Please define OG_BUE_Kombisignalgeber first Please define OG_BUE_Kombisignalgeber first Please define OG_BUE_Kombisignalgeber first Please define OG_BUE_Kombisignalgeber first Please define OG_BUE_Kombisignalgeber first Please define OG_BUE_Kombisignalgeber first Please define OG_BUE_Kombisignalgeber first Please define OG_BUE_Kombisignalgeber first Please define OG_BUE_Kombisignalgeber first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first Please define STA_KG_FL_SEN_Stromzaehler first
2016.12.01 13:48:15 0: Featurelevel: 5.7
2016.12.01 13:48:15 0: Server started with 233 defined entities (fhem.pl:12680/2016-11-28 perl:5.020002 os:linux user:fhem pid:1133)
2016.12.01 13:48:15 1: HMUARTLGW HMUART frame with wrong length received: 19, should: 4: FD00000E00010402436F5F4350555F417070F014
2016.12.01 13:48:16 1: HMLAN_Parse: HMLAN1 new condition ok
2016.12.01 13:48:17 1: HMUARTLGW HMUART frame with wrong length received: 19, should: 4: FD00000E00010402436F5F4350555F417070F014
2016.12.01 13:48:18 1: HMUARTLGW HMUART did not respond for the 1. time, resending
2016.12.01 13:48:19 1: PERL WARNING: Argument "off" isn't numeric in numeric ge (>=) at (eval 453) line 1.
2016.12.01 13:48:19 1: stacktrace:
2016.12.01 13:48:19 1: main::__ANON__ called by (eval 453) (1)
2016.12.01 13:48:19 1: (eval) called by ./FHEM/98_DOIF.pm (1059)
2016.12.01 13:48:19 1: main::DOIF_CheckCond called by ./FHEM/98_DOIF.pm (1309)
2016.12.01 13:48:19 1: main::DOIF_Trigger called by ./FHEM/98_DOIF.pm (1421)
2016.12.01 13:48:19 1: main::DOIF_Notify called by fhem.pl (3283)
2016.12.01 13:48:19 1: main::CallFn called by fhem.pl (3205)
2016.12.01 13:48:19 1: main::DoTrigger called by fhem.pl (3529)
2016.12.01 13:48:19 1: main::Dispatch called by ./FHEM/00_HMLAN.pm (779)
2016.12.01 13:48:19 1: main::HMLAN_Parse called by ./FHEM/00_HMLAN.pm (604)
2016.12.01 13:48:19 1: main::HMLAN_Read called by fhem.pl (3283)
2016.12.01 13:48:19 1: main::CallFn called by fhem.pl (672)
2016.12.01 13:48:26 0: HourCounter HC_Gaszaehler_GPIO Run.598 first run done countsOverall:15781266
Ich habe dann bemerkt , dass im Raum "Unsorted" Geräte waren die da sicher nicht vor dem Problem waren. Daraufhin habe ich die FHEM.cfg aus meiner Sicherung zurückgespielt... ohne Ergebnis.
Da ich keinen Richtigen Plan habe, in welche Richtung ich suchen muss (kann es mit dem Boot zusammenhängen ?), erhoffe ich mir Hilfe von euch.
Danke und Gruß
ZitatCan't locate Switch.pm in @INC (you may need to install the Switch module)
Dir fehlt zumindest mal das Modul Switch.pm. Bekommst Du evtl. mit
sudo apt-get install libswitch-perl
Bin mir aber nicht sicher, da meine google-Suche auch Beiträge zu Tage förderte, dass es das Modul so nicht mehr geben könnte.
Grüße Markus
Es scheint generell was im Argen zu sein... ich habe vergessen zu erwähnen, dass ich von einem RPi2 auf einen RPi3 gewechselt habe...
Ich werde heute das Backup zurückspielen...wenn ich das Problem mit der Blockanzahl des Images umgangen habe (größere SD Karte)... danach werde ich Testen wie es läuft und ggfs. neu aufsetzen.