Hello all,Having what I think are bsd auth issues after upgrading from 2.4.4b1. The server is running FreeBSD 4.7.
Regarding the new needed pieces for 2.5x, I've added some items to my inetd.conf file, but am unsure about what the syntax look like for the "only_from" section for inetd, or if it's even needed? There is no clear example in the wiki or docs: (http://wiki.zmanda.com/index.php/Configuring_bsd/bsdudp/bsdtcp_authentication). They only show xinetd.conf samples.
Here's what I have:amanda dgram udp wait operator /usr/local/libexec/amandad amandad -auth=bsd amdump amindexd amidxtaped amandaidx stream tcp nowait operator /usr/local/libexec/amindexd amindexd -auth=bsd amdump amindexd amidxtaped amidxtape stream tcp nowait operator /usr/local/libexec/amidxtaped amidxtaped -auth=bsd amdump amindexd amidxtaped
not sure where it would fit in. Can't get amcheck to stat the local server (which is getting backed up as well as backing up clients.) All remote machines report back ok, but the host does not. Tailing the messages file shows:
Nov 6 00:39:40 phatb inetd[34046]: /usr/local/libexec/amandad[34305]: exit status 0x100 Nov 6 00:39:40 phatb inetd[34046]: /usr/local/libexec/amandad[34306]: exit status 0x100 Nov 6 00:39:40 phatb inetd[34046]: /usr/local/libexec/amandad[34307]: exit status 0x100 Nov 6 00:39:40 phatb inetd[34046]: amanda/udp server failing (looping), service terminated
With hundreds of the first few lines. Then I have to HUP inetd to get it to try again. here's a piece of the debug file from the amcheck:
amcheck-clients: dgram_send_addr(addr=0xbfbf74b8, dgram=0x280d7d84)amcheck-clients: time 10.084: (sockaddr_in *)0xbfbf74b8 = { 2, 10080, 216.103.190.98 }
amcheck-clients: dgram_send_addr: 0x280d7d84->socket = 4 amcheck-clients: dgram_send_addr(addr=0xbfbf74b8, dgram=0x280d7d84)amcheck-clients: time 20.094: (sockaddr_in *)0xbfbf74b8 = { 2, 10080, 216.103.190.98 }
amcheck-clients: dgram_send_addr: 0x280d7d84->socket = 4security_seterror(handle=0x8063200, driver=0x280d6da0 (BSD) error=timeout waiting for ACK)
security_close(handle=0x8063200, driver=0x280d6da0 (BSD)) amcheck: pid 34323 finish time Mon Nov 6 00:42:04 2006 amrecover exhibits the same issues:amrecover: debug 1 pid 33549 ruid 0 euid 0: start at Mon Nov 6 00:32:47 2006
Reading conf file "/usr/local/etc/amanda/amanda-client.conf". Reading conf file "/usr/local/etc/amanda/all.archive/amanda-client.conf".amrecover: debug 1 pid 33549 ruid 0 euid 0: rename at Mon Nov 6 00:32:47 2006
security_getdriver(name=bsd) returns 0x280b5da0
security_handleinit(handle=0x8063100, driver=0x280b5da0 (BSD))
amrecover: bind_portrange2: Skip port 572: Owned by sonar.
-snip-
amrecover: bind_portrange2: Skip port 600: Owned by ipcserver.
amrecover: bind_portrange2: Try port 601: Available - Success
amrecover: dgram_bind: socket bound to 0.0.0.0.601
amrecover: dgram_send_addr(addr=0xbfbff96c, dgram=0x280b6d84)
amrecover: (sockaddr_in *)0xbfbff96c = { 2, 10080, 216.103.190.98 }
amrecover: dgram_send_addr: 0x280b6d84->socket = 3
amrecover: dgram_send_addr(addr=0xbfbff60c, dgram=0x280b6d84)
amrecover: (sockaddr_in *)0xbfbff60c = { 2, 10080, 216.103.190.98 }
amrecover: dgram_send_addr: 0x280b6d84->socket = 3
amrecover: dgram_send_addr(addr=0xbfbff60c, dgram=0x280b6d84)
amrecover: (sockaddr_in *)0xbfbff60c = { 2, 10080, 216.103.190.98 }
amrecover: dgram_send_addr: 0x280b6d84->socket = 3
security_seterror(handle=0x8063100, driver=0x280b5da0 (BSD)
error=timeout waiting for ACK)
security_close(handle=0x8063100, driver=0x280b5da0 (BSD))In the past, we never had a "amanda-client.conf" file, but I've added one with a single entry: auth "bsd". I also adjusted the ".amandahosts" file to add the service entries: (xxx's are obviously not xxx's)
216.xxx.xxx.xx amanda amindexd amidxtaped amdump 216.xxx.xxx.xx root amindexd amidxtaped amdump Still no luck. Where else should I look? Thanks -Steffan
