[OpenAFS] Re: afs-newcell fail: Couldn't get CPS for AnyUser

Xiong Jiang linuster@gmail.com
Fri, 1 May 2009 11:41:33 -0700


Error when run aklog.
I don't know why it tries to get ticket for afs/mytv@MYTV.HOME,
afs/mytv@MYTV, afs@MYTV, while I only have principal afs@MYTV.HOME.

Any idea?

aklog -d
Authenticating to cell mytv (server mytv).
Trying to authenticate to user's realm MYTV.HOME.
Getting tickets: afs/mytv@MYTV.HOME
We've deduced that we need to authenticate using referrals.
Getting tickets: afs/mytv@
We've deduced that we need to authenticate to realm MYTV.
Getting tickets: afs/mytv@MYTV
Getting tickets: afs@MYTV
Kerberos error code returned by get_cred : -1765328377
aklog: Couldn't get mytv AFS tickets:
aklog: unknown RPC error (-1765328377) while getting AFS tickets

The principals I have are:
root@mytv:/etc/openafs# kadmin.local
Authenticating as principal root/admin@MYTV.HOME with password.
kadmin.local:  listprincs
K/M@MYTV.HOME
afs@MYTV.HOME
jxiong@MYTV.HOME
kadmin/admin@MYTV.HOME
kadmin/changepw@MYTV.HOME
kadmin/history@MYTV.HOME
krbtgt/MYTV.HOME@MYTV.HOME
root/admin@MYTV.HOME


On Fri, May 1, 2009 at 11:33 AM, Xiong Jiang <linuster@gmail.com> wrote:
> Finally, I get the cell created after managed to rewind/delete the
> server processes in bosserver.
>
> I think the reboot makes difference but still don't know what stale
> status it did clean up.
>
> Maybe I'll try a fresh start again some time later.
>
> Xiong
>
> On Fri, May 1, 2009 at 5:27 AM, Xiong Jiang <linuster@gmail.com> wrote:
>> Hi there,
>>
>> I am installing OpenAFS on ubuntu karmic following the doc at:
>> http://www.debian-administration.org/article/OpenAFS_installation_on_Deb=
ian
>>
>> The OpenAFS version is 1.4.9.dfsg1-0+ubuntu3
>>
>> I got error when running afs-newcell:
>> ...
>> bos setrestart mytv.home -time never -general -localauth
>> Waiting for database elections: done.
>> vos create mytv.home a root.afs -localauth
>> vos : partition a does not exist on the server
>> Failed: 65280
>>
>> Cell setup failed, ABORTING
>>
>> and in /var/log/openafs/FileLog there is error:
>> Fri May =A01 04:59:13 2009 File server starting
>> Fri May =A01 04:59:13 2009 afs_krb_get_lrealm failed, using mytv.home.
>> Fri May =A01 04:59:13 2009 Couldn't get CPS for AnyUser, will try again =
in 30
>> seconds; code=3D267275.
>>
>> I verified that no partition is created by fileserver. How to
>> troubleshoot the error "Couldn't get CPS for AnyUser..."
>>
>> Any hint is appreciated.
>>
>> Xiong
>>
>