[OpenAFS] Error: 11862791 AFS service may not have started -
Solved
Ajeet Nankani
ajeetnankani@gmx.net
Tue, 23 Nov 2004 15:56:45 +0100
Hi,
I did the same as you wrote, and the output of the token.exe is,
=================================================================
Tokens held by the Cache Manager:
pioctl CreateFile(\\afs\all\_._AFS_IOCTL_._) failed: [The network
location cannot be reached. For information about network
troubleshooting, see
Windows Help.
]
AFS device may not have started
================================================================
I also disabled offline files by going into this menu in windows explorer,
Tools>FolderOptions>OfflineFiles
unchecked EnableOfflineFiles
but this did not help, and still i got same error that
The AFS Client was unable to obtain tokens as xxx in cell xxx
Error: 11862791 (AFS service may not have started)
After this I thought it may have to do something with NetBios over
TCP/IP, which was disabled for the LAN connection to internet, and after
enabling it the problem is solved.
By still i am wondering what AFS has to do with NetBios? Also I have
firewall which I guess(note sure) does not allow NetBios packets. So
even if i have enabled NetBios my LAN connection then firewall should
not allow NetBios packets.
Thanks.
-ajeet.
Jeffrey Altman wrote:
> The error is produced when the pioctl() call to the AFS Client Service
> fails. There are many reasons this can be. I added a new registry
> value a while back to assist in debugging the actual cause of the
> problem.
>
> Key: HKLM\SOFTWARE\OpenAFS\Client
> Value: IoctlDebug
> Type: REG_DWORD
> Data: 0x01
>
> After setting this registry value, open a command prompt window and
> execute the command "tokens.exe". You should get some debug output
> from the pioctl() function.
>
> At this point the only known cause of the problem is when the machine
> has been configured to use Offline Folders and Windows thinks the
> AFS Client Service's SMB/CIFS server is "offline". In this case the
> pioctl() calls will fail since they are dependent upon the ability
> to use SMB/CIFS to communicate with the AFS Client Service.
>
> So far everyone I have given the above advice has failed to reply
> therefore I assume I am correct and they have solved the problem.
> Unfortunately, they have never reported what they did to solve the
> problem.
>
> Jeffrey Altman
>
>
> Ajeet Nankani wrote:
>
>> Hi,
>>
>> I recently upgraded my AFS client on win2k to 1.3.7400, and now when i
>> am trying to get Token from the AFS cell it give an error,
>> "Error: 11862791 AFS service may not have started", but when i check
>> in the configuration it says AFS service is running normally. So now i
>> am totally lost and could not figure out what went wrong, as searching
>> on internet for the same error does not give any solution, though
>> there are some threads discussing same error.
>>
>> Hope some one can help me.
>>
>> Thanks.
>>
>> -ajeet.