I recently moved from solaris to linux so I am testing amrestore again. I keep getting the following error:
EOF, check amidxtaped.debug file on chena. amrecover: short block 0 bytes UNKNOWN file amrecover: Can't read file header extract_list - child returned non-zero status: 1 However, amidxtaped shows: amidxtaped: debug 1 pid 32054 ruid 250 euid 250 start time Thu Jun 6 11:24:51 2002 amidxtaped: version 2.4.2p2 > SECURITY USER root bsd security: remote host thames user root local user amanda amandahosts security check passed > 6 amrestore_nargs=6 > -h > -p > /dev/ait2 > thames > ^/export/private$ > 20020606 Ready to execv amrestore with: path = /usr/local/sbin/amrestore argv[0] = "amrestore" argv[1] = "-h" argv[2] = "-p" argv[3] = "/dev/ait2" argv[4] = "thames" argv[5] = "^/export/private$" argv[6] = "20020606" amrestore: could not open tape /dev/ait2: Permission denied amidxtaped: amrestore terminated normally with status: 2 Rewinding tape: no tape online amidxtaped: pid 32054 finish time Thu Jun 6 11:24:51 2002 But amanda has read and write permisson to the drive: $ ls -l /dev/nst0 crw-rw---- 1 root disk 9, 128 Aug 30 2001 /dev/nst0 I can read for the tape with dd: $ mt -f /dev/ait2 fsf 1; dd if=/dev/ait2 bs=32k count=1 AMANDA: FILE 20020606 zambezi /boot lev 1 comp N program /bin/gtar To restore, position tape at start of file and run: dd if=<tape> bs=32k skip=1 | /bin/gtar -f... - etc, all the way thru the tape. This is not good. No one cares about backups, only restores. So any ideas why amrestore does not work? I am using amanda version 2.4.2p2 -- -- Stephen Carville UNIX and Network Administrator DPSI (formerly Ace USA Flood Services) 310-342-3602 [EMAIL PROTECTED]