AnsweredAssumed Answered

[RESOLU] PDC Samba et alfresco SMB

Question asked by xarkam on Feb 27, 2008
Latest reply on Feb 29, 2008 by xarkam
Bonjour,
Après mon installation d'Alfresco j'ai une erreur avec mon contrôleur de domaine samba.
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)

Parcourant le wiki d'Alfresco j'ai trouvé ceci:
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 ?

Outcomes