Amanda-Users

Re: amdump fails with badly formatted response from

2004-05-26 11:06:58
Subject: Re: amdump fails with badly formatted response from
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Stefan Noll <s.noll AT metrix DOT de>
Date: Wed, 26 May 2004 16:56:55 +0200
Stefan Noll wrote:

The mangled name I found in log.20040525.0 but not in amdump.1

It really helps if you post that line :-) .
Debugging is difficult using paranormal means.
Is the line above/after normal?


In amdump.1 everything looks OK.

planner: time 0.627: setting up estimates for 
neptun:/var/samba/projekte/Laufende/Klingelnberg
neptun:/var/samba/projekte/Laufende/Klingelnberg overdue 5 days for level 0
setup_estimate: neptun:/var/samba/projekte/Laufende/Klingelnberg: command 0, 
options:
    last_level 1 next_level0 -5 level_days 3
    getting estimates 0 (45620) 1 (60) -1 (-1)

That's only the setup for estimate.  What does the result show?
It looks like:

planner: time 80.851: got result for host neptun disk /: 0 -> 45620K, 1 -> 60K, -1 -> -1K


You get the "badly formatted response from" error when one of these
things happen:
- The datagram line could not be parsed by
      (sscanf(t - 1, "%d SIZE %ld", &level, &size) != 2)


- The estimate was for a level that was not requested

Which one would it be?


Level 0 should it be.
Parsing should be possible.

What the client sent, yes, but what the server received, we don't know.

PS. Why do you have trouble with copy/paste long lines?  Or is this
part of the problem?

--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************