GELÖST - Problem im Linux-Betrieb mit der log-Datei

Begonnen von Bronze, 13 April 2020, 08:02:11

Vorheriges Thema - Nächstes Thema

Bronze

systemctl status fhem.service bringt:

thomas@thomas-HP-Laptop-15-db0xxx:~$ systemctl status fhem.service
● fhem.service - FHEM Home Automation
   Loaded: loaded (/etc/systemd/system/fhem.service; enabled; vendor preset: ena
   Active: failed (Result: exit-code) since Mon 2020-04-13 09:59:06 CEST; 5min a
  Process: 4199 ExecStart=/usr/bin/perl fhem.pl fhem.cfg (code=exited, status=13

Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: Failed to start FHEM Home
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Service hol
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Scheduled r
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: Stopped FHEM Home Automat
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Start reque
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Failed with
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: Failed to start FHEM Home
lines 1-12/12 (END)


Die letzten Zeilen davor sind:

Apr 13 09:58:40 thomas-HP-Laptop-15-db0xxx nm-dispatcher: req:1 'dhcp4-change' [enp2s0]: start running ordered scripts...
Apr 13 09:58:40 thomas-HP-Laptop-15-db0xxx dhclient[1172]: bound to 192.168.178.202 -- renewal in 13 seconds.
Apr 13 09:58:53 thomas-HP-Laptop-15-db0xxx dhclient[1172]: DHCPREQUEST of 192.168.178.202 on enp2s0 to 192.168.178.40 port 67 (xid=0x6300f53b)
Apr 13 09:58:53 thomas-HP-Laptop-15-db0xxx dhclient[1172]: DHCPACK of 192.168.178.202 from 192.168.178.40
Apr 13 09:58:53 thomas-HP-Laptop-15-db0xxx NetworkManager[677]: <info>  [1586764733.2507] dhcp4 (enp2s0):   address 192.168.178.202
Apr 13 09:58:53 thomas-HP-Laptop-15-db0xxx NetworkManager[677]: <info>  [1586764733.2513] dhcp4 (enp2s0):   plen 24 (255.255.255.0)
Apr 13 09:58:53 thomas-HP-Laptop-15-db0xxx NetworkManager[677]: <info>  [1586764733.2513] dhcp4 (enp2s0):   gateway 192.168.178.40
Apr 13 09:58:53 thomas-HP-Laptop-15-db0xxx NetworkManager[677]: <info>  [1586764733.2513] dhcp4 (enp2s0):   lease time 30
Apr 13 09:58:53 thomas-HP-Laptop-15-db0xxx NetworkManager[677]: <info>  [1586764733.2514] dhcp4 (enp2s0):   nameserver '192.168.178.40'
Apr 13 09:58:53 thomas-HP-Laptop-15-db0xxx NetworkManager[677]: <info>  [1586764733.2514] dhcp4 (enp2s0): state changed bound -> bound
Apr 13 09:58:53 thomas-HP-Laptop-15-db0xxx dbus-daemon[664]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.7' (uid=0 pid=677 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Apr 13 09:58:53 thomas-HP-Laptop-15-db0xxx systemd[1]: Starting Network Manager Script Dispatcher Service...
Apr 13 09:58:53 thomas-HP-Laptop-15-db0xxx dhclient[1172]: bound to 192.168.178.202 -- renewal in 15 seconds.
Apr 13 09:58:53 thomas-HP-Laptop-15-db0xxx dbus-daemon[664]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Apr 13 09:58:53 thomas-HP-Laptop-15-db0xxx systemd[1]: Started Network Manager Script Dispatcher Service.
Apr 13 09:58:53 thomas-HP-Laptop-15-db0xxx nm-dispatcher: req:1 'dhcp4-change' [enp2s0]: new request (1 scripts)
Apr 13 09:58:53 thomas-HP-Laptop-15-db0xxx nm-dispatcher: req:1 'dhcp4-change' [enp2s0]: start running ordered scripts...
Apr 13 09:59:05 thomas-HP-Laptop-15-db0xxx systemd[1]: Starting FHEM Home Automation...
Apr 13 09:59:05 thomas-HP-Laptop-15-db0xxx perl[4195]: Can't open ./log/fhem-2020-04.log: Permission denied at fhem.pl line 2775.
Apr 13 09:59:05 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Control process exited, code=exited status=13
Apr 13 09:59:05 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Failed with result 'exit-code'.
Apr 13 09:59:05 thomas-HP-Laptop-15-db0xxx systemd[1]: Failed to start FHEM Home Automation.
Apr 13 09:59:05 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Service hold-off time over, scheduling restart.
Apr 13 09:59:05 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Scheduled restart job, restart counter is at 1.
Apr 13 09:59:05 thomas-HP-Laptop-15-db0xxx systemd[1]: Stopped FHEM Home Automation.
Apr 13 09:59:05 thomas-HP-Laptop-15-db0xxx systemd[1]: Starting FHEM Home Automation...
Apr 13 09:59:05 thomas-HP-Laptop-15-db0xxx perl[4196]: Can't open ./log/fhem-2020-04.log: Permission denied at fhem.pl line 2775.
Apr 13 09:59:05 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Control process exited, code=exited status=13
Apr 13 09:59:05 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Failed with result 'exit-code'.
Apr 13 09:59:05 thomas-HP-Laptop-15-db0xxx systemd[1]: Failed to start FHEM Home Automation.
Apr 13 09:59:05 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Service hold-off time over, scheduling restart.
Apr 13 09:59:05 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Scheduled restart job, restart counter is at 2.
Apr 13 09:59:05 thomas-HP-Laptop-15-db0xxx systemd[1]: Stopped FHEM Home Automation.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: Starting FHEM Home Automation...
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx perl[4197]: Can't open ./log/fhem-2020-04.log: Permission denied at fhem.pl line 2775.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Control process exited, code=exited status=13
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Failed with result 'exit-code'.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: Failed to start FHEM Home Automation.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Service hold-off time over, scheduling restart.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Scheduled restart job, restart counter is at 3.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: Stopped FHEM Home Automation.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: Starting FHEM Home Automation...
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx perl[4198]: Can't open ./log/fhem-2020-04.log: Permission denied at fhem.pl line 2775.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Control process exited, code=exited status=13
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Failed with result 'exit-code'.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: Failed to start FHEM Home Automation.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Service hold-off time over, scheduling restart.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Scheduled restart job, restart counter is at 4.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: Stopped FHEM Home Automation.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: Starting FHEM Home Automation...
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx perl[4199]: Can't open ./log/fhem-2020-04.log: Permission denied at fhem.pl line 2775.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Control process exited, code=exited status=13
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Failed with result 'exit-code'.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: Failed to start FHEM Home Automation.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Service hold-off time over, scheduling restart.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Scheduled restart job, restart counter is at 5.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: Stopped FHEM Home Automation.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service: Start request repeated too quickly.
Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx systemd[1]: fhem.service:

CoolTux

Er meckert immer noch
Can't open ./log/fhem-2020-04.log: Permission denied at fhem.pl line 2775.


Mach bitte

ls -ll /opt
ls -ll /opt/fhem
ls -ll /opt/fhem/log/



Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Wernieman

Apr 13 09:59:06 thomas-HP-Laptop-15-db0xxx perl[4199]: Can't open ./log/fhem-2020-04.log: Permission denied at fhem.pl line 2775.
Etwas stimmt mit den berichtigungen nicht, gebe uns bitte mal:
ls -lha /opt/fhem
df -h


CoolTux war schneller, habe nur meinen Beitrag nicht löschen wollen ...
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

Bronze


Vielen Dank für Eure Unterstützung!

r/log$ ls -ll /opt
insgesamt 8
drwxr-xr-x  7 root root    4096 Aug  3  2019 epson-printer-utility
drwxr-xr-x 11 fhem dialout 4096 Apr 12 21:55 fhem


thomas@thomas-HP-Laptop-15-db0xxx:/var/log$ ls -ll /opt/fhem
insgesamt 4368092
-rw-rw-r--  1 fhem dialout       9413 Dez 29 08:56 calendar
-rw-r--r--  1 fhem dialout     335271 Apr  8 20:43 CHANGED
-rw-r--r--  1 fhem dialout      39553 Apr  8 20:43 configDB.pm
drwxr-xr-x 44 fhem dialout      16384 Aug  1  2019 contrib
-rw-r--r--  1 fhem dialout         92 Aug  4  2019 db.conf
drwxr-xr-x  3 fhem dialout       4096 Aug  1  2019 demolog
drwxr-xr-x  4 fhem dialout      12288 Aug  1  2019 docs
drwxr-xr-x  7 fhem dialout      69632 Apr  8 20:43 FHEM
-rw-r--r--  1 fhem dialout     180481 Apr 12 21:51 fhem.cfg
-rw-r--r--  1 fhem dialout      25544 Aug  1  2019 fhem.cfg.demo
-rw-r--r--  1 fhem dialout 4466302976 Apr 12 21:55 fhem.db
-rwxr-xr-x  1 fhem dialout     161126 Apr  8 20:43 fhem.pl
drwxr-xr-x 14 fhem dialout       4096 Jul 29  2019 knxd
-rw-r--r--  1 fhem dialout      14652 Jul 29  2019 knxd_0.14.29-5_amd64.buildinfo
-rw-r--r--  1 fhem dialout       2217 Jul 29  2019 knxd_0.14.29-5_amd64.changes
-rw-r--r--  1 fhem dialout     315572 Jul 29  2019 knxd_0.14.29-5_amd64.deb
-rw-r--r--  1 fhem dialout    5103024 Jul 29  2019 knxd-dbgsym_0.14.29-5_amd64.ddeb
-rw-r--r--  1 fhem dialout      60708 Jul 29  2019 knxd-dev_0.14.29-5_amd64.deb
-rw-r--r--  1 fhem dialout      48176 Jul 29  2019 knxd-tools_0.14.29-5_amd64.deb
-rw-r--r--  1 fhem dialout      82376 Jul 29  2019 knxd-tools-dbgsym_0.14.29-5_amd64.ddeb
drwxrwxrwx  2 fhem dialout      32768 Apr 13 09:20 log
-rw-r--r--  1 fhem dialout      42671 Mär 29 12:09 MAINTAINER.txt
-rw-r--r--  1 fhem dialout        935 Okt  7  2018 README_DEMO.txt
drwxr-xr-x  4 fhem dialout       4096 Aug  1  2019 restoreDir
drwxr-xr-x  2 fhem dialout       4096 Aug  1  2019 unused
drwxr-xr-x  9 fhem dialout       4096 Aug 10  2019 www


-db0xxx:/var/log$ ls -ll /opt/fhem/log
insgesamt 11405944
-rwxrwxrwx 1 fhem   dialout     131515 Apr  8 20:44 eventTypes.txt
-rw-r--r-- 1 thomas thomas           1 Apr 13 09:05 fhem-2019-07.log
-rwxrwxrwx 1 fhem   dialout 1553065631 Aug 31  2019 fhem-2019-08.log
-rwxrwxrwx 1 fhem   dialout 1827451217 Sep 30  2019 fhem-2019-09.log
-rwxrwxrwx 1 fhem   dialout 1901717538 Okt 31 23:59 fhem-2019-10.log
-rwxrwxrwx 1 fhem   dialout 1756752566 Nov 30 23:59 fhem-2019-11.log
-rwxrwxrwx 1 fhem   dialout 1567363481 Dez 31 23:59 fhem-2019-12.log
-rwxrwxrwx 1 fhem   dialout 2114552698 Jan 31 23:59 fhem-2020-01.log
-rw-r--r-- 1 thomas thomas        8282 Apr 13 09:14 fhem-2020-04.log
-rwxrwxrwx 1 fhem   dialout     203988 Apr 12 21:51 fhem.save
-rwxrwxrwx 1 fhem   dialout          0 Dez  7 12:07 KNX_0000000-2019.log
-rwxrwxrwx 1 fhem   dialout          0 Aug  9  2019 KNX_0000001-2019.log
-rwxrwxrwx 1 fhem   dialout          0 Jan  1 00:00 KNX_0000001-2020.log
-rwxrwxrwx 1 fhem   dialout          0 Sep 10  2019 KNX_0000002-2019.log
-rwxrwxrwx 1 fhem   dialout          0 Jan 13 16:59 KNX_0000002-2020.log
-rwxrwxrwx 1 fhem   dialout          0 Aug  9  2019 KNX_0000003-2019.log
-rwxrwxrwx 1 fhem   dialout          0 Jan  1 00:00 KNX_0000003-2020.log
-rwxrwxrwx 1 fhem   dialout          0 Aug 11  2019 KNX_0000004-2019.log
-rwxrwxrwx 1 fhem   dialout          0 Jan  1 00:00 KNX_0000004-2020.log


thomas@thomas-HP-Laptop-15-db0xxx:/var/log$ ls -lha /opt/fhem
insgesamt 4,2G
drwxr-xr-x 11 fhem dialout 4,0K Apr 12 21:55 .
drwxr-xr-x  4 root root    4,0K Aug  3  2019 ..
-rw-rw-r--  1 fhem dialout 9,2K Dez 29 08:56 calendar
-rw-r--r--  1 fhem dialout 328K Apr  8 20:43 CHANGED
-rw-r--r--  1 fhem dialout  39K Apr  8 20:43 configDB.pm
drwxr-xr-x 44 fhem dialout  16K Aug  1  2019 contrib
-rw-r--r--  1 fhem dialout   92 Aug  4  2019 db.conf
drwxr-xr-x  3 fhem dialout 4,0K Aug  1  2019 demolog
drwxr-xr-x  4 fhem dialout  12K Aug  1  2019 docs
drwxr-xr-x  7 fhem dialout  68K Apr  8 20:43 FHEM
-rw-r--r--  1 fhem dialout 177K Apr 12 21:51 fhem.cfg
-rw-r--r--  1 fhem dialout  25K Aug  1  2019 fhem.cfg.demo
-rw-r--r--  1 fhem dialout 4,2G Apr 12 21:55 fhem.db
-rwxr-xr-x  1 fhem dialout 158K Apr  8 20:43 fhem.pl
drwxr-xr-x 14 fhem dialout 4,0K Jul 29  2019 knxd
-rw-r--r--  1 fhem dialout  15K Jul 29  2019 knxd_0.14.29-5_amd64.buildinfo
-rw-r--r--  1 fhem dialout 2,2K Jul 29  2019 knxd_0.14.29-5_amd64.changes
-rw-r--r--  1 fhem dialout 309K Jul 29  2019 knxd_0.14.29-5_amd64.deb
-rw-r--r--  1 fhem dialout 4,9M Jul 29  2019 knxd-dbgsym_0.14.29-5_amd64.ddeb
-rw-r--r--  1 fhem dialout  60K Jul 29  2019 knxd-dev_0.14.29-5_amd64.deb
-rw-r--r--  1 fhem dialout  48K Jul 29  2019 knxd-tools_0.14.29-5_amd64.deb
-rw-r--r--  1 fhem dialout  81K Jul 29  2019 knxd-tools-dbgsym_0.14.29-5_amd64.ddeb
drwxrwxrwx  2 fhem dialout  32K Apr 13 09:20 log
-rw-r--r--  1 fhem dialout  42K Mär 29 12:09 MAINTAINER.txt
-rw-r--r--  1 fhem dialout  935 Okt  7  2018 README_DEMO.txt
drwxr-xr-x  4 fhem dialout 4,0K Aug  1  2019 restoreDir
drwxr-xr-x  2 fhem dialout 4,0K Aug  1  2019 unused
drwxr-xr-x  9 fhem dialout 4,0K Aug 10  2019 www


thomas@thomas-HP-Laptop-15-db0xxx:/var/log$ df -h
Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
udev            1,9G       0  1,9G    0% /dev
tmpfs           390M    1,4M  389M    1% /run
/dev/sda3       110G     76G   29G   73% /
tmpfs           2,0G     53M  1,9G    3% /dev/shm
tmpfs           5,0M    4,0K  5,0M    1% /run/lock
tmpfs           2,0G       0  2,0G    0% /sys/fs/cgroup
tmpfs           390M     28K  390M    1% /run/user/1000
/dev/sda2       3,9G    277M  3,7G    7% /media/thomas/40F8-25E5


Vielen Dank für Eure Unterstützung!

SCMP77

#19
-rw-r--r-- 1 thomas thomas        8282 Apr 13 09:14 fhem-2020-04.log

Die Log-Datei hat nun als User und Group Deine eigene Kennung. Daher kann FHEM diese Datei nicht mehr beschreiben.

Das einfachste wäre nun von Deiner Kennung aus die Log-Datei zu löschen. Beim Start legt FHEM die neu an.

Zum Löschen folgenden Befehl verwenden:

rm /opt/fhem/log/fhem-2020-04.log

Du solltest aber nachsehen, warum die Datei so groß geworden war. Vermutlich werden in kurzen Abständen irgendwelche Meldungen reingeschrieben. Nach ein paar Tagen hast Du wieder eine so große Datei.

Viele Grüße
   Stefan
Raspberry Pi 3 Model B mit Rasbian, SolvisMax, AVM DECT 200, Sonoff mit Tasmota geflasht

CoolTux

Zitat von: SCMP77 am 13 April 2020, 10:24:30
-rw-r--r-- 1 thomas thomas        8282 Apr 13 09:14 fhem-2020-04.log

Die Log-datei hat nun als User und Group Deine eigene Kennung. Daher kann FHEM diese Datei nicht mehr beschreiben.

Das einfachste wäre nun von Deiner Kennung aus die Log-Datei zu löschen. Beim Start legt FHEM die neu an.

Zum Löschen folgenden Befehl verwenden:

rm /opt/fhem/log/fhem-2020-04.log

Du solltest aber nachsehen, warum die Datei so groß geworden war. Vermutlich werden in kurzen Abständen irgendwelche Meldungen reingeschrieben. Nach ein paar Tagen hast Du wieder eine so große Datei.

Viele Grüße
   Stefan

Bei Dir wird wohl
sudo rm /opt/fhem/log/fhem-2020-04.log
besser gehen

Und Dein Speicher ist mega voll für einen FEHM Server. Was ist das alles? Mal ab von den riesen Logfiles

Mach mal
ls -llh /opt/fhem/log

dann siehst Du es.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Bronze

Ich habe
rm /opt/fhem/log/fhem-2020-04.log
und
sudo systemctl start fhem
gemacht, letzteres ohne Fehlermeldung.
Die April-Logdatei ist wieder da und füllt sich.
Allerdings bleibt die Weboberfläche auf Port 8083 verschwunden (Seite wurde nicht gefunden).

CoolTux

Was sagt

top

beim perl Prozess an CPU Last

was sagt das FHEM Log
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Wernieman

Mach mal, wie von CoolTux erbeten, ein
ls -lha /opt/fhem/log

was steht denn im FHEM-Logfile beim starten?
war vorher/nachher der FHEM-Port da?
sudo netstat -lntp

Edit:
Immer ist CoolTux schneller *schnüff*
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

Icinger

Zitat
-rwxrwxrwx 1 fhem   dialout 1553065631 Aug 31  2019 fhem-2019-08.log
-rwxrwxrwx 1 fhem   dialout 1827451217 Sep 30  2019 fhem-2019-09.log
-rwxrwxrwx 1 fhem   dialout 1901717538 Okt 31 23:59 fhem-2019-10.log
-rwxrwxrwx 1 fhem   dialout 1756752566 Nov 30 23:59 fhem-2019-11.log
-rwxrwxrwx 1 fhem   dialout 1567363481 Dez 31 23:59 fhem-2019-12.log

Und lösch mal die riesen Logfiles vom vergangenen halben Jahr.

rm /opt/fhem/log/fhem-2019-*

Edit:
sudo rm /opt/fhem/log/fhem-2019-*
Verwende deine Zeit nicht mit Erklärungen. Die Menschen hören (lesen) nur, was sie hören (lesen) wollen. (c) Paulo Coelho

Bronze

b0xxx:/var/log$ sudo netstat -lntp
[sudo] Passwort für thomas:         
Aktive Internetverbindungen (Nur Server)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 0.0.0.0:35587           0.0.0.0:*               LISTEN      701/ecbd           
tcp        0      0 0.0.0.0:8083            0.0.0.0:*               LISTEN      12928/perl         
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      629/systemd-resolve
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      715/cupsd           
tcp6       0      0 :::6720                 :::*                    LISTEN      1/init             
tcp6       0      0 ::1:631                 :::*                    LISTEN      715/cupsd           


Hinsichtlich FHEM-Log: Es wir alle ca. 6 Sekunden Folgendes protokolliert:
020.04.13 10:38:34 3: WEB: port 8083 opened
2020.04.13 10:38:34 2: eventTypes: loaded 3193 events from ./log/eventTypes.txt
2020.04.13 10:38:34 3: Wechselrichter - Set interval to 300
2020.04.13 10:38:34 3: TelegramBot_Define WEB_Telegram: called
2020.04.13 10:38:35 3: [OUT_Sonnenstand] got no weather info from yahoo. Error code: http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid=0%20and%20u=%27c%27&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys: Can't connect(1) to http://query.yahooapis.com:80: IO::Socket::INET: Bad hostname 'query.yahooapis.com:80'

CoolTux

Wie aktuell ist eigentlich Dein FHEM

Seit übe einen Jahr gibt es den Yahoo Weather Support schon nicht mehr
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Bronze

#27
Das stimmt, den kann ich ja löschen.
Das Loggen ins Log-File kann man vielleicht auch einschränken.
Das FHEM ist aktuell, max. 1 Woche nicht aktualisiert.

CPU-Last von perl schwankt zwischen 25%-50%, Tendenz deutlich steigend.

CoolTux

Und das FHEMWEB ist immer noch nicht erreichbar auf 8083?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Bronze

Nein, "Seite wurde nicht gefunden."
Neu gestartet habe ich auch schon.