Hi All, I'm brand new in using amanda and starting my first install.
So far I was able to succesfully make backups of local files and folders, but when add a remote host I get the following error on amcheck and amdump:
Code:
WARNING: example.com: selfcheck request failed: example.com: is not local
Let's assume example.com is the hostname for the remote client.
The remote host is correctly configured, I checked by running "amservice example.com bsdtcp noop < /dev/null" and getting "OPTIONS features=ffffffff9ffeffffffff7f;" from the server side so assumed everythig from that side is ok. This leaves me with a problem in the server configuration.
The disklist is standarly configured:
Code:
localhost /etc simple-gnutar-local
localhost /jboss simple-gnutar-local
localhost /usr/local/etc simple-gnutar-local
localhost /storage/backup-intranet simple-gnutar-local
example.com /var/www/fe simple-gnutar-local
example.com /u simple-gnutar-local
Firewall is down and SELINUX is disabled.
I've crawled into source code and found this error "host: is not local" comes from common-src/local-security.c local_connect function which I guess is for localhost connecting, but in my install is using it to connect to the remote host and hence failing. This is the validation which is failing:
Code:
if (!g_str_equal(hostname, myhostname) &&
match("^localhost(\\.localdomain)?$", hostname) == 0) {
security_seterror(&rh->sech,
_("%s: is not local"), hostname);
(*fn)(arg, &rh->sech, S_ERROR);
return;
}
Line 128 of https://github.com/zmanda/amanda/blob/master/common-src/local-security.c
What am I missing? is there any configuration to refer to remote hosts instead of local?
Thanks in advance!
Mauro