Re: personal request - no need for double mail

2002-09-12 Thread Trevor Fraser

I, as a culprit, Agree.

Trevor.

- Original Message - 
From: Jon LaBadie [EMAIL PROTECTED]
To: Jon LaBadie [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 4:00 PM
Subject: personal request - no need for double mail


 I'm moderately active on the list,
 both posting and through private emails.
 
 In addressing replies and follow-ups,
 I kindly request either a list posting or a private email.
 Both are unnecessary.
 
 Others may have vastly differing opinion.
 
 -- 
 Jon H. LaBadie  [EMAIL PROTECTED]
  JG Computing
  4455 Province Line Road(609) 252-0159
  Princeton, NJ  08540-4322  (609) 683-7220 (fax)




Spam's a sacrific, at least there's no viruses.

2002-09-10 Thread Trevor Fraser



Hello all.

I've read through a few mails titled "Hi", and I 
wanted to encourage people to be a little tolerent. The concept of not 
having to be on the list to post to it helps far more people all over the world 
than hinders a couple of irritated subscribers. 

I'm not generally an excepting kind of person, but 
this is a definate exception, helping the global community strengthen themselves 
infree and open sourcesoftware is what our main goal should 
be.

Keep the cool,
Trevor.


Re: Any amanda gui tools?

2002-09-06 Thread Trevor Fraser

Thanks Chris and all who replied.

I'm a little snowed over, but next week I'll give it a shot, better chance
now that all my guns are loaded.

Chow, Trevor.


- Original Message -
From: Chris Herrmann [EMAIL PROTECTED]
To: 'Trevor Fraser' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, September 06, 2002 1:15 AM
Subject: RE: Any amanda gui tools?


 can you do something like this with amrecover? I usually use that when I
 need to pull a file off a tape, but I don't know if it'll easily drop out
a
 list of files for you to compare / diff / etc

 |-Original Message-
 |From: [EMAIL PROTECTED]
 |[mailto:[EMAIL PROTECTED]]On Behalf Of Trevor Fraser
 |Sent: Thursday, 5 September 2002 21:45
 |To: [EMAIL PROTECTED]
 |Subject: Any amanda gui tools?
 |
 |
 |Hello all.
 |
 |I was asked if there was a tool, not necessarily graphical,
 |but that will be
 |better, that can compare what is on a tape to the directory
 |the information
 |on the tape comes from and notify the user of any missing
 |files.  Is there
 |anything like this around?
 |
 |The aim is to find an efficient way of seeing what file was
 |accidentally
 |deleted (don't know name/location), without going through a
 |pain staking
 |process of checking 20 GB of files against a tape.
 |
 |
 |Let me know.
 |Thanks, Trevor.
 |
 |=
 |Stussy said:Knowledge is King!
 |=
 |
 |




Any amanda gui tools?

2002-09-05 Thread Trevor Fraser

Hello all.

I was asked if there was a tool, not necessarily graphical, but that will be
better, that can compare what is on a tape to the directory the information
on the tape comes from and notify the user of any missing files.  Is there
anything like this around?

The aim is to find an efficient way of seeing what file was accidentally
deleted (don't know name/location), without going through a pain staking
process of checking 20 GB of files against a tape.


Let me know.
Thanks, Trevor.

=
Stussy said:Knowledge is King!
=




Checking for missing files.

2002-08-27 Thread Trevor Fraser

Hello all.

Is there a way of checking what is on the tape against what is on the disk,
to show missing or renamed files on a large scale?

Thanks, Trevor.

=
Stussy said:Knowledge is King!
=




Re: Checking for missing files.

2002-08-27 Thread Trevor Fraser

Hi Jon.

Thanks for the reply.

My objective is when someone accidentally deletes files and doesn't know
what file they were, to compare what Amanda has on tape and what is on the
file system to see what is different, so I don't have to manually search the
tape and the file system to see what is missing and what to restore.

Thanks, Trevor.

=
Stussy said:Knowledge is King!
=
- Original Message -
From: Jon LaBadie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 27, 2002 3:58 PM
Subject: Re: Checking for missing files.


 On Tue, Aug 27, 2002 at 02:55:02PM +0200, Trevor Fraser wrote:
  Hello all.
 
  Is there a way of checking what is on the tape against what is on the
disk,
  to show missing or renamed files on a large scale?
 

 Not clear on the objective.

 Do you mean determine that tape-x has the dumps of /a and /b and /c done
 on date y, i.e. a toc of the tape files?

 Or do you mean the dump of /a on tape-x contains the files /a/foo/,
/a/bar,
 /a/foo/xyz, i.e. a toc of the individual dumps?

 And do you further mean what is actually on the tape, or what amanda
believes
 she put there.

 I think there are positive, though different replies to each.

 --
 Jon H. LaBadie  [EMAIL PROTECTED]
  JG Computing
  4455 Province Line Road(609) 252-0159
  Princeton, NJ  08540-4322  (609) 683-7220 (fax)




Re: Checking for missing files.

2002-08-27 Thread Trevor Fraser

Thanks again Jon.

To be honest, I'm going to leave the attempting 'till tomorrow, its late
this side of the earth.  I do see the solutions, will try them and see what
works best for me.  The main thing is I now know the approach isn't some
thing I've been tripping over all the time, like so many other battles...no
re-inventing the wheel either...whew!

Chow, Trevor.

=
Stussy said:Knowledge is King!
=
- Original Message -
From: Jon LaBadie [EMAIL PROTECTED]
To: Trevor Fraser [EMAIL PROTECTED]
Cc: Jon LaBadie [EMAIL PROTECTED]
Sent: Tuesday, August 27, 2002 6:25 PM
Subject: Re: Checking for missing files.


 On Tue, Aug 27, 2002 at 05:30:58PM +0200, Trevor Fraser wrote:
  Hi Jon.
 
  Thanks for the reply.
 
  My objective is when someone accidentally deletes files and doesn't know
  what file they were, to compare what Amanda has on tape and what is on
the
  file system to see what is different, so I don't have to manually search
the
  tape and the file system to see what is missing and what to restore.
 
  Thanks, Trevor.

 Ahh, then probably the regular indexes will be sufficient.

 I presume you are recording, then you have an indexdir defined.
 In that indexdir will be subdirs for each host.
 Under the host dir will be subdirs with names based on the disklist
entries.
 In these names the / are replaced with _.

 My approach would be to make a list of everything the user currently has
 and compare it to what the index shows is on tape.  Assume the user is
shmo
 As root:

cd ~shmo/.. # one level above shmo
find shmo  /tmp/shmo-current
# or two levels and do a   find home/shmo
sort -o /tmp/shmo-current /tmp/shmo-current

cd amanda-index-dir-for-shmo's-filesystem
# note all the backups since the last level 0.
# in my case that would be 20020823_0.gz
# 20020824_1.gz 20020826_1.gz 20020827_2.gz

for f in 20020823_0.gz 20020824_1.gz 20020826_1.gz 20020827_2.gz
do
gzip -dc  $f | grep /shmo/ | sed 's,/$,,'
done | sort | uniq  /tmp/shmo-tape

# or the command might look for /home/shmo if appropriate
# the sed is to remove any trailing /s on dir names that my indexes
# have, but the find does not.

# now you may have to edit one or the other file to make the leading
# part of each line the same  For example, the find may not have a /
# at the start or might need /home/ added to one file or deleted
# from the other.

 Now you have two sorted lists, what is in shmo's directory tree currently
 and what is on tape in at least one of the most recent backup set.
 Of course the for f in ... loop could have been done on all index files
 to go further back.

 To compare them use the comm command:

 # files on tape but not in current dir tree
 comm -13 /tmp/shmo-current /tmp/shmo-tape

 # files in current dir tree, not on tape
 comm -23 /tmp/shmo-current /tmp/shmo-tape

 # files in both
 comm -12 /tmp/shmo-current /tmp/shmo-tape

 Another approach is to amrecover the entire /home/shmo tree in some tmp
dir.
 Then do a dircmp of shmos' current tree with the tmp tree.  Then you
already
 have the files on disk and can simply copy them.

 Hope these make sense and help.  Maybe someone else has alternative
approaches.

 --
 Jon H. LaBadie  [EMAIL PROTECTED]
  JG Computing
  4455 Province Line Road(609) 252-0159
  Princeton, NJ  08540-4322  (609) 683-7220 (fax)




Re: Problem - Amanda doesn't work

2002-08-15 Thread Trevor Fraser

Hello Marcus.

Another area to look at besides the config is the modules, lsmod to see if
the right modules are loaded.  Is your tape an ide type?  I have a different
type of set up, but its an ide and I used scsi emulation to get it to work.
If this is the case with yours, this is what I did:
# rmmod ide-tape
# depmod ide-scsi
# modprobe ide-scsi
# depmod st
# modprobe st

Maybe I'm way off, I'm no expert, but if you give a 100 monkeys 100 camera's
and enough film, you'll eventually come up with a master piece!

Chow, Trevor.

==
One volunteer is as strong as ten hired men.
==




Amrecover:access not allowed.

2002-08-01 Thread Trevor Fraser



Hello all.

Last night my boss gave me a test to see if I can 
recover lost files before copying everything from his computer to our amanda 
server( I know we could backup his computer too, but we've chosen to use samba 
to store files on a share here and backupthis share). Anyway, so I 
couldn't do it, and obviously he isn't impressed.

Anyway, the problem comes when I 
try'amrecover' from the/ directory. The error is:

[root@merlin /]# amrecover
AMRECOVER Version 2.4.2p2. Contacting server 
on localhost . . .
220 merlin AMANDA index server (2.4.2p2) 
ready.
500 Access not allowed: [ access as amanda not 
allowedfrom [EMAIL PROTECTED] ] amandahostsauth failed
[ root@merlin /]#

My amanda dumpuser is root, and in amanda, 
amandaidx and amidxtape are user = amanda.
My .amandahost looks like this:

merlin.systematic.lan 
root
merlin.systematic.lan 
amanda
localhost.localdomain 
amanda

The file belong to root:root and has read and write 
privileges for the user owner only.

I've read the FAQ's and saw a similar problem, but 
with regard to amcheck. I can amcheck and amdump fine. What is the 
next step in troubleshooting?

Thanks, Trevor.



Re: Amrecover:access not allowed.

2002-08-01 Thread Trevor Fraser

Thanks, I tried that, same error.  Do I need to restart anything? Any other
suggestions?  Something I thought I should mention, I had an amcheck problem
a while back, giving the same error, I was told to change the dump user from
root to amanda.  This brought more problems, and when I changed it back,
everything came right.  Wierd.

 Same principle applies.  If you see Access as whatever not allowed from
 foo@bar, add bar foo to .amandahosts.  In this case
 localhost.localdomain root.

 --
 Nate Eldredge
 HMC CS Staff
 [EMAIL PROTECTED]




Re: Amrecover:access not allowed.

2002-08-01 Thread Trevor Fraser

Thank for the info.  /etc/hosts looks fine:
*amongst other entries*
192.168.0.2merlin.systematic.lanmerlin
One question: How do I fix the name service to show the correct name for
this box, is this the named?
Thanks, Trevor.
p.s. I did add localhost.localdomain root to the .amandahosts file, no
change yet.

- Original Message -
From: Christoph Scheeder [EMAIL PROTECTED]
To: Trevor Fraser [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, August 01, 2002 10:36 AM
Subject: Re: Amrecover:access not allowed.


 hi,
 for an unknown reason amrecover conects to your server with the name
 [EMAIL PROTECTED]

 two solution's are possible:
 1.)you'll have to fix your /etc/host or nameservice to
 show the correct hostname for this box or
 2.)add the line
 localhost.localdomain root
 to your .amandahosts file.

 i would suggest the 1st  solution as your broken nameservices/hosts
 probably will bite you again in the future.
 Christoph

 Trevor Fraser wrote:

  Hello all.
 
 
 
  Last night my boss gave me a test to see if I can recover lost files
  before copying everything from his computer to our amanda server( I know
  we could backup his computer too, but we've chosen to use samba to store
  files on a share here and backup this share).  Anyway, so I couldn't do
  it, and obviously he isn't impressed.
 
 
 
  Anyway, the problem comes when I try 'amrecover' from the / directory.
  The error is:
 
 
 
  [root@merlin /]# amrecover
 
  AMRECOVER Version 2.4.2p2.  Contacting server on localhost . . .
 
  220 merlin AMANDA index server (2.4.2p2) ready.
 
  500 Access not allowed: [ access as amanda not allowed from
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ]
  amandahostsauth failed
 
  [ root@merlin /]#
 
 
 
  My amanda dumpuser is root, and in amanda, amandaidx and amidxtape are
  user = amanda.
 
  My .amandahost looks like this:
 
 
 
  merlin.systematic.lanroot
 
  merlin.systematic.lanamanda
 
  localhost.localdomainamanda
 
 
 
  The file belong to root:root and has read and write privileges for the
  user owner only.
 
 
 
  I've read the FAQ's and saw a similar problem, but with regard to
  amcheck.  I can amcheck and amdump fine.  What is the next step in
  troubleshooting?
 
 
 
  Thanks, Trevor.
 
 
 





Re: Amrecover:access not allowed.

2002-08-01 Thread Trevor Fraser

Hi Gene, thank for your help.

I used the rpm.  Two questions, what is FQDN and does rsync only apply to
non-rpm install?

Thanks, Trevor.

- Original Message -
From: Gene Heskett [EMAIL PROTECTED]
To: Trevor Fraser [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, August 01, 2002 11:55 AM
Subject: Re: Amrecover:access not allowed.


 On Thursday 01 August 2002 04:02, Trevor Fraser wrote:
 Hello all.
 
 Last night my boss gave me a test to see if I can recover lost
  files before copying everything from his computer to our amanda
  server( I know we could backup his computer too, but we've chosen
  to use samba to store files on a share here and backup this
  share).  Anyway, so I couldn't do it, and obviously he isn't
  impressed.
 
 Anyway, the problem comes when I try 'amrecover' from the /
  directory.  The error is:
 
 [root@merlin /]# amrecover
 AMRECOVER Version 2.4.2p2.  Contacting server on localhost . . .
 220 merlin AMANDA index server (2.4.2p2) ready.
 500 Access not allowed: [ access as amanda not allowed from
  [EMAIL PROTECTED] ]  amandahostsauth failed [
  root@merlin /]#
 
 My amanda dumpuser is root, and in amanda, amandaidx and amidxtape
  are user = amanda. My .amandahost looks like this:
 
 merlin.systematic.lanroot
 merlin.systematic.lanamanda
 localhost.localdomainamanda
 
 The file belong to root:root and has read and write privileges for
  the user owner only.
 
 I've read the FAQ's and saw a similar problem, but with regard to
  amcheck.  I can amcheck and amdump fine.  What is the next step
  in troubleshooting?
 
 Thanks, Trevor.

 Making sure that your setup is consistent as far as users and groups
 are defined would be a good start.

 You didn't say whether you were using the rpm's or the tar.gz's,
 which would also be helpfull.

 The first thing I do after unpacking a new amanda archive is to do
 as root, chown -R amanda:disk amanda-version-date

 Then become user amanda, configure and build it.  Then become root
 again and do the make install, thereby automaticly setting all the
 perms and such amanda needs to run for backups.  For backups, it
 must be run as the user of the user:group spec above, and will
 refuse to run for user root.

 For recoveries, I think those functions must be run as root.  Also,
 using localhost@localdomain will come back to haunt you so please
 remove that line in addition to the one with the root user
 specifier.  Use the FQDN of the machine when you add another
 machine even if its the same machine its running on.

 One other item, samba doesn't keep all the file dates correctly in
 its local copies.  If you are going to do a local copy, and then
 backup that local copy, rsync does a much better job of doing that
 copy.

 --
 Cheers, Gene
 AMD K6-III@500mhz 320M
 Athlon1600XP@1400mhz  512M
 99.09% setiathome rank, not too shabby for a WV hillbilly




Re: Amrecover:access not allowed.

2002-08-01 Thread Trevor Fraser

Hi, thanks.

I've followed your advise to the point of nslookup, I get a correct reply
for the IP, but for the name 'merlin', I get:
Server:192.168.0.1   (which is our DNS server address)
Address: 192.168.0.1#53

** server can't find merlin: NXDOMAIN

What does this mean/where should I look for problems?

Thanks, Trevor.
- Original Message -
From: Christoph Scheeder [EMAIL PROTECTED]
To: Trevor Fraser [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, August 01, 2002 1:35 PM
Subject: Re: Amrecover:access not allowed.


 Hi,
 first off all you'll have to find where amrecover/amidxd
 gets the strange name from.

 1.) what result gives the command hostname?
 it should be merlin or your FQDN.

 2.) your /etc/hosts should have the folowing two lines belonging
 to your computer:

 127.0.0.1   localhost
 192.168.0.2 merlin.systematic.lan   merlin

 if the first line contains other values: they are bad, so fix it.

 next do a nslookup on your hostname and your ip-adress.
 the results should be consistant, if not, fix your dns
 Christoph

 Trevor Fraser wrote:

  Thank for the info.  /etc/hosts looks fine:
  *amongst other entries*
  192.168.0.2merlin.systematic.lanmerlin
  One question: How do I fix the name service to show the correct name for
  this box, is this the named?
  Thanks, Trevor.
  p.s. I did add localhost.localdomain root to the .amandahosts file, no
  change yet.
 
  - Original Message -
  From: Christoph Scheeder [EMAIL PROTECTED]
  To: Trevor Fraser [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Sent: Thursday, August 01, 2002 10:36 AM
  Subject: Re: Amrecover:access not allowed.
 
 
 
 hi,
 for an unknown reason amrecover conects to your server with the name
 [EMAIL PROTECTED]
 
 two solution's are possible:
 1.)you'll have to fix your /etc/host or nameservice to
 show the correct hostname for this box or
 2.)add the line
 localhost.localdomain root
 to your .amandahosts file.
 
 i would suggest the 1st  solution as your broken nameservices/hosts
 probably will bite you again in the future.
 Christoph
 
 Trevor Fraser wrote:
 
 
 Hello all.
 
 
 
 Last night my boss gave me a test to see if I can recover lost files
 before copying everything from his computer to our amanda server( I
know
 we could backup his computer too, but we've chosen to use samba to
store
 files on a share here and backup this share).  Anyway, so I couldn't do
 it, and obviously he isn't impressed.
 
 
 
 Anyway, the problem comes when I try 'amrecover' from the / directory.
 The error is:
 
 
 
 [root@merlin /]# amrecover
 
 AMRECOVER Version 2.4.2p2.  Contacting server on localhost . . .
 
 220 merlin AMANDA index server (2.4.2p2) ready.
 
 500 Access not allowed: [ access as amanda not allowed from
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ]
 amandahostsauth failed
 
 [ root@merlin /]#
 
 
 
 My amanda dumpuser is root, and in amanda, amandaidx and amidxtape are
 user = amanda.
 
 My .amandahost looks like this:
 
 
 
 merlin.systematic.lanroot
 
 merlin.systematic.lanamanda
 
 localhost.localdomainamanda
 
 
 
 The file belong to root:root and has read and write privileges for the
 user owner only.
 
 
 
 I've read the FAQ's and saw a similar problem, but with regard to
 amcheck.  I can amcheck and amdump fine.  What is the next step in
 troubleshooting?
 
 
 
 Thanks, Trevor.
 
 
 
 
 





Re: Odd behavior

2002-08-01 Thread Trevor Fraser

In the amanda.conf file, there is a place were it says:
 reserve 30 # percent
Read what it says there, if you've reserved too much, it will look as if its
full.
100 would make it full before you've even started!  If its not this, you'll
have to wait for the real genius to write, I'm under cover
Cheers, Trevor.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 01, 2002 5:43 PM
Subject: Odd behavior


 Greetings,


 This morning I all of my backups failed.  They all failed with the
 message:  [no more holding disk space].

 My setup:

 Debian 2.2 w/ a 2.4.18 kernel
 amanda 2.4.2p2

 Yesterday I replaced a 18G drive with a 36G to increase my holding disk
 capacity.  My holding disk is a software raid 1 set.  Its total capacity
 is 81G.

 This error to me means that the holdingdisk if full, yet there is no data
 on my holdingdisk.

 hostname:~# df
 Filesystem   1k-blocks  Used Available Use% Mounted on
 /dev/sda1  1968588516212   1352376  28% /
 /dev/md0  84509240 32828  80183496   1% /holdingdisk
 hostname:~# uname -a
 Linux hostname 2.4.18 #9 SMP Mon Jun 17 14:28:08 EDT 2002 i686 unknown
 hostname:~#

 Anybody know why amanda would believe the holding disk if full?

 Thank you for you time.


 Andrew Hall





Re: Sending mail from LAN.

2002-07-31 Thread Trevor Fraser

Hello Stephen,

I've done some work on our DNS server, but I am unfimiliar with a valid MX
record.  How do I go about this, or if you prefer, do you know of a nice
doc on the subject.

Thanks, Trevor.

- Original Message -
From: Stephen Carville [EMAIL PROTECTED]
To: Trevor Fraser [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 30, 2002 7:27 PM
Subject: Re: Sending mail from LAN.


 Set up your DNS server to return a valid MX record for systematic.lan.

 On Tue, 30 Jul 2002, Trevor Fraser wrote:

 - Hello all.
 -
 - I've managed to sort out sending mail message to [EMAIL PROTECTED]
,
 - many thanks to all who replied.  This mailling list is worth more than
 - gold...every tried getting support from the present leading software
 - developersfat chance you little drop in the ocean!!!   Just give a
 - though for what we've got going here guys and girls.
 -
 - Sorry for the side track, I just rerealised how blessed Linux users are.
 -
 - The problem now is that our LAN domain doesn't exist on the internet,
and
 - our mail-server only accepts mail from existing domains.  How do I send
mail
 - from an existing domain, or at least appear to be?
 -

 --
 -- Stephen Carville
 UNIX and Network Administrator
 DPSI (formerly Ace USA Flood Services)
 310-342-3602
 [EMAIL PROTECTED]




Sending mail from LAN.

2002-07-30 Thread Trevor Fraser

Hello all.

I've managed to sort out sending mail message to [EMAIL PROTECTED] ,
many thanks to all who replied.  This mailling list is worth more than
gold...every tried getting support from the present leading software
developersfat chance you little drop in the ocean!!!   Just give a
though for what we've got going here guys and girls.

Sorry for the side track, I just rerealised how blessed Linux users are.

The problem now is that our LAN domain doesn't exist on the internet, and
our mail-server only accepts mail from existing domains.  How do I send mail
from an existing domain, or at least appear to be?

Thanks,
Trevor.
- Original Message -
From: Mail Delivery Subsystem [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 30, 2002 4:01 PM
Subject: Returned mail: see transcript for details


 The original message was received at Tue, 30 Jul 2002 16:00:11 +0200
 from root@localhost

- The following addresses had permanent fatal errors -
 [EMAIL PROTECTED]
 (reason: 501 [EMAIL PROTECTED]... Sender domain must exist)
 (expanded from: root)

- Transcript of session follows -
 ... while talking to mail.netpoint.co.za.:
  MAIL From:[EMAIL PROTECTED] SIZE=474
  501 [EMAIL PROTECTED]... Sender domain must exist
 501 5.6.0 Data format error




ATT00034.dat
Description: Binary data
---BeginMessage---

Amanda Tape Server Host Check
-
Holding disk /home/amanda: 2812284 KB disk space available, that's plenty
ERROR: cannot overwrite active tape increm2
   (expecting tape increm1 or a new tape)
NOTE: skipping tape-writable test
Server check took 10.233 seconds

Amanda Backup Client Hosts Check

Client check: 1 host checked in 0.316 seconds, 0 problems found

(brought to you by Amanda 2.4.2p2)

---End Message---


Re: Amcheck: access accepted!

2002-07-17 Thread Trevor Fraser

Many thanks to all who helped. All is working so far. I changed the dump
user to amanda, and ran amcheck as su amanda.

Thanks again, Trevor.

- Original Message -
From: Martin Hepworth [EMAIL PROTECTED]
To: Trevor Fraser [EMAIL PROTECTED]
Sent: Wednesday, July 17, 2002 11:34 AM
Subject: Re: Amcheck: acess denied


 Trevor

 yeah looks like you've got username access problems.

 make sure that both the client and server are compiled with the
 userid=amanda group=somegroup settings and make sure that the amanda
 user exists on both systems.

 Also as another poster mentioned, make sure you've got xinetd setup
 correctly.

 and then run amcheck as the amanda user.

 --
 Martin

 Trevor Fraser wrote:
  - Original Message -
  From: Martin Hepworth [EMAIL PROTECTED]
  To: Trevor Fraser [EMAIL PROTECTED]
  Sent: Tuesday, July 16, 2002 5:10 PM
  Subject: Re: Amcheck: acess denied
 
 
 
 trevor
 
 didn't get the attachment
 
 --
 martin
 
 Trevor Fraser wrote:
 
 Hi Martin.
 
 Thanks for your reply.
 
  My amcheck.x.debug says:
 amcheck:debug 1pid 3541ruid 0euid 0start time Tue
 
  Jul 16
 
 16:08:37 2002
 amcheck:dgram_bind: socket bound to 0.0.0.0.698  =*this changes
 
  from
 
 debug to debug*
 amcheck:pid 3541 finish time Tue Jul 16 16:08:37 2002
 
 Please find amamdad.xx.debug file attached. Thanks, Trevor.
 
 
 
 Trevor
 
 What do the debug files say in /tmp/amanda on both the client and
 
  server?
 
 --
 Martin
 
 
 
 
 






Amcheck: acess denied

2002-07-16 Thread Trevor Fraser

Hello all.

I've been through this problem before, I just can't remember hoe I fixed it.
I've reinstalled RH 7.3 and copied the conf files onto the new installation.
When I run amcheck, I get the error:

ERROR: merlin: [access as amanda not allowed from root@merlin]
amandahostsauth failed

I've followed the installation guide and the docs say the .amandahosts file
isn't configured properly or the inetd configuration file must have the
wrong user name, I don't find such a file.. I've tried changing permissions
(full permissions) on the .amandahosts file, but no luck. The file reads:

merlin.systematic.lan root
merlin.systematic.lanamanda

What am I not doing?

Reguards,
Trevor.





Amcheck: access denied

2002-07-16 Thread Trevor Fraser

-I am running as root who is the dump user.
-I've abled (disable = no) the amanda services.(amanda, amandaidx 
amidxtape)

- Original Message -
From: Trevor Fraser [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 16, 2002 12:58 PM
Subject: Amcheck: acess denied


 Hello all.

 I've been through this problem before, I just can't remember hoe I fixed
it.
 I've reinstalled RH 7.3 and copied the conf files onto the new
installation.
 When I run amcheck, I get the error:

 ERROR: merlin: [access as amanda not allowed from root@merlin]
 amandahostsauth failed

 I've followed the installation guide and the docs say the .amandahosts
file
 isn't configured properly or the inetd configuration file must have the
 wrong user name, I don't find such a file.. I've tried changing
permissions
 (full permissions) on the .amandahosts file, but no luck. The file reads:

 merlin.systematic.lan root
 merlin.systematic.lanamanda

 What am I not doing?

 Reguards,
 Trevor.






Re: Amcheck: acess denied

2002-07-16 Thread Trevor Fraser

I tried that, didn't work. Any other suggestions?
Thanks, Trevor.

- Original Message -
From: Christoph Scheeder [EMAIL PROTECTED]
To: Trevor Fraser [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 16, 2002 2:36 PM
Subject: Re: Amcheck: acess denied




 Trevor Fraser wrote:

  Hello all.
 
  I've been through this problem before, I just can't remember hoe I fixed
it.
  I've reinstalled RH 7.3 and copied the conf files onto the new
installation.
  When I run amcheck, I get the error:
 
  ERROR: merlin: [access as amanda not allowed from root@merlin]
  amandahostsauth failed
 
  I've followed the installation guide and the docs say the .amandahosts
file
  isn't configured properly or the inetd configuration file must have the
  wrong user name, I don't find such a file.. I've tried changing
permissions
  (full permissions) on the .amandahosts file, but no luck. The file
reads:
 
  merlin.systematic.lan root
  merlin.systematic.lanamanda
 
  What am I not doing?


 two things:
 1.) run amcheck as user amanda, but that's not your real problem,
 it's the folowing:
 2.) the hostname in .amandahosts has to be exactly the name amcheck
 complains about in the errormessage, in your case only merlin,

 Christoph

 
  Reguards,
  Trevor.
 
 







Re: Amcheck: acess denied

2002-07-16 Thread Trevor Fraser

I tried that, didn't work. Any other suggestions?
Thanks, Trevor.

- Original Message -
From: Christoph Scheeder [EMAIL PROTECTED]
To: Trevor Fraser [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 16, 2002 2:36 PM
Subject: Re: Amcheck: acess denied




 Trevor Fraser wrote:

  Hello all.
 
  I've been through this problem before, I just can't remember hoe I fixed
it.
  I've reinstalled RH 7.3 and copied the conf files onto the new
installation.
  When I run amcheck, I get the error:
 
  ERROR: merlin: [access as amanda not allowed from root@merlin]
  amandahostsauth failed
 
  I've followed the installation guide and the docs say the .amandahosts
file
  isn't configured properly or the inetd configuration file must have the
  wrong user name, I don't find such a file.. I've tried changing
permissions
  (full permissions) on the .amandahosts file, but no luck. The file
reads:
 
  merlin.systematic.lan root
  merlin.systematic.lanamanda
 
  What am I not doing?


 two things:
 1.) run amcheck as user amanda, but that's not your real problem,
 it's the folowing:
 2.) the hostname in .amandahosts has to be exactly the name amcheck
 complains about in the errormessage, in your case only merlin,

 Christoph

 
  Reguards,
  Trevor.
 
 






Re: Amcheck: acess denied

2002-07-16 Thread Trevor Fraser

I tried that, didn't work. Any other suggestions?
Thanks, Trevor.

- Original Message -
From: Christoph Scheeder [EMAIL PROTECTED]
To: Trevor Fraser [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 16, 2002 2:36 PM
Subject: Re: Amcheck: acess denied




 Trevor Fraser wrote:

  Hello all.
 
  I've been through this problem before, I just can't remember hoe I fixed
it.
  I've reinstalled RH 7.3 and copied the conf files onto the new
installation.
  When I run amcheck, I get the error:
 
  ERROR: merlin: [access as amanda not allowed from root@merlin]
  amandahostsauth failed
 
  I've followed the installation guide and the docs say the .amandahosts
file
  isn't configured properly or the inetd configuration file must have the
  wrong user name, I don't find such a file.. I've tried changing
permissions
  (full permissions) on the .amandahosts file, but no luck. The file
reads:
 
  merlin.systematic.lan root
  merlin.systematic.lanamanda
 
  What am I not doing?


 two things:
 1.) run amcheck as user amanda, but that's not your real problem,
 it's the folowing:
 2.) the hostname in .amandahosts has to be exactly the name amcheck
 complains about in the errormessage, in your case only merlin,

 Christoph

 
  Reguards,
  Trevor.
 
 






Re: Amcheck: access denied

2002-07-16 Thread Trevor Fraser

Hert,

I tried that ,didn't change results. Any other suggestions?

Thanks, Trevor




Re: Amcheck: acess denied

2002-07-16 Thread Trevor Fraser

Hi Martin.

Thanks for your reply.

 My amcheck.x.debug says:
amcheck:debug 1pid 3541ruid 0euid 0start time Tue Jul 16
16:08:37 2002
amcheck:dgram_bind: socket bound to 0.0.0.0.698  =*this changes from
debug to debug*
amcheck:pid 3541 finish time Tue Jul 16 16:08:37 2002

Please find amamdad.xx.debug file attached. Thanks, Trevor.

 Trevor

 What do the debug files say in /tmp/amanda on both the client and server?

 --
 Martin





Re:amlabel problems

2002-07-12 Thread Trevor Fraser


- Original Message -
From: Trevor Fraser [EMAIL PROTECTED]
To: Jon LaBadie [EMAIL PROTECTED]
Sent: Friday, July 12, 2002 9:21 AM
Subject: Re: amlabel problems


 Hi Jon,
 What device are you using? i.e. the one stipulated in the amanda.conf file
 under, I think, tape device. I don't know if anyone will be able to help
you
 without the relevent info. Another thing is does the tape rewind when it
 says it does? It sounds like wrong device name.   -Trevor.

 - Original Message -
 From: Jon LaBadie [EMAIL PROTECTED]
 To: amanda-users [EMAIL PROTECTED]
 Sent: Thursday, July 11, 2002 11:18 PM
 Subject: Re: amlabel problems


  On Thu, Jul 11, 2002 at 02:30:20PM -0600, Trevor Morrison wrote:
  
   ... .  When I run amlabel I
   get this output:
  
   rewinding, reading label, no tape online
 
  I would interpret this as saying the system does not believe there is
  a tape in the drive.  Why it is saying that I don't know.
 
  --
  Jon H. LaBadie  [EMAIL PROTECTED]
   JG Computing
   4455 Province Line Road(609) 252-0159
   Princeton, NJ  08540-4322  (609) 683-7220 (fax)





Re: localhost request time-out error failure to load tape

2002-07-12 Thread Trevor Fraser



I haven't used a multi-changer, but this sounds 
like your .amandahosts file isn't configured properly, most probably only 
contains "localhost 127.0.0.1" entry. This file occurs in the dump user's 
home directory. Remember its a (.) file so you must use ls -al to see it. 


"Look at ' # man amcheck' to see how you can run 
amcheck on only the client oronly the host." 

  - Original Message - 
  From: 
  DALLAS 
  CHEE 
  To: [EMAIL PROTECTED] 
  Sent: Friday, July 12, 2002 12:36 
PM
  Subject: localhost request time-out error 
   failure to load tape
  Hi there,

  I am currently trying to configure Amanda version 2.4.2p2, using 
Linux Redhat 7.3. The storage device used is HP Surestore DLT8000, 
using tape HP DLT-IV.

  I ran "amcheck DailySet1/" as user amanda on the localhost and I 
encountered the following error message: "Self-check request to host 
127.0.0.1 timed out. Host down?" May I know how I should solve this 
problem?

  Besides using devices /dev/st0 or /dev/nst0, can I access the tapes 
with any other device names in Redhat? This is because I have 
problems loading  unloading tapes using the amtape command.

  I am using the chg-multi changer script and in chg-multi.conf, the 
following parameters were set as:
  "multieject 0"
  "gravity 0"
  "needeject 0"
  "ejectdelay 0"
  "statefile /etc/amanda/DailySet1/changer-status"
  "firstslot 1"
  "lastslot 1"
  "slot 1 /dev/nst0"


  "127.0.0.1 /var/lib/amanda nocomp-user" is also included in the 
disklist file, which specifies the directory to be backed up.

  Thank you very much.

Regards,
Dallas Chee


  
  
  
  Get a bigger mailbox -- choose a size that fits your 
  needs.http://uk.docs.yahoo.com/mail_storage.html


Load modules when booting.

2002-07-09 Thread Trevor Fraser

Hello all.

Thanks for all the help in the past.

I've got my tape to work using scsi emulation. I load the relevent modules
and everything works, untill I reboot. How can I get these modules to load
when booting?

Thanks, Trevor.

P.S. Operating System:Red Hat 7.3
Kernel: 2.4.18-3 on an i586
Modules needed:   ide-scsi
 scsi_module
  st





unsubscribe

2002-06-25 Thread Trevor Fraser

unsubscribe [EMAIL PROTECTED]





unsubscribe

2002-06-24 Thread Trevor Fraser

unsubscribe [EMAIL PROTECTED]




unsubscribe

2002-06-24 Thread Trevor Fraser

unsubscribe [EMAIL PROTECTED]




[no subject]

2002-06-24 Thread Trevor Fraser

unsubscribe [EMAIL PROTECTED]




Seagate Travan 20GB ATAPI (ide) Model

2002-06-13 Thread Trevor Fraser

Hello all.

We've been trying for quite sometime to get this backup tape to work. We've
found that amanda doesn't 'like' some types of  tape drives. The way it
worked on our system was the scsi emulation idea we got through this
mailling list, thanks again for all the input.  This involves installing the
ide-scsi and the st (scsi-tape) modules and thier dependencies. After that,
for the first time, we could amlabel the tapes, even though a message
appeared about the sense data, and be on our way to some good, healthy
amanda'ing.

If there are any queries about this topic, please e-mail me
[EMAIL PROTECTED]

Keep Amanda'ing,
Cheers, Trevor and co.

The system we're running:
   Operating System:Red Hat Linux 7.1
Kernel:2.4
Amanda Version: 2.4.2p2
 Tape Drive: Seagate Travan 20 GB ATAPI (ide) Model
 Tape:   Travan 20 GB (TR-5)





Re: Multiple Backup

2002-06-12 Thread Trevor Fraser

Hi Minh

I'm also new to amanda, and I can't answer your label question yet as I
haven't got amlabel to work yet, but they say the student is the best
teacher. I found a lot of answers to questions in the files, esp. FAQ, under
/usr/share/doc/amanda-server-2.4.2p2/, but that should only work if you're
running Red Hat!?!. The FAQ file has been narrowed down, and all the
questions you've asked and more are there. Its realy great and has helped me
not only to ans questions, but to get a better overview of amanda!

Keep at it, cheers,
Trevor.
- Original Message -
From: M. Cao [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 11, 2002 7:32 PM
Subject: Multiple Backup



 Hi,

 I am first time install amanda.
 Please help me with these questions.


 Can I have more than one backup on single tape ?
 If so, If the first backup completed and I remove the tape from tape
 drive. Is 2nd backup on the same tape overwrite the first one ?

 How do reuse the tape if already label ?

 Thanks
 Minh





Re: scsi-tape

2002-06-12 Thread Trevor Fraser

Hi Christoph

Thanks again. I've managed to get scsi emulation up and running, I can now
label the tape, halelujah! , but although it works, I get a message:

st0: Error with sense data: [valid=0] Info fld=0x0, Current st09:00: sense
key Illegal Request
Additional sense indicates Invalid command operation code

which pops up after every proceedure in amlabel. Another Error message is
from the Amanda Backup Client Hosts Check:

ERROR: merlin: [can not read/write /dev/null: permission denied]

Please guide me further. Thank you,
Trevor.




Re: scsi-tape

2002-06-12 Thread Trevor Fraser

Hello.

I've tried chmod before and again now, but no change. Something that might
help in solving the problem, is that when I login as any user, I get the
message:

bash:/dev/null:Permission denied

repeated 3 times.

The other thing is when I type in lsmod to list the modules currently
running, the st and ide-scsi have a 0 under the 'used' collumn, and nothing
under the 'by' collumn, or is it one collumn?, but you get the point. Surely
they should be in use.

Regards, Trevor.




Re: Samba config needs IP

2002-06-12 Thread Trevor Fraser

Cori,

I just received your note to say the problem is solved, but I thought you
should read this anyway, it can only add to your knowledge, and the way I've
been following this maiiling list, one moment it works, the next it doesn't,
so:

~ Check out the file .amandahosts
~ It falls under the dumpuser's home directory, I'm using root, so it under
~ /root. Otherwise, let's say, if cory was the dump user, then it will be
~ under /home/cory.
~ *NB*. (dot) files can only be seen using ls -al instead of  ls! So
don't
~ think they're not there.
~ I could be wrong with the finer details because I've got one file under
~ root, and one under amanda, and I haven't bothered checking which is not
~ used, but now it works and  .amandahosts is what you're missing.  Help or
~ just a nice overview is  /usr/share/doc/amanda-server-../
,especially
~ FAQ.

You'll obviously have to change the resolve order again.

Keep at it,
Trevor.














scsi emulation for tape drive

2002-06-11 Thread Trevor Fraser

Hi all.

Operating System:Red Hat Linux 7.1
Amanda Version: 2.4.2p2
Tape Drive:  Seagate Travan 20GB ATAPI (ide) Model

I've been scanning through many different docs this past few weeks and I
vagly rememeber seeing documentation on scsi emulation, but a needle in the
hay stack brings new meaning, please point me in the right direction.

Thanks, Trevor.




Travan 10/20GB ATAPI (IDE) use with Amanda and amlabel

2002-06-10 Thread Trevor Fraser

Hi All,

I've recently intalled a Travan 20GB tape drive ATAPI (IDE) (M/N:
STT32A), and I'm running Linux 7.1 with Amanda 2.4.2p2. I'm yet to get
it to work. We are able to see the /dev/nht0 device and can rewind, etc...
We cannot amlabel or do amcheck.

The software which comes with the tape drive only supports Microsoft Windows
and there is no mention of Linux in the documentation or on their website. I
plug the tape drive into a  Windows machine and install backup-exec and it
works, but I had to first media initialize.

 I am trying to label the tape using amlabel, with the tape device in the
config file set to nht0 instead of ht0, ie non-rewinding, but the message
received is:

rewinding, reading label, no label found
rewinding, writing label archive1, checking label
amlabel: no label found, are you sure /dev/nht0 is non-rewinding?

when I use amcheck, the message is:
ERROR:/dev/nht0:not an amanda tape
  (expecting a new tape)

What am I not seeing/checking?

Where does Linux get the driver for the tape drive from if I haven't
installed the software that comes with it. Does the Red Hat package come
with a driver? The autodetect on startup detects a Seagate STT2A, but on
the drive it says STT32A. Am I way off ? Please Help!

System Instability
-
The resultant problem since I've installed the tape drive is our Linux file
server is freezing up, forced rebooting results which is obviously a no-no.

On shutdown, I see a message:

Sending all processes the TERM signal...
Sending all processes the KILL signal... md: recovery thread got woken up..
md: recovery thread finished...
mdrecoveryd(8) flushing signals.

?Is this of importance to me? The system often freezes at this point.

The other message I receive comes up at random intivals, sometimes when the
tape's activity light is on with no activity is happening, and often causes
the computer to freeze:

ide-tape: hdd: cleanup_module( ) called while still busy.

Regards
Trevor Fraser
[EMAIL PROTECTED]