Koozali.org: home of the SME Server

Translation Please

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Translation Please
« 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

Damian

Translation Please
« Reply #1 on: December 31, 2004, 11:51:44 AM »
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

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Translation Please
« Reply #2 on: December 31, 2004, 04:20:34 PM »
Thanks Damian,

I'll give them a go.

Tib

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Translation Please
« Reply #3 on: December 31, 2004, 05:44:48 PM »
Quote from: "Damian"

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.

Damian

Translation Please
« Reply #4 on: December 31, 2004, 06:27:15 PM »
Hi Charlie,

Never been accused of using a MS approach before. Quite novel. 8-)

Damian