Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-14899

net.tcp.listen return a wrong value at centos 5

    XMLWordPrintable

    Details

    • Team:
      Team A
    • Sprint:
      Sprint 46, Nov 2018
    • Story Points:
      0.75

      Description

       

      Hello,

       

      We are having trouble with a centos 5.9 system and zabbix net.tcp.listen at zabbix 3.4.14 agent (from zabbix rpm repo)

       

      # cat /etc/yum.repos.d/zabbix.repo
      [zabbix]
      name=Zabbix Official Repository - $basearch
      baseurl=http://repo.zabbix.com/zabbix/3.4/rhel/5/$basearch/
      enabled=1
      gpgcheck=0
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
      
      [zabbix-non-supported]
      name=Zabbix Official Repository non-supported - $basearch
      baseurl=http://repo.zabbix.com/non-supported/rhel/5/$basearch/
      enabled=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
      gpgcheck=0
      
      # rpm -qa | grep zabbix
      zabbix-sender-3.4.14-1.el5
      zabbix-agent-3.4.14-1.el5
      

       

      # grep "^[[:space:]]*80:\|^[[:space:]]*443:" /proc/net/tcp
        80: 9607BC0A:196D D304BC0A:1F49 01 00000000:00000000 02:00001582 00000000   521        0 164153422 2 ffff81007a412080 208 40 26 3 -1               
       443: 9607BC0A:CF6A D304BC0A:1F49 01 00000000:00000000 02:00005901 00000000   521        0 163982489 2 ffff81003f283980 206 40 30 3 -1               
      

      I'm attaching both strace output as requested on similar issue (ZBX-10431)

      At strace of 443 we can see how zabbix try to open tcp6 (which does not exist at this server)

      Thank you very much

       

        Attachments

        1. default.sysctl.conf
          1.0 kB
          Aigars Kadikis
        2. proc-net-tcp.txt
          94 kB
          Javier Barroso
        3. strace-port-443-ko.txt
          22 kB
          Javier Barroso
        4. strace-port-443-not-https.txt
          22 kB
          Javier Barroso
        5. strace-port-80-ok.txt
          22 kB
          Javier Barroso
        6. strace-shorted-s-70000.txt
          4 kB
          Javier Barroso
        7. sysctl.conf
          2 kB
          Javier Barroso
        8. test-tcp-net-listen.c
          9 kB
          Javier Barroso

          Activity

            People

            Assignee:
            Kalimulin Alex Kalimulin
            Reporter:
            i5513 Javier Barroso
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: