Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Kein autostart debian stretch

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

Kein autostart debian stretch

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
83 Beiträge 19 Kommentatoren 22.1k Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • HomoranH Nicht stören
    HomoranH Nicht stören
    Homoran
    Global Moderator Administrators
    schrieb am zuletzt editiert von
    #33

    Ich bin geistig gerade woanders, aber:
    @ruhr70:

    Mit der Kombination des Tipps von Paul53 und der iobroker.sh Datei von Homoran hat es jetzt funktioniert `
    genau dafür hatte ich sie gepostet.

    Was ist jetzt an euren anders als bei meiner - und vor allem warum.

    Wenn jemand, der sich damit auskennt, das beantworten kann, kommen wir vielleicht auch der Ursache auf den Grund.

    Danke erst mal an alle die hier mitkämpfen!

    Gruß

    Rainer

    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

    1 Antwort Letzte Antwort
    0
    • kmxakK Offline
      kmxakK Offline
      kmxak
      Most Active
      schrieb am zuletzt editiert von
      #34

      also ich hatte wie bereits in mehreren Beiträgen geschrieben auch das Problem.

      Stretch unter root (su root) installiert und kein autostart.

      Ich musste sudo nachinstallieren und habe dann root als sudoer eingefügt sowie hatte ich was mit der iobroker.sh irgendwas gemacht sowie nochmals irgendein install script ausgeführt.

      ! ````
      #!/bin/bash

      BEGIN INIT INFO

      Provides: iobroker.sh

      Required-Start: $network $local_fs $remote_fs

      Required-Stop:: $network $local_fs $remote_fs

      Default-Start: 2 3 4 5

      Default-Stop: 0 1 6

      Short-Description: starts ioBroker

      Description: starts ioBroker

      END INIT INFO

      (( EUID )) && echo .You need to have root privileges.. && exit 1
      PIDF=/opt/iobroker/node_modules/iobroker.js-controller/lib/iobroker.pid
      NODECMD=/usr/bin/node
      IOBROKERCMD=/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
      RETVAL=0
      IOBROKERUSER=root

      ! start() {
      export IOBROKER_HOME=/opt/iobroker
      echo -n "Starting ioBroker"
      sudo -u ${IOBROKERUSER} $NODECMD $IOBROKERCMD start
      RETVAL=$?
      }
      ! stop() {
      echo -n "Stopping ioBroker"
      sudo -u ${IOBROKERUSER} $NODECMD $IOBROKERCMD stop
      RETVAL=$?
      }
      case "$1" in
      start)
      start
      ;;
      stop)
      stop
      ;;
      restart)
      stop
      start
      ;;
      *)
      echo "Usage: iobroker {start|stop|restart}"
      exit 1
      ;;
      esac
      exit $RETVAL
      ! ````

      Gruß Alex

      1 Antwort Letzte Antwort
      0
      • C Offline
        C Offline
        chrram
        schrieb am zuletzt editiert von
        #35

        also ich habe root in der /etc/sudoers oder sollte er noch woanders drinen sein

        User privilege specification

        root ALL=(ALL:ALL) ALL

        denke das es evt was mit der

        systemctl start iobroker.service zu tun hat das Script funktioniert ja so

        Job for iobroker.service failed because the control process exited with error code. See "systemctl status iobroker.service" and "journalctl -xe" for details.

        1 Antwort Letzte Antwort
        0
        • paul53P Offline
          paul53P Offline
          paul53
          schrieb am zuletzt editiert von
          #36

          @chrram:

          root@HomeServer:/etc/init.d# iobroker stop

          module.js:327

          throw err;

          ^

          Error: Cannot find module '/etc/init.d/node_modules/iobroker.js-controller/iobroker.js' `
          Das würde mich stutzig machen, da es nichts mit dem Skript /etc/init.d/iobroker.sh zu tun hat, sondern vom Skript /usr/bin/iobroker ausgelöst wird. Woher kommt die Referenz auf das Verzeichnis /etc/init.d/node_modules ?
          @chrram:

          root@HomeServer:/etc/init.d# ./iobroker.sh start

          Starting ioBrokerStarting iobroker controller daemon…

          iobroker controller daemon started. PID: 1722

          root@HomeServer:/etc/init.d#

          root@HomeServer:/etc/init.d# update-rc.d iobroker.sh defaults

          insserv: script iobroker.dos: service iobroker.sh already provided! `
          Offenbar wird ioBroker vom Skript /etc/init.d/iobroker.sh gestartet. Dass in der Meldung von update-rc.d iobroker.dos auftaucht macht mich ebenfalls stutzig. Was sagt die Ausgabe von ?

          ls -l /etc/rc?.d/*iob*
          

          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

          1 Antwort Letzte Antwort
          0
          • C Offline
            C Offline
            chrram
            schrieb am zuletzt editiert von
            #37
            ls -l /etc/rc?.d/*iob*
            lrwxrwxrwx 1 root root 18 Jan  1 15:23 /etc/rc0.d/K01iobroker -> ../init.d/iobroker
            lrwxrwxrwx 1 root root 21 Jan  2 14:33 /etc/rc0.d/K01iobroker.sh -> ../init.d/iobroker.sh
            lrwxrwxrwx 1 root root 18 Jan  1 15:23 /etc/rc1.d/K01iobroker -> ../init.d/iobroker
            lrwxrwxrwx 1 root root 21 Jan  2 14:33 /etc/rc1.d/K01iobroker.sh -> ../init.d/iobroker.sh
            lrwxrwxrwx 1 root root 18 Jan  1 15:23 /etc/rc2.d/S01iobroker -> ../init.d/iobroker
            lrwxrwxrwx 1 root root 21 Jan  2 14:33 /etc/rc2.d/S01iobroker.sh -> ../init.d/iobroker.sh
            lrwxrwxrwx 1 root root 18 Jan  1 15:23 /etc/rc3.d/S01iobroker -> ../init.d/iobroker
            lrwxrwxrwx 1 root root 21 Jan  2 14:33 /etc/rc3.d/S01iobroker.sh -> ../init.d/iobroker.sh
            lrwxrwxrwx 1 root root 18 Jan  1 15:23 /etc/rc4.d/S01iobroker -> ../init.d/iobroker
            lrwxrwxrwx 1 root root 21 Jan  2 14:33 /etc/rc4.d/S01iobroker.sh -> ../init.d/iobroker.sh
            lrwxrwxrwx 1 root root 18 Jan  1 15:23 /etc/rc5.d/S01iobroker -> ../init.d/iobroker
            lrwxrwxrwx 1 root root 21 Jan  2 14:33 /etc/rc5.d/S01iobroker.sh -> ../init.d/iobroker.sh
            lrwxrwxrwx 1 root root 18 Jan  1 15:23 /etc/rc6.d/K01iobroker -> ../init.d/iobroker
            lrwxrwxrwx 1 root root 21 Jan  2 14:33 /etc/rc6.d/K01iobroker.sh -> ../init.d/iobroker.sh
            
            
            1 Antwort Letzte Antwort
            0
            • paul53P Offline
              paul53P Offline
              paul53
              schrieb am zuletzt editiert von
              #38

              Die Einträge mit ../init.d/iobroker gehören nicht dahin ! Auch die Datei /etc/init.d/iobroker ist zuviel !

              Versuche mal als user root

              update-rc.d -f iobroker remove
              ls -l /etc/rc?.d/*iob*
              

              EDIT: So sieht es auf meinem RPi aus:

              root@rpihm:~# ls -l /etc/rc?.d/*iob*
              lrwxrwxrwx 1 root root 21 Apr  7  2016 /etc/rc0.d/K01iobroker.sh -> ../init.d/iobroker.sh
              lrwxrwxrwx 1 root root 21 Apr  7  2016 /etc/rc1.d/K01iobroker.sh -> ../init.d/iobroker.sh
              lrwxrwxrwx 1 root root 21 Apr  7  2016 /etc/rc2.d/S01iobroker.sh -> ../init.d/iobroker.sh
              lrwxrwxrwx 1 root root 21 Apr  7  2016 /etc/rc3.d/S01iobroker.sh -> ../init.d/iobroker.sh
              lrwxrwxrwx 1 root root 21 Apr  7  2016 /etc/rc4.d/S01iobroker.sh -> ../init.d/iobroker.sh
              lrwxrwxrwx 1 root root 21 Apr  7  2016 /etc/rc5.d/S01iobroker.sh -> ../init.d/iobroker.sh
              lrwxrwxrwx 1 root root 21 Apr  7  2016 /etc/rc6.d/K01iobroker.sh -> ../init.d/iobroker.sh
              
              

              Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
              Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

              1 Antwort Letzte Antwort
              0
              • C Offline
                C Offline
                chrram
                schrieb am zuletzt editiert von
                #39

                @paul53:

                Die Einträge mit ../init.d/iobroker gehören nicht dahin ! Auch die Datei /etc/init.d/iobroker ist zuviel !

                Versuche mal als user root

                update-rc.d -f iobroker remove
                ls -l /etc/rc?.d/*iob*
                

                EDIT: So sieht es auf meinem RPi aus:

                root@rpihm:~# ls -l /etc/rc?.d/*iob*
                lrwxrwxrwx 1 root root 21 Apr  7  2016 /etc/rc0.d/K01iobroker.sh -> ../init.d/iobroker.sh
                lrwxrwxrwx 1 root root 21 Apr  7  2016 /etc/rc1.d/K01iobroker.sh -> ../init.d/iobroker.sh
                lrwxrwxrwx 1 root root 21 Apr  7  2016 /etc/rc2.d/S01iobroker.sh -> ../init.d/iobroker.sh
                lrwxrwxrwx 1 root root 21 Apr  7  2016 /etc/rc3.d/S01iobroker.sh -> ../init.d/iobroker.sh
                lrwxrwxrwx 1 root root 21 Apr  7  2016 /etc/rc4.d/S01iobroker.sh -> ../init.d/iobroker.sh
                lrwxrwxrwx 1 root root 21 Apr  7  2016 /etc/rc5.d/S01iobroker.sh -> ../init.d/iobroker.sh
                lrwxrwxrwx 1 root root 21 Apr  7  2016 /etc/rc6.d/K01iobroker.sh -> ../init.d/iobroker.sh
                
                ```` `  
                

                so sieht meine jetzt auch aus

                 ls -l /etc/rc?.d/*iob*
                lrwxrwxrwx 1 root root 21 Jan  2 14:33 /etc/rc0.d/K01iobroker.sh -> ../init.d/iobroker.sh
                lrwxrwxrwx 1 root root 21 Jan  2 14:33 /etc/rc1.d/K01iobroker.sh -> ../init.d/iobroker.sh
                lrwxrwxrwx 1 root root 21 Jan  2 14:33 /etc/rc2.d/S01iobroker.sh -> ../init.d/iobroker.sh
                lrwxrwxrwx 1 root root 21 Jan  2 14:33 /etc/rc3.d/S01iobroker.sh -> ../init.d/iobroker.sh
                lrwxrwxrwx 1 root root 21 Jan  2 14:33 /etc/rc4.d/S01iobroker.sh -> ../init.d/iobroker.sh
                lrwxrwxrwx 1 root root 21 Jan  2 14:33 /etc/rc5.d/S01iobroker.sh -> ../init.d/iobroker.sh
                lrwxrwxrwx 1 root root 21 Jan  2 14:33 /etc/rc6.d/K01iobroker.sh -> ../init.d/iobroker.sh
                
                

                dann ein reboot aber kein autostart

                1 Antwort Letzte Antwort
                0
                • paul53P Offline
                  paul53P Offline
                  paul53
                  schrieb am zuletzt editiert von
                  #40

                  @chrram:

                  dann ein reboot aber kein autostart `
                  Doch, genau mittels iobroker.sh soll das Killen und der Autostart von ioBroker erfolgen. Jedenfalls funktioniert es auf meinem RPi so (ohne Eingriffe meinerseits).

                  Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                  Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                  1 Antwort Letzte Antwort
                  0
                  • C Offline
                    C Offline
                    chrram
                    schrieb am zuletzt editiert von
                    #41

                    @paul53:

                    @chrram:

                    dann ein reboot aber kein autostart Doch, genau mittels iobroker.sh soll das Killen und der Autostart von ioBroker erfolgen. Jedenfalls funktioniert es auf meinem RPi so (ohne Eingriffe meinerseits).
                    bei mir leider nicht wenn ich wieder die iobroker.service starte kommt der gleiche fehler wie vohere :( solangsam verzweile ich :cry:

                    1 Antwort Letzte Antwort
                    0
                    • paul53P Offline
                      paul53P Offline
                      paul53
                      schrieb am zuletzt editiert von
                      #42

                      @chrram:

                      solangsam verzweile ich `
                      Verständlich, aber nun bin ich auch mit meinem Latein am Ende. Starten und Stoppen funktioniert aber mit iobroker.sh ?

                      cd /etc/init.d
                      ./iobroker.sh start
                      ./iobroker.sh stop
                      

                      Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                      Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                      1 Antwort Letzte Antwort
                      0
                      • C Offline
                        C Offline
                        chrram
                        schrieb am zuletzt editiert von
                        #43

                        @paul53:

                        @chrram:

                        solangsam verzweile ich `
                        Verständlich, aber nun bin ich auch mit meinem Latein am Ende. Starten und Stoppen funktioniert aber mit iobroker.sh ?

                        cd /etc/init.d
                        ./iobroker.sh start
                        ./iobroker.sh stop
                        ```` `  
                        

                        Alle 3 funktionen gehen start webif lässt sich aufrufen stop und restart. deshalb wundert mich das ob es evt an der tvheadend.service oder so liegt

                        root@HomeServer:/usr/bin# cd /etc/init.d
                        root@HomeServer:/etc/init.d# ./iobroker.sh start
                        Starting ioBrokerStarting iobroker controller daemon...
                        iobroker controller daemon started. PID: 1611
                        root@HomeServer:/etc/init.d# ./iobroker.sh stop
                        Stopping ioBrokerStopping iobroker controller daemon...
                        iobroker controller daemon stopped.
                        Exit code for "killall.sh": 0
                        root@HomeServer:/etc/init.d# ./iobroker.sh restart
                        Stopping ioBrokeriobroker controller daemon is not running
                        Starting ioBrokerStarting iobroker controller daemon...
                        iobroker controller daemon started. PID: 1684
                        
                        

                        /etc/systemd/system/iobroker.service

                        #
                        
                        # Start ioBroker Daemon
                        
                        #
                        
                        # /etc/systemd/system/iobroker.service
                        
                        # Invoking scripts to start/shutdown ioBroker
                        
                        [Unit]
                        
                        Description=ioBroker server task
                        
                        Requires=network.target
                        
                        [Service]
                        
                        #User=roker
                        
                        User=root
                        
                        Type=forking
                        
                        RemainAfterExit=yes
                        
                        Restart=no
                        
                        ExecStart=/etc/init.d/iobroker.sh
                        
                        [Install]
                        
                        WantedBy=multi-user.target
                        
                        
                        1 Antwort Letzte Antwort
                        0
                        • paul53P Offline
                          paul53P Offline
                          paul53
                          schrieb am zuletzt editiert von
                          #44

                          @chrram:

                          /etc/systemd/system/iobroker.service `
                          Das Kommando existiert auf meinem RPi nicht.

                          root@rpihm:/etc/systemd/system# ls -l
                          total 52
                          -rw-r--r-- 1 root root 1551 Sep 18  2015 autologin@.service
                          drwxr-xr-x 2 root root 4096 Mar 18  2016 bluetooth.target.wants
                          lrwxrwxrwx 1 root root   37 Mar 18  2016 dbus-org.bluez.service -> /lib/systemd/system/bluetooth.service
                          lrwxrwxrwx 1 root root   40 Mar 18  2016 dbus-org.freedesktop.Avahi.service -> /lib/systemd/system/avahi-daemon.service
                          lrwxrwxrwx 1 root root   37 Apr  7  2016 default.target -> /lib/systemd/system/multi-user.target
                          lrwxrwxrwx 1 root root   34 Mar 18  2016 dhcpcd5 -> /lib/systemd/system/dhcpcd.service
                          drwxr-xr-x 2 root root 4096 Apr  7  2016 dhcpcd.service.d
                          drwxr-xr-x 2 root root 4096 Apr  7  2016 getty.target.wants
                          drwxr-xr-x 2 root root 4096 Mar 18  2016 getty@tty1.service.d
                          drwxr-xr-x 2 root root 4096 Jun  5  2016 halt.target.wants
                          drwxr-xr-x 2 root root 4096 Apr  7  2016 multi-user.target.wants
                          drwxr-xr-x 2 root root 4096 Jun  5  2016 poweroff.target.wants
                          drwxr-xr-x 2 root root 4096 Mar 18  2016 rc-local.service.d
                          drwxr-xr-x 2 root root 4096 Jun  5  2016 reboot.target.wants
                          drwxr-xr-x 2 root root 4096 Mar 18  2016 sockets.target.wants
                          lrwxrwxrwx 1 root root   31 Mar 18  2016 sshd.service -> /lib/systemd/system/ssh.service
                          -rwxr-xr-x 1 root root  357 Apr  7  2016 susvd.service
                          drwxr-xr-x 2 root root 4096 Mar 18  2016 sysinit.target.wants
                          lrwxrwxrwx 1 root root   35 Mar 18  2016 syslog.service -> /lib/systemd/system/rsyslog.service
                          root@rpihm:/etc/systemd/system#
                          
                          

                          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                          1 Antwort Letzte Antwort
                          0
                          • C Offline
                            C Offline
                            chrram
                            schrieb am zuletzt editiert von
                            #45

                            @paul53:

                            @chrram:

                            /etc/systemd/system/iobroker.service `
                            Das Kommando existiert auf meinem RPi nicht.

                            root@rpihm:/etc/systemd/system# ls -l
                            total 52
                            -rw-r--r-- 1 root root 1551 Sep 18  2015 autologin@.service
                            drwxr-xr-x 2 root root 4096 Mar 18  2016 bluetooth.target.wants
                            lrwxrwxrwx 1 root root   37 Mar 18  2016 dbus-org.bluez.service -> /lib/systemd/system/bluetooth.service
                            lrwxrwxrwx 1 root root   40 Mar 18  2016 dbus-org.freedesktop.Avahi.service -> /lib/systemd/system/avahi-daemon.service
                            lrwxrwxrwx 1 root root   37 Apr  7  2016 default.target -> /lib/systemd/system/multi-user.target
                            lrwxrwxrwx 1 root root   34 Mar 18  2016 dhcpcd5 -> /lib/systemd/system/dhcpcd.service
                            drwxr-xr-x 2 root root 4096 Apr  7  2016 dhcpcd.service.d
                            drwxr-xr-x 2 root root 4096 Apr  7  2016 getty.target.wants
                            drwxr-xr-x 2 root root 4096 Mar 18  2016 getty@tty1.service.d
                            drwxr-xr-x 2 root root 4096 Jun  5  2016 halt.target.wants
                            drwxr-xr-x 2 root root 4096 Apr  7  2016 multi-user.target.wants
                            drwxr-xr-x 2 root root 4096 Jun  5  2016 poweroff.target.wants
                            drwxr-xr-x 2 root root 4096 Mar 18  2016 rc-local.service.d
                            drwxr-xr-x 2 root root 4096 Jun  5  2016 reboot.target.wants
                            drwxr-xr-x 2 root root 4096 Mar 18  2016 sockets.target.wants
                            lrwxrwxrwx 1 root root   31 Mar 18  2016 sshd.service -> /lib/systemd/system/ssh.service
                            -rwxr-xr-x 1 root root  357 Apr  7  2016 susvd.service
                            drwxr-xr-x 2 root root 4096 Mar 18  2016 sysinit.target.wants
                            lrwxrwxrwx 1 root root   35 Mar 18  2016 syslog.service -> /lib/systemd/system/rsyslog.service
                            root@rpihm:/etc/systemd/system#
                            
                            ```` `  
                            

                            so sieht meine Struktur aus hast du denn die iobroker.service? wo steht bei dir denn der autostart in der RC.local? oder kann das ein anderer bestätigen ob die bei ihm da liegt (im Moment Ubuntu Server 16.04.3 LTS x64)

                            :/etc/systemd/system# ls -l
                            insgesamt 44
                            lrwxrwxrwx 1 root root   40 Jan  1 14:03 dbus-org.freedesktop.Avahi.service -> /lib/systemd/system/avahi-daemon.service
                            drwxr-xr-x 2 root root 4096 Jan  1 13:09 default.target.wants
                            drwxr-xr-x 2 root root 4096 Jan  1 13:24 final.target.wants
                            drwxr-xr-x 2 root root 4096 Jan  1 13:09 getty.target.wants
                            drwxr-xr-x 2 root root 4096 Jan  1 13:21 graphical.target.wants
                            -rwxr-xr-x 1 root root  356 Jan  2 21:26 iobroker.service
                            lrwxrwxrwx 1 root root   38 Jan  1 13:22 iscsi.service -> /lib/systemd/system/open-iscsi.service
                            drwxr-xr-x 2 root root 4096 Jan  1 17:56 multi-user.target.wants
                            drwxr-xr-x 2 root root 4096 Jan  1 13:09 network-online.target.wants
                            drwxr-xr-x 2 root root 4096 Jan  1 13:24 paths.target.wants
                            drwxr-xr-x 2 root root 4096 Jan  1 14:03 sockets.target.wants
                            lrwxrwxrwx 1 root root   31 Jan  1 13:24 sshd.service -> /lib/systemd/system/ssh.service
                            drwxr-xr-x 2 root root 4096 Jan  1 13:23 sysinit.target.wants
                            lrwxrwxrwx 1 root root   35 Jan  1 13:09 syslog.service -> /lib/systemd/system/rsyslog.service
                            drwxr-xr-x 2 root root 4096 Jan  1 13:40 timers.target.wants
                            
                            
                            1 Antwort Letzte Antwort
                            0
                            • paul53P Offline
                              paul53P Offline
                              paul53
                              schrieb am zuletzt editiert von
                              #46

                              @chrram:

                              wo steht bei dir denn der autostart in der RC.local? `
                              Unter Raspbian wird mit der Datei etc/rc.local nur die RTC gestartet. __ioBroke__r wird mittels des Skripts

                              etc/init.d/iobroker.sh, auf das die Links in rc0.d … rc6.d verweisen, gestartet und gestoppt.

                              Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                              Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                              1 Antwort Letzte Antwort
                              0
                              • C Offline
                                C Offline
                                chrram
                                schrieb am zuletzt editiert von
                                #47

                                okay evt meldet sich ja noch jemand der mehr zu der Datei sagen kann. komisch ist das ich das Problem bei Debian und bei ubuntu habe beiedes frisch installiert und dann iobroker installiert und bei beiden kein Auto start . bei Facebook ist auch ein Problem der auch beides probiert hat und das gleiche Problem hat.

                                1 Antwort Letzte Antwort
                                0
                                • C Offline
                                  C Offline
                                  chrram
                                  schrieb am zuletzt editiert von
                                  #48

                                  so habe jetzt ein autostart aber würde sagen die dreckige variante evt kann mir jemand sagen ob das in Richtung Sicherheit des Server gefährlich werden kann.(root Login per ssh verboten und ssh port geändert und fail2 ban)

                                  also habe es so gelöst.

                                  in der sudo nano etc/rc.local habe ich

                                  sudo /etc/init.d/iobroker.sh start

                                  eingefügt

                                  in der

                                  sudo nano /etc/sudoers

                                  habe ich

                                  %users ALL = NOPASSWD: /etc/init.d/iobroker.sh

                                  eingefügt das sudo bei dem script kein passwort haben will so startet es bei mir.

                                  1 Antwort Letzte Antwort
                                  0
                                  • S Offline
                                    S Offline
                                    simpixo
                                    schrieb am zuletzt editiert von
                                    #49

                                    Was zeigt denn der Befehl an

                                    > systemctl status iobroker

                                    Ich bin gerade auch am neuinstallieren und mein iobroker startete auch nicht mehr automatisch (Ich nutze Ubuntu 16.04)

                                    Meine Fehlermeldung war die folgende

                                    ` > root@HQ-ioBroker-01:~# systemctl status iobroker

                                    ● iobroker.service - LSB: starts ioBroker

                                    Loaded: loaded (/etc/init.d/iobroker.sh; bad; vendor preset: enabled)

                                    Active: failed (Result: exit-code) since Mi 2018-01-03 09:40:20 CET; 7min ago

                                    Docs: man:systemd-sysv-generator(8)

                                    Jan 03 09:40:20 HQ-ioBroker-01 iobroker.sh[1220]: at Function.Module._resolveFilename (module.js:469:15)

                                    Jan 03 09:40:20 HQ-ioBroker-01 iobroker.sh[1220]: at Function.Module._load (module.js:417:25)

                                    Jan 03 09:40:20 HQ-ioBroker-01 iobroker.sh[1220]: at Module.runMain (module.js:604:10)

                                    Jan 03 09:40:20 HQ-ioBroker-01 iobroker.sh[1220]: at run (bootstrap_node.js:383:7)

                                    Jan 03 09:40:20 HQ-ioBroker-01 iobroker.sh[1220]: at startup (bootstrap_node.js:149:9)

                                    Jan 03 09:40:20 HQ-ioBroker-01 iobroker.sh[1220]: at bootstrap_node.js:496:3

                                    Jan 03 09:40:20 HQ-ioBroker-01 systemd[1]: iobroker.service: Control process exited, code=exited status=1

                                    Jan 03 09:40:20 HQ-ioBroker-01 systemd[1]: Failed to start LSB: starts ioBroker.

                                    Jan 03 09:40:20 HQ-ioBroker-01 systemd[1]: iobroker.service: Unit entered failed state.

                                    Jan 03 09:40:20 HQ-ioBroker-01 systemd[1]: iobroker.service: Failed with result 'exit-code'. `

                                    Hast du die gleiche Meldung? Wenn ja dann hätte ich vielleicht eine Lösung für dich? :-) Bei mir startet nach langer suche nach einer Lösung, der IOBROKER nun wieder automatisch

                                    Gruß

                                    Adrian

                                    1 Antwort Letzte Antwort
                                    0
                                    • C Offline
                                      C Offline
                                      chrram
                                      schrieb am zuletzt editiert von
                                      #50

                                      @simpixo:

                                      Was zeigt denn der Befehl an

                                      > systemctl status iobroker

                                      Ich bin gerade auch am neuinstallieren und mein iobroker startete auch nicht mehr automatisch (Ich nutze Ubuntu 16.04)

                                      Meine Fehlermeldung war die folgende

                                      ` > root@HQ-ioBroker-01:~# systemctl status iobroker

                                      ● iobroker.service - LSB: starts ioBroker

                                      Loaded: loaded (/etc/init.d/iobroker.sh; bad; vendor preset: enabled)

                                      Active: failed (Result: exit-code) since Mi 2018-01-03 09:40:20 CET; 7min ago

                                      Docs: man:systemd-sysv-generator(8)

                                      Jan 03 09:40:20 HQ-ioBroker-01 iobroker.sh[1220]: at Function.Module._resolveFilename (module.js:469:15)

                                      Jan 03 09:40:20 HQ-ioBroker-01 iobroker.sh[1220]: at Function.Module._load (module.js:417:25)

                                      Jan 03 09:40:20 HQ-ioBroker-01 iobroker.sh[1220]: at Module.runMain (module.js:604:10)

                                      Jan 03 09:40:20 HQ-ioBroker-01 iobroker.sh[1220]: at run (bootstrap_node.js:383:7)

                                      Jan 03 09:40:20 HQ-ioBroker-01 iobroker.sh[1220]: at startup (bootstrap_node.js:149:9)

                                      Jan 03 09:40:20 HQ-ioBroker-01 iobroker.sh[1220]: at bootstrap_node.js:496:3

                                      Jan 03 09:40:20 HQ-ioBroker-01 systemd[1]: iobroker.service: Control process exited, code=exited status=1

                                      Jan 03 09:40:20 HQ-ioBroker-01 systemd[1]: Failed to start LSB: starts ioBroker.

                                      Jan 03 09:40:20 HQ-ioBroker-01 systemd[1]: iobroker.service: Unit entered failed state.

                                      Jan 03 09:40:20 HQ-ioBroker-01 systemd[1]: iobroker.service: Failed with result 'exit-code'. `

                                      Hast du die gleiche Meldung? Wenn ja dann hätte ich vielleicht eine Lösung für dich? :-) Bei mir startet nach langer suche nach einer Lösung, der IOBROKER nun wieder automatisch

                                      Gruß

                                      Adrian `

                                      root@HomeServer:/etc# systemctl status iobroker
                                      ● iobroker.service - ioBroker server task
                                         Loaded: loaded (/etc/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                                         Active: failed (Result: exit-code) since Mi 2018-01-03 09:55:10 CET; 46min ago
                                        Process: 946 ExecStart=/etc/init.d/iobroker.sh (code=exited, status=1/FAILURE)
                                      
                                      Jan 03 09:55:08 HomeServer systemd[1]: Starting ioBroker server task...
                                      Jan 03 09:55:09 HomeServer iobroker.sh[946]: Usage: iobroker {start|stop|restart}
                                      Jan 03 09:55:10 HomeServer systemd[1]: iobroker.service: Control process exited, code=exited stat
                                      Jan 03 09:55:10 HomeServer systemd[1]: Failed to start ioBroker server task.
                                      Jan 03 09:55:10 HomeServer systemd[1]: iobroker.service: Unit entered failed state.
                                      Jan 03 09:55:10 HomeServer systemd[1]: iobroker.service: Failed with result 'exit-code'.
                                      ...skipping...
                                      ● iobroker.service - ioBroker server task
                                         Loaded: loaded (/etc/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                                         Active: failed (Result: exit-code) since Mi 2018-01-03 09:55:10 CET; 46min ago
                                        Process: 946 ExecStart=/etc/init.d/iobroker.sh (code=exited, status=1/FAILURE)
                                      
                                      Jan 03 09:55:08 HomeServer systemd[1]: Starting ioBroker server task...
                                      Jan 03 09:55:09 HomeServer iobroker.sh[946]: Usage: iobroker {start|stop|restart}
                                      Jan 03 09:55:10 HomeServer systemd[1]: iobroker.service: Control process exited, code=exited stat
                                      Jan 03 09:55:10 HomeServer systemd[1]: Failed to start ioBroker server task.
                                      Jan 03 09:55:10 HomeServer systemd[1]: iobroker.service: Unit entered failed state.
                                      Jan 03 09:55:10 HomeServer systemd[1]: iobroker.service: Failed with result 'exit-code'.
                                      
                                      

                                      etwas anderes er kann wohl die iobroker.sh nicht umsetzten oder so obwohl die ja startet wenn ich die manuel oder üner RC.local starte

                                      1 Antwort Letzte Antwort
                                      0
                                      • S Offline
                                        S Offline
                                        simpixo
                                        schrieb am zuletzt editiert von
                                        #51

                                        Ich glaube du hast noch eine falsche Zeitzone eingestellt

                                        kannst du bitte mal mit

                                        > dpkg-reconfigure tzdata

                                        die richtige Zeitzone für dich einstellen und zusätzlich auch noch die Uhrzeit?

                                        Gruß

                                        Adrian

                                        1 Antwort Letzte Antwort
                                        0
                                        • C Offline
                                          C Offline
                                          chrram
                                          schrieb am zuletzt editiert von
                                          #52

                                          @simpixo:

                                          Ich glaube du hast noch eine falsche Zeitzone eingestellt

                                          kannst du bitte mal mit

                                          > dpkg-reconfigure tzdata

                                          die richtige Zeitzone für dich einstellen und zusätzlich auch noch die Uhrzeit?

                                          Gruß

                                          Adrian `

                                          war richtig eingestellt````
                                          Jan 03 10:54:59 HomeServer systemd[1]: Starting ioBroker server task...
                                          -- Subject: Unit iobroker.service has begun start-up
                                          -- Defined-By: systemd
                                          -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

                                          -- Unit iobroker.service has begun starting up.
                                          Jan 03 10:54:59 HomeServer iobroker.sh[2358]: Usage: iobroker {start|stop|restart}
                                          Jan 03 10:54:59 HomeServer systemd[1]: iobroker.service: Control process exited, code=exited stat
                                          Jan 03 10:54:59 HomeServer systemd[1]: Failed to start ioBroker server task.
                                          -- Subject: Unit iobroker.service has failed
                                          -- Defined-By: systemd
                                          -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

                                          -- Unit iobroker.service has failed.

                                          lines 2046-2075/2078 100%

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          762

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe