Menu

Broken NETDB

Help
Todd Smith
2015-09-07
2015-09-10
  • Todd Smith

    Todd Smith - 2015-09-07

    Looks like the netdbctl -ud -v process is broken. If I try to run it from the SSH shell here is what I'm getting.

    Mon Sep 7 09:37:43 2015: netdbctl(8817): Running netdbscraper on devices
    Mon Sep 7 09:37:43 2015: netdbctl(8817): Can't locate Proc/ProcessTable.pm in @INC (@INC contains: . /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8) at /opt/netdb/netdbscraper/netdbscraper.pl line 82.
    Mon Sep 7 09:37:43 2015: netdbctl(8817): BEGIN failed--compilation aborted at /opt/netdb/netdbscraper/netdbscraper.pl line 82.
    cp: cannot stat /opt/netdb/data/newmactable.txt': No such file or directory cp: cannot stat/opt/netdb/data/newintstatus.txt': No such file or directory
    cp: cannot stat /opt/netdb/data/newarptable.txt': No such file or directory cp: cannot stat/opt/netdb/data/newipv6nt.csv': No such file or directory
    Mon Sep 7 09:37:43 2015: netdbctl(8817): NetDB update complete

    Line 82 is this...

    use Proc::ProcessTable;

    Here's my PERL INC

    perl -e 'print join("\n", @INC);'
    /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.8
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.8
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/5.8.8/i386-linux-thread-multi
    /usr/lib/perl5/5.8.8

     
  • Jonathan Yantis

    Jonathan Yantis - 2015-09-07

    Todd,

    Looks like a couple things going on here. Make sure you have the latest Proc::Queue module installed. You can update it via CPAN if you check the install instructions, that seems to be the issue here.

     
  • Jonathan Yantis

    Jonathan Yantis - 2015-09-07

    Oops, disregard that last message. You need this package installed to clear up the update issue:

    libproc-processtable-perl

    If you are not on Debian/Ubuntu, you'll need to install Proc::ProcessTable from CPAN.

     
  • Todd Smith

    Todd Smith - 2015-09-07

    curl -L http://xrl.us/installperlnix | bash
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 21 0 21 0 0 19 0 --:--:-- 0:00:01 --:--:-- 0
    bash: line 1: Internal: command not found
    [netdb@tanma001 ~]$ perl -v

    This is perl 5, version 20, subversion 1 (v5.20.1) built for i686-linux
    (with 1 registered patch, see perl -V for more detail)

    Copyright 1987-2014, Larry Wall

    Perl may be copied only under the terms of either the Artistic License or the
    GNU General Public License, which may be found in the Perl 5 source kit.

    Complete documentation for Perl, including FAQ lists, should be found on
    this system using "man perl" or "perldoc perl". If you have access to the
    Internet, point your browser at http://www.perl.org/, the Perl Home Page.

    I was able to find a CURL to update PERL but I'm not sure if it would hae downloaded/updated the modules

     
  • Jonathan Yantis

    Jonathan Yantis - 2015-09-07

    Todd,

    If this is how you originally did the install, you should be able to run cpan and install Proc::ProcessTable following the instructions in the INSTALL doc. That should be the only module that was added since you last upgraded.

     
  • Todd Smith

    Todd Smith - 2015-09-10

    All fixed it was missing the module

     

Log in to post a comment.