Amanda-Users

Re: 2.5.1 bsdtcp auth under irix: which ports?

2006-09-12 10:22:40
Subject: Re: 2.5.1 bsdtcp auth under irix: which ports?
From: Jean-Francois Malouin <Jean-Francois.Malouin AT bic.mni.mcgill DOT ca>
To: Jean-Louis Martineau <martineau AT zmanda DOT com>
Date: Tue, 12 Sep 2006 10:15:31 -0400
* Jean-Louis Martineau <martineau AT zmanda DOT com> [20060912 07:40]:
> Jean-Francois,
> 
> bsdtcp is always using the "amanda" service, this is a bug.
> With the attached patch, it will use the '--with-testing' setting, the 
> 'amanda-conf10' service will be used.

Just applied the patch and recompiled. That did it. 
Thanks again Jean-Louis!

Looking at the selfcheck debug files for the client (server is the
only client at the moment) there is a warning about amanda-client.conf
not being in the (wrong) place I assume but then it proceed to find
it at the right place. I'm not sure if it's the normal behaviour:

selfcheck: debug 1 pid 2101774 ruid 666 euid 666: start at Tue Sep 12
10:00:49 2
selfcheck: version 2.5.1
Could not open conf file
"/opt/amanda/amanda10/etc/amanda/amanda-client.conf": No such file or 
directory
Reading conf file
"/opt/amanda/amanda10/etc/amanda/stk_180-conf10/amanda-client.
selfcheck: debug 1 pid 2101774 ruid 666 euid 666: rename at Tue Sep 12 10:00:49 
selfcheck: time 0.041: checking disk /
selfcheck: time 0.042: device /
selfcheck: time 0.042: disk / OK
selfcheck: time 0.042: amdevice / OK
selfcheck: time 0.042: device / OK
selfcheck: time 0.067: pid 2101774 finish time Tue Sep 12 10:00:49 2006



> 
> Jean-Louis
> 
> Jean-Francois Malouin wrote:
> >Hello,
> >
> >Thanks to some Jean-Louis who provided a patch to make amanda
> >parse properly the config file when running irix-6.5.x
> >
> >Now next problem: amcheck complains that selfcheck failed due to
> >connection refused. I wonder which port numbers are used when
> >amanda was compiled with the following flags:
> >
> >--with-bsdtcp-security                      \
> >--with-amandahosts                          \
> >--with-testing=conf10                       \
> >­-with-tcpportrange=20482,20993             \ 
> >--with-udpportrange=955,978                 \
> >
> >Under the bsdtcp auth scheme which amanda ports
> >should I define in /etc/services? Right now I have
> >the following:
> >
> >amanda-conf10   10116/tcp
> >amanda-conf10   10116/udp
> >kamanda-conf10  10117/udp
> >amandaidx-conf10 10118/tcp
> >amidxtape-conf10 10119/tcp
> >
> >and inetd.conf looks like:
> >
> >amanda-conf10 stream tcp nowait amanda <amanda_root>/libexec/amandad \
> >    amandad -auth=bsdtcp amdump amindexd amidxtaped
> >
> >and ~amanda/.amandahosts:
> >
> ><server_name> amanda amdump amindexd amidxtaped
> >
> >regards,
> >jf
> >  
> 



-- 
<° ><

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