NEWS
iOBroker im LXC keine Verbindung mehr
-
Das ist 'ne simple Textdatei. Wenn auch abnorm groß. Mein syslog hat z.B. gerade 420kb.
-
@thomas-braun ich kopier mir die nachher erst einmal rüber, kann ich die dann auf dem iobroker einfach löschen?
-
@nordischerjung
Die wird sich dann halt wieder füllen, solange es da was zu melden gibt.ncdu 1.15.1 ~ Use the arrow keys to navigate, press ? for help --- /var/log -------------------------------------------------- /.. 192.0 MiB [##########] /journal 1.1 MiB [ ] syslog.1 1.1 MiB [ ] daemon.log.1 420.0 KiB [ ] syslog 400.0 KiB [ ] user.log.1 392.0 KiB [ ] daemon.log 308.0 KiB [ ] wtmp 180.0 KiB [ ] /nala 176.0 KiB [ ] auth.log.1 128.0 KiB [ ] syslog.4.gz 124.0 KiB [ ] syslog.3.gz 108.0 KiB [ ] daemon.log.3.gz 108.0 KiB [ ] daemon.log.4.gz 92.0 KiB [ ] syslog.2.gz 68.0 KiB [ ] dpkg.log 68.0 KiB [ ] auth.log 68.0 KiB [ ] /apt 56.0 KiB [ ] /unattended-upgrades 52.0 KiB [ ] daemon.log.2.gz 48.0 KiB [ ] dpkg.log.1 24.0 KiB [ ] messages.2.gz 16.0 KiB [ ] auth.log.3.gz 16.0 KiB [ ] auth.log.2.gz 12.0 KiB [ ] auth.log.4.gz 12.0 KiB [ ] kern.log.4.gz 12.0 KiB [ ] messages.4.gz 12.0 KiB [ ] dpkg.log.2.gz Total disk usage: 197.2 MiB Apparent size: 197.3 MiB Items:8
-
@thomas-braun kann man das nicht iwo einstellen, das es iwann mal selbst gelöscht wird? Die wird ja sonst unendlich bzw bis platte voll ist groß aber was für ein text ist 12gb?
-
@nordischerjung
LogRotate ist Standard für die Log Files.
Nutz dir aber nix wenn da sturzbachartig Meldungen reinprasseln. Da muss man halt mal reinschauen warum das so ist. -
@crunchip sagte in iOBroker im LXC keine Verbindung mehr:
vereinzelt kann es immer mal irgendwo Probleme geben, aber nein, Version 7.x läuft
…da Proxmox7 auf cgroups2 umgestellt hat, kann es durchaus Fälle geben, bei denen gar nix mehr läuft - z.B. falls man LXCs laufen hat mit für cgroups2 zu altem systemd…
-
@jleg sagte in iOBroker im LXC keine Verbindung mehr:
auf cgroups2 umgestellt hat
stimmt, aber das wäre eine Zeile anpassen, wenn man es nicht weiss, dann natürlich blöd
-
-
@nordischerjung kommt darauf an, was du alles in proxmox laufen hast, in deinem Fall, beim durchreichen eines Sticks in iobroker LXC, siehe https://www.iobroker.net/#de/documentation/install/proxmox.md
-
@crunchip das habe ich da alles nicht drin stehen. Ich habe auch kein USB den ich durchreiche
-
@thomas-braun Moin, ich habe die Syslog mal runtergeladen, die ist komplett vol mit dem hier (ist nur ein Ausschnitt, ist immer so ein ganzer Block mit influx)
Sep 28 08:30:23 iOBroker influxd-systemd-start.sh[182]: [httpd] 127.0.0.1 - admin [28/Sep/2022:08:30:23 +0200] "POST /write?database=iobroker&db=iobroker&p=%5BREDACTED%5D&precision=ms&u=admin HTTP/1.1 " 204 0 "-" "-" 07fc50fc-3ef7-11ed-b728-72560074c759 2358 Sep 28 08:30:23 iOBroker influxd-systemd-start.sh[182]: ts=2022-09-28T06:30:23.888800Z lvl=info msg="Executing query" log_id=0dBbw97l000 service=query query="SELECT value FROM iobroker.global.\"s7.0.Markers.22.Ist_Temp_Vor_Wint_li\" WHERE time <= '2022-09-25T07:00:00.000Z' ORDER BY time DESC LIMIT 1" Sep 28 08:30:23 iOBroker influxd-systemd-start.sh[182]: ts=2022-09-28T06:30:23.894495Z lvl=info msg="Executing query" log_id=0dBbw97l000 service=query query="SELECT * FROM iobroker.global.\"s7.0.Markers.22.Ist_Temp_Vor_Wint_li\" WHERE time > '2022-09-25T07:00:00.000Z' AND time < '2022-09-28T07:00:00.000Z' ORDER BY time ASC" Sep 28 08:30:24 iOBroker influxd-systemd-start.sh[182]: ts=2022-09-28T06:30:24.037551Z lvl=info msg="Executing query" log_id=0dBbw97l000 service=query query="SELECT value FROM iobroker.global.\"s7.0.Markers.22.Ist_Temp_Vor_Wint_li\" WHERE time >= '2022-09-28T07:00:00.000Z' LIMIT 1" Sep 28 08:30:24 iOBroker influxd-systemd-start.sh[182]: [httpd] 127.0.0.1 - admin [28/Sep/2022:08:30:23 +0200] "GET /query?db=iobroker&p=%5BREDACTED%5D&precision=ms&q=SELECT+value+from+%22s7.0.Markers.22.Ist_Temp_Vor_Wint_li%22+WHERE+time+%3C%3D+%272022-09-25T07%3A00%3A00.000Z%27+ORDER+BY+time+DESC+LIMIT+1%3BSELECT+%2A+from+%22s7.0.Markers.22.Ist_Temp_Vor_Wint_li%22+WHERE++time+%3E+%272022-09-25T07%3A00%3A00.000Z%27+AND++time+%3C+%272022-09-28T07%3A00%3A00.000Z%27+ORDER+BY+time+ASC%3BSELECT+value+from+%22s7.0.Markers.22.Ist_Temp_Vor_Wint_li%22+WHERE+time+%3E%3D+%272022-09-28T07%3A00%3A00.000Z%27+LIMIT+1&u=admin HTTP/1.1" 200 2926267 "-" "-" 08812fae-3ef7-11ed-b729-72560074c759 535085 Sep 28 08:30:24 iOBroker influxd-systemd-start.sh[182]: ts=2022-09-28T06:30:24.830036Z lvl=info msg="Executing query" log_id=0dBbw97l000 service=query query="SELECT value FROM iobroker.global.\"s7.0.Markers.26.Ist_Temp_Rueck_Wint_li\" WHERE time <= '2022-09-25T07:00:00.000Z' ORDER BY time DESC LIMIT 1" Sep 28 08:30:24 iOBroker influxd-systemd-start.sh[182]: ts=2022-09-28T06:30:24.836450Z lvl=info msg="Executing query" log_id=0dBbw97l000 service=query query="SELECT * FROM iobroker.global.\"s7.0.Markers.26.Ist_Temp_Rueck_Wint_li\" WHERE time > '2022-09-25T07:00:00.000Z' AND time < '2022-09-28T07:00:00.000Z' ORDER BY time ASC" Sep 28 08:30:24 iOBroker influxd-systemd-start.sh[182]: ts=2022-09-28T06:30:24.990065Z lvl=info msg="Executing query" log_id=0dBbw97l000 service=query query="SELECT value FROM iobroker.global.\"s7.0.Markers.26.Ist_Temp_Rueck_Wint_li\" WHERE time >= '2022-09-28T07:00:00.000Z' LIMIT 1"
oder so etwas so immer ca. 800 Zeilen von 07:30:03 - 07:30:20 zB
Sep 28 07:30:18 iOBroker bash[18027]: Using TZID without Luxon available is unsupported. Returned times are in UTC, not the requested time zone Sep 28 07:30:18 iOBroker bash[18027]: Using TZID without Luxon available is unsupported. Returned times are in UTC, not the requested time zone Sep 28 07:30:18 iOBroker bash[18027]: Using TZID without Luxon available is unsupported. Returned times are in UTC, not the requested time zone Sep 28 07:30:18 iOBroker bash[18027]: Using TZID without Luxon available is unsupported. Returned times are in UTC, not the requested time zone Sep 28 07:30:18 iOBroker bash[18027]: Using TZID without Luxon available is unsupported. Returned times are in UTC, not the requested time zone Sep 28 07:30:18 iOBroker bash[18027]: Using TZID without Luxon available is unsupported. Returned times are in UTC, not the requested time zone Sep 28 07:30:18 iOBroker bash[18027]: Using TZID without Luxon available is unsupported. Returned times are in UTC, not the requested time zone Sep 28 07:30:18 iOBroker bash[18027]: Using TZID without Luxon available is unsupported. Returned times are in UTC, not the requested time zone
-
@nordischerjung dann hast du diesbezüglich auch kein Problem beim umstellen auf v7, bleibt die Frage noch offen was sonst noch auf deinem proxmox läuft
-
@nordischerjung hast du die Systemzeit im LXC angepasst?
dpkg-reconfigure tzdata
-
@crunchip sagte in iOBroker im LXC keine Verbindung mehr:
@nordischerjung dann hast du diesbezüglich auch kein Problem beim umstellen auf v7, bleibt die Frage noch offen was sonst noch auf deinem proxmox läuft
Nichts weiter, nur der eine LXC
-
@crunchip sagte in iOBroker im LXC keine Verbindung mehr:
@nordischerjung hast du die Systemzeit im LXC angepasst?
dpkg-reconfigure tzdata
Ja die stand auf Europa / Berlin
-
@nordischerjung dann mach das upgrade auf 7
-
@crunchip ok, werde ich dann mal angehen. Aber wie bekomme ich denn jetzt diese syslog und daemon.log kleiner? syslog habe ich schon versucht am PC den Inhalt gelöscht und dann per Filezilla wieder zurück, geht nicht, zugriff verweigert, vermutlich da sie in Benutzung ist. die daemon.log kann ich nicht auf den PC übertragen, zugriff verweigert.
-
@nordischerjung sagte in iOBroker im LXC keine Verbindung mehr:
Aber wie bekomme ich denn jetzt diese syslog und daemon.log kleiner?
mit
sudo cat /dev/null > /var/log/syslog
wär' das erstmal auf "Dateigrösse 0"; dann am besten mal schauen, ob es in ''/etc/logrotate.d/rsyslog'' einen Eintrag für ''/var/log/syslog'' gibt (sollte es immer). Normalerweise steht das auf "daily", d.h. das Log wird jeden Tag wegrotiert...
-
@jleg sagte in iOBroker im LXC keine Verbindung mehr:
sudo cat /dev/null > /var/log/syslog
/var/log/syslog /var/log/mail.info /var/log/mail.warn /var/log/mail.err /var/log/mail.log /var/log/daemon.log /var/log/kern.log /var/log/auth.log /var/log/user.log /var/log/lpr.log /var/log/cron.log /var/log/debug /var/log/messages { rotate 4 weekly missingok notifempty compress delaycompress sharedscripts postrotate /usr/lib/rsyslog/rsyslog-rotate endscript }
da steht weekly, kann ich das ändern? Aber in meiner syslog sind ab 03.Januar drin
-
@jleg sagte in iOBroker im LXC keine Verbindung mehr:
sudo cat /dev/null > /var/log/syslog
sb@iOBroker:~$ sudo cat /dev/null > /var/log/syslog -bash: /var/log/syslog: Permission denied
geht auch nicht