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
N'y a-t-il pas d'autres solutions que celles proposées ?
ifconfig eth0:1 xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx
(version qui ne résistera pas à un redémarrage de la partie réseau, mais à ajouter dans le fichier de conf associé de la distribution ensuite)<bindto>AdresseIPVirtuelle</bindto>
<config evaluator="string-compare" condition="CIFS Server" replace="true">
<serverEnable enabled="false"/>
</config>
<tcpipSMB port="1445" platforms="linux,solaris,macosx"/>
<netBIOSSMB sessionPort="1139" namePort="1137" datagramPort="1138" platforms="linux,solaris,macosx"/>
# virtual internal interface for subnet
auto eth0:0
allow-hotplug eth0:0
iface eth0:0 inet static
address 192.168.1.201
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
eth0 Lien encap:Ethernet HWaddr 00:50:FC:22:F2:DB
inet adr:192.168.1.200 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: fe80::250:fcff:fe22:f2db/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:897392 errors:0 dropped:0 overruns:0 frame:0
TX packets:2009092 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:343923465 (327.9 MiB) TX bytes:719218485 (685.9 MiB)
Interruption:10 Adresse de base:0xe800
eth0:0 Lien encap:Ethernet HWaddr 00:50:FC:22:F2:DB
inet adr:192.168.1.201 Bcast:192.168.1.255 Masque:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interruption:10 Adresse de base:0xe800
<!– Set to the broadcast mask for the subnet –>
<broadcast>192.168.1.255</broadcast>
<bindto>192.168.1.201</bindto>
CompilerOracle: exclude org/apache/lucene/index/IndexReader$1 doBody
CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger mergeIndexes
CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger mergeDeletions
29-févr.-2008 10:23:01 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
29-févr.-2008 10:23:01 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 7627 ms
29-févr.-2008 10:23:03 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
29-févr.-2008 10:23:03 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
29-févr.-2008 10:23:03 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
29-févr.-2008 10:23:06 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive alfresco.war de l'application web
10:25:25,822 WARN [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
10:26:01,516 INFO [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
10:26:07,180 INFO [domain.schema.SchemaBootstrap] Aucune modification na été apportée au schéma.
10:26:18,858 INFO [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /opt/alfresco/alf_data
10:26:19,284 INFO [admin.patch.PatchExecuter] Vérification des correctifs à appliquer …
10:26:20,445 INFO [repo.module.ModuleServiceImpl] 0 module(s) trouvé(s).
10:26:23,737 INFO [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_03-b05; maximum heap size 253,188MB
10:26:23,739 WARN [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 253,188MB is less than recommended 512MB
10:26:23,741 INFO [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (484) schema 64 - Installed version 2.1.0 (484) schema 64
10:26:23,682 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)
10:26:24,029 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 org.alfresco.filesys.smb.server.SessionSocketHandler.initialize(SessionSocketHandler.java:255)
at org.alfresco.filesys.smb.server.NetBIOSSessionSocketHandler.createSessionHandlers(NetBIOSSessionSocketHandler.java:165)
at org.alfresco.filesys.smb.server.SMBServer.run(SMBServer.java:495)
at java.lang.Thread.run(Unknown Source)
29-févr.-2008 10:26:49 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
29-févr.-2008 10:26:49 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
29-févr.-2008 10:26:50 org.apache.catalina.startup.Catalina start
INFO: Server startup in 229185 ms
11:24:31,544 ERROR [alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP
11:24:31,545 ERROR [alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting)
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.