Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Kein autostart debian stretch

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Kein autostart debian stretch

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

      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 Reply Quote 0
      • paul53
        paul53 last edited by

        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
        
        
        1 Reply Last reply Reply Quote 0
        • C
          chrram last edited by

          @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 Reply Quote 0
          • paul53
            paul53 last edited by

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

            1 Reply Last reply Reply Quote 0
            • C
              chrram last edited by

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

              1 Reply Last reply Reply Quote 0
              • paul53
                paul53 last edited by

                @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
                
                1 Reply Last reply Reply Quote 0
                • C
                  chrram last edited by

                  @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 Reply Quote 0
                  • paul53
                    paul53 last edited by

                    @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#
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • C
                      chrram last edited by

                      @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 Reply Quote 0
                      • paul53
                        paul53 last edited by

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

                        1 Reply Last reply Reply Quote 0
                        • C
                          chrram last edited by

                          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 Reply Quote 0
                          • C
                            chrram last edited by

                            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 Reply Quote 0
                            • S
                              simpixo last edited by

                              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 Reply Quote 0
                              • C
                                chrram last edited by

                                @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 Reply Quote 0
                                • S
                                  simpixo last edited by

                                  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 Reply Quote 0
                                  • C
                                    chrram last edited by

                                    @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 Reply Quote 0
                                    • S
                                      simpixo last edited by

                                      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 Reply Quote 0
                                      • C
                                        chrram last edited by

                                        @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 Reply Quote 0
                                        • W
                                          Wolfspirit last edited by

                                          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 Reply Quote 0
                                          • P
                                            ple last edited by

                                            Ehm, ich schließe mich mal euch an.

                                            Habe mir gedacht, ich teste mal einen Odroid XU4 mit Ubuntu Mate 16.04.03-4.14.

                                            Leider kein Autostart, aber die Kiste hat schon ein wenig mehr Bums als der OPI. Wenn jetzt noch der Autostart gehen würde wäre es perfekt.

                                            Anscheinend habe ich keine Berechtigung, obwohl ich per root installiert habe.

                                            root@odroid:/etc/init.d# ./iobroker.sh start
                                            -bash: ./iobroker.sh: Permission denied
                                            root@odroid:/etc/init.d# 
                                            
                                            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

                                            825
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            19
                                            83
                                            17980
                                            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