Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

          '/bin/hostname',        '/bin/domainname',

         );

Update 2/23/2016

Having problems with ping_data.pl can't find timelocal.pl and ctime.pl.

The timelocal.pl comes from perl4 and has been superseded by Time::local, see http://perldoc.perl.org/Time/Local.html. The script timelocal.pl provides the function timegm which is used in ping_data.pl

The ctime.pl is a simple Perl emulation for the well known ctime(3C) function. # # This library is no longer being maintained, and is included for backward  ... see http://cpansearch.perl.org/src/JHI/perl-5.8.1/lib/ctime.pl. It appears ping_data.pl does not use ctime.pl.

Fix:

Code Block
Change lines 410-412 from
##########################################################
require "timelocal.pl";
require "ctime.pl";

to 
##########################################################
use Time::Local;
#require "timelocal.pl";
#require "ctime.pl";