[OpenAFS] Trying OpenAFS, and missing

Kristofer Pettijohn kristofer@cybernetik.net
Wed, 1 Jan 2014 18:49:16 -0600 (CST)


------=_Part_37105_1021596930.1388623756131
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

I re-ran through the process, following the Debian instructions ( https://openafs.dk/doku.php?id=server:openafs ), and I am encountering the same error. I cannot figure this one out. 


root@ueafs1:/etc/openafs/server# mv /tmp/afs /etc/openafs/server/rxkad.keytab 

root@ueafs1:/etc/openafs/server# ls -l /etc/openafs/server/rxkad.keytab 
-rw------- 1 root root 462 Jan 2 00:30 /etc/openafs/server/rxkad.keytab 
root@ueafs1:/etc/openafs/server# ps auxww|grep boss 
root 4415 0.0 0.1 25872 4460 ? Ss 00:32 0:00 /usr/sbin/bosserver 
root 4446 0.0 0.0 8172 944 pts/3 S+ 00:33 0:00 grep --color=auto boss 

root@ueafs1:/etc/openafs/server# /etc/init.d/openafs-fileserver stop 
* Stopping OpenAFS services 
bos: failed to shutdown servers (ticket contained unknown key version number) 
bos: can't wait for processes to shutdown (ticket contained unknown key version number) 
* Stopping OpenAFS BOS server bosserver [ OK ] 

root@ueafs1:/etc/openafs/server# service openafs-fileserver start 
* Starting OpenAFS BOS server bosserver [ OK ] 

root@ueafs1:/etc/openafs/server# ps auxww|grep -i bos 
root 4475 0.0 0.1 25872 4484 ? Ss 00:33 0:00 /usr/sbin/bosserver 

root@ueafs1:/var/log/openafs# apt-get install krb5-user 

root@ueafs1:/var/log/openafs# kinit kpettijohn@AD.DOMAIN.COM 
Password for kpettijohn@AD.DOMAIN.COM: 
Warning: Your password will expire in 73 days on Sun Mar 16 01:04:44 2014 

root@ueafs1:/var/log/openafs# klist 
Ticket cache: FILE:/tmp/krb5cc_0 
Default principal: kpettijohn@AD.DOMAIN.COM 

Valid starting Expires Service principal 
02/01/2014 00:36 02/01/2014 10:36 krbtgt/AD.DOMAIN.COM@AD.DOMAIN.COM 
renew until 03/01/2014 00:36 

root@ueafs1:/var/log/openafs# bos setcellname -server ueafs1.ad.domain.com -name ad.domain.com -localauth 
bos: failed to set cell (ticket contained unknown key version number) 

root@ueafs1:/var/log/openafs# kvno afs/ad.domain.com 
afs/ad.domain.com@AD.DOMAIN.COM: kvno = 6 

root@ueafs1:/var/log/openafs# klist -k -e /etc/openafs/server/rxkad.keytab 
Keytab name: FILE:/etc/openafs/server/rxkad.keytab 
KVNO Principal 
---- -------------------------------------------------------------------------- 
6 afs/ad.domain.com@AD.DOMAIN.COM (des-cbc-crc) 
6 afs/ad.domain.com@AD.DOMAIN.COM (des-cbc-md5) 
6 afs/ad.domain.com@AD.DOMAIN.COM (aes128-cts-hmac-sha1-96) 
6 afs/ad.domain.com@AD.DOMAIN.COM (aes256-cts-hmac-sha1-96) 
6 afs/ad.domain.com@AD.DOMAIN.COM (arcfour-hmac) 

root@ueafs1:/var/log/openafs# bos setcellname -server ueafs1.ad.domain.com -name ad.domain.com -localauth 
bos: failed to set cell (ticket contained unknown key version number) 




------=_Part_37105_1021596930.1388623756131
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><body><div style=3D"font-family: arial,helvetica,sans-serif; font-siz=
e: 12pt; color: #000000"><div>I re-ran through the process, following the D=
ebian instructions (<a href=3D"https://openafs.dk/doku.php?id=3Dserver:open=
afs">https://openafs.dk/doku.php?id=3Dserver:openafs</a>), and I am encount=
ering the same error.&nbsp; I cannot figure this one out.<br></div><div><br=
></div><div><br></div><div>root@ueafs1:/etc/openafs/server# mv /tmp/afs /et=
c/openafs/server/rxkad.keytab<br></div><div><br></div><div>root@ueafs1:/etc=
/openafs/server# ls -l /etc/openafs/server/rxkad.keytab<br>-rw------- 1 roo=
t root 462 Jan&nbsp; 2 00:30 /etc/openafs/server/rxkad.keytab<br>root@ueafs=
1:/etc/openafs/server# ps auxww|grep boss<br>root&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp; 4415&nbsp; 0.0&nbsp; 0.1&nbsp; 25872&nbsp; 4460 ?&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; Ss&nbsp;&nbsp; 00:32&nbsp;&nbsp; 0:00 /usr/sbin/bosse=
rver<br>root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4446&nbsp; 0.0&nbsp; 0.0&nbsp;&n=
bsp; 8172&nbsp;&nbsp; 944 pts/3&nbsp;&nbsp;&nbsp; S+&nbsp;&nbsp; 00:33&nbsp=
;&nbsp; 0:00 grep --color=3Dauto boss<br></div><div><br></div><div>root@uea=
fs1:/etc/openafs/server# /etc/init.d/openafs-fileserver stop<br>&nbsp;* Sto=
pping OpenAFS services<br>bos: failed to shutdown servers (ticket contained=
 unknown key version number)<br>bos: can't wait for processes to shutdown (=
ticket contained unknown key version number)<br>&nbsp;* Stopping OpenAFS BO=
S server bosserver&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nb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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ OK ] <br></div><div><br></di=
v><div>root@ueafs1:/etc/openafs/server# ps auxww|grep -i bos<br>root&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; 4475&nbsp; 0.0&nbsp; 0.1&nbsp; 25872&nbsp; 4484 ?&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ss&nbsp;&nbsp; 00:33&nbsp;&nbsp; 0=
:00 /usr/sbin/bosserver<br></div><div><br></div><div>root@ueafs1:/var/log/o=
penafs# apt-get install krb5-user<br></div><div><br></div><div>root@ueafs1:=
/var/log/openafs# kinit kpettijohn@AD.DOMAIN.COM<br>Password for kpettijohn=
@AD.DOMAIN.COM: <br>Warning: Your password will expire in 73 days on Sun Ma=
r 16 01:04:44 2014<br></div><div><br></div><div>root@ueafs1:/var/log/openaf=
s# klist<br>Ticket cache: FILE:/tmp/krb5cc_0<br>Default principal: kpettijo=
hn@AD.DOMAIN.COM<br><br>Valid starting&nbsp;&nbsp;&nbsp; Expires&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Service principal<br>02/0=
1/2014 00:36&nbsp; 02/01/2014 10:36&nbsp; krbtgt/AD.DOMAIN.COM@AD.DOMAIN.CO=
M<br>&nbsp;&nbsp; &nbsp;renew until 03/01/2014 00:36<br></div><div><br></di=
v><div>root@ueafs1:/var/log/openafs# bos setcellname -server ueafs1.ad.doma=
in.com -name ad.domain.com -localauth<br>bos: failed to set cell (ticket co=
ntained unknown key version number)<br></div><div><br></div><div>root@ueafs=
1:/var/log/openafs# kvno afs/ad.domain.com<br>afs/ad.domain.com@AD.DOMAIN.C=
OM: kvno =3D 6<br></div><div><br></div><div>root@ueafs1:/var/log/openafs# k=
list -k -e /etc/openafs/server/rxkad.keytab <br>Keytab name: FILE:/etc/open=
afs/server/rxkad.keytab<br>KVNO Principal<br>---- -------------------------=
-------------------------------------------------<br>&nbsp;&nbsp; 6 afs/ad.=
domain.com@AD.DOMAIN.COM (des-cbc-crc) <br>&nbsp;&nbsp; 6 afs/ad.domain.com=
@AD.DOMAIN.COM (des-cbc-md5) <br>&nbsp;&nbsp; 6 afs/ad.domain.com@AD.DOMAIN=
.COM (aes128-cts-hmac-sha1-96) <br>&nbsp;&nbsp; 6 afs/ad.domain.com@AD.DOMA=
IN.COM (aes256-cts-hmac-sha1-96) <br>&nbsp;&nbsp; 6 afs/ad.domain.com@AD.DO=
MAIN.COM (arcfour-hmac) <br></div><div><br></div><div>root@ueafs1:/var/log/=
openafs# bos setcellname -server ueafs1.ad.domain.com -name ad.domain.com -=
localauth<br>bos: failed to set cell (ticket contained unknown key version =
number)<br><br><br></div><div><br></div></div></body></html>
------=_Part_37105_1021596930.1388623756131--