Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Tib on December 29, 2004, 02:56:24 PM
-
Hello,
Could someone tell me what this meens
Use of uninitialized value in numeric gt (>) at /usr/local/bin/durep line 502.
Use of uninitialized value in addition (+) at /usr/local/bin/durep line 506.
Use of uninitialized value in numeric gt (>) at /usr/local/bin/durep line 502.
Use of uninitialized value in addition (+) at /usr/local/bin/durep line 506.
I get it every day in my cron jobs.
Tib
-
Hi Tib,
It seems you have durep installed for calculating where your disk space has gone but the script to updtae it (via cron) contains errors. Errors from cron scripts are emailed to root by default.
Try to work out what is missing in the script by looking at /usr/local/bin/durep with vi and checking the line numbers given in the error report.
Alternatively, try reinstalling durep to clear the errors (rpm -Uvh durep.whatever.rpm).
Damian
-
Thanks Damian,
I'll give them a go.
Tib
-
Alternatively, try reinstalling durep to clear the errors (rpm -Uvh durep.whatever.rpm).
That's the Mircto$haft approach. Almost certainly not necessary.
Tib can verify that the durep script hasn't been modified since it was installed by doing:
rpm -Vf /usr/local/bin/durep
If the file hasn't changed (rpm will report '5' if it has, for md5 mismatch), then there's no point in reinstalling it.
-
Hi Charlie,
Never been accused of using a MS approach before. Quite novel. 8-)
Damian