|
From: Ben J. <be...@in...> - 2013-06-10 16:56:21
|
Hello,
Recently, I began noticing the following output from a cron job,
/etc/webmin/package-updates/update.pl:
/bin/sh: /etc/webmin/package-updates/update.pl: not found
Has this script, /etc/webmin/package-updates/update.pl, been obsoleted
and removed from Webmin? If so, I wonder why the Webmin update process
did not remove this cron entry. (Maybe Webmin didn't create it in the
first place, in which case failing to remove it makes sense.)
Curiously, I have two other systems that are nearly-identically
configured, and this script *does* exist on one of the three servers.
Its contents are as follows:
--------------------------------------------------------
#!/usr/bin/perl
open(CONF, "/etc/webmin/miniserv.conf");
while(<CONF>) {
$root = $1 if (/^root=(.*)/);
}
close(CONF);
$ENV{'PERLLIB'} = "$root";
$ENV{'WEBMIN_CONFIG'} = "/etc/webmin";
$ENV{'WEBMIN_VAR'} = "/var/webmin";
chdir("$root/package-updates");
exec("$root/package-updates/update.pl", @ARGV) || die "Failed to run
$root/package-updates/update.pl : $!";
--------------------------------------------------------
My OS is Ubuntu 10.04 LTS and my Webmin version is 1.630 (on all three
servers).
Thanks for any help in determining whether this script should in fact be
run on schedule or not.
If yes, then the more important question becomes, how did these script
files disappear on several of my machines in the first place?
-Ben
|