[OpenAFS] Re: Configure AFS server for Windows: failed to get
token for admin
Xiong Jiang
linuster@gmail.com
Sun, 3 May 2009 07:35:37 -0700
I'd like to try it, at least use it as read-only replica server for
backup purpose.
The question is what are the commands to use? The afs-newcell script
on Linux uses more commands than what is available in OpenAFS/Windows.
Do you mind to share a simple list of commands or steps that I could
try? Just give me the commands/quick steps and I can always look up
the manual.
Thanks,
Xiong
On Sun, May 3, 2009 at 6:56 AM, Jeffrey Altman
<jaltman@secure-endpoints.com> wrote:
> The new cell wizard doesn't work. =A0 All of the server guis
> assume that kaserver is being used. =A0 To install OpenAFS servers
> on Windows requires configuring it by hand from the command
> line just as you would on Unix.
>
> The reason it is not officially supported and we advise that
> you do not use it is that there is a significant likelihood
> that you will lose data if you do.
>
> Xiong Jiang wrote:
>> I also tried to configure it as the first server for a new cell.
>>
>> The first time it ends up with error 3 when setting the ACL for
>> root.afs. And in server configuration I can see it is configured
>> somehow. So I disabled all the servers and removed the volumes and
>> started the wizard again. This time I got following error.
>>
>> Is anyone running openAFS server 1.5.59 on Windows? Could we share our
>> experience even it is not supported officially.
>>
>> Thanks,
>> Xiong
>>
>>
>> 02:03:17 05/03/09: =A0Log file open.
>>
>> 02:03:17 05/03/09: =A0Checking this machine's current configuration...
>>
>> 02:03:17 05/03/09: =A0Is the AFS Client installed on this machine: Yes.
>>
>> 02:03:17 05/03/09: =A0The client configuration information on this host
>> is not valid: =A0(0x462b), the client's cell database contains no
>> database server entries for the client's cell.
>>
>> Is there valid configuration information on this machine: No.
>>
>> 02:03:17 05/03/09: =A0The configuration information on this host is not
>> valid: =A0(0x460f), the minimally required server configuration
>> information is missing, unreadable, or invalid.
>>
>> Getting handles to the cell and the config library.
>>
>> 02:03:17 05/03/09: =A0Opening a NULL cell handle to use with the client
>> config library handle.
>>
>> 02:03:17 05/03/09: =A0Getting config handle for the client.
>>
>> 02:03:17 05/03/09: =A0Opening a NULL cell handle to use with the server
>> config library handle.
>>
>> 02:03:17 05/03/09: =A0Getting config library handle for the server.
>>
>> 02:03:17 05/03/09: =A0Does a partition exist on this machine: No.
>>
>> Configuring server
>>
>> 02:03:57 05/03/09: =A0Adding an AFS partition on device 'I:' with name '=
/vicepi'.
>>
>> 02:03:57 05/03/09: =A0Putting this host in cell 'chris.home'.
>>
>> 02:03:57 05/03/09: =A0Stopping the client.
>>
>> 02:03:58 05/03/09: =A0Putting the AFS Client in this host's cell.
>>
>> 02:03:58 05/03/09: =A0Starting the bos server in no auth mode.
>>
>> 02:04:05 05/03/09: =A0Starting the authentication server.
>>
>> 02:04:11 05/03/09: =A0Getting credentials in cell 'chris.home' as admin =
'admin'.
>>
>> 02:04:11 05/03/09: =A0Getting handles to the cell and the config library=
.
>>
>> 02:04:11 05/03/09: =A0Opening a non-NULL cell handle to use with the
>> server config library handle.
>>
>> 02:04:11 05/03/09: =A0Getting unauthenticated tokens for cell 'chris.hom=
e'.
>>
>> 02:04:11 05/03/09: =A0Getting cell handle for cell chris.home.
>>
>> 02:04:11 05/03/09: =A0Getting config library handle for the server.
>>
>> 02:04:11 05/03/09: =A0Setting the AFS Principal.
>>
>> 02:04:11 05/03/09: =A0Starting the following servers: Protection
>> Volume Location =A0 Backup
>>
>> 02:04:11 05/03/09: =A0Waiting for database servers to reach quorum.
>>
>> 02:04:23 05/03/09: =A0Setting Admin Principal to 'admin' and UID to 0.
>>
>> 02:04:23 05/03/09: =A0Getting credentials in cell 'chris.home' as admin =
'admin'.
>>
>> 02:04:23 05/03/09: =A0Getting handles to the cell and the config library=
.
>>
>> 02:04:23 05/03/09: =A0Opening a non-NULL cell handle to use with the
>> server config library handle.
>>
>> 02:04:23 05/03/09: =A0Getting tokens in cell chris.home for user 'admin'=
.
>>
>> 02:04:23 05/03/09: =A0Getting cell handle for cell chris.home.
>>
>> 02:04:23 05/03/09: =A0Getting config library handle for the server.
>>
>> 02:04:23 05/03/09: =A0Starting the File Server.
>>
>> 02:04:29 05/03/09: =A0Opening server chris.
>>
>> 02:04:29 05/03/09: =A0Translating the parition name '/vicepi' to an ID.
>>
>> 02:04:29 05/03/09: =A0The ID for partition '/vicepi' is 8.
>>
>> 02:04:29 05/03/09: =A0Stopping the client.
>>
>> 02:04:30 05/03/09: =A0Creating volume root.afs on partition 8 with a
>> quota of 5000.
>>
>> 02:04:30 05/03/09: =A0Error 0x5614 has occurred: the volume name is
>> already in use..
>>
>> 02:04:34 05/03/09: =A0Closing the connection to this server.
>>
>> 02:04:34 05/03/09: =A0Configuration has failed.
>>
>>
>>
>> On Sun, May 3, 2009 at 1:24 AM, Xiong Jiang <linuster@gmail.com> wrote:
>>> Hi there,
>>>
>>> I am trying the quick start wizard to configure AFS server on Windows
>>> XP. It is not officially supported but i'd like to try. I got problem
>>> when getting principals and credentials for the admin account. On the
>>> linux box, the admin account is root/admin@jiang.home. I am not sure
>>> what I should set in the administrative account page of the wizard.
>>> The default name is "admin", I also tried "root/admin", "root.admin",
>>> but it fails for the same error.
>>>
>>> Do you know what could be wrong here? My openAFS is 1.5.59.
>>>
>>> Thanks,
>>> Xiong
>>>
>>> The error log is:
>>>
>>> Configuring server
>>>
>>> 01:16:29 05/03/09: =A0Getting CellServDB from host 192.168.11.204.
>>>
>>> 01:16:29 05/03/09: =A0mytv.home
>>>
>>> 01:16:29 05/03/09: =A0Putting this host in cell 'jiang.home'.
>>>
>>> 01:16:29 05/03/09: =A0Starting the bos server in no auth mode.
>>>
>>> 01:16:30 05/03/09: =A0Getting credentials in cell 'jiang.home' as admin=
'admin'.
>>>
>>> 01:16:30 05/03/09: =A0Getting handles to the cell and the config librar=
y.
>>>
>>> 01:16:30 05/03/09: =A0Opening a non-NULL cell handle to use with the
>>> server config library handle.
>>>
>>> 01:16:30 05/03/09: =A0Getting tokens in cell jiang.home for user 'admin=
'.
>>>
>>> 01:16:58 05/03/09: =A0Failed to get tokens for the specified cell: =A02=
c112.
>>>
>>> 01:16:58 05/03/09: =A0Error 0x2c112 has occurred: Ubik Call failed.
>>>
>>> 01:17:00 05/03/09: =A0Configuration has failed.
>>>
>> _______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>
>