Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Autostart funktioniert nicht

    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

    Autostart funktioniert nicht

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

      Hallo zusammen,

      ich bin die letzten Tage von einem Raspberry auf eine VM mit Ubunto 16.04 umgestiegen. Die Installation lief sauber durch und hatte auch beim Backup einspielen nur kleinere Probleme mit yahka die aber jetzt gelöst sind und auch dieser sauber startet, wenn Iobroker gestartet ist.

      Ich hab schon ein bisschen was ausprobiert und zwar sagt mir

      systemctl status -l iobroker.service

      ! iobroker@iobroker-qnap:~$ systemctl status -l iobroker.service
      ! ● iobroker.service - LSB: starts ioBroker
      ! Loaded: loaded (/etc/init.d/iobroker.sh; bad; vendor preset: enabled)
      ! Active: active (exited) since Sa 2018-01-27 13:11:35 CET; 53min left
      ! Docs: man:systemd-sysv-generator(8)
      ! Process: 990 ExecStart=/etc/init.d/iobroker.sh start (code=exited, status=0/SU
      ! Jan 27 13:11:30 iobroker-qnap systemd[1]: Starting LSB: starts ioBroker…
      ! Jan 27 13:11:30 iobroker-qnap sudo[991]: root : TTY=unknown ; PWD=/ ; USER=i
      ! Jan 27 13:11:30 iobroker-qnap sudo[991]: pam_unix(sudo:session): session opened
      ! Jan 27 13:11:35 iobroker-qnap iobroker.sh[990]: Starting ioBrokerStarting iobrok
      ! Jan 27 13:11:35 iobroker-qnap iobroker.sh[990]: iobroker controller daemon faile
      ! Jan 27 13:11:35 iobroker-qnap iobroker.sh[990]: Error: Failed to write pidfile (
      ! Jan 27 13:11:35 iobroker-qnap sudo[991]: pam_unix(sudo:session): session closed
      ! Jan 27 13:11:35 iobroker-qnap systemd[1]: Started LSB: starts ioBroker.

      Dann dachte ich in der suderos steht vielleicht was mit requiretty das war auch ein Tipp aber da hab ich auch nix gefunden. auch in der iobroker.sh hat eine Pfadänderung mit /local/ nichts gebracht.

      Auch ein chmod 777 auf iobroker hat auch nichts gebracht.

      Jetzt bin ich leider ratlos.

      Vielleicht könnt ihr mir noch helfen…

      Gruß

      1 Reply Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active last edited by

        startet iobroker wen ndu nur

        /etc/init.d/iobroker.sh
        

        ausführst ??

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

          Nein leider nicht iobroker controller daemon failed to start: Failed to write pidfile (EACCES)

          Error: Failed to write pidfile (EACCES)

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

            Nachdem dies ein Rechte problem war habe ich jetzt nochmal sudo chmod -R 777 /opt/iobroker gemacht. jetzt startet der Iobroker sauber durch. Aber irgendwo habe ich immer noch ein Rechte Problem weil nun mein Amazon Dash Adapter nicht mehr funktioniert…

            ! amazon-dash.0 2018-01-27 13:02:25.295 info cleaned everything up…
            ! amazon-dash.0 2018-01-27 13:02:25.294 error at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:312:9)
            ! amazon-dash.0 2018-01-27 13:02:25.294 error at Socket. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:710:25)
            ! amazon-dash.0 2018-01-27 13:02:25.294 error at initAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4659:18)
            ! amazon-dash.0 2018-01-27 13:02:25.294 error at Adapter.emit (events.js:166:7)
            ! amazon-dash.0 2018-01-27 13:02:25.294 error at emitNone (events.js:67:13)
            ! amazon-dash.0 2018-01-27 13:02:25.294 error at Adapter. (/opt/iobroker/node_modules/iobroker.amazon-dash/main.js:39:5)
            ! amazon-dash.0 2018-01-27 13:02:25.294 error at main (/opt/iobroker/node_modules/iobroker.amazon-dash/main.js:75:29)
            ! amazon-dash.0 2018-01-27 13:02:25.294 error at Object.exports.createSession (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:123:12)
            ! amazon-dash.0 2018-01-27 13:02:25.294 error at new PcapSession (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:49:39)
            ! amazon-dash.0 2018-01-27 13:02:25.294 error at Error (native)
            ! amazon-dash.0 2018-01-27 13:02:25.294 error Error: socket: Operation not permitted
            ! amazon-dash.0 2018-01-27 13:02:25.287 error uncaught exception: socket: Operation not permitted

            Mh aber das ist jetzt das kleine Übel 🙂

            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

            531
            Online

            31.9k
            Users

            80.2k
            Topics

            1.3m
            Posts

            2
            4
            840
            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