Skip to content
  • 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
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. [gelöst] Ping-Adapter pingt nicht mehr

NEWS

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

[gelöst] Ping-Adapter pingt nicht mehr

Scheduled Pinned Locked Moved Solved Error/Bug
ping-adapter
27 Posts 4 Posters 4.1k Views 3 Watching
  • 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.
  • Meister MopperM Away
    Meister MopperM Away
    Meister Mopper
    wrote on last edited by Meister Mopper
    #1

    Hallo, nach Umzug des ioBroker unter Proxmox von einer VM auf einen LXC (gleiche IP wie VM) pingt der Adapter nur noch false. Von der Konsole des ioBroker kann ich alle Geräte positiv anpingen. Allerdings nur als root, ein Normaluser kann nicht pingen.

    Es kommt dann:

    $ ping 192.168.178.58
    ping: socket: Operation not permitted
    

    Habe den fixer drüberlaufen lassen aber ohne Erfolg. Eine Neuinstallation des Adapters hat nichts anderes erbracht. Jemand eine Idee?

    Proxmox und HA

    Thomas BraunT 1 Reply Last reply
    0
    • Meister MopperM Meister Mopper

      Hallo, nach Umzug des ioBroker unter Proxmox von einer VM auf einen LXC (gleiche IP wie VM) pingt der Adapter nur noch false. Von der Konsole des ioBroker kann ich alle Geräte positiv anpingen. Allerdings nur als root, ein Normaluser kann nicht pingen.

      Es kommt dann:

      $ ping 192.168.178.58
      ping: socket: Operation not permitted
      

      Habe den fixer drüberlaufen lassen aber ohne Erfolg. Eine Neuinstallation des Adapters hat nichts anderes erbracht. Jemand eine Idee?

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      wrote on last edited by Thomas Braun
      #2

      @Meister-Mopper

      ls -la /bin/ping
      groups
      

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      Meister MopperM 1 Reply Last reply
      0
      • Thomas BraunT Thomas Braun

        @Meister-Mopper

        ls -la /bin/ping
        groups
        
        Meister MopperM Away
        Meister MopperM Away
        Meister Mopper
        wrote on last edited by
        #3

        @Thomas-Braun sagte in Ping-Adapter pingt nicht mehr:

        groups

        Es kommt:

        root@iobroker:/opt/iobroker# ls -la /bin/ping
        -rwxr-xr-x 1 root root 65272 Aug  3  2018 /bin/ping
        
        

        Proxmox und HA

        Thomas BraunT 1 Reply Last reply
        0
        • Meister MopperM Meister Mopper

          @Thomas-Braun sagte in Ping-Adapter pingt nicht mehr:

          groups

          Es kommt:

          root@iobroker:/opt/iobroker# ls -la /bin/ping
          -rwxr-xr-x 1 root root 65272 Aug  3  2018 /bin/ping
          
          
          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          wrote on last edited by
          #4

          @Meister-Mopper Die Rechte für die user stimmen auf der Datei.

          groups
          

          als user sagt?

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          Meister MopperM 1 Reply Last reply
          0
          • Thomas BraunT Thomas Braun

            @Meister-Mopper Die Rechte für die user stimmen auf der Datei.

            groups
            

            als user sagt?

            Meister MopperM Away
            Meister MopperM Away
            Meister Mopper
            wrote on last edited by
            #5

            @Thomas-Braun

            $ groups
            thomas
            

            Proxmox und HA

            Thomas BraunT 1 Reply Last reply
            0
            • Meister MopperM Meister Mopper

              @Thomas-Braun

              $ groups
              thomas
              
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              wrote on last edited by
              #6

              @Meister-Mopper Dein user 'thomas' fehlt in diversen Gruppen.
              Ich weiß nicht genau was da für eine Distribution läuft.
              Lass mal

              lsb_release -a
              

              sehen.

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              Meister MopperM 1 Reply Last reply
              0
              • Thomas BraunT Thomas Braun

                @Meister-Mopper Dein user 'thomas' fehlt in diversen Gruppen.
                Ich weiß nicht genau was da für eine Distribution läuft.
                Lass mal

                lsb_release -a
                

                sehen.

                Meister MopperM Away
                Meister MopperM Away
                Meister Mopper
                wrote on last edited by
                #7

                @Thomas-Braun sagte in Ping-Adapter pingt nicht mehr:

                lsb_release -a

                $ lsb_release -a
                No LSB modules are available.
                Distributor ID: Debian
                Description:    Debian GNU/Linux 10 (buster)
                Release:        10
                Codename:       buster
                

                Proxmox und HA

                Thomas BraunT 1 Reply Last reply
                0
                • Meister MopperM Meister Mopper

                  @Thomas-Braun sagte in Ping-Adapter pingt nicht mehr:

                  lsb_release -a

                  $ lsb_release -a
                  No LSB modules are available.
                  Distributor ID: Debian
                  Description:    Debian GNU/Linux 10 (buster)
                  Release:        10
                  Codename:       buster
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  wrote on last edited by Thomas Braun
                  #8

                  @Meister-Mopper Zunächst lässt du den Blödsinn mit dem root.
                  Einmal noch als root:

                  adduser thomas sudo
                  

                  und dann loggst du dich nie mehr als root ein.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  Meister MopperM 1 Reply Last reply
                  0
                  • Thomas BraunT Thomas Braun

                    @Meister-Mopper Zunächst lässt du den Blödsinn mit dem root.
                    Einmal noch als root:

                    adduser thomas sudo
                    

                    und dann loggst du dich nie mehr als root ein.

                    Meister MopperM Away
                    Meister MopperM Away
                    Meister Mopper
                    wrote on last edited by
                    #9

                    @Thomas-Braun macht er nicht:

                    $ adduser thomas sudo
                    -sh: 4: adduser: not found
                    
                    

                    Proxmox und HA

                    Meister MopperM 1 Reply Last reply
                    0
                    • Meister MopperM Meister Mopper

                      @Thomas-Braun macht er nicht:

                      $ adduser thomas sudo
                      -sh: 4: adduser: not found
                      
                      
                      Meister MopperM Away
                      Meister MopperM Away
                      Meister Mopper
                      wrote on last edited by
                      #10

                      @Meister-Mopper Sorry, mein Fehler

                      root@iobroker:~# adduser thomas sudo
                      Adding user `thomas' to group `sudo' ...
                      Adding user thomas to group sudo
                      Done.
                      

                      Proxmox und HA

                      Thomas BraunT 1 Reply Last reply
                      0
                      • Meister MopperM Meister Mopper

                        @Meister-Mopper Sorry, mein Fehler

                        root@iobroker:~# adduser thomas sudo
                        Adding user `thomas' to group `sudo' ...
                        Adding user thomas to group sudo
                        Done.
                        
                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        wrote on last edited by Thomas Braun
                        #11

                        @Meister-Mopper
                        Ich bin nicht ganz sicher ob das funktioniert, aber versuch mal dem User die default Gruppen noch mitzugeben:

                        sudo useradd -D thomas
                        

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        Meister MopperM 1 Reply Last reply
                        0
                        • Thomas BraunT Thomas Braun

                          @Meister-Mopper
                          Ich bin nicht ganz sicher ob das funktioniert, aber versuch mal dem User die default Gruppen noch mitzugeben:

                          sudo useradd -D thomas
                          
                          Meister MopperM Away
                          Meister MopperM Away
                          Meister Mopper
                          wrote on last edited by
                          #12

                          @Thomas-Braun Da kommen nur die ganzen Schaltererläuterungen:

                          $ sudo useradd -D thomas
                          Usage: useradd [options] LOGIN
                                useradd -D
                                useradd -D [options]
                          
                          Options:
                           -b, --base-dir BASE_DIR       base directory for the home directory of the
                                                         new account
                           -c, --comment COMMENT         GECOS field of the new account
                           -d, --home-dir HOME_DIR       home directory of the new account
                           -D, --defaults                print or change default useradd configuration
                           -e, --expiredate EXPIRE_DATE  expiration date of the new account
                           -f, --inactive INACTIVE       password inactivity period of the new account
                           -g, --gid GROUP               name or ID of the primary group of the new
                                                         account
                           -G, --groups GROUPS           list of supplementary groups of the new
                                                         account
                           -h, --help                    display this help message and exit
                           -k, --skel SKEL_DIR           use this alternative skeleton directory
                           -K, --key KEY=VALUE           override /etc/login.defs defaults
                           -l, --no-log-init             do not add the user to the lastlog and
                                                         faillog databases
                           -m, --create-home             create the user's home directory
                           -M, --no-create-home          do not create the user's home directory
                           -N, --no-user-group           do not create a group with the same name as
                                                         the user
                           -o, --non-unique              allow to create users with duplicate
                                                         (non-unique) UID
                           -p, --password PASSWORD       encrypted password of the new account
                           -r, --system                  create a system account
                           -R, --root CHROOT_DIR         directory to chroot into
                           -s, --shell SHELL             login shell of the new account
                           -u, --uid UID                 user ID of the new account
                           -U, --user-group              create a group with the same name as the user
                           -Z, --selinux-user SEUSER     use a specific SEUSER for the SELinux user mapping
                          

                          Proxmox und HA

                          Thomas BraunT 1 Reply Last reply
                          0
                          • Meister MopperM Meister Mopper

                            @Thomas-Braun Da kommen nur die ganzen Schaltererläuterungen:

                            $ sudo useradd -D thomas
                            Usage: useradd [options] LOGIN
                                  useradd -D
                                  useradd -D [options]
                            
                            Options:
                             -b, --base-dir BASE_DIR       base directory for the home directory of the
                                                           new account
                             -c, --comment COMMENT         GECOS field of the new account
                             -d, --home-dir HOME_DIR       home directory of the new account
                             -D, --defaults                print or change default useradd configuration
                             -e, --expiredate EXPIRE_DATE  expiration date of the new account
                             -f, --inactive INACTIVE       password inactivity period of the new account
                             -g, --gid GROUP               name or ID of the primary group of the new
                                                           account
                             -G, --groups GROUPS           list of supplementary groups of the new
                                                           account
                             -h, --help                    display this help message and exit
                             -k, --skel SKEL_DIR           use this alternative skeleton directory
                             -K, --key KEY=VALUE           override /etc/login.defs defaults
                             -l, --no-log-init             do not add the user to the lastlog and
                                                           faillog databases
                             -m, --create-home             create the user's home directory
                             -M, --no-create-home          do not create the user's home directory
                             -N, --no-user-group           do not create a group with the same name as
                                                           the user
                             -o, --non-unique              allow to create users with duplicate
                                                           (non-unique) UID
                             -p, --password PASSWORD       encrypted password of the new account
                             -r, --system                  create a system account
                             -R, --root CHROOT_DIR         directory to chroot into
                             -s, --shell SHELL             login shell of the new account
                             -u, --uid UID                 user ID of the new account
                             -U, --user-group              create a group with the same name as the user
                             -Z, --selinux-user SEUSER     use a specific SEUSER for the SELinux user mapping
                            

                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            wrote on last edited by
                            #13

                            @Meister-Mopper

                            sudo adduser thomas
                            

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            Meister MopperM 1 Reply Last reply
                            0
                            • Thomas BraunT Thomas Braun

                              @Meister-Mopper

                              sudo adduser thomas
                              
                              Meister MopperM Away
                              Meister MopperM Away
                              Meister Mopper
                              wrote on last edited by
                              #14

                              @Thomas-Braun sagte in Ping-Adapter pingt nicht mehr:

                              sudo adduser thomas

                              $ sudo adduser thomas
                              adduser: The user `thomas' already exists.
                              

                              Das hat er aber weiter oben schon ausgeworfen. Mit sudo kann ich jetzt pingen, aber offenbar der iobroker nicht.

                              Proxmox und HA

                              Thomas BraunT 1 Reply Last reply
                              0
                              • Meister MopperM Meister Mopper

                                @Thomas-Braun sagte in Ping-Adapter pingt nicht mehr:

                                sudo adduser thomas

                                $ sudo adduser thomas
                                adduser: The user `thomas' already exists.
                                

                                Das hat er aber weiter oben schon ausgeworfen. Mit sudo kann ich jetzt pingen, aber offenbar der iobroker nicht.

                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                wrote on last edited by
                                #15

                                @Meister-Mopper
                                Die 'iobroker' ist vermutlich genauso gruppenlos wie 'thomas'.

                                sudo -u iobroker groups
                                

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                Meister MopperM 1 Reply Last reply
                                0
                                • Thomas BraunT Thomas Braun

                                  @Meister-Mopper
                                  Die 'iobroker' ist vermutlich genauso gruppenlos wie 'thomas'.

                                  sudo -u iobroker groups
                                  
                                  Meister MopperM Away
                                  Meister MopperM Away
                                  Meister Mopper
                                  wrote on last edited by
                                  #16

                                  @Thomas-Braun sagte in Ping-Adapter pingt nicht mehr:

                                  sudo -u iobroker groups

                                  $ sudo -u iobroker groups
                                  iobroker tty dialout audio video
                                  

                                  Proxmox und HA

                                  Thomas BraunT 1 Reply Last reply
                                  0
                                  • Meister MopperM Meister Mopper

                                    @Thomas-Braun sagte in Ping-Adapter pingt nicht mehr:

                                    sudo -u iobroker groups

                                    $ sudo -u iobroker groups
                                    iobroker tty dialout audio video
                                    
                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    wrote on last edited by
                                    #17

                                    @Meister-Mopper
                                    Hmmm. Eigentlich sollte 'dialout' richtig sein.
                                    Keine Ahnung dann...

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    Meister MopperM 1 Reply Last reply
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @Meister-Mopper
                                      Hmmm. Eigentlich sollte 'dialout' richtig sein.
                                      Keine Ahnung dann...

                                      Meister MopperM Away
                                      Meister MopperM Away
                                      Meister Mopper
                                      wrote on last edited by
                                      #18

                                      @Thomas-Braun habe das bei vmware gefunden und es hat funktioniert:
                                      Als root ausführen:

                                      chmod 4755 /bin/ping
                                      

                                      [gpadmin@hdm4] ping -c 1 admin.pivotal.com 
                                      ping: icmp open socket: Operation not permitted
                                      
                                      You may see such an error if setuid bit (s) is not set on /bin/ping command. 
                                      Verify using:
                                      [INCORRECT]
                                      ls -al /bin/ping
                                      -rwxr-xr-x 1 root root 40760 May 20 2011 /bin/ping
                                      
                                      [CORRECT]
                                      [root@pccadmin ~]# chmod 4755 /bin/ping
                                      [root@pccadmin ~]# ls -tlr /bin/ping
                                      -rwsr-xr-x. 1 root root 40760 Jul 18 2011 /bin/ping
                                      where: s instead of x in the owner permissions means that the setuid is enabled, so this file will be executed with root permissions by all users.
                                      
                                      

                                      Proxmox und HA

                                      Thomas BraunT Axel KoenekeA Rainer.KR 3 Replies Last reply
                                      4
                                      • Meister MopperM Meister Mopper

                                        @Thomas-Braun habe das bei vmware gefunden und es hat funktioniert:
                                        Als root ausführen:

                                        chmod 4755 /bin/ping
                                        

                                        [gpadmin@hdm4] ping -c 1 admin.pivotal.com 
                                        ping: icmp open socket: Operation not permitted
                                        
                                        You may see such an error if setuid bit (s) is not set on /bin/ping command. 
                                        Verify using:
                                        [INCORRECT]
                                        ls -al /bin/ping
                                        -rwxr-xr-x 1 root root 40760 May 20 2011 /bin/ping
                                        
                                        [CORRECT]
                                        [root@pccadmin ~]# chmod 4755 /bin/ping
                                        [root@pccadmin ~]# ls -tlr /bin/ping
                                        -rwsr-xr-x. 1 root root 40760 Jul 18 2011 /bin/ping
                                        where: s instead of x in the owner permissions means that the setuid is enabled, so this file will be executed with root permissions by all users.
                                        
                                        

                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        wrote on last edited by Thomas Braun
                                        #19

                                        @Meister-Mopper
                                        Jetzt hat ping das setuid bit. Da hatte ich eben auch mal dran gedacht, das zu setzen. Nagut, wenn es nun geht...
                                        Aber auch das sollst du nicht als root setzen, sondern mit
                                        sudo
                                        vor dem Befehl...

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        Meister MopperM 1 Reply Last reply
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @Meister-Mopper
                                          Jetzt hat ping das setuid bit. Da hatte ich eben auch mal dran gedacht, das zu setzen. Nagut, wenn es nun geht...
                                          Aber auch das sollst du nicht als root setzen, sondern mit
                                          sudo
                                          vor dem Befehl...

                                          Meister MopperM Away
                                          Meister MopperM Away
                                          Meister Mopper
                                          wrote on last edited by
                                          #20

                                          @Thomas-Braun Alles klar, ich danke Dir für den guten Rat.

                                          Proxmox und HA

                                          Thomas BraunT 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

                                          533

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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