Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

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

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.9k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    918

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.2k

Kein autostart debian stretch

Scheduled Pinned Locked Moved ioBroker Allgemein
83 Posts 19 Posters 22.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • paul53P Offline
    paul53P Offline
    paul53
    wrote on last edited by
    #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 Reply Last reply
    0
    • C Offline
      C Offline
      chrram
      wrote on last edited by
      #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 Reply Last reply
      0
      • paul53P Offline
        paul53P Offline
        paul53
        wrote on last edited by
        #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 Reply Last reply
        0
        • C Offline
          C Offline
          chrram
          wrote on last edited by
          #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 Reply Last reply
          0
          • paul53P Offline
            paul53P Offline
            paul53
            wrote on last edited by
            #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 Reply Last reply
            0
            • C Offline
              C Offline
              chrram
              wrote on last edited by
              #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 Reply Last reply
              0
              • paul53P Offline
                paul53P Offline
                paul53
                wrote on last edited by
                #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 Reply Last reply
                0
                • C Offline
                  C Offline
                  chrram
                  wrote on last edited by
                  #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 Reply Last reply
                  0
                  • paul53P Offline
                    paul53P Offline
                    paul53
                    wrote on last edited by
                    #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 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      chrram
                      wrote on last edited by
                      #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 Reply Last reply
                      0
                      • paul53P Offline
                        paul53P Offline
                        paul53
                        wrote on last edited by
                        #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 Reply Last reply
                        0
                        • C Offline
                          C Offline
                          chrram
                          wrote on last edited by
                          #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 Reply Last reply
                          0
                          • C Offline
                            C Offline
                            chrram
                            wrote on last edited by
                            #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 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              simpixo
                              wrote on last edited by
                              #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 Reply Last reply
                              0
                              • C Offline
                                C Offline
                                chrram
                                wrote on last edited by
                                #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 Reply Last reply
                                0
                                • S Offline
                                  S Offline
                                  simpixo
                                  wrote on last edited by
                                  #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 Reply Last reply
                                  0
                                  • C Offline
                                    C Offline
                                    chrram
                                    wrote on last edited by
                                    #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 Reply Last reply
                                    0
                                    • S Offline
                                      S Offline
                                      simpixo
                                      wrote on last edited by
                                      #53

                                      hmmm…das Verhalten ist wie bei mir, manuell konnte ich starten aber automatisch beim Booten nicht.

                                      Kannst du vielleicht noch die Ausgabe des Befehls zeigen

                                      > sudo systemctl –full status iobroker

                                      Gruß

                                      1 Reply Last reply
                                      0
                                      • C Offline
                                        C Offline
                                        chrram
                                        wrote on last edited by
                                        #54

                                        @simpixo:

                                        hmmm…das Verhalten ist wie bei mir, manuell konnte ich starten aber automatisch beim Booten nicht.

                                        Kannst du vielleicht noch die Ausgabe des Befehls zeigen

                                        > sudo systemctl –full status iobroker

                                        Gruß `

                                         sudo systemctl --full 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 10:54:59 CET; 19min ago
                                          Process: 2358 ExecStart=/etc/init.d/iobroker.sh (code=exited, status=1/FAILURE)
                                        
                                        Jan 03 10:54:59 HomeServer systemd[1]: Starting ioBroker server task...
                                        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.
                                        Jan 03 10:54:59 HomeServer systemd[1]: iobroker.service: Unit entered failed state.
                                        Jan 03 10:54:59 HomeServer systemd[1]: iobroker.service: Failed with result 'exit-code'.
                                        lines 1-11/11 (END)
                                        
                                        

                                        wie etwas weiter oben habe ich ja jetzt Auto start aber alt nicht der richtige weg

                                        1 Reply Last reply
                                        0
                                        • W Offline
                                          W Offline
                                          Wolfspirit
                                          wrote on last edited by
                                          #55

                                          Selbes Problem.

                                          Es scheint das NPM Packet was vor einer Woche ins registry geschoben wurde hat Windows-Lineendings in den Linux Bashscripts. (Vielleicht ein Git-Client der automatisch die Lineendings an Windows anpasst bevor das ganze nach NPM geschoben wurde?)

                                          root@server:/opt/iobroker/node_modules/iobroker/install/linux# file install.sh
                                          install.sh: Bourne-Again shell script, ASCII text executable, with CRLF line terminators
                                          

                                          Nach einer installation des alten Packets mit:

                                          npm install iobroker@1.0.2 --unsafe-perm
                                          

                                          War es dann:

                                          root@server:/opt/iobroker/node_modules/iobroker/install/linux# file install.sh
                                          install.sh: Bourne-Again shell script, ASCII text executable
                                          
                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          741

                                          Online

                                          32.6k

                                          Users

                                          82.2k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe