Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Proxmox
    5. Proxmox VM mit IOBroker OWServer

    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

    Proxmox VM mit IOBroker OWServer

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Laser last edited by

      @laser

      Da fehlt rechts Output.
      Und was steht im journal?

      L 1 Reply Last reply Reply Quote 0
      • L
        Laser @Thomas Braun last edited by

        @thomas-braun
        Output fehlt? kann man nicht nach rechts scrollen?

        
        Dez 17 14:48:28 debian11 systemd[1]: Stopped Backend server for 1-wire control.
        ░░ Subject: A stop job for unit owserver.service has finished
        ░░ Defined-By: systemd
        ░░ Support: https://www.debian.org/support
        ░░
        ░░ A stop job for unit owserver.service has finished.
        ░░
        ░░ The job identifier is 1064 and the job result is done.
        Dez 17 14:48:28 debian11 systemd[1]: owserver.service: Start request repeated t>
        Dez 17 14:48:28 debian11 systemd[1]: owserver.service: Failed with result 'prot>
        ░░ Subject: Unit failed
        ░░ Defined-By: systemd
        ░░ Support: https://www.debian.org/support
        ░░
        ░░ The unit owserver.service has entered the 'failed' state with result 'protoc>
        Dez 17 14:48:28 debian11 systemd[1]: Failed to start Backend server for 1-wire >
        ░░ Subject: A start job for unit owserver.service has failed
        ░░ Defined-By: systemd
        ░░ Support: https://www.debian.org/support
        ░░
        ░░ A start job for unit owserver.service has finished with a failure.
        ░░
        ░░ The job identifier is 1064 and the job result is failed.
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Laser last edited by

          @laser

          Siehst du nicht das es da am Ende Text fehlt?
          Da kann ich scrollen wie ich will, du musst dein Terminal breiter ziehen.

          L 1 Reply Last reply Reply Quote 0
          • L
            Laser @Thomas Braun last edited by

            @thomas-braun
            OK, Terminal so breit gezogen, dass Alles reinpasst

            
            otto@debian11:~$ systemctl status owserver.service
            ● owserver.service - Backend server for 1-wire control
                 Loaded: loaded (/lib/systemd/system/owserver.service; enabled; vendor preset: enabled)
                 Active: failed (Result: protocol) since Sat 2022-12-17 14:48:28 CET; 8min ago
            TriggeredBy: ● owserver.socket
                   Docs: man:owserver(1)
                Process: 642 ExecStart=/usr/bin/owserver --foreground -c /etc/owfs.conf (code=exited, status=0/SUCCESS)
               Main PID: 642 (code=exited, status=0/SUCCESS)
                    CPU: 19ms
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Laser last edited by

              @laser sagte in Proxmox VM mit IOBroker OWServer:

              owserver.service

              Hab das gerade mal bei mir installiert. Läuft auf Anhieb.

              sudo apt update
              apt policy owserver
              

              sagt?

              L 1 Reply Last reply Reply Quote 0
              • L
                Laser @Thomas Braun last edited by

                @thomas-braun

                otto@debian11:~$ sudo apt update
                OK:1 http://deb.debian.org/debian bullseye InRelease
                OK:2 http://security.debian.org/debian-security bullseye-security InRelease
                OK:3 http://deb.debian.org/debian bullseye-updates InRelease
                OK:4 https://deb.nodesource.com/node_16.x bullseye InRelease
                Paketlisten werden gelesen… Fertig
                Abhängigkeitsbaum wird aufgebaut… Fertig
                Statusinformationen werden eingelesen… Fertig
                Alle Pakete sind aktuell.
                otto@debian11:~$ apt policy owserver
                owserver:
                  Installiert:           3.2p4+dfsg1-4+b1
                  Installationskandidat: 3.2p4+dfsg1-4+b1
                  Versionstabelle:
                 *** 3.2p4+dfsg1-4+b1 500
                        500 http://deb.debian.org/debian bullseye/main amd64 Packages
                        100 /var/lib/dpkg/status
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Laser last edited by

                  @laser

                  ls -la /etc/systemd/system/multi-user.target.wants/owserver.service
                  ls -la /etc/systemd/system/sockets.target.wants/owserver.socket
                  
                  L 1 Reply Last reply Reply Quote 0
                  • L
                    Laser @Thomas Braun last edited by Laser

                    @thomas-braun

                    
                    otto@debian11:~$ ls -la /etc/systemd/system/multi-user.target.wants/owserver.service
                    lrwxrwxrwx 1 root root 36 17. Dez 12:30 /etc/systemd/system/multi-user.target.wants/owserver.service -> /lib/systemd/                                           system/owserver.service
                    otto@debian11:~$ ls -la /etc/systemd/system/sockets.target.wants/owserver.socket
                    lrwxrwxrwx 1 root root 35 17. Dez 12:30 /etc/systemd/system/sockets.target.wants/owserver.socket -> /lib/systemd/syst                                           em/owserver.socket
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Laser last edited by Thomas Braun

                      @laser

                      ls -la /usr/bin/owserver
                      
                      L 1 Reply Last reply Reply Quote 0
                      • L
                        Laser @Thomas Braun last edited by

                        @thomas-braun

                        otto@debian11:~$ ls -la /usr/bin/owserver
                        -rwxr-xr-x 1 root root 43288  8. Nov 2020  /usr/bin/owserver
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Laser last edited by Thomas Braun

                          @laser

                          Und was steht in der
                          /etc/owfs.conf
                          drin? Da wird ja die Hardware konfiguriert. Hast du da was geändert?

                          L 1 Reply Last reply Reply Quote 0
                          • L
                            Laser @Thomas Braun last edited by Laser

                            @thomas-braun
                            muß erst mal sehen, wie ich das Alles hier rein bekomme...

                            otto@debian11:/etc$ nano owfs.conf
                              GNU nano 5.4                                         owfs.conf
                            #
                            ######################### OWFS ##########################
                            #
                            #mountpoint = /mnt/1wire
                            #allow_other
                            #
                            ####################### OWHTTPD #########################
                            
                            http: port = 2121
                            
                            ####################### OWFTPD ##########################
                            
                            ftp: port = 2120
                            
                            ####################### OWSERVER ########################
                            
                            server: port = 192.168.2.103:4304
                            #server: port = 192.0.0.1:4304
                            
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Laser last edited by

                              @laser

                              Meine default-Datei schaut ganz anders aus:

                              ######################## SOURCES ########################
                              #
                              # With this setup, any client (but owserver) uses owserver on the
                              # local machine...
                              ! server: server = localhost:4304
                              #
                              # ...and owserver uses the real hardware, by default fake devices
                              # This part must be changed on real installation
                              server: FAKE = DS18S20,DS2405
                              #
                              # USB device: DS9490
                              #server: usb = all
                              #
                              # Serial port: DS9097
                              #server: device = /dev/ttyS1
                              #
                              # owserver tcp address
                              #server: server = 192.168.10.1:3131
                              #
                              # random simulated device
                              #server: FAKE = DS18S20,DS2405
                              #
                              ######################### OWFS ##########################
                              #
                              #mountpoint = /mnt/1wire
                              #allow_other
                              #
                              ####################### OWHTTPD #########################
                              
                              http: port = 2121
                              
                              ####################### OWFTPD ##########################
                              
                              ftp: port = 2120
                              
                              ####################### OWSERVER ########################
                              
                              server: port = localhost:4304
                              
                              
                              L 1 Reply Last reply Reply Quote 0
                              • L
                                Laser @Thomas Braun last edited by Laser

                                @thomas-braun
                                OK, oben der Teil ist bei mir abgeschnitten. Mit server: port = "localhost"
                                habe ich probiert. Ging nie. Mit realer Ip- Adresse: funktionierte. Beim RAspberry Pi.
                                Jetzt so probiert, wie es angezeigt wird. funktioniert auch nicht.

                                otto@debian11:/etc$ cat owfs.conf
                                # Sample configuration file for the OWFS suite for Debian GNU/Linux.
                                #
                                #
                                # This is the main OWFS configuration file. You should read the
                                # owfs.conf(5) manual page in order to understand the options listed
                                # here.
                                
                                ######################## SOURCES ########################
                                #
                                # With this setup, any client (but owserver) uses owserver on the
                                # local machine...
                                ! server: server = localhost:4304
                                #
                                # ...and owserver uses the real hardware, by default fake devices
                                # This part must be changed on real installation
                                #server: FAKE = DS18S20,DS2405
                                #
                                # USB device: DS9490
                                server: usb = all
                                #
                                # Serial port: DS9097
                                #server: device = /dev/ttyS1
                                #
                                # owserver tcp address
                                #server: server = 192.168.10.1:3131
                                #
                                # random simulated device
                                #server: FAKE = DS18S20,DS2405
                                #
                                ######################### OWFS ##########################
                                #
                                #mountpoint = /mnt/1wire
                                #allow_other
                                #
                                ####################### OWHTTPD #########################
                                
                                http: port = 2121
                                
                                ####################### OWFTPD ##########################
                                
                                ftp: port = 2120
                                
                                ####################### OWSERVER ########################
                                
                                server: port = 192.168.2.103:4304
                                #server: port = 192.0.0.1:4304
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Laser last edited by

                                  @laser

                                  Dann musst du dir wohl die Anleitung dazu durchlesen und für deine Situation passend umsetzen:

                                  You should read the owfs.conf(5) manual page in order to understand the options listed here.

                                  man owfs.conf
                                  
                                  L 1 Reply Last reply Reply Quote 0
                                  • L
                                    Laser @Thomas Braun last edited by

                                    @thomas-braun
                                    OK. Mache ich. Der Fehler liegt zu 99 % in der owfs.conf? OWFS muß ja auch ohne IOBroker erst mal funktionieren.

                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Laser last edited by

                                      @laser

                                      Ich würde sagen, da steht was falsches drin.

                                      L 1 Reply Last reply Reply Quote 0
                                      • L
                                        Laser @Thomas Braun last edited by Laser

                                        @thomas-braun
                                        habe die funktionierende OWFS.conf vom Raspi und die nicht funktionierende der VM mit CAT dargestellt und im Editor eingefügt. Nebeneinander gestellt.
                                        Ausser, dass ich natürlich die Adresse des Rechners anpassen muß, finde ich, ist Alles gleich. Für mich. Nun ist das schon lange her, daß ich den Pi konfiguriert habe. Ganz weit entfernt: Zu Schluß mußte ich das Ganze als root ausführen und ganz unten die echte Adresse des Rechners angeben.
                                        Aber Ehrlich- warum es zum Schluss funktionierte, weiß ich nicht sicher!

                                        L 1 Reply Last reply Reply Quote 0
                                        • L
                                          Laser @Laser last edited by

                                          @Ich werde nochmal bei Null anfangen. Mit Debian neu als VM installieren.

                                          L 1 Reply Last reply Reply Quote 0
                                          • L
                                            Laser @Laser last edited by Laser

                                            @Habe Proxmox neu installiert. Danach ging es.
                                            EDIT: falsches Forum (Proxmox ließ keine neue Debian- VM installieren)
                                            -komplett neu gemacht, Proxmox, Debian, mal sehen wie es weiter geht.

                                            L 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            764
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            150
                                            7630
                                            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