Skip to Content.
Sympa Menu

perfsonar-user - Re: [non-nasa source] [perfsonar-user] mod_interface_route script error

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [non-nasa source] [perfsonar-user] mod_interface_route script error


Chronological Thread 
  • From: "Uhl, George D. (GSFC-423.0)[SGT INC]" <>
  • To: "Uhl, George D. (GSFC-423.0)[SGT INC]" <>, "" <>
  • Subject: Re: [non-nasa source] [perfsonar-user] mod_interface_route script error
  • Date: Thu, 29 Nov 2018 21:40:04 +0000
  • Accept-language: en-US
  • Dkim-filter: OpenDKIM Filter v2.11.0 ndmsvnpf101.ndc.nasa.gov BFE2F4007033
  • Ironport-phdr: 9a23:qQGbbh1lJ6uHUIogsmDT+DRfVm0co7zxezQtwd8ZseMfLvad9pjvdHbS+e9qxAeQG9mDu7Qc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPYAhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb5Q6o0WTC/5Kl1ThHmhjoMOzog/G3KlsB8iaRWqw+jqRNi2Y7ZeIGbOuRjcKPBc90URmROXsdNWCNOGY6zdZcDAvAbMOpEtYTwp10Dpga+Cwm2A+PvzydFinH40q061+QtCRzN0g0+ENIJqnTUo8v6P7ocX+yv0aLEyTTNYe5W1zrj8YTFfQ4trP+WUb5sdMbezVQhGQLbgF6NqoLrJy2Y2eIDv2OG6OdgWvygi2k9qwF+vDej3NojhpPUhoIVzlDJ7iN5z5wuJdKiUkJ7btmkEIVJuiycKoB4QdsiTnl1tCs+ybAKo4O3cDUIxZg92xLTceGLfoiV7h77SeqcJTR1iGh4dL6ihRu+60itxvfiWsWo1FtGtjdJn9jIu3wXyRDe6seKRuFg8ku72TuDyQbe4fxeL08uj6rUMZshz6YwlpUNtUTDGTf7mEPrg6+TbUUk5O6o6/zpYrn7upOQKpV4igfjPasygMC/B/43MhMUUGSB9uS806Pj8VX4QLVMkPI2jrHUvI3eKMkYvKK1HhJZ34Q55xqjFTuqzdQVkWQfIFJAYh2HjozpO1/UIPD/CPeym1usnylsx/DcMb3uHI/BIWXZnLf8fbZ971VRyAwpwtBE/Z1YEL4BIPXtWkPprtzXEgc5MxCow+bgENh9zp0RWXiBAq+CN6PSt0WH5vg2L+mRf48apiz9JuMh5/7vln85hUQdcbez0ZsWbnC4AuppI1+fYXXyntcND30GsRQjQ+z32xW+VmsZWna2G+oT6zYhB4/uIcGLBq+WrpfEgH3gWMUXVVtpNhitN1zdPc3QVPoLci2fZMMnjzwAfb6oUIZn2haw4kuygaJqNOTP/SsRr9f+z9Vvz+zViRwo8zFoVYKQ33zHBzVsk3kGXDgw1bo6vFdw0H+C17R1mfpVCYYV6v9UBFQUL5nZmqZHC9S2Ei3Mec2GRR6KBJ3mLgofZZdtmYRIOwdOIPqexjHl9B/gS+samruRC5Fy/uTB33zZIc9mwjDJ07d33ApueddGKWDz3v03zAPUHYOc1hzBmg==

Please disregard my previous email.  I was able to get a copy of the mod-interface-route script thats works.

Thanks,
George

From: <> on behalf of George Uhl <>
Date: Thursday, November 29, 2018 at 11:06 AM
To: "" <>
Subject: [non-nasa source] [perfsonar-user] mod_interface_route script error

Hi,

I recently built a pS4.1 multi-homed test node using the test point bundle.  When I run the mod-interface-route script I get the error:

Problem looking up ipv4 addresses associated with p2p1 at /usr/lib/perfsonar/scripts/mod_interface_route line 71.


The snippet of code where this is happening:

elsif ($command eq "add") {

    if ($ipv4_gateway and scalar(@ipv4_addresses) == 0) {

        my $ips = get_ips(interface => $device);


        @ipv4_addresses = @{ $ips->{ipv4} };

        unless (scalar(@ipv4_addresses) > 0) {

            die("Problem looking up ipv4 addresses associated with $device");

        }

    }


The script was copied from another test point since it’s not part of the installation bundle.  

The installed perl network modules on the affected host:

Nov 06 12:01:20 Installed: perl-Net-IP-1.26-4.el7.noarch

Nov 06 12:01:21 Installed: perl-Net-CIDR-0.18-1.el7.noarch

Nov 06 12:01:23 Installed: perl-NetAddr-IP-4.069-3.el7.x86_64

Nov 06 12:01:34 Installed: perl-Net-Traceroute-1.15-1.el7.centos.80.647b22fb0bef337e0e05f56c9d1db28355869c5b.noarch

Nov 06 12:01:36 Installed: perl-Net-SSLeay-1.55-6.el7.x86_64

Nov 06 12:01:38 Installed: perl-Net-DNS-0.72-6.el7.x86_64

Nov 06 12:01:52 Installed: perl-Net-LibIDN-0.12-15.el7.x86_64

Nov 06 12:01:53 Installed: perl-Net-SMTP-SSL-1.01-13.el7.noarch

Nov 06 12:01:54 Installed: perl-Net-Daemon-0.48-5.el7.noarch

Nov 06 12:02:02 Installed: perl-Net-HTTP-6.06-2.el7.noarch

Nov 06 12:02:05 Installed: perl-Net-Server-2.007-2.el7.noarch

Nov 06 12:02:13 Installed: perl-Net-Netmask-1.9015-13.el7.noarch

Nov 06 12:02:15 Installed: perl-Net-Domain-TLD-1.75-6.el7.noarch

Nov 14 13:44:41 Installed: perl-Net-Interface-1.012-1.el7.centos.77.6c256b0060351e29ca05d925b9a0e06b504e3e25.x86_64



Thanks,
George


  • Re: [non-nasa source] [perfsonar-user] mod_interface_route script error, Uhl, George D. (GSFC-423.0)[SGT INC], 11/29/2018

Archive powered by MHonArc 2.6.19.

Top of Page