Gotcha:
The trouble is, if the first line in /etc/hosts file on both netatalk servers is
127.0.0.1 localhost.localdomain localhost
... or it's in Redhat style:
Server 1
127.0.0.1 foo.domain foo localhost.localdomain localhost
Server 2
127.0.0.1 bar.domain bar localhost.localdomain localhost
then the generated ServerSignature (which is based on hostid) is identical, because the hostid in both cases is 7f0100 (created from the loopback address 127.0.0.1).
Solution:
The fix is to make sure the first line of /etc/hosts *isn't* 127.0.0.1 in both cases. ie:
On Server 1
10.0.1.1 foo.domain foo
127.0.0.1 localhost.localdomain localhost
On Server 2
10.0.1.2 bar.domain bar
127.0.0.1 localhost.localdomain localhost
Since this took me 4 hours to track down, because I didn't know what I was searching for, here are some of the keywords I tried in case other people try similar searches in the future. Think of this article as spackle for the noosphere.
Keywords:
redhat linux netatalk multiple servers volume appleshare hostid problem duplicate appletalk afpd separate identical already mount login
--
simon
|