amflush problem

2013-06-27 Thread Jean-Francois Malouin
Hi, It's been a while since I had to flush a dump from the holddisk to tape. I use a bash script that contains: amflush -f -b -oflush-threshold-dumped=0 -oflush-threshold-scheduled=0 -otaperflush=0 $conf Whwn invoked as the amanda user I get the error: "/opt/amanda-3.3.2/etc/amanda/top/disklis

Re: amanda, fresh startup, wrong printer for report

2013-06-27 Thread Jean-Louis Martineau
amanda use the Mail command to send email. You must fix your system so that Mail works. Jean-Louis On 06/27/2013 11:03 AM, Gene Heskett wrote: On Thursday 27 June 2013 10:49:14 Jean-Louis Martineau did opine: Gene, Do the following command works to send an email: /usr/bin/Mail -s 'The C

Re: error whith amlabel and chg-rait

2013-06-27 Thread Jean-Louis Martineau
Dennis, Try the attached patch. The barcode for the rait is '{D00225,D00225}', You must adjust the labelstr. Jean-Louis On 06/27/2013 10:30 AM, Dennis Benndorf wrote: Hi, amanda@dl380-54:~$ amlabel -f mirror slot '{225,225}' Reading label... Found Amanda volume 'D00225'. Newly-generated

Re: amanda, fresh startup, wrong printer for report

2013-06-27 Thread Gene Heskett
On Thursday 27 June 2013 10:49:14 Jean-Louis Martineau did opine: > Gene, > > Do the following command works to send an email: > >/usr/bin/Mail -s 'The Coyote Den STRANGE: AMANDA MAIL REPORT FOR June > 27, 2013' g...@coyote.coyote.den > No, and the first ctrl-D gets me a Cc: prompt, the nex

Re: error whith amlabel and chg-rait

2013-06-27 Thread Dennis Benndorf
Hi, amanda@dl380-54:~$ amlabel -f mirror slot '{225,225}' Reading label... Found Amanda volume 'D00225'. Newly-generated label '' does not match labelstr '^D0[0-9]*$' Dont know why this happend, because labelstr is set to "^D0[0-9]*$" and autolabel to "$b" any . but if I set it by hand it works

Re: amanda, fresh startup, wrong printer for report

2013-06-27 Thread Jean-Louis Martineau
Gene, Do the following command works to send an email: /usr/bin/Mail -s 'The Coyote Den STRANGE: AMANDA MAIL REPORT FOR June 27, 2013' g...@coyote.coyote.den type the body of the email on stdin followed by ctrl-D. Can you send me the log..0 file so I can reproduce the warning you get? Je

Re: error whith amlabel and chg-rait

2013-06-27 Thread Jean-Louis Martineau
Dennis, Try the attached patch. You can patch the installed Amanda/Changer/rait.pm file. Jean-Louis On 06/27/2013 08:41 AM, Dennis Benndorf wrote: grep meta-autolabel /etc/amanda/mirror/amanda.conf show nothing. -- Regards Dennis Benndorf Am Donnerstag, 27. Juni 2013, 08:39:11 schrieb Je

Re: amanda, fresh startup, wrong printer for report

2013-06-27 Thread Gene Heskett
On Thursday 27 June 2013 09:29:23 Jean-Louis Martineau did opine: > HI, > > I committed the attached patch. > > Jean-Louis > Thank you, added to my build script and a full clean install of 4.-svn-4761 is underway. And I did find the amreport.debug file, which is pasted here, last nights vers

Re: amanda, fresh startup, wrong printer for report

2013-06-27 Thread Gene Heskett
On Thursday 27 June 2013 08:57:18 Jean-Louis Martineau did opine: > What is in the 'invoking printer' line in the amreport debug file? > Do you checked that LPRFLAG is set to "-P" in the installed Constants.pm > file, A recompilation can reinstall the broken one. > > Jean-Louis An amreport.debu

Re: error whith amlabel and chg-rait

2013-06-27 Thread Dennis Benndorf
grep meta-autolabel /etc/amanda/mirror/amanda.conf show nothing. -- Regards Dennis Benndorf > Dennis, > > Do you have 'meta-autolabel' set in your amanda.conf? unset it. > > Jean-Louis > > On 06/27/2013 08:33 AM, Dennis Benndorf wrote: > > Ok I understand but why does it tell me those messag

Re: error whith amlabel and chg-rait

2013-06-27 Thread Jean-Louis Martineau
Dennis, Do you have 'meta-autolabel' set in your amanda.conf? unset it. Jean-Louis On 06/27/2013 08:33 AM, Dennis Benndorf wrote: Ok I understand but why does it tell me those messages: amanda@dl380-54:~$ amlabel -f mirror slot '{225,225}' Reading label... Found Amanda volume 'D00225'. a

Re: error whith amlabel and chg-rait

2013-06-27 Thread Dennis Benndorf
Ok I understand but why does it tell me those messages: amanda@dl380-54:~$ amlabel -f mirror slot '{225,225}' Reading label... Found Amanda volume 'D00225'. amlabel: Can't call method "make_new_meta_label" on an undefined value at /usr/local/share/perl/5.14.2/Amanda/Changer.pm line 1632. amanda@

Re: amanda, fresh startup, wrong printer for report

2013-06-27 Thread Jean-Louis Martineau
HI, I committed the attached patch. Jean-Louis On 06/27/2013 07:40 AM, Jean-Louis Martineau wrote: What is in the 'invoking printer' line in the amreport debug file? Do you checked that LPRFLAG is set to "-P" in the installed Constants.pm file, A recompilation can reinstall the broken one.

Re: error whith amlabel and chg-rait

2013-06-27 Thread Jean-Louis Martineau
chg-rait and chg-robot do not use meta label, don't try to set it. Only chg-disk use meta-label. The barcode is the combination of all barcodes, as the inventory told you, the barcode is '{D00225,D00225}' amlabel -f --barcode '{D00225,D00225}' mirror The same is true for the slot number, yo

Re: amanda, fresh startup, wrong printer for report

2013-06-27 Thread Jean-Louis Martineau
What is in the 'invoking printer' line in the amreport debug file? Do you checked that LPRFLAG is set to "-P" in the installed Constants.pm file, A recompilation can reinstall the broken one. Jean-Louis On 06/26/2013 10:41 PM, Gene Heskett wrote: On Wednesday 26 June 2013 22:40:09 Gene Hesket

error whith amlabel and chg-rait

2013-06-27 Thread Dennis Benndorf
Hello, I am trying to set up a mirror of too robots using chg-rait. Tapes in both robots have the same barcodes. Now I want to label them with the name of their barcodes, but the following happens: /amanda@dl380-54:~$ amlabel -f --meta META225 --barcode D00225 mirror/ /Reading label.../ /No v