I followed the instructions from 
http://wiki.zmanda.com/index.php/Configuring_bsd/bsdudp/bsdtcp_authentication#inetd_example_6

I used the following line in inetd.conf and inetconv to add the new services.
amanda stream  tcp  nowait  amandabackup  /usr/lib/amanda/amandad  amandad 
-auth=bsdtcp amdump amindexd amidxtaped

my amanda.conf and amanda-client.conf files shows 'auth' is set to bsdtcp.

amandabackup at opensolaris:~$ amcheck DailySet1
client check: 1 hosts checked, 0 problems found

switched to root,
root at opensolaris:~# amrecover DailySet1
and i get the following error

1258607254.088102: amrecover: pid 22822 ruid 0 euid 0 version 2.6.1p2: start at 
Thu Nov 19 15:37:34 2009
1258607254.088487: amrecover: pid 22822 ruid 0 euid 0 version 2.6.1p2: rename 
at Thu Nov 19 15:37:34 2009
1258607254.088534: amrecover: security_getdriver(name=bsd) returns fef00500
1258607254.088547: amrecover: security_handleinit(handle=807fdd0, 
driver=fef00500 (BSD))
1258607254.089099: amrecover: dgram_bind: setting up a socket with family 2
1258607254.089272: amrecover: bind_portrange2: Try  port 956: Available - 
Success
1258607254.089297: amrecover: dgram_bind: socket 4 bound to 0.0.0.0.956
1258607254.089462: amrecover: dgram_send_addr(addr=807fdf0, dgram=fef06144)
1258607254.089469: amrecover: (sockaddr_in *)807fdf0 = { 2, 10080, 127.0.0.1 }
1258607254.089473: amrecover: dgram_send_addr: fef06144->socket = 4
1258607264.090198: amrecover: dgram_send_addr(addr=807fdf0, dgram=fef06144)
1258607264.090214: amrecover: (sockaddr_in *)807fdf0 = { 2, 10080, 127.0.0.1 }
1258607264.090219: amrecover: dgram_send_addr: fef06144->socket = 4
1258607274.100136: amrecover: dgram_send_addr(addr=807fdf0, dgram=fef06144)
1258607274.100157: amrecover: (sockaddr_in *)807fdf0 = { 2, 10080, 127.0.0.1 }
1258607274.100165: amrecover: dgram_send_addr: fef06144->socket = 4
1258607284.110041: amrecover: security_seterror(handle=807fdd0, driver=fef00500 
(BSD) error=timeout waiting for ACK)
1258607284.110081: amrecover: security_close(handle=807fdd0, driver=fef00500 
(BSD))

Why is the log showing inetd is using bsd instead of bsdtcp?

I also tried to implement the amanda service to using bsd to inetd. The line 
below was in my inetd.conf and gave and error when using inetconv.
amanda  dgram   udp     wait    amandabackup  /usr/lib/amanda/amandad      
amandad -auth=bsd amdump amindexd amidxtaped

the error mentioned something was inconsistent in the line above. Is the syntax 
correct?
-- 
This message posted from opensolaris.org

Reply via email to