PDA

View Full Version : IGNORE makes errors in 2.6.4p2



jez
April 27th, 2009, 06:58 PM
After trying for a little while to use "IGNORE" to remove "STRANGE" report lines saying file changed as we read it, I finally discovered that the amgtar in 2.6.4 does not understand "--ignore". So I upgraded to 2.6.4p2 using "rpm -Uvh" on the new RPM (RHELv5), and confirmed that I can run amgtar support --config DailySet --ignore "string" and it no longer says unrecognized option: `--ignore'.

However it still doesn't work. The amdump log now shows this:

driver: send-cmd time 5.699 to dumper0: PORT-DUMP 00-00002 11008 fwadmin2.dewr.gov.au ffffffff9ffeffffffff1f /var/log NODEVICE 1 2009:4:24:7:19:37 amgtar X X X bsdtcp |" <auth>bsdtcp</auth>\n <record>YES</record>\n <index>YES</index>\n <backup-program>\n <plugin>amgtar</plugin>\n <property>\n <name>IGNORE</name>\n <value encoding=\"raw\" raw=\"OiBmaWxlIGNoYW5nZWQgYXMgd2UgcmVhZCBpdCQ=\">:_file_changed_as_we_read_it$</value>\n </property>\n </backup-program>\n"

which seems OK. But then:

driver: result time 6.732 from dumper0: FAILED 00-00002 "FORMAT ERROR IN REQUEST PACKET 'Error on line 1 char 248: Odd character 'r', expected an open quote mark after the equals sign when giving value for attribute 'encoding' of element 'value''"

It's as if with encoding="raw" it has a problem seeing the quotes.

paddy
April 27th, 2009, 08:51 PM
However it still doesn't work. The amdump log now shows this:

driver: send-cmd time 5.699 to dumper0: PORT-DUMP 00-00002 11008 fwadmin2.dewr.gov.au ffffffff9ffeffffffff1f /var/log NODEVICE 1 2009:4:24:7:19:37 amgtar X X X bsdtcp |" <auth>bsdtcp</auth>\n <record>YES</record>\n <index>YES</index>\n <backup-program>\n <plugin>amgtar</plugin>\n <property>\n <name>IGNORE</name>\n <value encoding=\"raw\" raw=\"OiBmaWxlIGNoYW5nZWQgYXMgd2UgcmVhZCBpdCQ=\">:_file_changed_as_we_read_it$</value>\n </property>\n </backup-program>\n"

which seems OK. But then:

driver: result time 6.732 from dumper0: FAILED 00-00002 "FORMAT ERROR IN REQUEST PACKET 'Error on line 1 char 248: Odd character 'r', expected an open quote mark after the equals sign when giving value for attribute 'encoding' of element 'value''"

It's as if with encoding="raw" it has a problem seeing the quotes.


This is a known issue with a fix. Please open a support call for help.

thanks,
Paddy