Jean-Louis,

Sorry, took a day to get back to amanda...

On Mon, Oct 03, 2011 at 07:43:07PM -0400, Jean-Louis Martineau wrote:
> On 10/03/2011 04:18 PM, Brian Cuttler wrote:
> >
> >>The default changed, so you must add '-auth=bsd' if you want to use the
> >>bsd auth.

This is in place.

> >>for bsdtcp auth:
> >>   amanda stream tcp nowait amanda /usr/local/libexec/amanda/amandad
> >>amandad -auth=bsdtcp amdump

> >>Also add the auth in the dumptype.

Done.

> >>Increase 'debug_auth' to 9 in amanda.conf and amanda-client.con, then
> >>look in the debug files, check to be sure the server and client use the
> >>same auth

Done, though the client isn't activating and therefor not logging.

> >On the Server.
> >
> >grifserv  /gmultip/climsgl       zfs-snapshot-bsd
> >grifserv  /gmultip/csssoft       zfs-snapshot2
> >grifserv  /gmultip/dew           zfs-snapshot-bsdtcp
> >grifserv  /gmultip/encphrev      zfs-snapshot
> 
> Do not do that, amanda do not work with different auth for the same 
> client, it use the auth randomly from one of the dle.

I'd thought that if I specified a specific DLE that it would
pick up the specific protocal. I've altered one line and commented
all the rest out.

# grep grifserv disklist | grep -v '#'
grifserv  /gmultip/climsgl       zfs-snapshot-bsdtcp


> The property should go in script section for script_zfs_snapshot

Do you mean the auth property ? That errored, when I checked
the on-line docs it looks to me like auth goes in dumptype so
that is where I left it.

Did you mean the properties in general ?

I am using this dumptype, I do I need a new script type ?

define dumptype zfs-snapshot-bsdtcp {
   index
   program "APPLICATION"
   application "app_amgtar"
   script "script_zfs_snapshot"
   auth "bsdtcp"
   property "DF-PATH"  "/usr/sbin/df"
   property "ZFS-PATH" "/usr/sbin/zfs"
   property "PFEXEC-PATH" "/usr/bin/pfexec"
   property "PFEXEC" "YES"
   estimate server
}

I had to rebuild the client side, I was inadvertently picking
up some of the older libraries. That is now consistant.

And I believe /etc/services on both ends are ok.

On Server

# grep amanda /etc/services
amanda          10080/udp                       # amanda
amanda          10080/tcp                       # amanda
amandaidx       10082/udp                       # amanda
amandaidx       10082/tcp                       # amanda
amidxtape       10083/udp                       # amanda
amidxtape       10083/tcp                       # amanda

On client

[grifserv] grep amanda /etc/services
amanda          10080/tcp                       # amanda
amanda          10080/udp                       # amanda
amandaidx       10082/tcp                       # amanda
amandaidx       10082/udp                       # amanda
amidxtape       10083/tcp                       # amanda
amidxtape       10083/udp                       # amanda



> amcheck -c curie grifserv

Amanda Backup Client Hosts Check
--------------------------------
WARNING: grifserv: selfcheck request failed: EOF on read from 
grifserv.wadsworth.org
Client check: 1 host checked in 0.067 seconds.  1 problem found.

(brought to you by Amanda 3.1.2)

We are getting a client server handshake, but not one between
friends. I have no client side logging in either /tmp/amanda
or in system messages.


[grifserv/var/svc/manifest/network] snoop host curieb
Using device bge0 (promiscuous mode)
curieb.wadsworth.org -> grifserv.wadsworth.org TCP D=10080 S=516 Syn 
Seq=2686087875 Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
grifserv.wadsworth.org -> curieb.wadsworth.org TCP D=516 S=10080 Syn 
Ack=2686087876 Seq=2853612878 Len=0 Win=49640 Options=<mss 1460,nop,wscale 
0,nop,nop,sackOK>
curieb.wadsworth.org -> grifserv.wadsworth.org TCP D=10080 S=516 Ack=2853612879 
Seq=2686087876 Len=0 Win=49640
curieb.wadsworth.org -> grifserv.wadsworth.org TCP D=10080 S=516 Push 
Ack=2853612879 Seq=2686087876 Len=89 Win=64240
grifserv.wadsworth.org -> curieb.wadsworth.org TCP D=516 S=10080 Ack=2686087965 
Seq=2853612879 Len=0 Win=49640
grifserv.wadsworth.org -> curieb.wadsworth.org TCP D=516 S=10080 Fin 
Ack=2686087965 Seq=2853612879 Len=0 Win=49640
curieb.wadsworth.org -> grifserv.wadsworth.org TCP D=10080 S=516 Ack=2853612880 
Seq=2686087965 Len=0 Win=64240
curieb.wadsworth.org -> grifserv.wadsworth.org TCP D=10080 S=516 Fin 
Ack=2853612880 Seq=2686087965 Len=0 Win=64240
grifserv.wadsworth.org -> curieb.wadsworth.org TCP D=516 S=10080 Ack=2686087966 
Seq=2853612880 Len=0 Win=49640


                                                thank you,

                                                Brian


---
   Brian R Cuttler                 brian.cutt...@wadsworth.org
   Computer Systems Support        (v) 518 486-1697
   Wadsworth Center                (f) 518 473-6384
   NYS Department of Health        Help Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.


Reply via email to