[OpenAFS] Error: 11862791 AFS service may not have started - Solved

Jeffrey Altman jaltman@columbia.edu
Wed, 24 Nov 2004 12:18:22 -0500


This is a cryptographically signed message in MIME format.

--------------ms010001020903020804050504
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

This sounds like a bug in Microsoft's code.  Hopefully you (or someone
else from this list) has a Microsoft Support contract and would be
willing to submit a bug report.  In the meantime, leave NETBIOS over 
TCP/IP turned on.

The AFS Client Service will always bind to the loopback adapter
when found.  Even when it is configured to use the "default"
adapter.  "Default" means use loopback first and then try something
else.

You can tell which adapter was used by the AFS Client Service with
the command "nbtstat -n".  The adapter which contains a netbios name
listing for "AFS" is the one that was bound to.

Jeffrey Altman

Ajeet Nankani wrote:

> Jeffrey Altman wrote:
> 
>> NetBios over TCP/IP is required for SMB/CIFS operations.
>> NetBios over TCP/IP should not need to be active on the public
>> LAN adapter; it only needs to be active on the Microsoft Loopback
> 
> 
> Netbios over TCP/IP is already enabled on AFS (MS Loopback adapter),
> but in my case i still have to enable it also on public LAN adapter 
> otherwise it does not work and gives the same error.
> 
> Also Binding in my AFS configuration was set to Default NIC adapter,
> and even when i set binding to AFS(MS Loopback adapter), the situation 
> remains same as described above.
> 
> Here are the results of few test i have done
> 
> Test1
> ============================================================
> Public LAN Netbios over TCP/IP > disabled
> Binding in AFS configuration > Default or AFS Loopback
> AFS Loopback Netbios over TCP/IP > enabled or disabled
> 
> Result =
> The AFS Client was unable to obtain tokens as xxx in cell xxx
> Error: 11862791 (AFS service may not have started)
> =============================================================
> 
> 
> Test2
> ============================================================
> Public LAN Netbios over TCP/IP > enabled
> Binding in AFS configuration > Default or AFS Loopback
> AFS Loopback Netbios over TCP/IP > enabled
> 
> Result =
> got token and able to share files on afs
> =============================================================
> 
> Test3
> ============================================================
> Public LAN Netbios over TCP/IP > enabled
> Binding in AFS configuration > AFS Loopback
> AFS Loopback Netbios over TCP/IP > disabled
> 
> Result =
> Program Error
> afsd_service.ex.exe has generated errors and will be closed by Windows. 
> you will need to restart program.
> 
> here even though the AFS client is running but when i try to start AFS 
> service then the above error dialogue comes.
> =============================================================
> 
> Test4
> ============================================================
> Public LAN Netbios over TCP/IP > enabled
> Binding in AFS configuration > Default
> AFS Loopback Netbios over TCP/IP > disabled
> 
> Result =
> got token but not able to share any files as AFS gives error message 
> that it is not able to map drives to share. "Error mapping network drive"
> =============================================================
> 
> Thanks.
> 
> -ajeet.
> 
>> adapter.  If NETBIOS services are not available, then the AFS Client
>> Service cannot publish the NETBIOS name "AFS" which is used in the
>> UNC path
>>
>>     \\AFS\cellname\path
>>
>> when accessing resources within AFS.
>>
>> Jeffrey Altman
>>
>>
>>
>>
>> Ajeet Nankani wrote:
>>
>>> 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.
>>
>>
>>

--------------ms010001020903020804050504
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQ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