Amanda-Users

Re: Proble with amanda and MacoS X

2008-07-20 13:52:41
Subject: Re: Proble with amanda and MacoS X
From: Nouveaux Territoires <listes AT nouveauxterritoires DOT fr>
To: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
Date: Sun, 20 Jul 2008 19:47:35 +0200
My client is now started in UDP mode
With netstat :

udp6       0      0  *.10080                *.*
udp4       0      0  *.10080                *.*

With telnet and the client in UDP mode, telnet don't connect on the 10080 port.

In TCP mode, telnet connected on the 10080 port.

But my server is in TCP mode (configuration in /etc/xinetd/amanda) :

 service amanda
{
#only_from = localhost 82.235.225.240 127.0.0.1 intranet supervision globtrans saroumane
        socket_type     = dgram
        protocol        = udp
        wait            = yes
        user            = amanda
        group           = disk
        groups          = yes
        server          = /usr/local/amanda/libexec/amandad
        server_args     = -auth=bsd amdump amindexd amidxtaped
        disable         = no
}


Now, with this command :

amcheck saroumane, i see that :


-bash-3.1$ amcheck saroumane
Amanda Tape Server Host Check
-----------------------------
Holding disk /dumps/amandatapes/saroumane: 177156 MB disk space available, using 177056 MB
slot 6: read label `saroumane-06', date `X'
NOTE: skipping tape-writable test
Tape saroumane-06 label ok
NOTE: host info dir /usr/local/amanda/etc/amanda/saroumane/curinfo/ saroumane does not exist
NOTE: it will be created on the next run.
NOTE: index dir /usr/local/amanda/etc/amanda/saroumane/index/saroumane does not exist
NOTE: it will be created on the next run.
Server check took 0.132 seconds

Amanda Backup Client Hosts Check
--------------------------------
WARNING: saroumane: selfcheck request failed: timeout waiting for ACK
Client check: 1 host checked in 30.005 seconds, 1 problem found

(brought to you by Amanda 2.5.1p3)



on the client, the tcpdump command show this :



9:43:37.378315 IP backup.918 > saroumane.nt.fr.amanda: UDP, length 123
19:43:47.378418 IP backup.918 > saroumane.nt.fr.amanda: UDP, length 123
19:43:57.378022 IP backup.918 > saroumane.nt.fr.amanda: UDP, length 123



and on the server, in the /tmp/amanda/server/saroumane/ amcheck.****.debug

amcheck: debug 1 pid 9291 ruid 33 euid 0: start at Sun Jul 20 19:43:37 2008 amcheck: debug 1 pid 9291 ruid 33 euid 33: rename at Sun Jul 20 19:43:37 2008
security_getdriver(name=bsdudp) returns 0x2aaaab121b60
security_handleinit(handle=0x61f710, driver=0x2aaaab121b60 (BSDUDP))
amcheck-clients: time 0.004: bind_portrange2: Try port 918: Available - Success
amcheck-clients: time 0.004: dgram_bind: socket bound to 0.0.0.0.918
amcheck-clients: dgram_send_addr(addr=0x7fff364301c0, dgram=0x2aaaab1336e8) amcheck-clients: time 0.006: (sockaddr_in *)0x7fff364301c0 = { 2, 10080, 192.168.50.22 }
amcheck-clients: dgram_send_addr: 0x2aaaab1336e8->socket = 4
changer_query: changer return was 6 1
changer_query: searchable = 0
changer_find: looking for NULL changer is searchable = 0
amcheck-clients: dgram_send_addr(addr=0x7fff36430200, dgram=0x2aaaab1336e8) amcheck-clients: time 10.005: (sockaddr_in *)0x7fff36430200 = { 2, 10080, 192.168.50.22 }
amcheck-clients: dgram_send_addr: 0x2aaaab1336e8->socket = 4
amcheck-clients: dgram_send_addr(addr=0x7fff36430200, dgram=0x2aaaab1336e8) amcheck-clients: time 20.005: (sockaddr_in *)0x7fff36430200 = { 2, 10080, 192.168.50.22 }
amcheck-clients: dgram_send_addr: 0x2aaaab1336e8->socket = 4
security_seterror(handle=0x61f710, driver=0x2aaaab121b60 (BSDUDP) error=timeout waiting for ACK)
security_close(handle=0x61f710, driver=0x2aaaab121b60 (BSDUDP))
amcheck: pid 9291 finish time Sun Jul 20 19:44:07 2008






I don't see an error in this debug.


The server and the client is now in UDP mode apprently.


Thanks a lot for your help,


Best regards,

Julien


Le 20 juil. 08 à 17:50, Dustin J. Mitchell a écrit :

On Sat, Jul 19, 2008 at 1:36 PM, Nouveaux Territoires
<listes AT nouveauxterritoires DOT fr> wrote:
The amanda client is apprently ok (with netstat).

What do you see when you telnet to port 10080 on the mac?

--
Storage Software Engineer
http://www.zmanda.com



<Prev in Thread] Current Thread [Next in Thread>