...
'/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";
use POSIX; #require "ctime.pl"; |
Note ping_data_plot.pl and frequency.pl use timelocal and ctime.
Update 3/9/2016
The above fix has been made both at Amity and at SLAC. The output from ping_data.pl is here. Accessing http://202.12.103.71/cgi-bin/ping_data.pl gives:
Code Block |
---|
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log. |
The server is pingable and the web server is responding. I suspect the 5th line of the output " no crontab for pingeramity" is causing the problem. Not sure why the output is coming out so soon. You could comment out the line (around 329)
'/usr/bin/crontab -l', '/bin/crontab -l',
Update 4/9/2016
They have added a public DNS name pingeramity.in.