Which amanda version are you using?
When did it crash?
Do you not the character set of that filename?
Try to set the locale to the same character set before running amrecover.
Jean-Louis
On 03/07/2014 04:35 PM, Steven Backus wrote:
I'm trying to restore files from a disk that failed. The restore
crashes when it reaches a file which has control characters in the
filename:
/Uinfo18/prog/get_can_frelaU/\330\264\345\277\364\265\345\277
The terminal freezes, amrecover crashes, I'm dead in the water.
I tried running it in gdb and the same thing happened, but I was
able to attach to the process and do a bt:
#0 0x000000374f03079a in sigsuspend () from /lib64/libc.so.6
#1 0x000000000047bee1 in ?? ()
#2 0x00000000004800d6 in ?? ()
#3 0x000000000053c47d in target_wait ()
#4 0x0000000000516f70 in wait_for_inferior ()
#5 0x000000000051719c in proceed ()
#6 0x000000000050e5a3 in ?? ()
#7 0x000000000044ec1d in execute_command ()
#8 0x0000000000524c79 in ?? ()
#9 0x00000000005256c0 in ?? ()
#10 0x0000003751026424 in rl_callback_read_char ()
from /usr/lib64/libreadline.so.5
#11 0x0000000000524da9 in ?? ()
#12 0x0000000000523891 in ?? ()
#13 0x000000000052482e in gdb_do_one_event ()
#14 0x000000000051ef0b in catch_errors ()
#15 0x00000000004ac9ed in ?? ()
#16 0x00000000004462a9 in ?? ()
#17 0x000000000051ef0b in catch_errors ()
#18 0x000000000044695b in ?? ()
#19 0x000000000051ef0b in catch_errors ()
#20 0x0000000000446084 in gdb_main ()
#21 0x0000000000446052 in main ()
--
It's hard to debug the problem with the terminal crashing like
that. Is there a way to suppress the output so this doesn't
happen? Better yet, have Amanda not crash the terminal when
there's control characters in the filename?
Thanks,
Steve