"John R. Jackson" wrote:
>
> >When i run amdump the result is:
> >
> >[...]
> >FAILED [badly formatted response from brutus]
>
> What's in the /tmp/amanda/amandad*debug file on brutus that matches
> this error?
Thanks for your answer.
amandad.20010626104712.debug
********************************************
amandad: debug 1 pid 29654 ruid 507 euid 507 start time Tue Jun 26
10:47:12 2001
amandad: version 2.4.2p2
[...]
GNUTAR //x.x.es/Cinetsrv 0 1970:1:1:0:0:0 1
[several more]
[...]
--------
sending ack:
----
Amanda 2.4 ACK HANDLE 000-38920708 SEQ 993545232
----
bsd security: remote host brutus.xpress.es user amanda local user amanda
amandahosts security check passed
amandad: running service "/usr/local/libexec/sendsize"
amandad: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-38920708 SEQ 993545232
OPTIONS maxdumps=1;
FORMAT ERROR IN REQUEST PACKET
----
amandad: got packet:
----
Amanda 2.4 ACK HANDLE 000-38920708 SEQ 993545232
----
amandad: pid 29654 finish time Tue Jun 26 10:47:12 2001
************************************************
> What happens if you run amcheck?
When I run amcheck:
************************************************
Amanda Tape Server Host Check
-----------------------------
Holding disk /var/dumps: 7519832 KB disk space available, that's plenty
ERROR: cannot overwrite active tape prueba00
(expecting a new tape)
NOTE: skipping tape-writable test
[...]
*************************************************
Because I am doing tries, I want reuse the same tape and then I do:
amrmtape prueba prueba00
Output:
******************
amrmtape: preserving original database in curinfo.orig.7722 (exported).
Discarding Host: x.s.es, Disk: /usr/local/sbin/, Level: 0
Discarding Host: x.s.es, Disk: /var/lib/mysql/, Level: 0
Discarding Host: x.s.es, Disk: /etc/, Level: 0
Discarding Host: x.s.es, Disk: /opt/, Level: 0
******************
amcleanup prueba
Then I run again amcheck ...
***********************
Amanda Tape Server Host Check
-----------------------------
Holding disk /var/dumps: 7522880 KB disk space available, that's plenty
NOTE: skipping tape-writable test
Tape prueba00 label ok
NOTE: index dir /var/adm/amanda/prueba/index/us/__tr.s.es_Cinetsrv: does
not exist
NOTE: index dir /var/adm/amanda/prueba/index/us/__px.s.es_Dinetsrv: does
not exist
NOTE: index dir /var/adm/amanda/prueba/index/us/__px.s.es_Cinetsrv: does
not exist
NOTE: index dir /var/adm/amanda/prueba/index/us/__as.s.es_Dinetsrv: does
not exist
NOTE: index dir /var/adm/amanda/prueba/index/us/__as.s.es_Cinetsrv: does
not exist
NOTE: index dir /var/adm/amanda/prueba/index/us/__ob.s.es_Dinetsrv: does
not exist
NOTE: index dir /var/adm/amanda/prueba/index/us/_usal_: does not exist
NOTE: index dir /var/adm/amanda/prueba/index/us/_v_dir_v_: does not
exist
Server check took 0.223 seconds
Amanda Backup Client Hosts Check
--------------------------------
Client check: 2 hosts checked in 7.340 seconds, 0 problems found
(brought to you by Amanda 2.4.2p2)
***********************
And a new amandad.20010626195211.debug
*************************************
amandad: debug 1 pid 7985 ruid 507 euid 507 start time Tue Jun 26
19:52:11 2001
amandad: version 2.4.2p2
[...]
got packet:
--------
Amanda 2.4 REQ HANDLE 000-589D0708 SEQ 993577931
SECURITY USER amanda
SERVICE selfcheck
OPTIONS ;
GNUTAR //tr.ss.es/Cinetsrv 0 OPTIONS |;bsd-auth;index;
[so on, alls the same, Cinetsrv 0 OPTIONS |;bsd-auth;index;]
--------
sending ack:
----
Amanda 2.4 ACK HANDLE 000-589D0708 SEQ 993577931
----
bsd security: remote host brutus.xpress.es user amanda local user amanda
amandahosts security check passed
amandad: running service "/usr/local/libexec/selfcheck"
amandad: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-589D0708 SEQ 993577931
OPTIONS ;
OK \\th.ss.es\Cbaloe
OK \\pa.ss.es\Dprueba
[...]
OK /usr/local/libexec/runtar executable
OK /bin/gtar executable
OK /etc/amandates read/writable
OK /usr/local/var/amanda/gnutar-lists/. read/writable
OK /usr/bin/smbclient executable
OK [/etc/amandapass is readable, but not by all]
OK /dev/null read/writable
OK /tmp/amanda has more than 64 KB available.
OK /tmp/amanda has more than 64 KB available.
OK /etc has more than 64 KB available.
----
amandad: got packet:
----
Amanda 2.4 ACK HANDLE 000-589D0708 SEQ 993577931
----
amandad: pid 7985 finish time Tue Jun 26 19:52:18 2001
*************************************
And the selfcheck:
*************************************
[...]
selfcheck: checking disk //tr.ss.es/Cinetsrv
selfcheck: spawning /usr/bin/smbclient in pipeline
selfcheck: argument list: smbclient \\th.ss.es\Camalon -U xxx -E -c quit
selfcheck: OK
selfcheck: extra info: added interface ip=a.b.c.d bcast=a.b.c.255
nmask=255.255.255.0: session request to TH.SS.ES failed (Called name not
present): Domain=[YYYYYY] OS=[Windows NT 4.0] Server=[NT LAN Manager
4.0]
[...]
*************************************
> >I have tried chance MAX_DGRAM (64*1024) to MAX_DGRAM(512*1024) ...
>
> I'm not sure datagram packets can be that big. You should probably put
> that back the way it was.
Ok, I did it.
--
Enrique Rodr�guez L�zaro