Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iOBroker im LXC keine Verbindung mehr

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    iOBroker im LXC keine Verbindung mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Nordischerjung last edited by Thomas Braun

      @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
      
      N 1 Reply Last reply Reply Quote 0
      • N
        Nordischerjung @Thomas Braun last edited by

        @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? 😕

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Nordischerjung last edited by Thomas Braun

          @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.

          N 1 Reply Last reply Reply Quote 0
          • JLeg
            JLeg last edited by

            @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…

            1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active last edited by

              @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

              N 1 Reply Last reply Reply Quote 0
              • N
                Nordischerjung @crunchip last edited by

                @crunchip @JLeg wo kann ich da gucken, ob oder ob nicht das bei mir zutrifft

                crunchip 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @Nordischerjung last edited by

                  @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
                  92383504-5066-419d-89a4-2fdc988cb2c7-image.png

                  N 1 Reply Last reply Reply Quote 0
                  • N
                    Nordischerjung @crunchip last edited by

                    @crunchip das habe ich da alles nicht drin stehen. Ich habe auch kein USB den ich durchreiche

                    crunchip 1 Reply Last reply Reply Quote 0
                    • N
                      Nordischerjung @Thomas Braun last edited by

                      @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
                      
                      crunchip 1 Reply Last reply Reply Quote 0
                      • crunchip
                        crunchip Forum Testing Most Active @Nordischerjung last edited by

                        @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

                        N 1 Reply Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active @Nordischerjung last edited by

                          @nordischerjung hast du die Systemzeit im LXC angepasst?

                          dpkg-reconfigure tzdata
                          
                          N 1 Reply Last reply Reply Quote 0
                          • N
                            Nordischerjung @crunchip last edited by

                            @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

                            dcc36bde-36b7-4ea3-aa85-c91ade0a7caf-grafik.png

                            crunchip 1 Reply Last reply Reply Quote 0
                            • N
                              Nordischerjung @crunchip last edited by

                              @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

                              1 Reply Last reply Reply Quote 0
                              • crunchip
                                crunchip Forum Testing Most Active @Nordischerjung last edited by

                                @nordischerjung dann mach das upgrade auf 7

                                N 1 Reply Last reply Reply Quote 0
                                • N
                                  Nordischerjung @crunchip last edited by

                                  @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.

                                  JLeg 1 Reply Last reply Reply Quote 0
                                  • JLeg
                                    JLeg @Nordischerjung last edited by

                                    @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...

                                    N 2 Replies Last reply Reply Quote 0
                                    • N
                                      Nordischerjung @JLeg last edited by

                                      @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 1 Reply Last reply Reply Quote 0
                                      • N
                                        Nordischerjung @JLeg last edited by

                                        @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

                                        1 Reply Last reply Reply Quote 0
                                        • JLeg
                                          JLeg @Nordischerjung last edited by

                                          @nordischerjung normalerweise sollten 7 Tage genügen - ist glaube ich auch Debian-Default:

                                          rotate 7
                                          daily
                                          

                                          damit werden die Logs jeden Tag rotiert - und komprimiert. Sollte das nicht der Fall sein, müsstest du mal schauen, ob Logrotate überhaupt funktioniert. Erstest: "sudo logrotate /etc/logrotate.conf" sollte ohne Fehler aufgerufen werden können...

                                          N 2 Replies Last reply Reply Quote 0
                                          • N
                                            Nordischerjung @JLeg last edited by

                                            @jleg sagte in iOBroker im LXC keine Verbindung mehr:

                                            sudo logrotate /etc/logrotate.conf

                                            da kommt das

                                            sb@iOBroker:~$ sudo logrotate /etc/logrotate.conf
                                            sb@iOBroker:~$
                                            
                                            

                                            bei sudo systemctl status rsyslog das

                                            sb@iOBroker:~$ sudo systemctl status rsyslog
                                            [sudo] password for sb:
                                            * rsyslog.service - System Logging Service
                                                 Loaded: loaded (/lib/systemd/system/rsyslog.service; enabled; vendor prese>
                                                 Active: active (running) since Tue 2022-09-27 12:10:04 CEST; 22h ago
                                            TriggeredBy: * syslog.socket
                                                   Docs: man:rsyslogd(8)
                                                         man:rsyslog.conf(5)
                                                         https://www.rsyslog.com/doc/
                                               Main PID: 117 (rsyslogd)
                                                  Tasks: 3 (limit: 4915)
                                                 Memory: 26.4M
                                                 CGroup: /system.slice/rsyslog.service
                                                         `-117 /usr/sbin/rsyslogd -n -iNONE
                                            
                                            Sep 27 12:10:04 iOBroker systemd[1]: Starting System Logging Service...
                                            Sep 27 12:10:04 iOBroker rsyslogd[117]: imuxsock: Acquired UNIX socket '/run/sy>
                                            Sep 27 12:10:04 iOBroker rsyslogd[117]: imklog: cannot open kernel log (/proc/k>
                                            Sep 27 12:10:04 iOBroker systemd[1]: Started System Logging Service.
                                            Sep 27 12:10:04 iOBroker rsyslogd[117]: activation of module imklog failed [v8.>
                                            Sep 27 12:10:04 iOBroker rsyslogd[117]: [origin software="rsyslogd" swVersion=">
                                            lines 1-19/19 (END)...skipping...
                                            * rsyslog.service - System Logging Service
                                                 Loaded: loaded (/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled)
                                                 Active: active (running) since Tue 2022-09-27 12:10:04 CEST; 22h ago
                                            TriggeredBy: * syslog.socket
                                                   Docs: man:rsyslogd(8)
                                                         man:rsyslog.conf(5)
                                                         https://www.rsyslog.com/doc/
                                               Main PID: 117 (rsyslogd)
                                                  Tasks: 3 (limit: 4915)
                                                 Memory: 26.4M
                                                 CGroup: /system.slice/rsyslog.service
                                                         `-117 /usr/sbin/rsyslogd -n -iNONE
                                            
                                            Sep 27 12:10:04 iOBroker systemd[1]: Starting System Logging Service...
                                            Sep 27 12:10:04 iOBroker rsyslogd[117]: imuxsock: Acquired UNIX socket '/run/systemd/journal/syslog' (fd 3) from systemd.  [v8.2102.0]
                                            Sep 27 12:10:04 iOBroker rsyslogd[117]: imklog: cannot open kernel log (/proc/kmsg): Permission denied.
                                            Sep 27 12:10:04 iOBroker systemd[1]: Started System Logging Service.
                                            Sep 27 12:10:04 iOBroker rsyslogd[117]: activation of module imklog failed [v8.2102.0 try https://www.rsyslog.com/e/2145 ]
                                            Sep 27 12:10:04 iOBroker rsyslogd[117]: [origin software="rsyslogd" swVersion="8.2102.0" x-pid="117" x-info="https://www.rsyslog.com"] start
                                            
                                            
                                            JLeg 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            829
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            container lxc proxmox 6 verbindung
                                            7
                                            49
                                            2155
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo