[OpenAFS] KNFS in OpenAFS
Frank Kou
fkou@rainfinity.com
Tue, 24 May 2005 10:09:05 -0700
Hello!
I run into an issue in setting up KNFS translator. When I start KNFS
command, I always get error "knfs: failed to copy tokens (code 22)", =
even I
already logon AFS and have a valid token. I do use same UNIX UID and AFS
UID. Following is a run down of that error message. Ptsun1 is the AFS
BOS/file server, ptsun4 is the KNFS translator, and ptsun3 is the NFS
client. The version of OpenAFS is 1.2.13 and the platform are all =
Solaris 9.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[afsadmin@ptsun3 /]$ telnet ptsun4
Trying 10.60.70.6...
Connected to ptsun4.
Escape character is '^]'.
=20
=20
SunOS 5.9
=20
login: afsadmin
Password:
Last login: Mon May 23 18:31:27 from bunker.support.
Sun Microsystems Inc. SunOS 5.9 Generic May 2002
afsadmin@ptsun4 /$ tokens
=20
Tokens held by the Cache Manager:
=20
User's (AFS ID 101) tokens for afs@getrans [Expires May 25 10:54]
--End of list--
afsadmin@ptsun4 /$ id
uid=3D101(afsadmin) gid=3D100(users)
afsadmin@ptsun4 /$ knfs -host ptsun3
knfs: failed to copy tokens (code 22)
afsadmin@ptsun4 /$ knfs -host ptsun3 -tokens
knfs: there are no tokens here.
afsadmin@ptsun4 /$ knfs -host ptsun1 -tokens
knfs: there are no tokens here.
afsadmin@ptsun4 /$ knfs -host ptsun4 -tokens
knfs: there are no tokens here.
afsadmin@ptsun4 /$
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Any help is greatly appreciated!
Best Regards,=20
Frank