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: 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: access denied

2002-07-16 Thread Hery Zo RAKOTONDRAMANANA

Trevor Fraser wrote:
 
 -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


your .amandahost entry for merlin should read:

merlin  amanda
merlin  root

since that's what amcheck is complaining about ...

Moreover launch amcheck as amanda user.

Hery Zo


 
  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.
 
 

-- 
Hery Zo RAKOTONDRAMANANA
16 Rue Ratsimilaho, Antaninarenina, Madagascar
Tel: +(261) 20 22 648 83
Fax: +(261) 20 22 661 83



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: access denied

2002-07-16 Thread Christoph Scheeder

Hi,

Trevor Fraser wrote:

 -I am running as root who is the dump user.


This means you have compiled amanda with --dump-user=root, did you?
If yes, why is amandad setup to run as user amanda? This will not work.

As you are using RH 7.3 have a look at the configfiles of xinetd.
it usually has a subdirectory somewhere in /etc/xinetd containing
the configs for the services to run. The user is setup there.

and your .amandahosts has to be readable only by the backup-user.
if it is group or world readable amanda refuses to use it.
Christoph

 -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: access denied

2002-07-16 Thread Gene Heskett

On Tuesday 16 July 2002 08:40, Trevor Fraser wrote:
-I am running as root who is the dump user.
-I've abled (disable = no) the amanda services.(amanda, amandaidx
  amidxtape)


None of this will run as root, but must be run as user amanda (or 
whatever name you gave it when it was configured)

- 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.

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



Re: amcheck: access as........

2001-02-15 Thread Gerhard den Hollander

* Jrn Hildebrandt [EMAIL PROTECTED] (Thu, Feb 15, 2001 at 11:44:28AM 
+0100)

 Amanda Backup Client Hosts Check
 
 ERROR: saturn.systemelektronik.de: [access as amanda not allowed from
 [EMAIL PROTECTED]]
 Client check: 1 host checked in 0.019 seconds, 1 problem found.
 
 (brought to you by Amanda 2.4.1p1)
 

 i am little bit astonished as new linux-user about "access as amanda not
 allowed."
 because i'm running this command as root.

Yes, but the client tries to run amanda as amanda
(check the docs in /usr/share/doc/packages/amanda)

BTW suse 7.0 ships with amanda-2.4.1p1-157 you might wanna upgrade to
2.4.2p2.


Kind regards,
 --
Gerhard den Hollander   Phone +31-10.280.1515
Technical Support Jason Geosystems BV   Fax   +31-10.280.1511
   (When calling please note: we are in GMT+1)
[EMAIL PROTECTED]  POBox 1573
visit us at http://www.jasongeo.com 3000 BN Rotterdam  
JASON...#1 in Reservoir CharacterizationThe Netherlands

  This e-mail and any attachment is/are intended solely for the named
  addressee(s) and may contain information that is confidential and privileged.
   If you are not the intended recipient, we request that you do not
 disseminate, forward, distribute or copy this e-mail message.
  If you have received this e-mail message in error, please notify us
   immediately by telephone and destroy the original message.