02-27-2008 07:42 AM
13:03:40,866 ERROR [smb.protocol.netbios] NetBIOSNameServer setup error:
java.net.BindException: Address already in use
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.PlainDatagramSocketImpl.bind(Unknown Source)
at java.net.DatagramSocket.bind(Unknown Source)
at java.net.DatagramSocket.<init>(Unknown Source)
at java.net.DatagramSocket.<init>(Unknown Source)
at java.net.DatagramSocket.<init>(Unknown Source)
at org.alfresco.filesys.netbios.server.NetBIOSNameServer.openSocket(NetBIOSNameServer.java:1085)
at org.alfresco.filesys.netbios.server.NetBIOSNameServer.run(NetBIOSNameServer.java:1611)
at java.lang.Thread.run(Unknown Source)
13:03:41,164 ERROR [alfresco.smb.protocol] Server error :
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.alfresco.filesys.smb.server.SessionSocketHandler.initialize(SessionSocketHandler.java:257)
at org.alfresco.filesys.smb.server.NetBIOSSessionSocketHandler.createSessionHandlers(NetBIOSSessionSock$
at org.alfresco.filesys.smb.server.SMBServer.run(SMBServer.java:495)
at java.lang.Thread.run(Unknown Source)
BindException: Address already in use
This indicates that an existing SMB/CIFS or FTP server is already running on the system.
If you are running Alfresco on Windows then it is recommended to use the Win32 NetBIOS interface so that the Alfresco file server can run alongside the existing Windows file server.
If you are running Alfresco on linux, Mac OSX, Solaris or other Un*x like operating system you will need to determine what is using the SMB/CIFS or FTP ports. For FTP you can configure the Alfresco FTP server to use a different port. For SMB/CIFS you will need try the following possibilities :-
* disable the other SMB/CIFS server
* disable NetBIOS on the other SMB/CIFS server and configure the Alfresco SMB/CIFS server to use NetBIOS (using <netBIOSSMB/>).
* disable native SMB (port 445) on the other SMB/CIFS server and configure the Alfresco SMB/CIFS server to use native SMB (using <tcpipSMB/>)
* configure the two SMB/CIFS servers to use different network adapters if available
02-29-2008 06:00 AM
<host name="${localname}_A" domain="fr.ma.societe" />02-29-2008 06:47 AM
netstat -lnp | egrep 'java|mb' | tr -s ' '
tcp 0 0 192.168.1.200:139 0.0.0.0:* LISTEN 20678/smbd
tcp 0 0 192.168.1.200:445 0.0.0.0:* LISTEN 20678/smbd
tcp6 0 0 :::50500 :::* LISTEN 20770/java
tcp6 0 0 ::ffff:127.0.0.1:8005 :::* LISTEN 20770/java
tcp6 0 0 ::ffff:192.168.1.20:139 :::* LISTEN 20770/java
tcp6 0 0 :::8080 :::* LISTEN 20770/java
tcp6 0 0 ::ffff:192.168.1.201:21 :::* LISTEN 20770/java
tcp6 0 0 ::ffff:192.168.1.20:445 :::* LISTEN 20770/java
tcp6 0 0 :::39294 :::* LISTEN 20770/java
udp 0 0 192.168.1.200:137 0.0.0.0:* 20676/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:* 20676/nmbd
udp 0 0 192.168.1.200:138 0.0.0.0:* 20676/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:* 20676/nmbd
12:41:39,810 ERROR [smb.protocol.netbios] NetBIOSNameServer setup error:
java.net.BindException: Address already in use
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.PlainDatagramSocketImpl.bind(Unknown Source)
at java.net.DatagramSocket.bind(Unknown Source)
at java.net.DatagramSocket.<init>(Unknown Source)
at java.net.DatagramSocket.<init>(Unknown Source)
at org.alfresco.filesys.netbios.server.NetBIOSNameServer.openSocket(NetBIOSNameServer.java:1083)
at org.alfresco.filesys.netbios.server.NetBIOSNameServer.run(NetBIOSNameServer.java:1611)
at java.lang.Thread.run(Unknown Source)
12:41:40,400 ERROR [smb.protocol.mailslot] HostAnnouncer error
java.net.BindException: Address already in use
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.PlainDatagramSocketImpl.bind(Unknown Source)
at java.net.DatagramSocket.bind(Unknown Source)
at java.net.DatagramSocket.<init>(Unknown Source)
at java.net.DatagramSocket.<init>(Unknown Source)
at org.alfresco.filesys.netbios.NetBIOSDatagramSocket.<init>(NetBIOSDatagramSocket.java:72)
at org.alfresco.filesys.netbios.NetBIOSDatagramSocket.getInstance(NetBIOSDatagramSocket.java:96)
at org.alfresco.filesys.netbios.NetBIOSDatagram.SendDatagram(NetBIOSDatagram.java:395)
at org.alfresco.filesys.smb.mailslot.TcpipNetBIOSHostAnnouncer.sendAnnouncement(TcpipNetBIOSHostAnnouncer.java:215)
at org.alfresco.filesys.smb.mailslot.HostAnnouncer.run(HostAnnouncer.java:313)
12:41:40,625 ERROR [smb.protocol.mailslot] Check <broadcast> setting in file-servers.xml
29-févr.-2008 12:42:05 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
<config evaluator="string-compare" condition="CIFS Server">
<serverEnable enabled="true"/>
<host name="${localname}_A" domain="SOCRATE"/>
<comment>Alfresco CIFS Server</comment>
<!– Set to the broadcast mask for the subnet –>
<broadcast>192.168.1.255</broadcast>
<bindto>192.168.1.201</bindto>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.