FHEM startet nach shutdown restart nicht

Begonnen von Guido, 23 Mai 2012, 10:51:49

Vorheriges Thema - Nächstes Thema

Guido

                                                       

Hallo @all,

habe seit einiger Zeit das Problem das FHEM nach shutdown restart nicht
automatisch wieder startet, beim ausführen von ./startfhem über Telnet
kommen diverse Meldungen und es läuft wieder.
Hier die Meldungen:

# ./startfhem
Use of uninitialized value in pattern match (m//) at fhem.pl line 2386,
<$fh> line 4.
Use of uninitialized value $file in substitution (s///) at fhem.pl line
2392, <$fh> line 4.
Use of uninitialized value $file in regexp compilation at fhem.pl line
2394, <$fh> line 4.
Use of uninitialized value $file in regexp compilation at fhem.pl line
2394, <$fh> line 4.
Use of uninitialized value $file in regexp compilation at fhem.pl line
2394, <$fh> line 4.
Use of uninitialized value $file in regexp compilation at fhem.pl line
2394, <$fh> line 4.
Use of uninitialized value $file in regexp compilation at fhem.pl line
2394, <$fh> line 4.
Use of uninitialized value $file in regexp compilation at fhem.pl line
2394, <$fh> line 4.
Use of uninitialized value $file in regexp compilation at fhem.pl line
2394, <$fh> line 4.
Use of uninitialized value $file in regexp compilation at fhem.pl line
2394, <$fh> line 4.
Use of uninitialized value $file in regexp compilation at fhem.pl line
2394, <$fh> line 4.
Use of uninitialized value $file in regexp compilation at fhem.pl line
2394, <$fh> line 4.
Use of uninitialized value $file in regexp compilation at fhem.pl line
2394, <$fh> line 4.
Use of uninitialized value $file in regexp compilation at fhem.pl line
2394, <$fh> line 4.
Use of uninitialized value $file in regexp compilation at fhem.pl line
2394, <$fh> line 4.

Meine eigenen Nachforschungen haben ergeben das es irgendwie mit den
Archiven bzw. nrarchive zusammenhängt allerdings hört es da bei mir auch
schon auf da ich den Perlcode nicht wirklich verstehe.
Zu meiner fhem.cfg hier habe ich nrarchive global auf 1 stehen und beim
Filelog der devices auch genuaso auch die archivdir . Ist das vieleicht
zuviel des Guten reicht es wenn nrarchive und archivdir global definiert
ist ?

Auszug aus meiner fhem.cfg:

attr global archivedir
/var/InternerSpeicher/JetFlash-Transcend32GB-00/fhemlog
attr global autoload_undefined_devices 1
attr global latitude 50.279
attr global logfile ./log/fhem-%Y-%m.log
attr global longitude 7.884
attr global modpath .
attr global mseclog 1
attr global nofork 1
attr global nrarchive 1
attr global port 7072 global
attr global room SYSTEM
attr global statefile ./log/fhem.save
attr global userattr fp_Haus icon structexclude webCmd
attr global verbose 3

define WEB FHEMWEB 8083 global
attr WEB room SYSTEM
attr WEB stylesheetPrefix dark

define Logfile FileLog ./log/fhem-%Y-%m.log fakelog
attr Logfile room Log

define autocreate autocreate
attr autocreate autosave 1
attr autocreate device_room %TYPE
attr autocreate filelog ./log/%NAME-%Y-%m.log
attr autocreate room SYSTEM
attr autocreate weblink 1
attr autocreate weblink_room Plots

define FileLog_SteckdoseMobil FileLog ./log/SteckdoseMobil-%Y-%m.log
SteckdoseMobil
attr FileLog_SteckdoseMobil archivedir
/var/InternerSpeicher/JetFlash-Transcend32GB-00/fhemlog
attr FileLog_SteckdoseMobil logtype text
attr FileLog_SteckdoseMobil nrarchive 1
attr FileLog_SteckdoseMobil room Log

danke im voraus

Guido

--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com

rudolfkoenig

                                                   

> reicht es wenn nrarchive und archivdir global definiert ist ?

Ja, war aber nicht so geplant. Habs gefixed und eingecheckt.


> habe seit einiger Zeit das Problem das FHEM nach shutdown restart nicht
> automatisch wieder startet,

Dies sollte aber ein anderes Problem sein.

--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com

Guido

                                                       

Erstmal vielen Dank für den unermüdlichen und zeitnahen Support, Respekt!

Nach einspielen der neuen fhem.pl kommen die Meldungen nicht mehr.


Dies sollte aber ein anderes Problem sein.


Nach Neustart der Fritzbox klappts auch wieder mit shutdown restart.

Gruß

Guido

Am Mittwoch, 23. Mai 2012 11:31:35 UTC+2 schrieb Rudolf Koenig:
>
> > reicht es wenn nrarchive und archivdir global definiert ist ?
>
> Ja, war aber nicht so geplant. Habs gefixed und eingecheckt.
>
>
> > habe seit einiger Zeit das Problem das FHEM nach shutdown restart nicht
> > automatisch wieder startet,
>
> Dies sollte aber ein anderes Problem sein.
>

--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com

Guido

                                                       

Noch ein kleiner Nachtrag

da heute Morgen nach einem updatefhem keine neue fhem.pl heruntergeladen
wurde habe ich diese manuell aus dem svn eingespielt, danach fiel mir auf
das im Log keine Versionsnummer stand

2012.05.24 09:45:20.069 0: Server started (version =VERS= from =DATE= ($Id$), pid 4639)


hab dann mal die filtimes.txt gelöscht und updatefhem nochmal gestartet

2012.05.24 10:55:16.918 1: updatefhem updated ./fhem.pl

nach shutdown restart war aber wieder die Revision 1559 vorhanden

2012.05.24 10:56:09.051 0: Server started (version 5.2+SVN from 2012-05-13 ($Id: fhem.pl 1559 2012-05-12 11:36:54Z rudolfkoenig $), pid 4823)

jetzt hab ich wieder die Revision 1579 aus dem svn manuell eingespielt und die Versionsangaben fehlen wieder

2012.05.24 11:04:33.129 0: Server started (version =VERS= from =DATE= ($Id$), pid 4853)



Am Donnerstag, 24. Mai 2012 10:33:13 UTC+2 schrieb Guido:
>
> Erstmal vielen Dank für den unermüdlichen und zeitnahen Support, Respekt!
>
> Nach einspielen der neuen fhem.pl kommen die Meldungen nicht mehr.
>
>
> Dies sollte aber ein anderes Problem sein.
>
>
> Nach Neustart der Fritzbox klappts auch wieder mit shutdown restart.
>
> Gruß
>
> Guido
>
> Am Mittwoch, 23. Mai 2012 11:31:35 UTC+2 schrieb Rudolf Koenig:
>>
>> > reicht es wenn nrarchive und archivdir global definiert ist ?
>>
>> Ja, war aber nicht so geplant. Habs gefixed und eingecheckt.
>>
>>
>> > habe seit einiger Zeit das Problem das FHEM nach shutdown restart nicht
>> > automatisch wieder startet,
>>
>> Dies sollte aber ein anderes Problem sein.
>>
>

--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com