Ad Widget

Collapse

fping6: can't create raw socket (must run as root?) : Address family not supported

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • akarim
    Member
    • Aug 2008
    • 33

    #1

    fping6: can't create raw socket (must run as root?) : Address family not supported

    I understand that it is a recurring theme, and common in the forum, as well as in some proposed solutions.

    But I want to put another approach.

    After reading several posts that told me about the permissions, I checked them and I think they are correct and that is not the issue

    Code:
    ls -lisah / usr / sbin / fpi *
    134345224 52K -rwsr-xr-x 1 root root 52K Aug 5 2019 / usr / sbin / fping
    134345226 52K -rwsr-xr-x 1 root root 52K Aug 5 2019 / usr / sbin / fping6
    The question is that in my system there is NO IPV6 (I totally deactivate it) and I think that is the question, and I don't know how to tell Zabbix not to use fping6
  • Tulkis
    Junior Member
    • Feb 2019
    • 7

    #2
    Here the same problem with LTS 5.0 and ubuntu 20.04.

    Solved by:
    • Comment /etc/zabbix/zabbix_server.conf line:
    ### Option: Fping6Location
    # Location of fping6.
    # Make sure that fping6 binary has root ownership and SUID flag set.
    # Make empty if your fping utility is capable to process IPv6 addresses.
    #
    # Mandatory: no
    # Default:
    # Fping6Location=/usr/sbin/fping6
    • Apply permissions:
    # chown root:zabbix /usr/bin/fping
    # chmod 4710 /usr/bin/fping
    • Restart zabbix server:
    # systemctl restart zabbix-server
    Last edited by Tulkis; 22-04-2021, 10:51.

    Comment

    Working...