Re: change tapelist order

2005-05-16 Thread Frank Smith
--On Monday, May 16, 2005 13:45:47 +1000 Keenan, Greg John (Greg)** CTR ** 
[EMAIL PROTECTED] wrote:

 Hi,
 
 Are there any problems associated with changing the order of the tapes in
 tapelist?

Only if it causes a tape you need to save to be overwritten ;-)

 I have just taken over this backup environment and one of the backup configs
 have several tapes out of order i.e. they are not sequential which some
 backup operators are finding confusing.

If you just feed it the tapes amcheck asks for, which are also mentioned
in the previous daily report (the second line: The next [x] tape[s] Amanda
expects to used [is|areare]: [xxxnn, ...]) and don't worry about the numbers,
then everything is fine.  However, out of order tapescan cause problems if
they are loaded in magazines or need to be rotated offsite, since people have
a tendency to keep 'helping' by putting them back in order.

 
 All tapes in the set have a status of reuse.  

All tapes will have a status of reuse, even the one that was just written
to, unless you have told amanda specifically not to reuse one with amadmin
config no-reuse tapelabel.

 The tapes out of order are
 several months old and are scheduled to be reused in the next few weeks.

If they were last written more than tapecycle tapes ago (which implies you
have more than tapecycle tapes labeled) then you should be able to rearrange
them without causing problems.
   One way, which doesn't require any editing of the tapelist, is to just 
amadmin
no-reuse the out of order tapes, and then amadmin reuse each one on the day
you want it to be reused again. Be aware that you must have at least tapecycle
tapes marked reuse in your tapelist or amanda will ask for a new tape.
So if your current order is 1 2 4 3 5, no-reuse 4 until after three is written
to, and then reuse it. Since it will then be the oldest tape it will be used
next.
   If you have several tapes out of order, you need to reverse the order of
tapes that will be used on the same run, or just don't think you'll remember
to mark them as reuse on the correct day, AND you're sure that the order
you're rearranging them to won't cause them to be overwritten before the data
on them has 'expired', just edit the tapelist.  The tape most recently written
is at the top, and the one to be used next is at the bottom.  I'm not sure if
just the position is used, the date, or both,  so when I've edited it adjust the
dates as well as the position (you can have duplicate dates).

 If I can change tapelist I assume I need to change tapelist.yesterday also?

I don't think you need to, it's just a backup copy of the tapelist made before
it updates it.  Perhaps it is copied back in case something fails.

Frank
 
 Thanks for your help.
 
 Regards,
 Greg.



--
Frank Smith[EMAIL PROTECTED]
Sr. Systems Administrator Voice: 512-374-4673
Hoover's Online Fax: 512-374-4501


amrecover Error 500 Access not allowed: [access as amanda not allowed from [EMAIL PROTECTED] amandahostsauth failed

2005-05-16 Thread Chuck Amadi
Hi I have checked my FQDN entries in /var/lib/amanda/.amandahosts
I have the correct entries in my /etc/hosts file.
I have the three services in my /etc/xinet.d file
amanda , amandaidx and amidxtape and I am running amrevoce as root

Any ideas as I am not running it as amanda.


server:/local/sw/amanda/bckup # /local/sw/amanda/bckup/sbin/amrecover -C
DailySet1 -t server -s server
AMRECOVER Version 2.4.4p4. Contacting server on server ...
220 server AMANDA index server (2.4.4p4) ready.
500 Access not allowed: [access as amanda not allowed from
[EMAIL PROTECTED] amandahostsauth failed

-- 
Unix/ Linux Systems Administrator

The Surgical Material Testing Laboratory (SMTL), 
Princess of Wales Hospital 
Coity Road 
Bridgend, 
United Kingdom, CF31 1RQ.

Tel: +44 1656 752820 
Fax: +44 1656 752830



Re: Request for enhancement - Auto dle

2005-05-16 Thread Alexander Jolk
Frank Smith wrote:
   A third, and probably larger issue is recovery.  If your disklist becomes
dynamic, how do you recover something from a DLE that is no longer in
your disklist?  I know it's possible with some manual editing, but is it 
practical
to try and remember what a DLE was or search through your old reports to
find out?
Actually, this slight inconvenience has been nagging me for a while, 
too, and it is in fact independent from your disklist being dynamic. 
Whenever you delete some DLE from your disklist, you can't easily 
`amrecover' from it.  Heck, you can't even ask `amadmin conf find' for 
it so that you can restore the files yourself.  As I'm sure everybody 
here does, I just `cvs update' my disklist to an earlier date in that 
case, amrecover, and then update back to the latest version, but this is 
a bit more work.

Anybody have an idea of how one could possibly circumvent this problem? 
 Fortunately, we know exactly at what time an old DLE can completely be 
forgotten about (when its last index has been killed).

Alex

--
Alexander Jolk / BUF Compagnie
tel +33-1 42 68 18 28 /  fax +33-1 42 68 18 29


Re: Request for enhancement - Auto dle

2005-05-16 Thread Alexander Jolk
Stefan G. Weichinger wrote:
I don't want to sound lazy, but isn't this solved pretty easily by
some kind of shell-script that you run regularly?
If this script finds some new directory inside that given
dle-root-directory it appends a new DLE to your disklist.
I have a perl script that does something like this.  It is quite simple 
because I read all my disks over NFS, and I already run a local `du 
-xks' on all my servers once a week.  If anybody is interested in this 
script, mail me in private.

Alex

--
Alexander Jolk / BUF Compagnie
tel +33-1 42 68 18 28 /  fax +33-1 42 68 18 29


Re: amrecover Error 500 Access not allowed: [access as amanda not allowed from [EMAIL PROTECTED] amandahostsauth failed

2005-05-16 Thread Joshua Baker-LePain
On Mon, 16 May 2005 at 10:38am, Chuck Amadi wrote

 server:/local/sw/amanda/bckup # /local/sw/amanda/bckup/sbin/amrecover -C
 DailySet1 -t server -s server
 AMRECOVER Version 2.4.4p4. Contacting server on server ...
 220 server AMANDA index server (2.4.4p4) ready.
 500 Access not allowed: [access as amanda not allowed from
 [EMAIL PROTECTED] amandahostsauth failed

You need the line:

server.domain.co.uk root

in ~amanda/.amandahosts.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


Re: newbie questions about setting up amanda

2005-05-16 Thread Alexander Jolk
Stefan G. Weichinger wrote:
I don't know right now if there are differences between includes and
excludes when it comes to permissions, if there are, we should think
about how to handle them and if we should remove them.
It would seem to me that includes are processed by amanda before running 
GNUTAR, dependent on what files she sees in your DLE; excludes on the 
other hand are simply passed on to GNUTAR.  Which means indeed, that for 
includes to work, amanda needs read access to the directory, whereas for 
excludes, runtar's being SUID root is sufficient.

Since amanda is not supposed to be SUID root, I think that for the time 
being, a note in the docs is all that we can do.

(The relevant code seems to be in client-src/client_util.c, functions 
build_include() and add_include().)

Alex
--
Alexander Jolk / BUF Compagnie
tel +33-1 42 68 18 28 /  fax +33-1 42 68 18 29


Re: Amanda exclusion: is amanda (gnutar) able to differentiate between direcoty and file names ?

2005-05-16 Thread Guy Dallaire
2005/5/15, Jon LaBadie [EMAIL PROTECTED]:
 
 It sounds as if you believe an exclude pattern of ./foo will
 exclude any file and/or directory containing the string 'foo'.
 Not so, ./foo will only match, and only exclude one item.
 It may be a file called 'foo' under the mount point or it
 may be a directory in the same location.  If 'foo' is a file,
 that is all that is excluded.  If 'foo' is a directory, then
 the directory and everything under it is excluded.  No other
 directories or files are affected.
 

Ah !

The doc says:

-
Exclude any file or directory that ends in .log e.g. ppp.log, XFree86.0.log

./*.log

Exclude any file or directory with the string log e.g. logfile,
maillog, syslog, ppp.log, XFree86.0.log

*/*log*

Exclude any file or directory that starts with string cron and ends
in .gz e.g. cron.1.gz, cron.2.gz, log/cron.1.gz

./*cron*.gz
--

You mean those examples will NOT work in a directory other than .
(The DLE i'm backing up) ?

There is noy way to tell amanda to skip all files ending in .mp3 for
example, whatever the directory they may reside in ?

Thanks



Re: amrecover Error 500 Access not allowed: [access as amanda not allowed from [EMAIL PROTECTED] amandahostsauth failed

2005-05-16 Thread Joshua Baker-LePain
On Mon, 16 May 2005 at 11:31am, Chuck Amadi wrote

 On Mon, 2005-05-16 at 06:15 -0400, Joshua Baker-LePain wrote:
  On Mon, 16 May 2005 at 10:38am, Chuck Amadi wrote
  
   server:/local/sw/amanda/bckup # /local/sw/amanda/bckup/sbin/amrecover -C
   DailySet1 -t server -s server
   AMRECOVER Version 2.4.4p4. Contacting server on server ...
   220 server AMANDA index server (2.4.4p4) ready.
   500 Access not allowed: [access as amanda not allowed from
   [EMAIL PROTECTED] amandahostsauth failed
  
  You need the line:
  
  server.domain.co.uk root
  
  in ~amanda/.amandahosts.
  
 I know it's had to believe but I do have that in my
 ~amanda /.amandahosts file
 
 Makes no difference.

On the amanda server?  If so, look for debug files in /tmp/amanda for more 
info and post those...


-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


Re: iptables script

2005-05-16 Thread Tom Brown
thanks all!
Tom
:
On Sat, May 14, 2005 at 05:29:10PM -0400, Joshua Baker-LePain enlightened us:
For the first time ever i have to backup a machine over the 'internet' -
This client is using iptables as its firewall. Does anyone have an iptables
rule they would like to share that would allow amanda through to be able to
backup this client?
If you haven't compiled with any portrange options, you'll have to do 
something like this:

-A INPUT -p udp -s $AMANDA_SERVER -d 0/0 --dport 10080 -j ACCEPT
-A INPUT -p tcp -m tcp -s $AMANDA_SERVER -d 0/0 --dport 1025:65535 -j ACCEPT

Or 

-A INPUT -p udp -s $AMANDA_SERVER -d $AMANDA_CLIENT --dport 10080 -j ACCEPT
and load the ip_conntrack_amanda kernel module. I use the following in
/etc/modprobe.conf:
options ip_conntrack_amanda master_timeout=2400
install ip_tables /sbin/modprobe --ignore-install ip_tables  \
/sbin/modprobe ip_conntrack_amanda
(Lines 2  3 are all one line)
This sets the UDP timeout for amanda packets to 2400 seconds, up from the
default 300 (don't hold me to that, it might be 600). I was getting estimate
timeouts since they were taking longer than 300/600 seconds and the firewall
would close the port.
Makes things a little more secure than opening up everything  1024 ;-)
Matt



record no option effect in global dumptype

2005-05-16 Thread Guy Dallaire
If I put record no in the global dumptype in amanda.conf, it means
that the /etc/dumpdates and /etc/amandates is not updated when the
dumps occur. Does it prevent the planner from doing its job properly ?



Re: amrecover Error 500 Access not allowed: [access as amanda not allowed from [EMAIL PROTECTED] amandahostsauth failed

2005-05-16 Thread Chuck Amadi

Hi I had a look at # less  amrecover.20050516105131.debug

 
amrecover: debug 1 pid 25626 ruid 0 euid 0: start at Mon May 16 10:51:31
2005
amrecover: stream_client_privileged: connected to 192.168.1.55.10082
amrecover: stream_client_privileged: our side is 0.0.0.0.829
amrecover.20050516105131.debug lines 1-3/3 (END)


Also # less amindexd.20050516105131.debug

amindexd: debug 1 pid 25627 ruid 1014 euid 1014: start at Mon May 16
10:51:31 2005
amindexd: version 2.4.4p4
amindexd: time 0.000:  220 server AMANDA index server (2.4.4p4) ready.
amindexd: time 0.000:  SECURITY USER root
amindexd: time 0.001: bsd security: remote host server.domain.co.uk user
root local user amanda
amindexd: time 0.001: check failed: [access as amanda not allowed from
[EMAIL PROTECTED] amandahostsauth failed
amindexd: time 0.001:  500 Access not allowed: [access as amanda not
allowed from [EMAIL PROTECTED] amandahostsauth failed
amindexd: time 0.001:  200 Good bye.
amindexd: time 0.001: pid 25627 finish time Mon May 16 10:51:31 2005

I am running as root

My ~amanda /.amandahost file is as follows

server.domain.co.uk amanda
server.domain.co.uk root

/etc/hosts file
192.168.X.XX   server.domain.co.uk  server
 



On Mon, 2005-05-16 at 08:25 -0400, Joshua Baker-LePain wrote:
 On Mon, 16 May 2005 at 11:31am, Chuck Amadi wrote
 
  On Mon, 2005-05-16 at 06:15 -0400, Joshua Baker-LePain wrote:
   On Mon, 16 May 2005 at 10:38am, Chuck Amadi wrote
   
server:/local/sw/amanda/bckup # /local/sw/amanda/bckup/sbin/amrecover -C
DailySet1 -t server -s server
AMRECOVER Version 2.4.4p4. Contacting server on server ...
220 server AMANDA index server (2.4.4p4) ready.
500 Access not allowed: [access as amanda not allowed from
[EMAIL PROTECTED] amandahostsauth failed
   
   You need the line:
   
   server.domain.co.uk root
   
   in ~amanda/.amandahosts.
   
  I know it's had to believe but I do have that in my
  ~amanda /.amandahosts file
  
  Makes no difference.
 
 On the amanda server?  If so, look for debug files in /tmp/amanda for more 
 info and post those...
 
 
-- 
Unix/ Linux Systems Administrator

The Surgical Material Testing Laboratory (SMTL), 
Princess of Wales Hospital 
Coity Road 
Bridgend, 
United Kingdom, CF31 1RQ.

Tel: +44 1656 752820 
Fax: +44 1656 752830



Re: amrecover Error 500 Access not allowed: [access as amanda notallowed from [EMAIL PROTECTED] amandahostsauth failed

2005-05-16 Thread Matthew Claridge
Chuck,
You need both client and server machines listed in the .amandahosts file 
on the server. Currently you've only got the one server listed there.

talk to you soon mate
Matt
on 16/05/2005 16:09 Chuck Amadi said the following:
Hi I had a look at # less  amrecover.20050516105131.debug
amrecover: debug 1 pid 25626 ruid 0 euid 0: start at Mon May 16 10:51:31
2005
amrecover: stream_client_privileged: connected to 192.168.1.55.10082
amrecover: stream_client_privileged: our side is 0.0.0.0.829
amrecover.20050516105131.debug lines 1-3/3 (END)
Also # less amindexd.20050516105131.debug
amindexd: debug 1 pid 25627 ruid 1014 euid 1014: start at Mon May 16
10:51:31 2005
amindexd: version 2.4.4p4
amindexd: time 0.000:  220 server AMANDA index server (2.4.4p4) ready.
amindexd: time 0.000:  SECURITY USER root
amindexd: time 0.001: bsd security: remote host server.domain.co.uk user
root local user amanda
amindexd: time 0.001: check failed: [access as amanda not allowed from
[EMAIL PROTECTED] amandahostsauth failed
amindexd: time 0.001:  500 Access not allowed: [access as amanda not
allowed from [EMAIL PROTECTED] amandahostsauth failed
amindexd: time 0.001:  200 Good bye.
amindexd: time 0.001: pid 25627 finish time Mon May 16 10:51:31 2005
I am running as root
My ~amanda /.amandahost file is as follows
server.domain.co.uk amanda
server.domain.co.uk root
/etc/hosts file
192.168.X.XX   server.domain.co.uk  server



On Mon, 2005-05-16 at 08:25 -0400, Joshua Baker-LePain wrote:
 

On Mon, 16 May 2005 at 11:31am, Chuck Amadi wrote
   

On Mon, 2005-05-16 at 06:15 -0400, Joshua Baker-LePain wrote:
 

On Mon, 16 May 2005 at 10:38am, Chuck Amadi wrote
   

server:/local/sw/amanda/bckup # /local/sw/amanda/bckup/sbin/amrecover -C
DailySet1 -t server -s server
AMRECOVER Version 2.4.4p4. Contacting server on server ...
220 server AMANDA index server (2.4.4p4) ready.
500 Access not allowed: [access as amanda not allowed from
[EMAIL PROTECTED] amandahostsauth failed
 

You need the line:
server.domain.co.uk root
in ~amanda/.amandahosts.
   

I know it's had to believe but I do have that in my
~amanda /.amandahosts file
Makes no difference.
 

On the amanda server?  If so, look for debug files in /tmp/amanda for more 
info and post those...

   

--
*Matthew Claridge*
Product Support Engineer
RWA Limited
Direct line: 02920 815 054
Email: [EMAIL PROTECTED]
Web: www.rwa-net.co.uk


Re: Request for enhancement - Auto dle

2005-05-16 Thread Jean-Louis Martineau
Hi Alexander,

It's time to upgrade

From the NEWS file:
   Changes in release 2.4.4p2
   * 'amadmin find' list disk removed from the disklist.
   * amrecover can recover a disk removed from the disklist file.

Jean-Louis

On Mon, May 16, 2005 at 12:10:52PM +0200, Alexander Jolk wrote:
 Frank Smith wrote:
 
A third, and probably larger issue is recovery.  If your disklist 
becomes
 dynamic, how do you recover something from a DLE that is no longer in
 your disklist?  I know it's possible with some manual editing, but is it 
 practical
 to try and remember what a DLE was or search through your old reports to
 find out?
 
 Actually, this slight inconvenience has been nagging me for a while, 
 too, and it is in fact independent from your disklist being dynamic. 
 Whenever you delete some DLE from your disklist, you can't easily 
 `amrecover' from it.  Heck, you can't even ask `amadmin conf find' for 
 it so that you can restore the files yourself.  As I'm sure everybody 
 here does, I just `cvs update' my disklist to an earlier date in that 
 case, amrecover, and then update back to the latest version, but this is 
 a bit more work.
 
 Anybody have an idea of how one could possibly circumvent this problem? 
  Fortunately, we know exactly at what time an old DLE can completely be 
 forgotten about (when its last index has been killed).
 
 Alex
 
 
 
 
 -- 
 Alexander Jolk / BUF Compagnie
 tel +33-1 42 68 18 28 /  fax +33-1 42 68 18 29

-- 
Jean-Louis Martineau email: [EMAIL PROTECTED] 
Département IRO, Université de Montréal
C.P. 6128, Succ. CENTRE-VILLETel: (514) 343-6111 ext. 3529
Montréal, Canada, H3C 3J7Fax: (514) 343-5834


Re: Request for enhancement - Auto dle

2005-05-16 Thread Alexander Jolk
Jean-Louis Martineau wrote:
Hi Alexander,
It's time to upgrade
From the NEWS file:
   Changes in release 2.4.4p2
   * 'amadmin find' list disk removed from the disklist.
   * amrecover can recover a disk removed from the disklist file.
Wow, that one had passed under my radar.  Great!
Alex
--
Alexander Jolk / BUF Compagnie
tel +33-1 42 68 18 28 /  fax +33-1 42 68 18 29


Re: Errors when running amcheck - # su amanda -c /usr/sbin/amcheck DailySet1

2005-05-16 Thread Chuck Amadi
Hi I run make distclean and reconfigured and I noticed the following
which running ./configure I choose the following where Amanda will live.

./configure --with-user=amanda \
 --with-group=disk \
 --with-owner=amanda \
 --with-gnu-ld \
 --prefix=/local/sw/amanda/bckup \
 --with-tapedev=FILE:/amandatapes \
 --with-debugging=/tmp/amanda-dbg/ \
 --with-tape-server=server \
 --with-amandahosts \
 --with-configdir=/local/sw/amanda \
 --with-config=DailySet1 \
 --with-gnutar=/bin/tar

Here's the Warning which I believe is causing my issues down the line 

configure: WARNING: *** No terminal library, no history and command line
editing in amrecover!

configure: WARNING: *** vtblc headers not found - no QIC volume table
support!

I have readline installed So any ideas 

Cheers



-- 
Unix/ Linux Systems Administrator

The Surgical Material Testing Laboratory (SMTL), 
Princess of Wales Hospital 
Coity Road 
Bridgend, 
United Kingdom, CF31 1RQ.

Tel: +44 1656 752820 
Fax: +44 1656 752830



Re: Errors when running amcheck - # su amanda -c /usr/sbin/amcheck DailySet1

2005-05-16 Thread Matt Hyclak
On Mon, May 16, 2005 at 05:31:03PM +0100, Chuck Amadi enlightened us:
 I run make distclean and reconfigured and I noticed the following
 which running ./configure I choose the following where Amanda will live.
 
 ./configure --with-user=amanda \
  --with-group=disk \
  --with-owner=amanda \
  --with-gnu-ld \
  --prefix=/local/sw/amanda/bckup \
  --with-tapedev=FILE:/amandatapes \
  --with-debugging=/tmp/amanda-dbg/ \
  --with-tape-server=server \
  --with-amandahosts \
  --with-configdir=/local/sw/amanda \
  --with-config=DailySet1 \
  --with-gnutar=/bin/tar
 
 Here's the Warning which I believe is causing my issues down the line 
 
 configure: WARNING: *** No terminal library, no history and command line
 editing in amrecover!
 
 configure: WARNING: *** vtblc headers not found - no QIC volume table
 support!
 
 I have readline installed So any ideas 

Check config.log to see why amanda doesn't think readline is installed.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263


pgpcBkMwcpDxJ.pgp
Description: PGP signature


Re: Errors when running amcheck - # su amanda -c /usr/sbin/amcheck possible configure issue.

2005-05-16 Thread Chuck Amadi Systems Administrator
Hi cheers for that

I have less less /local/sw/src/amanda-2.4.4p4/config.log

here is part of the /readline arguments.

And as you are aware hell of alot of data mostly stating no file or
directory found and last but not least READLINE_LIBS=

configure:27608: checking readline.h usability
configure:27620: gcc -c -D_FILE_OFFSET_BITS=64 -g -O2
-D_FILE_OFFSET_BITS=64conftest.c 5
conftest.c:129:22: readline.h: No such file or directory
configure:27626: $? = 1

I have run # locate readline

server:/local/sw/src/amanda-2.4.4 # locate readline
/lib/libreadline.so.4
/lib/libreadline.so.4.3
/usr/include/guile-readline
/usr/include/guile-readline/readline.h
/usr/lib/libguilereadline-v-12.a
/usr/lib/libguilereadline-v-12.la
/usr/lib/libguilereadline-v-12.so
/usr/lib/libguilereadline-v-12.so.12
/usr/lib/libguilereadline-v-12.so.12.3.0
/usr/lib/python2.3/lib-dynload/readline.so
/usr/lib/python2.3/lib-dynload/xreadlines.so
/usr/share/doc/packages/bash/readline.html
/usr/share/guile/1.6/ice-9/readline.scm
/usr/share/info/readline.info.gz
/usr/share/vim/vim62/indent/readline.vim
/usr/share/vim/vim62/syntax/readline.vim

Thus is there an configure option to point to where my realine libs
reside.

Cheers

Chuck

 On Mon, 2005-05-16 at 13:04 -0400, Matt Hyclak wrote:
 On Mon, May 16, 2005 at 05:31:03PM +0100, Chuck Amadi enlightened us:
  I run make distclean and reconfigured and I noticed the following
  which running ./configure I choose the following where Amanda will live.
  
  ./configure --with-user=amanda \
   --with-group=disk \
   --with-owner=amanda \
   --with-gnu-ld \
   --prefix=/local/sw/amanda/bckup \
   --with-tapedev=FILE:/amandatapes \
   --with-debugging=/tmp/amanda-dbg/ \
   --with-tape-server=server \
   --with-amandahosts \
   --with-configdir=/local/sw/amanda \
   --with-config=DailySet1 \
   --with-gnutar=/bin/tar
  
  Here's the Warning which I believe is causing my issues down the line 
  
  configure: WARNING: *** No terminal library, no history and command line
  editing in amrecover!
  
  configure: WARNING: *** vtblc headers not found - no QIC volume table
  support!
  
  I have readline installed So any ideas 
 
 Check config.log to see why amanda doesn't think readline is installed.
 
 Matt
 



Re: Errors when running amcheck - # su amanda -c /usr/sbin/amcheck possible configure issue.

2005-05-16 Thread Matt Hyclak
On Mon, May 16, 2005 at 06:31:34PM +0100, Chuck Amadi Systems Administrator 
enlightened us:
 cheers for that
 
 I have less less /local/sw/src/amanda-2.4.4p4/config.log
 
 here is part of the /readline arguments.
 
 And as you are aware hell of alot of data mostly stating no file or
 directory found and last but not least READLINE_LIBS=
 
 configure:27608: checking readline.h usability
 configure:27620: gcc -c -D_FILE_OFFSET_BITS=64 -g -O2
 -D_FILE_OFFSET_BITS=64conftest.c 5
 conftest.c:129:22: readline.h: No such file or directory
 configure:27626: $? = 1
 
 I have run # locate readline
 
 server:/local/sw/src/amanda-2.4.4 # locate readline
 /lib/libreadline.so.4
 /lib/libreadline.so.4.3
 /usr/include/guile-readline
 /usr/include/guile-readline/readline.h
 /usr/lib/libguilereadline-v-12.a
 /usr/lib/libguilereadline-v-12.la
 /usr/lib/libguilereadline-v-12.so
 /usr/lib/libguilereadline-v-12.so.12
 /usr/lib/libguilereadline-v-12.so.12.3.0
 /usr/lib/python2.3/lib-dynload/readline.so
 /usr/lib/python2.3/lib-dynload/xreadlines.so
 /usr/share/doc/packages/bash/readline.html
 /usr/share/guile/1.6/ice-9/readline.scm
 /usr/share/info/readline.info.gz
 /usr/share/vim/vim62/indent/readline.vim
 /usr/share/vim/vim62/syntax/readline.vim
 
 Thus is there an configure option to point to where my realine libs
 reside.


Guile-readline and readline aren't the same thing. Is this a linux system?
My guess is that you're missing readline-devel or readline-dev (whatever
your system uses). You should probably have /usr/include/readline/readline.h
in there somewhere. On my redhat system:

[EMAIL PROTECTED] ~]$ rpm -qf /usr/include/readline/readline.h 
readline-devel-4.3-13

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263


pgpjBaNs1CFHf.pgp
Description: PGP signature


Re: Errors when running amcheck - # su amanda -c /usr/sbin/amcheck DailySet1

2005-05-16 Thread Chuck Amadi Systems Administrator
Hi When I run ./configure

I got these errors

checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
checking readline/history.h usability... no
checking readline/history.h presence... no
checking for readline/history.h... no
checking readline/readline.h usability... no
checking readline/readline.h presence... no
checking for readline/readline.h... no

Is there a way using the ./configure options to point th where my readlin lib's 
are.

Cheers

On Mon, 2005-05-16 at 13:04 -0400, Matt Hyclak wrote:
 On Mon, May 16, 2005 at 05:31:03PM +0100, Chuck Amadi enlightened us:
  I run make distclean and reconfigured and I noticed the following
  which running ./configure I choose the following where Amanda will live.
  
  ./configure --with-user=amanda \
   --with-group=disk \
   --with-owner=amanda \
   --with-gnu-ld \
   --prefix=/local/sw/amanda/bckup \
   --with-tapedev=FILE:/amandatapes \
   --with-debugging=/tmp/amanda-dbg/ \
   --with-tape-server=server \
   --with-amandahosts \
   --with-configdir=/local/sw/amanda \
   --with-config=DailySet1 \
   --with-gnutar=/bin/tar
  
  Here's the Warning which I believe is causing my issues down the line 
  
  configure: WARNING: *** No terminal library, no history and command line
  editing in amrecover!
  
  configure: WARNING: *** vtblc headers not found - no QIC volume table
  support!
  
  I have readline installed So any ideas 
 
 Check config.log to see why amanda doesn't think readline is installed.
 
 Matt
 



Re: Errors when running amcheck - # su amanda -c /usr/sbin/amcheck DailySet1

2005-05-16 Thread Frank Smith
--On Monday, May 16, 2005 17:31:03 +0100 Chuck Amadi [EMAIL PROTECTED] wrote:

 Hi I run make distclean and reconfigured and I noticed the following
 which running ./configure I choose the following where Amanda will live.
 
 ./configure --with-user=amanda \
  --with-group=disk \
  --with-owner=amanda \
  --with-gnu-ld \
  --prefix=/local/sw/amanda/bckup \
  --with-tapedev=FILE:/amandatapes \
  --with-debugging=/tmp/amanda-dbg/ \
  --with-tape-server=server \
  --with-amandahosts \
  --with-configdir=/local/sw/amanda \
  --with-config=DailySet1 \
  --with-gnutar=/bin/tar
 
 Here's the Warning which I believe is causing my issues down the line 

I don't see how either of these could contribute to your 'selfcheck timeout'
problem, but you probably would want to get readline support working since
it comes in handy on restores (but is not necessary).

 configure: WARNING: *** No terminal library, no history and command line
 editing in amrecover!

If it's a Linux box, I'm guessing you may have the readline libraries, but don't
have the readline development package (which contains the readline.h that
configure looks for) installed.

 configure: WARNING: *** vtblc headers not found - no QIC volume table
 support!

I wouldn't worry about that unless you need floppy tape support.  Does anybody
still use this?

Frank

 I have readline installed So any ideas 
 
 Cheers
 
 
 
 -- 
 Unix/ Linux Systems Administrator
 
 The Surgical Material Testing Laboratory (SMTL), 
 Princess of Wales Hospital 
 Coity Road 
 Bridgend, 
 United Kingdom, CF31 1RQ.
 
 Tel: +44 1656 752820 
 Fax: +44 1656 752830



-- 
Frank Smith  [EMAIL PROTECTED]
Sr. Systems Administrator   Voice: 512-374-4673
Hoover's Online   Fax: 512-374-4501



Re: Errors when running amcheck - # su amanda -c /usr/sbin/amcheck possible configure issue.

2005-05-16 Thread Joshua Baker-LePain
On Mon, 16 May 2005 at 6:31pm, Chuck Amadi Systems Administrator wrote

 And as you are aware hell of alot of data mostly stating no file or
 directory found and last but not least READLINE_LIBS=
 
 configure:27608: checking readline.h usability
 configure:27620: gcc -c -D_FILE_OFFSET_BITS=64 -g -O2
 -D_FILE_OFFSET_BITS=64conftest.c 5
 conftest.c:129:22: readline.h: No such file or directory
 configure:27626: $? = 1
 
 I have run # locate readline
 
 server:/local/sw/src/amanda-2.4.4 # locate readline
 /lib/libreadline.so.4
 /lib/libreadline.so.4.3
 /usr/include/guile-readline
 /usr/include/guile-readline/readline.h
 /usr/lib/libguilereadline-v-12.a
 /usr/lib/libguilereadline-v-12.la
 /usr/lib/libguilereadline-v-12.so
 /usr/lib/libguilereadline-v-12.so.12
 /usr/lib/libguilereadline-v-12.so.12.3.0
 /usr/lib/python2.3/lib-dynload/readline.so
 /usr/lib/python2.3/lib-dynload/xreadlines.so
 /usr/share/doc/packages/bash/readline.html
 /usr/share/guile/1.6/ice-9/readline.scm
 /usr/share/info/readline.info.gz
 /usr/share/vim/vim62/indent/readline.vim
 /usr/share/vim/vim62/syntax/readline.vim

It seems to me that you're missing what on Red Hat, e.g., would be the 
'readline-devel' RPM, which supplies /usr/include/readline and its 
contents (including readline.h).  You never mentioned OS as far as I 
recall, but make sure all the appropriate devel packages are installed.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


Re: Simple rendezvous mechanism before starting backup ?

2005-05-16 Thread Alexander Jolk
Guy Dallaire wrote:
I'm planning to run a wrapper for amdump instead of amdump. This
wrapper would essentially wait for all the clients clients to tell
they're ready, and then either time out or start the real amdup.
You are aware that amdump won't start the real backup
on all the clients at once?  Depending on the volume
of your data, you might end up stopping your amanda clients'
services for far longer than necessary.  The suggestions for
wrapper scripts that have been proposed several times on the
list, wait for the real data sending phase before stopping services.
Does anyone have a good suggestion ? Is there a SIMPLE tool that is
usable over the network to permit simple message based communication
protocol between a server and clients ?
Why don't you leverage amanda's existing communications infrastructure 
for that purpose?  That seems simpler to me than whipping up a second 
channel, even if it should be rather easy to do with netcat or perl.

Alex
--
Alexander Jolk / BUF Compagnie
tel +33-1 42 68 18 28 /  fax +33-1 42 68 18 29


Re: Errors when running amcheck - # su amanda -c /usr/sbin/amcheck DailySet1

2005-05-16 Thread Stefan G. Weichinger
Hi, Matt,

on Montag, 16. Mai 2005 at 19:04 you wrote to amanda-users:

 configure: WARNING: *** No terminal library, no history and command line
 editing in amrecover!
 
 configure: WARNING: *** vtblc headers not found - no QIC volume table
 support!

You only need that with QIC-tapes.

 I have readline installed So any ideas 

MH Check config.log to see why amanda doesn't think readline is installed.

Make sure the readline-devel-package is installed, not only readline ...

-- 
best regards,
Stefan

Stefan G. Weichinger
mailto:[EMAIL PROTECTED]






Typo error in the amanda docs (I think)

2005-05-16 Thread Guy Dallaire
On this page:

http://www.amanda.org/docs/install.html#id2501401

section D

#/etc/xinetd.d/amidxtaped

should read

#/etc/xinetd.d/amidxtape

Because the service on section C is called amidxtape



Re: Amanda exclusion: is amanda (gnutar) able to differentiate between direcoty and file names ?

2005-05-16 Thread Jon LaBadie
On Mon, May 16, 2005 at 08:14:14AM -0400, Guy Dallaire wrote:
 2005/5/15, Jon LaBadie [EMAIL PROTECTED]:
  
  It sounds as if you believe an exclude pattern of ./foo will
  exclude any file and/or directory containing the string 'foo'.
  Not so, ./foo will only match, and only exclude one item.
  It may be a file called 'foo' under the mount point or it
  may be a directory in the same location.  If 'foo' is a file,
  that is all that is excluded.  If 'foo' is a directory, then
  the directory and everything under it is excluded.  No other
  directories or files are affected.
  
 
 Ah !
 
 The doc says:
 
 -
 Exclude any file or directory that ends in .log e.g. ppp.log, XFree86.0.log
 
 ./*.log
 
 Exclude any file or directory with the string log e.g. logfile,
 maillog, syslog, ppp.log, XFree86.0.log
 
 */*log*
 
 Exclude any file or directory that starts with string cron and ends
 in .gz e.g. cron.1.gz, cron.2.gz, log/cron.1.gz
 
 ./*cron*.gz
 --
 
 You mean those examples will NOT work in a directory other than .
 (The DLE i'm backing up) ?
 
 There is noy way to tell amanda to skip all files ending in .mp3 for
 example, whatever the directory they may reside in ?

You diagram looked like oradata was at the top level.
None of my examples included the * wild card.

   ./oradata
   ./*oradata
   ./*/oradata

are patterns with different meanings.

The first and third will not exclude anything except items exactly
named oradata but at different levels.  The second works on items
whose name ends in oradata.  This of course includes oradata exactly.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)