Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. SQL Adaper: SIGKILL

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    SQL Adaper: SIGKILL

    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Creator last edited by

      Moin zusammen,
      ich arbeite an einer neuinstallation.
      MYSQL Server ist installiert und läuft auf dem selben Host.
      Db existiert, User ist angelegt, Adapter installiert und auch erfolgreich eingerichtet.
      Also Verbindung zur DB kann erfolgreich aufgebaut werden.

      Es gibt allerdings zwei Warnungen

      instance system.adapter.sql.0 terminated due to SIGKILL
      
      sql has an invalid jsonConfig: [{"instancePath":"/items/dbTab/items/_testConnection/type","schemaPath":"#/definitions/componentType/enum","keyword":"enum","params":{"allowedValues":["accordion","alive","autocomplete","autocompleteSendTo","certificate","certificates","checkLicense","checkbox","chips","color","coordinates","cron","custom","datePicker","deviceManager","divider","file","fileSelector","func","header","icon","image","imageSendTo","instance","interface","ip","jsonEditor","language","number","objectId","panel","password","pattern","port","qrCode","room","select","selectSendTo","sendTo","setState","slider","state","staticImage","staticLink","staticText","table","text","textSendTo","timePicker","user","uuid"]},"message":"must be equal to one of the allowed values"},{"instancePath":"/items/dbTab","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/9/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"}]
      

      Es läuft alles auf Ubuntu 24 LTS und ist auch aktuell.

      haus-automatisierung 1 Reply Last reply Reply Quote 0
      • haus-automatisierung
        haus-automatisierung Developer Most Active @Creator last edited by

        @creator sagte in SQL Adaper: SIGKILL:

        sql has an invalid jsonConfig:

        Kannst Du ignorieren, ist eine Warnung vom Admin dass das Schema nicht passt. Hat mit dem Problem nichts zu tun.

        @creator sagte in SQL Adaper: SIGKILL:

        instance system.adapter.sql.0 terminated due to SIGKILL

        Bitte mal das ganze Log teilen - da sollte noch etwas mehr ausgegeben werden.

        C 1 Reply Last reply Reply Quote 0
        • C
          Creator @haus-automatisierung last edited by

          @haus-automatisierung

          Der geht wohl in einen Timeout 🙄

          
          host.iobroker
          2024-12-12 11:39:44.213	warn	instance system.adapter.sql.0 terminated due to SIGKILL
          
          host.iobroker
          2024-12-12 11:39:44.207	info	stopInstance timeout 10000 system.adapter.sql.0 killing pid 1038
          

          Hab den Log für den Adapter auf "Alles" gestellt.

          haus-automatisierung 1 Reply Last reply Reply Quote 0
          • haus-automatisierung
            haus-automatisierung Developer Most Active @Creator last edited by

            @creator sagte in SQL Adaper: SIGKILL:

            Hab den Log für den Adapter auf "Alles" gestellt.

            Und mehr kommt da nicht?!

            C 1 Reply Last reply Reply Quote 0
            • C
              Creator @haus-automatisierung last edited by Creator

              @haus-automatisierung

              Ich habe erst auf "Alles" gestellt nach dem ich die Warnung gesehen habe.
              Bisher gab es keine weitere Meldung.

              Ich befürchte der Fehler sitzt direkt vorm Bildschirm!
              Vermutlich ist das nach einem Neustart passiert.

              Die Meldung kommt auch, wenn man den SQL Adapter neu startet.

              
              host.iobroker
              2024-12-12 13:51:04.404	info	stopInstance system.adapter.sql.0 (force=false, process=true)
              
              host.iobroker
              2024-12-12 13:51:14.405	info	stopInstance timeout 10000 system.adapter.sql.0 killing pid 1582
              
              host.iobroker
              2024-12-12 13:51:14.410	warn	instance system.adapter.sql.0 terminated due to SIGKILL
              
              host.iobroker
              2024-12-12 13:51:14.410	info	instance system.adapter.sql.0 terminated with code null ()
              
              host.iobroker
              2024-12-12 13:51:26.975	info	instance system.adapter.sql.0 in version "3.0.1" started with pid 1828
              
              sql.0
              2024-12-12 13:51:27.245	debug	Redis Objects: Use Redis connection: 127.0.0.1:6379
              
              sql.0
              2024-12-12 13:51:27.251	debug	Objects client ready ... initialize now
              
              sql.0
              2024-12-12 13:51:27.251	debug	Objects create System PubSub Client
              
              sql.0
              2024-12-12 13:51:27.252	debug	Objects create User PubSub Client
              
              sql.0
              2024-12-12 13:51:27.262	debug	Objects client initialize lua scripts
              
              sql.0
              2024-12-12 13:51:27.264	debug	Objects connected to redis: 127.0.0.1:6379
              
              sql.0
              2024-12-12 13:51:27.267	debug	Redis States: Use Redis connection: 127.0.0.1:6379
              
              sql.0
              2024-12-12 13:51:27.269	debug	States create System PubSub Client
              
              sql.0
              2024-12-12 13:51:27.269	debug	States create User PubSub Client
              
              sql.0
              2024-12-12 13:51:27.271	debug	States connected to redis: 127.0.0.1:6379
              
              sql.0
              2024-12-12 13:51:27.275	debug	Plugin sentry Do not initialize Plugin (enabled=false)
              
              sql.0
              2024-12-12 13:51:27.287	info	starting. Version 3.0.1 in /opt/iobroker/node_modules/iobroker.sql, node: v20.18.1, js-controller: 7.0.3
              
              sql.0
              2024-12-12 13:51:27.316	debug	Borrow connection from pool: 1 now
              
              sql.0
              2024-12-12 13:51:27.330	debug	CREATE TABLE `iobroker`.sources (id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT, name TEXT);
              
              haus-automatisierung 1 Reply Last reply Reply Quote 0
              • haus-automatisierung
                haus-automatisierung Developer Most Active @Creator last edited by

                @creator Könnte es sein, dass der verwendete SQL-Nutzer keine Tabellen erstellen darf?

                C 1 Reply Last reply Reply Quote 0
                • C
                  Creator @haus-automatisierung last edited by

                  @haus-automatisierung
                  Das würde mich wundern, weil dieser in der DB "iobroker" alle Rechte hat.
                  Zudem wurden auch Tabellen erstellt.
                  5facb75c-605e-4755-91bc-b17bc1e060c0-image.png

                  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

                  676
                  Online

                  31.6k
                  Users

                  79.4k
                  Topics

                  1.3m
                  Posts

                  2
                  7
                  196
                  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