From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2 Description of problem: amcheck produces and error when the backup config has the manual tape changer script enabled.: amcheck-server: could not get changer info: badly formed result from changer: "/usr/lib/amanda/chg-manual: line 33: -E: command not found" Line 33 is: EGREP=grep -E It this is quoted, amcheck will work: EGREP="grep -E" Version-Release number of selected component (if applicable): amanda-server-2.4.4p1-0.3E How reproducible: Always Steps to Reproduce: 1. Install amanda-server and amanda RPMS 2. Configure Amanda normally (disklist, tapelist, amanda.conf). Be sure that you have the following in your amanda.conf: tpchanger "chg-manual" changerfile "/var/lib/amanda/<conf_name>/changer" /var/lib/amanda/<conf_name>/changer should be the alternative "email" request() function as written in /usr/lib/amanda/chg-manual (commented out). 3. run amcheck -m <conf_name> as amanda Actual Results: Amanda emails out a report. The amanda-server section of the report will show this error: amcheck-server: could not get changer info: badly formed result from changer: "/usr/lib/amanda/chg-manual: line 33: -E: command not found" Expected Results: /usr/lib/amanda/chg-manual should not produce a command not found error causing amcheck to report an Amanda problem. (probably amdump will also fail due to this, though I have not tried that.) Additional info:
I've put test rpms of amanda*-2.4.4p1-0.3E.1.{src,i386}.rpm up on http://people.redhat.com/fenlason/.amanda/ Please try them out and report whether they fix this problem.
The new RPMs work for me. Thanks and sorry for the dealy in testing these out.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2005-533.html