Amanda-Users

Re: Amanda must be run as user amandabackup when using bsdtcp authentication

2009-05-19 05:44:29
Subject: Re: Amanda must be run as user amandabackup when using bsdtcp authentication
From: Abilio Carvalho <abilio.carvalho AT bbp DOT ch>
To: amanda-users AT amanda DOT org
Date: Tue, 19 May 2009 11:24:24 +0200
Done further tests, still no explanation.

Amandahosts on the client is:

BACKUPHOST.bbp.ch amandabackup amdump
BACKUPHOST amandabackup amdump

inetadm -l svc:/network/amanda/tcp on the client returns:

SCOPE    NAME=VALUE
          name="amanda"
          endpoint_type="stream"
          proto="tcp"
          isrpc=FALSE
          wait=FALSE
          exec="/libexec/amanda/amandad -auth=bsdtcp amdump"
          user="amandabackup"
default  bind_addr=""
default  bind_fail_max=-1
default  bind_fail_interval=-1
default  max_con_rate=-1
default  max_copies=-1
default  con_rate_offline=-1
default  failrate_cnt=40
default  failrate_interval=60
default  inherit_env=TRUE
default  tcp_trace=FALSE
default  tcp_wrappers=FALSE


the log directory on the client only has the following:

root@BACKUPCLIENT:/tmp/amanda/amandad# cat amandad.20090519111556.debug
1242724556.328466: amandad: pid 18933 ruid 0 euid 0 version 2.6.1:  
start at Tue May 19 11:15:56 2009
1242724556.339271: amandad: security_getdriver(name=bsdtcp) returns  
ff31c788
1242724556.339369: amandad: critical (fatal): Amanda must be run as  
user 'amandabackup' when using 'bsdtcp' authentication

I can't even see what user it's TRYING to use, only that it should be  
running as amandabackup. All relevant config files tell me that it IS.  
Any way to get more descriptive logs? I tried debug_amandad on the  
amanda-client.conf, but that had no effect

please help

Abilio

-----------------------------------------------------------------------------------
This e-mail is strictly confidential and may be privileged.
It is intended solely for the addressee. If you are not the intended
recipient, any copying, distribution or any other use of this message
is prohibited and may be unlawful. In such case, please notify the
sender Immediately and destroy this e-mail.
------------------------------------------------------------------------------------