Re: EOF, check amidxtaped.debug file [..]
On Mon, Mar 03, 2003 at 12:54:40PM -0800, bao wrote: I just got a similar problem to what Odd Rune Dahle described, with a slightly different message. In the amidxtaped.timestamp.debug file, almost everything went fine until: amrestore: error reading file header: Is a directory amidxtaped: time 0.004: amrestore terminated normally with status: 2 amidxtaped: time 0.004: rewinding tape ... amidxtaped: time 30.102: tape_rewind tape: /home/amanda/testSet1: Inappropriate ioctl for device amidxtaped: time 30.102: pid 25439 finish blah blah blah 1. The Inappropriate... must be because I use tapeless back up on a second hard drive. What's your tapedev in amanda.conf? You should use it. Maybe it's 'file:/home/amanda/testSet1'. I don't have an entry for tapedev in amanda.conf. I use chg-multi for the changer, with changerfile /usr/.../changer.conf In changer.conf, there are these entries: slot 1 file:/home/amanda/testSet1 slot 2 file:/home/amanda/testSet2 ... Jean-Louis 2. Is amrestore capable of restoring a whole directory tree??? And what goes wrong here? Thanks, Odd Rune Dahle wrote: Joshua Baker-LePain: EOF, check amidxtaped.debug file on ns1. And did you do this? What's in that file? I'm sorry. I forgot to mention that this file doesn't exist. First off, what user you running that command as? If it's not root or amanda, then it's not going to pick up /tmp/amanda (where the debug files live), b/c /tmp/amanda has 700 permissions. It was as root. But now that you mention /tmp/amanda, I checked there. amrestore refer to amidxtaped.debug, but the file is named amidxtaped.timestamp.debug.. no wonder the locate command didn't find it :-) Things made a bit more sense once I found the debug-file: amrestore: could not open /dev/tape: Permission denied amidxtaped: time 0.003: amrestore terminated normally with status: 2 amidxtaped: time 0.003: rewinding tape ... amidxtaped: time 0.003: tape_rewind: tape open: /dev/tape: Permission denied amidxtaped: time 0.003: pid 10103 finish time Fri Feb 28 07:19:30 2003 My xinetd-setup specified the wrong group for amidxtaped (bin), when I use 'disk' as owner of the tape-device. Unfortunately there are nobody on-site until monday morning, but we'll run a new test then. Thanks for the help :-) -- Jean-Louis Martineau email: [EMAIL PROTECTED] Departement IRO, Universite de Montreal C.P. 6128, Succ. CENTRE-VILLETel: (514) 343-6111 ext. 3529 Montreal, Canada, H3C 3J7Fax: (514) 343-5834
Re: EOF, check amidxtaped.debug file [..]
I just got a similar problem to what Odd Rune Dahle described, with a slightly different message. In the amidxtaped.timestamp.debug file, almost everything went fine until: amrestore: error reading file header: Is a directory amidxtaped: time 0.004: amrestore terminated normally with status: 2 amidxtaped: time 0.004: rewinding tape ... amidxtaped: time 30.102: tape_rewind tape: /home/amanda/testSet1: Inappropriate ioctl for device amidxtaped: time 30.102: pid 25439 finish blah blah blah 1. The Inappropriate... must be because I use tapeless back up on a second hard drive. 2. Is amrestore capable of restoring a whole directory tree??? And what goes wrong here? Thanks, Odd Rune Dahle wrote: Joshua Baker-LePain: EOF, check amidxtaped.debug file on ns1. And did you do this? What's in that file? I'm sorry. I forgot to mention that this file doesn't exist. First off, what user you running that command as? If it's not root or amanda, then it's not going to pick up /tmp/amanda (where the debug files live), b/c /tmp/amanda has 700 permissions. It was as root. But now that you mention /tmp/amanda, I checked there. amrestore refer to amidxtaped.debug, but the file is named amidxtaped.timestamp.debug.. no wonder the locate command didn't find it :-) Things made a bit more sense once I found the debug-file: amrestore: could not open /dev/tape: Permission denied amidxtaped: time 0.003: amrestore terminated normally with status: 2 amidxtaped: time 0.003: rewinding tape ... amidxtaped: time 0.003: tape_rewind: tape open: /dev/tape: Permission denied amidxtaped: time 0.003: pid 10103 finish time Fri Feb 28 07:19:30 2003 My xinetd-setup specified the wrong group for amidxtaped (bin), when I use 'disk' as owner of the tape-device. Unfortunately there are nobody on-site until monday morning, but we'll run a new test then. Thanks for the help :-)
Re: EOF, check amidxtaped.debug file [..]
On Mon, Mar 03, 2003 at 12:54:40PM -0800, bao wrote: I just got a similar problem to what Odd Rune Dahle described, with a slightly different message. In the amidxtaped.timestamp.debug file, almost everything went fine until: amrestore: error reading file header: Is a directory amidxtaped: time 0.004: amrestore terminated normally with status: 2 amidxtaped: time 0.004: rewinding tape ... amidxtaped: time 30.102: tape_rewind tape: /home/amanda/testSet1: Inappropriate ioctl for device amidxtaped: time 30.102: pid 25439 finish blah blah blah 1. The Inappropriate... must be because I use tapeless back up on a second hard drive. What's your tapedev in amanda.conf? You should use it. Maybe it's 'file:/home/amanda/testSet1'. Jean-Louis 2. Is amrestore capable of restoring a whole directory tree??? And what goes wrong here? Thanks, Odd Rune Dahle wrote: Joshua Baker-LePain: EOF, check amidxtaped.debug file on ns1. And did you do this? What's in that file? I'm sorry. I forgot to mention that this file doesn't exist. First off, what user you running that command as? If it's not root or amanda, then it's not going to pick up /tmp/amanda (where the debug files live), b/c /tmp/amanda has 700 permissions. It was as root. But now that you mention /tmp/amanda, I checked there. amrestore refer to amidxtaped.debug, but the file is named amidxtaped.timestamp.debug.. no wonder the locate command didn't find it :-) Things made a bit more sense once I found the debug-file: amrestore: could not open /dev/tape: Permission denied amidxtaped: time 0.003: amrestore terminated normally with status: 2 amidxtaped: time 0.003: rewinding tape ... amidxtaped: time 0.003: tape_rewind: tape open: /dev/tape: Permission denied amidxtaped: time 0.003: pid 10103 finish time Fri Feb 28 07:19:30 2003 My xinetd-setup specified the wrong group for amidxtaped (bin), when I use 'disk' as owner of the tape-device. Unfortunately there are nobody on-site until monday morning, but we'll run a new test then. Thanks for the help :-) -- Jean-Louis Martineau email: [EMAIL PROTECTED] Departement IRO, Universite de Montreal C.P. 6128, Succ. CENTRE-VILLETel: (514) 343-6111 ext. 3529 Montreal, Canada, H3C 3J7Fax: (514) 343-5834
Re: EOF, check amidxtaped.debug file [..]
On Fri, 28 Feb 2003 at 7:20am, Odd Rune Dahle wrote Joshua Baker-LePain: On Thu, 27 Feb 2003 at 9:13am, Odd Rune Dahle wrote Load tape daily10 now Continue? [Y/n]: y EOF, check amidxtaped.debug file on ns1. And did you do this? What's in that file? I'm sorry. I forgot to mention that this file doesn't exist. ns1:~# updatedb;locate amidxtaped ns1:~# First off, what user you running that command as? If it's not root or amanda, then it's not going to pick up /tmp/amanda (where the debug files live), b/c /tmp/amanda has 700 permissions. Even if it isn't root, though, it still indicates problems. As a non root user on my amanda server: [EMAIL PROTECTED] jlb]$ locate amidxtaped /usr/local/libexec/amidxtaped How did you configure, compile, and install amanda? What were the configure options? -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Re: EOF, check amidxtaped.debug file [..]
Joshua Baker-LePain: EOF, check amidxtaped.debug file on ns1. And did you do this? What's in that file? I'm sorry. I forgot to mention that this file doesn't exist. First off, what user you running that command as? If it's not root or amanda, then it's not going to pick up /tmp/amanda (where the debug files live), b/c /tmp/amanda has 700 permissions. It was as root. But now that you mention /tmp/amanda, I checked there. amrestore refer to amidxtaped.debug, but the file is named amidxtaped.timestamp.debug.. no wonder the locate command didn't find it :-) Things made a bit more sense once I found the debug-file: amrestore: could not open /dev/tape: Permission denied amidxtaped: time 0.003: amrestore terminated normally with status: 2 amidxtaped: time 0.003: rewinding tape ... amidxtaped: time 0.003: tape_rewind: tape open: /dev/tape: Permission denied amidxtaped: time 0.003: pid 10103 finish time Fri Feb 28 07:19:30 2003 My xinetd-setup specified the wrong group for amidxtaped (bin), when I use 'disk' as owner of the tape-device. Unfortunately there are nobody on-site until monday morning, but we'll run a new test then. Thanks for the help :-) -- Odd Rune
Re: EOF, check amidxtaped.debug file [..]
On Fri, Feb 28, 2003 at 09:41:22AM -0500, Joshua Baker-LePain wrote: On Fri, 28 Feb 2003 at 7:20am, Odd Rune Dahle wrote Joshua Baker-LePain: On Thu, 27 Feb 2003 at 9:13am, Odd Rune Dahle wrote Load tape daily10 now Continue? [Y/n]: y EOF, check amidxtaped.debug file on ns1. And did you do this? What's in that file? I'm sorry. I forgot to mention that this file doesn't exist. ns1:~# updatedb;locate amidxtaped ns1:~# First off, what user you running that command as? If it's not root or amanda, then it's not going to pick up /tmp/amanda (where the debug files live), b/c /tmp/amanda has 700 permissions. Also, some systems are configured to skip /tmp completely in their locate db. -- Scott LambertKC5MLE Unix SysAdmin [EMAIL PROTECTED]
Re: EOF, check amidxtaped.debug file [..]
On Thu, 27 Feb 2003 at 9:13am, Odd Rune Dahle wrote Load tape daily10 now Continue? [Y/n]: y EOF, check amidxtaped.debug file on ns1. And did you do this? What's in that file? -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Re: EOF, check amidxtaped.debug file [..]
Joshua Baker-LePain: On Thu, 27 Feb 2003 at 9:13am, Odd Rune Dahle wrote Load tape daily10 now Continue? [Y/n]: y EOF, check amidxtaped.debug file on ns1. And did you do this? What's in that file? I'm sorry. I forgot to mention that this file doesn't exist. ns1:~# updatedb;locate amidxtaped ns1:~# -- Odd Rune