Can't stat -t problem

mike wolman mike@nux.co.uk
Mon, 7 Jan 2002 16:19:51 +0000 (GMT)


Hi Ben,

I have now using rdiff-backup on a number of machines
running RedHat 6.2 -> 7.2, i have just tried it with
a RedHat 6.0 box and have hit the following error (from the remote
machine):

Excluding /home/customers/us/rdiff-backup-data
Can't stat -t
Traceback (most recent call last):
  File "/usr/local/bin/rdiff-backup", line 3907, in ?
    Globals.Main.Main()
  File "/usr/local/bin/rdiff-backup", line 3675, in Main
    self.take_action(rps)
  File "/usr/local/bin/rdiff-backup", line 3651, in take_action
    elif self.action == "backup": self.Backup(rps[0], rps[1])
  File "/usr/local/bin/rdiff-backup", line 3703, in Backup
    else: HighLevel.Mirror(rpin, rpout)
  File "/usr/local/bin/rdiff-backup", line 3241, in Mirror
    DestS.patch_and_finalize(dest_rpath, diffiter)
  File "/usr/local/bin/rdiff-backup", line 3363, in patch_and_finalize
    for diff_rorp, dsrp in collated:
  File "/usr/local/bin/rdiff-backup", line 2352, in Collate2Iters
    try: relem1 = riter1.next()
  File "/usr/local/bin/rdiff-backup", line 2258, in FromRaw
    for index, data, num_files in raw_iter:
  File "/usr/local/bin/rdiff-backup", line 659, in next
    type, data = self._get()
  File "/usr/local/bin/rdiff-backup", line 634, in _get
    header = self.file.read(8)
  File "/usr/local/bin/rdiff-backup", line 831, in read
    l - len(self.buffer)))
  File "/usr/local/bin/rdiff-backup", line 1585, in read
    return self.connection.VirtualFile.readfromid(self.id, length)
  File "/usr/local/bin/rdiff-backup", line 1534, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/usr/local/bin/rdiff-backup", line 1505, in reval
    if isinstance(result, Exception): raise result
ValueError: invalid literal for int(): Uid:


I have checked the stat package and it is the same version on 6.2 as on
6.0, if i run "stat -t" on either machine i get: "Can't stat -t", however
rdiff-backup works fine on the 6.2 boxes.

I have checked permissions and can run "sudo /usr/local/bin/rdiff-backup -s"
when logged in as the backup user.

I have checked everthing is installed including librsync and have
reinstalled python to the release version Python 2.2.

Any ideas to what else the problem might be?

Mike.