As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
08:27:15,821 ERROR [smb.protocol.mailslot] Host announce error (LANA 4) 08:27:25,821 ERROR [smb.protocol.mailslot] Host announce error (LANA 4) 08:27:45,822 ERROR [smb.protocol.mailslot] Host announce error (LANA 4) 08:27:45,822 ERROR [smb.protocol.mailslot] Marked LANA as unavailable due to send errors
<Win32NetBIOS/> <Win32Announce interval="5"/>
<tcpipSMB/> <netBIOSSMB/>
To enable native SMB support under Windows requires that the Windows native SMB support is disabled by editing, or creating, the following registry key :- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters] "SMBDeviceEnabled"=dword:00000000
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 10047:CreateDatagramSocket - Address family not supported by protocol family at org.alfresco.filesys.netbios.win32.Win32NetBIOS.CreateDatagramSocket(Native Method) at org.alfresco.filesys.netbios.win32.NetBIOSSocket.createDatagramSocket(NetBIOSSocket.java:162) at org.alfresco.filesys.smb.mailslot.WinsockNetBIOSHostAnnouncer.initialize(WinsockNetBIOSHostAnnouncer.java:103) at org.alfresco.filesys.smb.mailslot.HostAnnouncer.run(HostAnnouncer.java:270)
Hello,While testing Alfresco 2.9B on a Windows 2003 professional 64bit server, we noticed that CIFS did not work correctly.Our mapping is \\ice, which works most of the time. The trouble starts when a user clicks his way into a folder structure: after several clicks, either the explorer window closes, or an error message appears (system unavailable) and the window hangs.Either way, we cannot use cifs for longer than a few seconds (though sometimes it lasts for several minutes).In the logfile, the following errors appear:08:27:15,821 ERROR [smb.protocol.mailslot] Host announce error (LANA 4) 08:27:25,821 ERROR [smb.protocol.mailslot] Host announce error (LANA 4) 08:27:45,822 ERROR [smb.protocol.mailslot] Host announce error (LANA 4) 08:27:45,822 ERROR [smb.protocol.mailslot] Marked LANA as unavailable due to send errorsHas anyone else encountered this situation on a win64 environment?It looks like this issue has been around for a while: http://forums.alfresco.com/viewtopic.php?f=9&t=7583In our case also the returned status code is 119, which is not recognized by the Win32NetBIOSHostAnnouncer and is treated as an error.
protected void sendAnnouncement(String hostName, byte[] buf, int offset, int len) throws Exception { // Build the destination NetBIOS name using the domain/workgroup name NetBIOSName destNbName = new NetBIOSName(getDomain(), NetBIOSName.MasterBrowser, false); byte[] destName = destNbName.getNetBIOSName(); // Send the host announce datagram via the Win32 Netbios() API call int sts = Win32NetBIOS.SendDatagram(getLana(), getNameNumber(), destName, buf, 0, len); if ( sts != NetBIOS.NRC_GoodRet) { // Log the error ……….. } }
protected void sendAnnouncement(String hostName, byte[] buf, int offset, int len) throws Exception { // Build the destination NetBIOS name using the domain/workgroup name NetBIOSName destNbName = new NetBIOSName(getDomain(), NetBIOSName.MasterBrowser, false); byte[] destName = destNbName.getNetBIOSName(); // Send the host announce datagram via the Win32 Netbios() API call int sts = Win32NetBIOS.SendDatagram(getLana(), getNameNumber(), destName, buf, 0, len); /* if ( sts != NetBIOS.NRC_GoodRet) WRONG IF TO REPLACE */ if ( sts != len) // correct if { // Log the error ……………. } ……………. }