[OpenAFS] Re: Trouble creating AFS KeyFile on FreeBSD 10.0

Benjamin Kaduk kaduk@MIT.EDU
Wed, 1 Oct 2014 13:30:19 -0400 (EDT)


On Tue, 30 Sep 2014, Eric Shell wrote:

> >
> > That seems a little odd; is it only ptserver that fails? Try these, to
> > check each individual server:
> >
> > bosserver: bos status <server> -localauth
> > vlserver: vos listaddrs -noresolv -localauth
> > ptserver: pts listmax -localauth
> > buserver: backup listhosts -localauth
> >
> >
> It looks like all three servers are unhappy, despite what bos status thinks:
>
> # bos status localhost -localauth
> Instance buserver, currently running normally.
> Instance vlserver, currently running normally.
> Instance ptserver, currently running normally.

Bos is only concerned with whether the process is running -- it doesn't do
any test RPCs or anything like that.

> # vos listaddrs -noresolve -localauth
> vos: could not list the server addresses
> Possible communication failure
>
> # pts listmax -localauth
> pts: server or network not responding getting maximum user id
>
> # backup listhosts -localauth
> backup: server or network not responding ; Can't access backup database
> backup: server or network not responding ; Can't initialize backup

So, it seems like no authentication is working yet.  If I remember
correctly from previous mail, your cell name is the same as your realm
name, so you shouldn't need a krb.conf to make that mapping (that's a
common cause for this sort of behavior).

Maybe you should show us the directory listing of
/usr/local/etc/openafs/server so we can think about what route to follow
next.


As a side note, I should probably update that FreeBSD wiki page you were
following to show the procedure involving rxkad.keytab; that would also
give me an opportunity to see whether I reproduce your issues.  I'm not
sure how soon I'll be able to do that, though

-Ben