Hallo Leute,
ich habe heute ein Update von FHEM gemacht (update FHEM), seitdem startet dieser nicht mehr. Im Log steht folgendes:
2016.02.13 16:22:19 1: Including fhem.cfg
2016.02.13 16:22:19 1: reload: Error:Modul 98_telnet deactivated:
Global symbol "%logInform" requires explicit package name at ./FHEM/98_telnet.pm line 354, <$fh> line 17.
Global symbol "%logInform" requires explicit package name at ./FHEM/98_telnet.pm line 377, <$fh> line 17.
Global symbol "%logInform" requires explicit package name at ./FHEM/98_telnet.pm line 381, <$fh> line 17.
2016.02.13 16:22:19 0: Global symbol "%logInform" requires explicit package name at ./FHEM/98_telnet.pm line 354, <$fh> line 17.
Global symbol "%logInform" requires explicit package name at ./FHEM/98_telnet.pm line 377, <$fh> line 17.
Global symbol "%logInform" requires explicit package name at ./FHEM/98_telnet.pm line 381, <$fh> line 17.
2016.02.13 16:22:19 1: reload: Error:Modul 01_FHEMWEB deactivated:
Global symbol "%logInform" requires explicit package name at ./FHEM/01_FHEMWEB.pm line 277, <$fh> line 19.
BEGIN not safe after errors--compilation aborted at ./FHEM/01_FHEMWEB.pm line 424, <$fh> line 19.
2016.02.13 16:22:19 0: Global symbol "%logInform" requires explicit package name at ./FHEM/01_FHEMWEB.pm line 277, <$fh> line 19.
BEGIN not safe after errors--compilation aborted at ./FHEM/01_FHEMWEB.pm line 424, <$fh> line 19.
Subroutine FHEMWEB_Initialize redefined at ./FHEM/01_FHEMWEB.pm line 120, <$fh> line 25.
Subroutine FW_SecurityCheck redefined at ./FHEM/01_FHEMWEB.pm line 217, <$fh> line 25.
Subroutine FW_Define redefined at ./FHEM/01_FHEMWEB.pm line 248, <$fh> line 25.
2016.02.13 16:22:19 1: reload: Error:Modul 01_FHEMWEB deactivated:
Global symbol "%logInform" requires explicit package name at ./FHEM/01_FHEMWEB.pm line 277, <$fh> line 25.
BEGIN not safe after errors--compilation aborted at ./FHEM/01_FHEMWEB.pm line 424, <$fh> line 25.
2016.02.13 16:22:19 0: Global symbol "%logInform" requires explicit package name at ./FHEM/01_FHEMWEB.pm line 277, <$fh> line 25.
BEGIN not safe after errors--compilation aborted at ./FHEM/01_FHEMWEB.pm line 424, <$fh> line 25.
Subroutine FHEMWEB_Initialize redefined at ./FHEM/01_FHEMWEB.pm line 120, <$fh> line 28.
Subroutine FW_SecurityCheck redefined at ./FHEM/01_FHEMWEB.pm line 217, <$fh> line 28.
Subroutine FW_Define redefined at ./FHEM/01_FHEMWEB.pm line 248, <$fh> line 28.
2016.02.13 16:22:19 1: reload: Error:Modul 01_FHEMWEB deactivated:
Global symbol "%logInform" requires explicit package name at ./FHEM/01_FHEMWEB.pm line 277, <$fh> line 28.
BEGIN not safe after errors--compilation aborted at ./FHEM/01_FHEMWEB.pm line 424, <$fh> line 28.
2016.02.13 16:22:19 0: Global symbol "%logInform" requires explicit package name at ./FHEM/01_FHEMWEB.pm line 277, <$fh> line 28.
BEGIN not safe after errors--compilation aborted at ./FHEM/01_FHEMWEB.pm line 424, <$fh> line 28.
2016.02.13 16:22:19 2: eventTypes: loaded 23 events from ./log/eventTypes.txt
2016.02.13 16:22:19 1: reload: Error:Modul 91_notify deactivated:
Global symbol "%logInform" requires explicit package name at ./FHEM/91_notify.pm line 115, <$fh> line 40.
Global symbol "%logInform" requires explicit package name at ./FHEM/91_notify.pm line 123, <$fh> line 40.
2016.02.13 16:22:19 0: Global symbol "%logInform" requires explicit package name at ./FHEM/91_notify.pm line 115, <$fh> line 40.
Global symbol "%logInform" requires explicit package name at ./FHEM/91_notify.pm line 123, <$fh> line 40.
2016.02.13 16:22:19 1: Including ./log/fhem.save
2016.02.13 16:22:19 1: configfile: Cannot load module telnet
Cannot load module FHEMWEB
Cannot load module FHEMWEB
Cannot load module FHEMWEB
Cannot load module notify
2016.02.13 16:22:19 3: Opening gateway device x.x.x.x:5003
2016.02.13 16:22:19 3: gateway device opened
2016.02.13 16:22:19 2: Error messages while initializing FHEM: configfile: Cannot load module telnet Cannot load module FHEMWEB Cannot load module FHEMWEB Cannot load module FHEMWEB Cannot load module
notify
2016.02.13 16:22:19 0: Featurelevel: 5.7
2016.02.13 16:22:19 0: Server started with 8 defined entities (version $Id: fhem.pl 9927 2015-11-18 18:53:43Z rudolfkoenig $, os linux, user markus, pid 1342)
Eine suche hat leider nicht wirklich was ergeben, kann mir hier jemand helfen?
Gruß - SensorMane
Hat sich erstmal erledigt, ich habe fhem gelöscht und neu installiert. Mach jetzt nochmal ein Update, mal schauen ob das Problem dann immer noch ist...
Ok, nach einem Update das gleiche Problem wieder:
1. apt-get remove fhem
2. mv /opt/fhem /opt/fhem-backup
2. dpkg -i fhem.deb
Muss also irgendwas mit der Update Geschichte zu tun haben. Das ganze läuft bei mir unter Ubuntu.
Jemand eine Idee?
Sorry, aber FHEM gelöscht und neu installiert klingt erstmal relativ ungeduldig und unwissend.
Wenn es nach dem Update nicht mehr korrekt startet, ist evtl. beim Update etwas schief gelaufen.
Dann kann man doch erstmal das fhem-Backup zurückspielen und gucken.
Evtl. mal mit einem update force probieren.
Sorry - hat ja nix mit Unwissenheit zu tun. Geht ja darum herauszufinden, ob das Update eventuell wegen einer fehlerhaften Konfiguration meinerseits nicht richtig funktioniert. Außerdem habe ich das in einem anderen Beitrag hier gelesen, also das man halt löscht (vorher fhem.cfg sichern) und neu installiert. Geht ja auch super schnelle und es ist nix verloren.
Fakt ist das es halt selbst nach einer sauberen Installation nicht geht. Was mich wundert wieso ich nur das Problem habe?? Ist wie gesagt unter Ubuntu in einer virtuellen Maschine auf einem vmware Server.
Ich werde jetzt mal debian als Basis testen, dann muss ich mir eh schauen wie ich weiter mache.