Re: Proble with amanda and MacoS X

2008-07-20 Thread Nouveaux Territoires

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 0x2b121b60
security_handleinit(handle=0x61f710, driver=0x2b121b60 (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=0x2b1336e8)
amcheck-clients: time 0.006: (sockaddr_in *)0x7fff364301c0 = { 2,  
10080, 192.168.50.22 }

amcheck-clients: dgram_send_addr: 0x2b1336e8-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=0x2b1336e8)
amcheck-clients: time 10.005: (sockaddr_in *)0x7fff36430200 = { 2,  
10080, 192.168.50.22 }

amcheck-clients: dgram_send_addr: 0x2b1336e8-socket = 4
amcheck-clients: dgram_send_addr(addr=0x7fff36430200,  
dgram=0x2b1336e8)
amcheck-clients: time 20.005: (sockaddr_in *)0x7fff36430200 = { 2,  
10080, 192.168.50.22 }

amcheck-clients: dgram_send_addr: 0x2b1336e8-socket = 4
security_seterror(handle=0x61f710, driver=0x2b121b60 (BSDUDP)  
error=timeout waiting for ACK)

security_close(handle=0x61f710, driver=0x2b121b60 (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
[EMAIL PROTECTED] 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





Proble with amanda and MacoS X

2008-07-19 Thread Nouveaux Territoires

Hello everybody,



I used a amanda server on a Fedora core 6.

ANd i have a client on Macos X.

I compiled on Macos X (with the bsdtcp driver) but i have a little  
problem.



When i call 'amcheck', i have a problem :

Amanda Backup Client Hosts Check

WARNING: saroumane: selfcheck request failed: timeout waiting for ACK
Client check: 1 host checked in 33.008 seconds, 1 problem found



I don't understant ths problem.

My client and server runs with sticky-bit and with the user 'roo'.

The firewall don't run on the 2 computers.


In the amanda's logs, i have just this :

amcheck: debug 1 pid 3890 ruid 33 euid 0: start at Thu Jul 17 22:14:44  
2008
amcheck: debug 1 pid 3890 ruid 33 euid 33: rename at Thu Jul 17  
22:14:44 2008

security_getdriver(name=bsdtcp) returns 0x2b121ac0
security_handleinit(handle=0x61f710, driver=0x2b121ac0 (BSDTCP))
security_streaminit(stream=0x620290, driver=0x2b121ac0 (BSDTCP))
amcheck-clients: time 0.012: connect_port: Skip port 512: Owned by exec.
amcheck-clients: time 0.012: connect_port: Skip port 513: Owned by  
login.
amcheck-clients: time 0.013: connect_port: Skip port 514: Owned by  
shell.
amcheck-clients: time 0.013: connect_port: Skip port 515: Owned by  
printer.
amcheck-clients: time 0.013: connect_port: Skip port 516: Owned by  
videotex.

amcheck-clients: time 0.017: connect_port: Try  port 517: Available   -
changer_query: changer return was 6 1
changer_query: searchable = 0
changer_find: looking for NULL changer is searchable = 0
amcheck-clients: time 3.015: connected to 192.168.50.22.10080
amcheck-clients: our side is 0.0.0.0.517
amcheck-clients: try_socksize: send buffer size is 65536
amcheck-clients: try_socksize: receive buffer size is 65536
security_seterror(handle=0x61f710, driver=0x2b121ac0 (BSDTCP)  
error=timeout waiting for ACK)

security_close(handle=0x61f710, driver=0x2b121ac0 (BSDTCP))
security_stream_close(0x620290)
amcheck: pid 3890 finish time Thu Jul 17 22:15:17 2008



What can i do to solve this problem ?


thanks for yours reponses,


Best regards,


Redondo Julien



Re: Proble with amanda and MacoS X

2008-07-19 Thread Dustin J. Mitchell
Good to hear you're building on a Mac!

Have you set up the necessary launchd script on the mac?  There's
information about it at
  
http://wiki.zmanda.com/index.php/Installation/OS_Specific_Notes/Installing_Amanda_on_Mac_OS_X

Dustin

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