nD-enerserve Forums
SmartPi stürzt immer wieder ab wegen Speichermangel in /var/log - Printable Version

+- nD-enerserve Forums (https://forum.enerserve.eu)
+-- Forum: SmartPi (https://forum.enerserve.eu/forumdisplay.php?fid=1)
+--- Forum: SmartPi - Deutsch (https://forum.enerserve.eu/forumdisplay.php?fid=3)
+--- Thread: SmartPi stürzt immer wieder ab wegen Speichermangel in /var/log (/showthread.php?tid=1377)



SmartPi stürzt immer wieder ab wegen Speichermangel in /var/log - atomheartdad - 01.02.2020

Hallo!

Da ich wenig Linux-Kenntisse habe, schildere ich mal mein Problem mit der Bitte um Tipps:
Mein SmartPi2.0 (in Betrieb genommen Ende September 2019) stürzt neuerdings immer wieder nach wenigen Tagen ab, anscheinend weil das Verzeichnis /var/log zu 100% voll ist. Wenn ich dort die größten Dateien lösche (daemon.log und syslog) ist für zwei bis drei Tage wieder Platz. Aber dann ist in kürzester Zeit wieder 100% erreicht. Was kann ich dagegen tun? Habe im Forum leider keine befriedigende Lösung gefunden.


pi@smartpi:~ $ df -h
Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
/dev/root        29G    6,8G   21G   25% /
devtmpfs        459M       0  459M    0% /dev
tmpfs           464M    9,2M  454M    2% /dev/shm
tmpfs           464M     47M  417M   11% /run
tmpfs           5,0M    4,0K  5,0M    1% /run/lock
tmpfs           464M       0  464M    0% /sys/fs/cgroup
tmpfs           100M    4,0K  100M    1% /var/tmp/smartpi
tmpfs           100M    100M     0  100% /var/log
/dev/mmcblk0p1   41M     23M   19M   55% /boot
tmpfs            93M       0   93M    0% /run/user/1000
tmpfs            93M       0   93M    0% /run/user/0


pi@smartpi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"


RE: SmartPi stürzt immer wieder ab wegen Speichermangel in /var/log - jens - 04.02.2020

Kannst du mal einen Auszug aus den großen Dateien Posten?

Gruß Jens


RE: SmartPi stürzt immer wieder ab wegen Speichermangel in /var/log - atomheartdad - 06.02.2020

Hier zur Analyse die größten Dateien in /var/log: daemon.log und syslog und syslog.1
/var/log war wieder zu 100% belegt, das Web-Interface war noch erreichbar.



Auszug Dateiende aus daemon.log 51.466.240 Bytes groß

Feb  6 00:14:10 smartpi influxd[430]: [httpd] ::1 - - [06/Feb/2020:00:14:10 +0100] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.2" 3707244a-486d-11ea-91d4-b827eb7683cf 15506
Feb  6 00:14:11 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  6 00:14:11 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:11 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  6 00:14:11 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  6 00:14:11 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:11 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  6 00:14:11 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  6 00:14:13 smartpi influxd[430]: [httpd] ::1 - smartpi [06/Feb/2020:00:14:13 +0100] "POST /write?consistency=&db=MeteringData&precision=s&rp= HTTP/1.1" 204 0 "-" "InfluxDBClient" 38f082ec-486d-11ea-91d5-b827eb7683cf 8096
Feb  6 00:14:13 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  6 00:14:13 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:13 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  6 00:14:14 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  6 00:14:14 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:14 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  6 00:14:14 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  6 00:14:16 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  6 00:14:16 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:16 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  6 00:14:16 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  6 00:14:16 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:16 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  6 00:14:16 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  6 00:14:18 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  6 00:14:18 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:18 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  6 00:14:18 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  6 00:14:18 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:18 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  6 00:14:18 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  6 00:14:20 smartpi influxd[430]: [httpd] ::1 - - [06/Feb/2020:00:14:20 +0100] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.2" 3cfcc5b2-486d-11ea-91d6-b827eb7683cf 9264
Feb  6 00:14:20 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  6 00:14:20 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:20 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  6 00:14:20 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  6 00:14:20 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:20 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  6 00:14:20 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  6 00:14:22 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  6 00:14:22 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:22 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  6 00:14:23 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  6 00:14:23 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:23 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  6 00:14:23 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  6 00:14:25 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  6 00:14:25 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:25 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  6 00:14:25 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  6 00:14:25 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:25 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  6 00:14:25 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  6 00:14:27 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  6 00:14:27 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:27 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  6 00:14:27 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  6 00:14:27 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:27 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  6 00:14:27 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  6 00:14:29 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  6 00:14:29 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:29 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  6 00:14:29 smartpi systemd[1]: host



------------------------------------------------------

Auszug Dateiende aus syslog 21.952.888 Bytes groß

Feb  6 00:14:10 smartpi influxd[430]: [httpd] ::1 - - [06/Feb/2020:00:14:10 +0100] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.2" 3707244a-486d-11ea-91d4-b827eb7683cf 15506
Feb  6 00:14:11 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  6 00:14:11 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:11 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  6 00:14:11 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  6 00:14:11 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:11 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  6 00:14:11 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  6 00:14:13 smartpi influxd[430]: [httpd] ::1 - smartpi [06/Feb/2020:00:14:13 +0100] "POST /write?consistency=&db=MeteringData&precision=s&rp= HTTP/1.1" 204 0 "-" "InfluxDBClient" 38f082ec-486d-11ea-91d5-b827eb7683cf 8096
Feb  6 00:14:13 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  6 00:14:13 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:13 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  6 00:14:14 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  6 00:14:14 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:14 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  6 00:14:14 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  6 00:14:16 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  6 00:14:16 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:16 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  6 00:14:16 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  6 00:14:16 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:16 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  6 00:14:16 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  6 00:14:18 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  6 00:14:18 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:18 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  6 00:14:18 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  6 00:14:18 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:18 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  6 00:14:18 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  6 00:14:20 smartpi influxd[430]: [httpd] ::1 - - [06/Feb/2020:00:14:20 +0100] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.2" 3cfcc5b2-486d-11ea-91d6-b827eb7683cf 9264
Feb  6 00:14:20 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  6 00:14:20 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:20 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  6 00:14:20 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  6 00:14:20 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:20 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  6 00:14:20 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  6 00:14:22 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  6 00:14:22 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:22 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  6 00:14:23 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  6 00:14:23 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:23 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  6 00:14:23 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  6 00:14:25 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  6 00:14:25 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:25 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  6 00:14:25 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  6 00:14:25 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:25 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  6 00:14:25 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  6 00:14:27 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  6 00:14:27 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:27 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  6 00:14:27 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  6 00:14:27 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:27 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  6 00:14:27 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  6 00:14:29 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  6 00:14:29 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:29 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  6 00:14:29 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  6 00:14:29 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  6 00:14:29 smartpi liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Feb  6 00:14:29 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  6 00:14:29 smartpi liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Feb  6 00:14:29 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  6 00:14:29 smartpi liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Feb  6 00:14:29 smartpi liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Feb  6 00:14:29 smartpi liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Feb  6 00:14:29 smartpi liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Feb  6 00:14:29 smartpi liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Feb  6 00:14:29 smartpi liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Feb  6 00:14:29 smartpi liblogging-stdlog: action 'action 2' resumed (module 'builtin:omfile') [v8.24.0 try http://www.rsyslog.com/e/2359 ]
Feb  6 00:14:29 smartpi liblogging-stdlog: action 'action 2' suspended, next retry is Thu Feb  6 00:14:59 2020 [v8.24.0 try http://www.rsyslog.com/e/2007 ]
Feb  6 00:14:30 smartpi influxd[430]: [httpd] ::1 - - [06/Feb/2020:00:14:30 +0100] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.2" 4


-------------------------------------------------------

Auszug Dateiende aus syslog.1 29.523.130 Bytes groß   (anscheinend Vorgänger von syslog)

Feb  5 06:25:00 smartpi influxd[430]: [httpd] ::1 - - [05/Feb/2020:06:25:00 +0100] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.2" daa5b99c-47d7-11ea-b498-b827eb7683cf 19725
Feb  5 06:25:00 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  5 06:25:00 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  5 06:25:00 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  5 06:25:00 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  5 06:25:00 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  5 06:25:00 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  5 06:25:00 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  5 06:25:01 smartpi CRON[20342]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
Feb  5 06:25:02 smartpi systemd[1]: Created slice User Slice of www-data.
Feb  5 06:25:02 smartpi systemd[1]: Starting User Manager for UID 33...
Feb  5 06:25:02 smartpi systemd[1]: Started Session c49 of user www-data.
Feb  5 06:25:02 smartpi systemd[20408]: Reached target Timers.
Feb  5 06:25:02 smartpi systemd[20408]: Listening on GnuPG cryptographic agent (access for web browsers).
Feb  5 06:25:02 smartpi systemd[20408]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Feb  5 06:25:02 smartpi systemd[20408]: Reached target Paths.
Feb  5 06:25:02 smartpi systemd[20408]: Listening on GnuPG cryptographic agent and passphrase cache.
Feb  5 06:25:02 smartpi systemd[20408]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Feb  5 06:25:02 smartpi systemd[20408]: Starting D-Bus User Message Bus Socket.
Feb  5 06:25:02 smartpi systemd[20408]: Listening on D-Bus User Message Bus Socket.
Feb  5 06:25:02 smartpi systemd[20408]: Reached target Sockets.
Feb  5 06:25:02 smartpi systemd[20408]: Reached target Basic System.
Feb  5 06:25:02 smartpi systemd[20408]: Reached target Default.
Feb  5 06:25:02 smartpi systemd[20408]: Startup finished in 89ms.
Feb  5 06:25:02 smartpi systemd[1]: Started User Manager for UID 33.
Feb  5 06:25:02 smartpi systemd[1]: Stopping User Manager for UID 33...
Feb  5 06:25:02 smartpi systemd[20408]: Stopped target Default.
Feb  5 06:25:02 smartpi systemd[20408]: Stopped target Basic System.
Feb  5 06:25:02 smartpi systemd[20408]: Stopped target Timers.
Feb  5 06:25:02 smartpi systemd[20408]: Stopped target Paths.
Feb  5 06:25:02 smartpi systemd[20408]: Stopped target Sockets.
Feb  5 06:25:02 smartpi systemd[20408]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Feb  5 06:25:02 smartpi systemd[20408]: Closed GnuPG cryptographic agent and passphrase cache.
Feb  5 06:25:02 smartpi systemd[20408]: Closed GnuPG cryptographic agent (access for web browsers).
Feb  5 06:25:02 smartpi systemd[20408]: Closed D-Bus User Message Bus Socket.
Feb  5 06:25:02 smartpi systemd[20408]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Feb  5 06:25:02 smartpi systemd[20408]: Reached target Shutdown.
Feb  5 06:25:02 smartpi systemd[20408]: Starting Exit the Session...
Feb  5 06:25:02 smartpi systemd[20408]: Received SIGRTMIN+24 from PID 20425 (kill).
Feb  5 06:25:02 smartpi systemd[1]: Starting User Manager for UID 33...
Feb  5 06:25:02 smartpi systemd[1]: Started Session c50 of user www-data.
Feb  5 06:25:02 smartpi systemd[20434]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Feb  5 06:25:02 smartpi systemd[20434]: Reached target Timers.
Feb  5 06:25:02 smartpi systemd[20434]: Listening on GnuPG cryptographic agent and passphrase cache.
Feb  5 06:25:02 smartpi systemd[20434]: Reached target Paths.
Feb  5 06:25:02 smartpi systemd[20434]: Listening on GnuPG cryptographic agent (access for web browsers).
Feb  5 06:25:02 smartpi systemd[20434]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Feb  5 06:25:02 smartpi systemd[20434]: Starting D-Bus User Message Bus Socket.
Feb  5 06:25:02 smartpi systemd[20434]: Listening on D-Bus User Message Bus Socket.
Feb  5 06:25:02 smartpi systemd[20434]: Reached target Sockets.
Feb  5 06:25:02 smartpi systemd[20434]: Reached target Basic System.
Feb  5 06:25:02 smartpi systemd[20434]: Reached target Default.
Feb  5 06:25:02 smartpi systemd[20434]: Startup finished in 83ms.
Feb  5 06:25:02 smartpi systemd[1]: Started User Manager for UID 33.
Feb  5 06:25:02 smartpi systemd[1]: Stopping User Manager for UID 33...
Feb  5 06:25:02 smartpi systemd[20434]: Stopped target Default.
Feb  5 06:25:02 smartpi systemd[20434]: Stopped target Basic System.
Feb  5 06:25:02 smartpi systemd[20434]: Stopped target Sockets.
Feb  5 06:25:02 smartpi systemd[20434]: Stopped target Timers.
Feb  5 06:25:02 smartpi systemd[20434]: Stopped target Paths.
Feb  5 06:25:02 smartpi systemd[20434]: Closed GnuPG cryptographic agent and passphrase cache.
Feb  5 06:25:02 smartpi systemd[20434]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Feb  5 06:25:02 smartpi systemd[20434]: Closed D-Bus User Message Bus Socket.
Feb  5 06:25:02 smartpi systemd[20434]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Feb  5 06:25:02 smartpi systemd[20434]: Closed GnuPG cryptographic agent (access for web browsers).
Feb  5 06:25:02 smartpi systemd[20434]: Reached target Shutdown.
Feb  5 06:25:02 smartpi systemd[20434]: Starting Exit the Session...
Feb  5 06:25:02 smartpi systemd[20434]: Received SIGRTMIN+24 from PID 20451 (kill).
Feb  5 06:25:02 smartpi systemd[1]: Stopped User Manager for UID 33.
Feb  5 06:25:02 smartpi systemd[1]: Removed slice User Slice of www-data.
Feb  5 06:25:03 smartpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Feb  5 06:25:03 smartpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  5 06:25:03 smartpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb  5 06:25:03 smartpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Feb  5 06:25:03 smartpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb  5 06:25:03 smartpi systemd[1]: hostapd.service: Unit entered failed state.
Feb  5 06:25:03 smartpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb  5 06:25:03 smartpi liblogging-stdlog:  [origin software="rsyslogd" swVersion="8.24.0" x-pid="328" x-info="http://www.rsyslog.com"] rsyslogd was HUPed


RE: SmartPi stürzt immer wieder ab wegen Speichermangel in /var/log - jens - 10.02.2020

Das scheint an dem WIFI zu liegen. Ich versuche das mal zu reproduzieren.

Gruß Jens


RE: SmartPi stürzt immer wieder ab wegen Speichermangel in /var/log - jens - 24.02.2020

Hier ein erster Tipp zur Änderung des Syslog:

Code:
sudo apt-get install busybox-syslogd
sudo dpkg --purge rsyslog