Hello all,
(After quite some time spent on initial configuration issues...)
It seems the dump works successfully, but when I try an amrecover from
the client, I get the following error:
=========================
root@chris-desktop:~# amrecover -s 10.100.100.150
AMRECOVER Version 2.5.2p1. Contacting server on 10.100.100.150 ...
NAK: user root from chris-desktop is not allowed to execute the service
amindexd: Please add "amindexd amidxtaped" to the line in
/var/backups/.amandahosts on the client
My .amandahosts file contains:
=========================
root@chris-desktop:~# cat /var/backups/.amandahosts
localhost root amindexd amidxtaped
localhost backup amdump
chris-desktop root amindexd amidxtaped
chris-desktop backup imindexd amidxtaped
The amrecover debug output:
=========================
amrecover: debug 1 pid 11618 ruid 0 euid 0: start at Mon Dec 29 13:37:01
2008
Could not open conf file "/etc/amanda/amanda-client.conf": No such file
or directory
Could not open conf file "/etc/amanda/DailySet1/amanda-client.conf": No
such file or directory
amrecover: debug 1 pid 11618 ruid 0 euid 0: rename at Mon Dec 29
13:37:01 2008
amrecover: time 0.000: security_getdriver(name=bsd) returns 0xb8033c00
amrecover: time 0.000: security_handleinit(handle=0x8c7ced0,
driver=0xb8033c00 (BSD))
amrecover: time 0.001: bind_portrange2: Try port 855: Available - Success
amrecover: time 0.001: dgram_bind: socket 3 bound to ::.855
amrecover: time 0.001: dgram_send_addr(addr=0x8c7cef0, dgram=0xb8045a84)
amrecover: time 0.001: (sockaddr_in6 *)0x8c7cef0 = { 10, 10080,
::ffff:10.100.100.150 }
amrecover: time 0.001: dgram_send_addr: 0xb8045a84->socket = 3
amrecover: time 0.006: dgram_recv(dgram=0xb8045a84, timeout=0,
fromaddr=0xb8055a70)
amrecover: time 0.007: (sockaddr_in6 *)0xb8055a70 = { 10, 10080,
::ffff:10.100.100.150 }
amrecover: time 0.007: security_close(handle=0x8c7ced0,
driver=0xb8033c00 (BSD))
FYI: When I run a amcheck -c DailySet1 on the server, I receive the
following output:
=========================
Amanda Backup Client Hosts Check
--------------------------------
ERROR: NAK 10.100.100.160: user backup from dub-amanda1.dublinoffice.bfx
is not allowed to execute the service noop: Please add "amdump" to the
line in /var/backups/.amandahosts on the client
Client check: 1 host checked in 10.003 seconds, 1 problem found
(brought to you by Amanda 2.5.2p1)
Anybody have a clue/tips?
After the server gave me that pointer (add amdump to the .amandahosts file),
the contents now look as follows:
=========================
root@chris-desktop:~# cat /var/backups/.amandahosts
localhost root amindexd amidxtaped amdump
localhost backup amdump
chris-desktop root amindexd amidxtaped amdump
chris-desktop backup imindexd amidxtaped
(Still the same errors though...)
Thanks!
Christiaan de Vries
Baxter-FX.com
|