[OpenAFS] Users loose their tokens on Mac OS X
Jean
jean.midot@insa-lyon.fr
Tue, 06 Mar 2007 20:08:08 +0100
Hello
I have some problems using AFS on Mac OS X tiger.
Just after the mac has started everything works fine. But sometimes,
after a while users loose their tokens and they can't reconnect to their
homes after unlogging unless they reboot the mac.
The AFS server is on a Fedora Core 3 Linux and AFS uses Kerberos V5 to
authorize users to mount their homes.
The problem seems to be a "lost contact with file server" as the logs
show below :
/Mar 6 13:20:35 mac-mini-3 authorizationhost[250]: afslog.loginLogout:
Getting AFS tokens for user XXXXX (11011), will setuid to the user
Mar 6 13:21:32 mac-mini-3 kernel[0]: afs: Lost contact with file server
134.214.74.1 in cell bde.insa-lyon.fr (all multi-homed ip addresses down
for the server)
Mar 6 13:21:32 mac-mini-3 kernel[0]: afs: Lost contact with file server
134.214.74.1 in cell bde.insa-lyon.fr (all multi-homed ip addresses down
for the server)
Mar 6 13:21:33 mac-mini-3
/System/Library/CoreServices/mcxd.app/Contents/MacOS/mcxd:
DSGetCurrentConfigInfo(): dsGetRecordEntry() == -14061
Mar 6 13:21:33 mac-mini-3
/System/Library/CoreServices/mcxd.app/Contents/MacOS/mcxd:
DSGetCacheInfo(): DSGetCurrentConfigInfo() == -14061
Mar 6 13:21:33 mac-mini-3
/System/Library/CoreServices/mcxd.app/Contents/MacOS/mcxd: ***
MCXD.getComputerInfo: Couldn't get cache info -14061
Mar 6 13:21:33 mac-mini-3
/System/Library/CoreServices/mcxd.app/Contents/Resources/MCXCacher:
DSGetCurrentConfigInfo(): dsGetRecordEntry() == -14061
Mar 6 13:21:33 mac-mini-3
/System/Library/CoreServices/mcxd.app/Contents/Resources/MCXCacher:
DSGetCacheInfo(): DSGetCurrentConfigInfo() == -14061
Mar 6 13:21:33 mac-mini-3
/System/Library/CoreServices/mcxd.app/Contents/Resources/MCXCacher:
UpdateCache(): DSGetCacheInfo() == -14061
Mar 6 13:21:33 mac-mini-3
/System/Library/CoreServices/mcxd.app/Contents/Resources/MCXCacher:
CacheComputer() == -14061\n
Mar 6 13:21:33 mac-mini-3
/System/Library/CoreServices/mcxd.app/Contents/Resources/MCXCacher:
DSGetCurrentConfigInfo(): dsGetRecordEntry() == -14061
Mar 6 13:21:33 mac-mini-3
/System/Library/CoreServices/mcxd.app/Contents/Resources/MCXCacher:
DSGetCacheInfo(): DSGetCurrentConfigInfo() == -14061
Mar 6 13:21:33 mac-mini-3
/System/Library/CoreServices/mcxd.app/Contents/Resources/MCXCacher:
UpdateCache(): DSGetCacheInfo() == -14061
Mar 6 13:21:33 mac-mini-3
/System/Library/CoreServices/mcxd.app/Contents/Resources/MCXCacher:
CacheUser(): UpdateCache() == -14061
Mar 6 13:21:33 mac-mini-3
/System/Library/CoreServices/mcxd.app/Contents/Resources/MCXCacher:
CacheUser(0, XXXXX) == -14061\n
Mar 6 13:21:34 mac-mini-3 sudo: root : TTY=console ; PWD=/ ;
USER=XXXXX ; COMMAND=/Library/Management/alias.sh
Mar 6 13:21:34 mac-mini-3 loginwindow[241]: Failed to stat homedir:
sleeping 1 second: chdir returns -1 for
/afs/bde.insa-lyon.fr/membres/XXXXX: Attempt 1
Mar 6 13:21:35 mac-mini-3 loginwindow[241]: Failed to stat homedir:
sleeping 1 second: chdir returns -1 for
/afs/bde.insa-lyon.fr/membres/XXXXX: Attempt 2
Mar 6 13:21:36 mac-mini-3 loginwindow[241]: Failed to stat homedir:
sleeping 1 second: chdir returns -1 for
/afs/bde.insa-lyon.fr/membres/XXXXX: Attempt 3
......................
Mar 6 13:21:53 mac-mini-3 loginwindow[241]: Failed to stat homedir:
sleeping 1 second: chdir returns -1 for
/afs/bde.insa-lyon.fr/membres/XXXXX: Attempt 20
Mar 6 13:21:54 mac-mini-3
/System/Library/CoreServices/UserAccountUpdater: unable to open
directory /afs/bde.insa-lyon.fr/membres/XXXXX/Library/Widgets/
Mar 6 13:21:56 mac-mini-3 loginwindow[241]: Couldn't create temp file
//Library/Keychains/~2RB4704wq6rm6gW-: Permission denied
Mar 6 13:21:56 mac-mini-3 loginwindow[241]: Couldn't create temp file
//Library/Keychains/~Dpcu7NVdQ2u8oauf: Permission denied
/If you have any ideas ??
Thank you !!/
-----------------------------------------------------
Jean Midot
Administrateur BdE INSA de LYON
21 av Albert Einstein
69621 Villeurbanne CEDEX
FRANCE
/