[OpenAFS] Currently correct info for Debian sarge OpenAFS install?

Russ Allbery rra@stanford.edu
Mon, 02 May 2005 19:30:50 -0700


Eric Bennett <eric@umbralservices.com> writes:

> I've been having a nightmare of a time trying to get openafs installed
> under debian, I've gotten to the point where you create a volume (I
> assume) with the command vos create (host) a root.afs -localauth and it
> just hangs, I've tried stracing the filesserver process as well as the
> bosserver process, it appears to be hanging on

> [pid  7169] connect(3, {sa_family=AF_INET, sin_port=htons(2040),
> sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ECONNREFUSED (Connection
> refused)

Well, this particular problem is because of /etc/hosts, as previously
mentioned.  (That's the only reason why something would be connecting to
127.0.0.1.)

Have you read the documentation in the OpenAFS sarge package in
/usr/share/doc/openafs-dbserver?  In particular, you want to read
README.servers and configuration.transcript.txt.gz.  The latter steps you
through the whole process of setting up a new cell; you say below that you
didn't think the documentation is adequate, but that transcript is about
the most useful documentation I've seen for installing OpenAFS.

The Debian package comes with afs-newcell and afs-rootvol scripts that
automate part of this process and also check various things, including the
127.0.0.1 problem that you had above (in the version in sid; that check
hasn't migrated into sarge yet).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>